Skip to main content

Endpoint

Authentication

Required.

Query parameters

number
Number of days to include. Default: 30.

Response

boolean
object
array
Per-agent breakdown: agentId, agentName, agentCategory, totalCredits, chatCredits, ttsCredits, messageCount.
array
Per-feature breakdown: feature, totalCredits, count.
array
Per-source breakdown: source (playground, widget, api, etc.), totalCredits, count.
array
Daily credit usage: date (YYYY-MM-DD) and credits.

Example