Admin — Usage
Per-user usage breakdown
Returns per-user usage breakdown (query count, token count, login count) for the active workspace. Supports date range filtering and limit.
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/breakdown"{
"workspaceId": "string",
"users": [
{
"user_id": "string",
"query_count": 0,
"token_count": 0,
"login_count": 0
}
]
}{
"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