---
title: "GET /v2/{app_uid}/analytics/credits"
method: GET
path: "/v2/{app_uid}/analytics/credits"
---

# GET /v2/{app_uid}/analytics/credits

`GET /v2/{app_uid}/analytics/credits`

## Request

- Base URL: `http://localhost:3333`
- URL: `http://localhost:3333/v2/{app_uid}/analytics/credits`
- Auth: none declared

## Path parameters

- `app_uid` string, required

## Response `200`

Successful response

- object
  - `time_series` object[]
    - `date` string
    - `value` number
  - `by_action` object[]
    - `label` string
    - `value` number
  - `by_model` object[]
    - `label` string
    - `value` number
  - `by_agent` object[]
    - `label` string
    - `value` number
  - `total` number
  - `daily_avg` number
  - `top_action` union
    - object
    - string
  - `top_model` union
    - object
    - string

---

[API](https://skmtc.dev/insertchat/apis/adonisjs-api.md) · [All operations](https://skmtc.dev/insertchat/apis/adonisjs-api/llms.txt) · [OpenAPI document](https://skmtc.dev/insertchat/apis/adonisjs-api/revisions/4b518b2021b3?raw)
