Skip to Content

Account and usage

Returns the current API key's balance, tier, token allowance and usage, plus the next-tier hint.

GET
/v1/account

Returns the current API key's balance, tier, token allowance and usage, plus the next-tier hint.

Authorization

headerX-API-KEY<token>

Response Body

OK

application/json
  1. response
data*
meta?
Example Request
curl -X GET 'https://api.agenttweet.com/v1/account'
Example Response
{  "data": {},  "meta": {    "count": 0,    "cursor": "string",    "provider": "string",    "cached": true,    "tokens_raw": 0,    "tokens_flat": 0,    "tokens_saved": 0,    "tokens_saved_pct": 0,    "tokens_billed": 0,    "cost_usd": 0,    "balance_usd": 0,    "request_id": "string"  }}