get/me/usage

Usage for the logged-in org

Headers

ParameterInTypeDescription
authorization
headerstring

Responses

200Successful Response
Example · 200
{
  "org_id": "<Org Id>",
  "org_name": "<Org Name>",
  "tier": "<Tier>",
  "today": "<Today>",
  "billing_month": "<Billing Month>",
  "reset_day": "<Reset Day>",
  "reset_month": "<Reset Month>",
  "daily": {
    "requests": 0,
    "tokens_input": 0,
    "tokens_output": 0
  },
  "monthly": {
    "requests": 0,
    "tokens_input": 0,
    "tokens_output": 0
  },
  "limits": {}
}
422Validation Error
Example · 422
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "<Message>",
      "type": "<Error Type>"
    }
  ]
}

Code samples

Generated from the live OpenAPI spec. Replace $SAVITAR_API_KEY with a key from your dashboard.

curl -X GET "https://redactra-api-direct-yjxsqk46ja-el.a.run.app/me/usage" \
  -H "Authorization: Bearer $SAVITAR_API_KEY"