APIリファレンス · Platform

Account

Balance and usage totals for the calling key.

GET/v1/accountfree

Poll it after long runs, or surface the balance in your own admin. Free to call.

curl https://eroq.ai/v1/account \
  -H "Authorization: Bearer $EROQ_API_KEY"
/v1/account
→ GET /v1/account
「例を実行」を押すと、ドキュメント自身のデータから実際のやり取りを再生します。キーもリクエストも不要で、料金もかかりません。

レスポンス

200 · application/json
{
  "object": "account",
  "credits": 905,
  "usage_30d": { "requests": 412, "credits": 1543 }
}