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

Get Usage Token

This API is used to show the secret access key

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
messagestringOptionalExample: Success
post/core/dekallm/usage/get/token
POST /core/dekallm/usage/get/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"
}
200

Successful Response

{
  "code": 200,
  "data": {
    "model": [
      {
        "model": "text",
        "total_input_tokens": 1,
        "total_output_tokens": 1
      }
    ],
    "token": [
      {
        "api_key": "text",
        "key_alias": "text",
        "total_input_tokens": 1,
        "total_output_tokens": 1
      }
    ],
    "total_input_token": 1,
    "total_output_token": 1
  },
  "message": "Success"
}

Last updated