analytics

Get Usage Summary

Changed on

Get aggregate request counters for one user.

get/management/usage-summary

Request

  • Base URL
    https://api.kodacode.ru (the document declares no server; this is the origin it was published from)
  • URL
    https://api.kodacode.ru/management/usage-summary
  • Auth
    none declared

Query parameters

user_idstring required

User UUID

from_datestring date-time nullable

Start datetime filter (ISO 8601)

to_datestring date-time nullable

End datetime filter (ISO 8601)

modelstring nullable

Filter by model name

statusstring nullable

Filter by outcome: 'success', 'error', or 'cancelled'

Headers

authorizationstring nullable

Response

Successful Response

user_idstring required
request_countinteger required
success_countinteger required
error_countinteger required
cancelled_countinteger
prompt_tokensinteger required
completion_tokensinteger required
total_tokensinteger required

Changes