Skip to content

List usage records​

GET
/api/v1/usage

Returns AI usage records for the organization, optionally filtered by start and end date.

Authorizations​

HTTPBearer
Type
HTTP (bearer)

Parameters​

Query Parameters

start_date
Type
string
Format
"date-time"
end_date
Type
string
Format
"date-time"

Responses​

Successful Response

application/json
JSON
[
  
{
  
  
"id": "string",
  
  
"ai_provider": "string",
  
  
"ai_model": "string",
  
  
"content_type": "string",
  
  
"input_tokens": 0,
  
  
"output_tokens": 0,
  
  
"credits_used": 0,
  
  
"cost_estimate": 0,
  
  
"created_at": "string"
  
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

XC AI Content Automation