admin

Get User Ai Usage

Changed on

Get user AI usage statistics.

get/admin/users/{user_id}/ai-usage

Request

  • Base URL
    https://studio-api.meganova.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://studio-api.meganova.ai/admin/users/{user_id}/ai-usage
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Path parameters

user_idstring uuid required

Response

Successful Response

total_requestsinteger required
total_prompt_tokensinteger required
total_completion_tokensinteger required
total_tokensinteger required
total_coststring required
total_creditsinteger
average_duration_msnumber nullable
user_idstring uuid nullable

Changes

    • info

      the response's property pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ was removed for the status