Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mind-e.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

Endpoint

GET /credits/agent/{agentId}

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

curl "https://api.mind-e.co/credits/agent/agent-id-here?days=7" \
  -H "Authorization: Bearer sk_live_your_key_here"