Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get token usage by model

Returns token usage data grouped by model over the requested date range.

post
Authorizations
AuthorizationstringRequired

Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."

Body
end_datestringOptional
project_idstringRequired
start_datestringOptional
team_idstringRequired
Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
dataanyOptional
messagestringOptionalExample: Success
post/core/dekallm/usage/get/model-token
POST /core/dekallm/usage/get/model-token HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 76

{
  "end_date": "text",
  "project_id": "text",
  "start_date": "text",
  "team_id": "text"
}
{
  "code": 200,
  "data": null,
  "message": "Success"
}

Last updated