Get usage and limits

Your account, usage today, and limits (not counted). Use to check remaining requests and AI calls.

GET https://www.chicagopolitics.org/api/v1/me

Authorizations

HeaderValue
AuthorizationBearer <key>. Get a key; see authentication.

Response

200 Usage

FieldTypeDescription
accountobject
credentialobject
limitsobject
usageTodayobject

Example request

curl "https://www.chicagopolitics.org/api/v1/me" \
  -H "Authorization: Bearer $CHICAGO_POLITICS_KEY"

Errors: 400, 401, 429 (see errors).