GET
/
api
/
v1
/
credits
curl --request GET \
  --url https://api.agenttoolkit.ai/api/v1/credits \
  --header 'Authorization: Bearer <token>'
{
  "total_credits": 123,
  "used_credits": 123,
  "remaining_credits": 123,
  "free_credits": 123,
  "purchased_credits": 0,
  "period": "<string>",
  "reset_date": "<string>",
  "days_until_reset": 123,
  "plan_tier": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Cookies

auth_token
string | null

Response

200
application/json

Successful Response

Schema for the credit usage response.