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
| Header | Value |
|---|---|
Authorization | Bearer <key>. Get a key; see authentication. |
Response
200 Usage
| Field | Type | Description |
|---|---|---|
account | object | |
credential | object | |
limits | object | |
usageToday | object |
Example request
curl "https://www.chicagopolitics.org/api/v1/me" \
-H "Authorization: Bearer $CHICAGO_POLITICS_KEY"
Errors: 400, 401, 429 (see errors).