---
title: "Image Analytics"
method: POST
path: "/image/analytics"
tags: ["API Endpoints"]
---

# Image Analytics

`POST /image/analytics`

This endpoint help you get analytics data.

## Request body

- object
  - `metrics` string[], required — Define the metric you need the data for, currently we support "bandwidth_consumption", "requests_count","status_4xx","status_5xx","avg_response_time""
  - `date_range` object, required — The timeframe to get the data for. Currently we only support a maximum of 30 days between `start_at` and `end_at`.
    - `start_at` string, date — The starting date to consider
    - `end_at` string, date — The ending date to consider

## Response `200`

200

- object
  - `top_assets` object[]
    - `collection_id` string
    - `asset_id` string
    - `units` integer
    - `collection_name` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/gumlet/apis/gumlet-rest-apis.md) · [All operations](https://skmtc.net/gumlet/apis/gumlet-rest-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gumlet/gumlet-rest-apis/versions/b1f7ac2aeeec/schema)
