Atlas
Admin — Usage

Current period usage

Returns the current billing period usage summary (query count, token count, active users) for the admin's active workspace.

GET
/api/v1/admin/usage

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:3001/api/v1/admin/usage"
{
  "workspaceId": "string",
  "queryCount": 0,
  "tokenCount": 0,
  "activeUsers": 0,
  "periodStart": "string",
  "periodEnd": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
Edit on GitHub

Last updated on