Skip to main content
GET
/
ai-agent
/
usage
Retrieve AI usage
curl --request GET \
  --url https://app.myhero.so/ai-agent/usage \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "usedTokens": 1,
    "tokenLimit": 1,
    "tokenResetAt": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

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

Returns the authenticated user’s current token consumption (usedTokens), plan limit (tokenLimit), and the timestamp when the usage counter resets (tokenResetAt). Returns null when no billing seat is found.

Authorizations

Authorization
string
header
required

HERO personal access token

Response

200 response

data
object
required