Skip to main content

Endpoint

Authentication

Required.

Path parameters

agentId
string
required
The agent ID.

Query parameters

days
number
Number of days to include. Default: 30.

Response

success
boolean
agent
object
Agent info: id and name.
summary
object
byFeature
array
Breakdown by feature: feature, credits, count.
bySource
array
Breakdown by source: source, credits.
dailyUsage
array
Daily usage: date (YYYY-MM-DD) and credits.

Example