Skip to main content
GET
/
v0
/
user
/
spending-limit
curl --request GET \
  --url 'https://api.unify.ai/v0/user/spending-limit' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "user_id": "string",
    "monthly_spending_cap": "number | null",
    "assistants_capped": "integer"
}
Get the monthly spending limit for the current user’s personal usage.

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
  --url 'https://api.unify.ai/v0/user/spending-limit' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "user_id": "string",
    "monthly_spending_cap": "number | null",
    "assistants_capped": "integer"
}