jackdocs

Usage

Check your organisation's query volume over the last 30 days. Use this to monitor consumption against your plan limits.

GET/v1/usage

Returns your total query count and a daily breakdown for the last 30 days, newest day first. Also returns your current rate limit.

Request

python
response = httpx.get(
    "https://api.usejack.io/v1/usage",
    headers={"Authorization": "Bearer jack_xxxxxxxx"}
)

data = response.json()
print(f"Total queries this month: {data['total_queries']}")
print(f"Rate limit: {data['rate_limit_rpm']} req/min")
bash
curl https://api.usejack.io/v1/usage \
  -H "Authorization: Bearer jack_xxxxxxxx"

Response

json
{
  "org_id":          "your-org-id",
  "period_days":     30,
  "total_queries":   247,
  "daily": [
    {"date": "2026-06-12", "count": 42},
    {"date": "2026-06-11", "count": 38},
    {"date": "2026-06-10", "count": 29},
    {"date": "2026-06-09", "count": 0},
    {"date": "2026-06-08", "count": 51}
  ],
  "rate_limit_rpm":  60
}

Days with zero queries are included in the daily array. The total_queries reflects only the 30-day window — not your all-time count.

Rate limit

The rate_limit_rpm field shows your current per-minute request limit across all endpoints. See Errors & Rate Limits for how to handle 429 responses.

← PREVIOUSAPI KeysNEXT →Errors & Rate Limits