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

Authentication

Required.

Query parameters

includeStats
string
Set to "true" to include usage statistics by feature and agent.

Response

success
boolean
credits
object
stats
object
Included only when includeStats=true.

Example

curl "https://api.mind-e.co/credits?includeStats=true" \
  -H "Authorization: Bearer sk_live_your_key_here"

Response

{
  "success": true,
  "credits": {
    "balance": 8450,
    "lifetimeUsed": 1550,
    "updatedAt": "2026-02-28T15:00:00Z"
  },
  "stats": {
    "totalUsed": 1550,
    "periodUsed": 350,
    "byFeature": { "chat": 1200, "tts": 250, "scenario_trigger": 100 },
    "byAgent": { "agent-1": 900, "agent-2": 650 }
  }
}