BazaarLinkBazaarLink
Sign in
DocsAPI ReferenceSDK ReferenceAgentic UsageAI Skills
API Keys

Get current API key info

Returns the status of the key itself, taken from the Authorization header: its spend limit and remaining amount, expiry, key type, cumulative/daily/weekly/monthly spend and request counts, and its rate limit. limit/limit_remaining are only non-null when this specific key has its own per-key spend limit configured; otherwise the account wallet balance is returned instead.

GET/api/v1/key

Authorizations

Authorizationrequired
string · header

API key as bearer token in the Authorization header.

GET /api/v1/key
curl https://bazaarlink.ai/api/v1/key \
  -H "Authorization: Bearer $BAZAARLINK_API_KEY"
Response examples

Success. is_management_key and is_provisioning_key are two names for the same underlying flag (matching both this API's own naming and the more common industry term), not two independent capabilities.

{
  "data": {
    "label": "default",
    "limit": 50,
    "limit_remaining": 42.5,
    "limit_reset": "month",
    "expires_at": null,
    "is_free_tier": false,
    "is_management_key": false,
    "is_provisioning_key": false,
    "usage": 128.4,
    "usage_daily": 1.2,
    "usage_weekly": 8.6,
    "usage_monthly": 27.9,
    "requests": 940,
    "requests_daily": 12,
    "requests_weekly": 88,
    "requests_monthly": 340,
    "rate_limit": {
      "requests": 200,
      "interval": "1m",
      "note": "Paid-tier rate limit."
    }
  }
}
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
Get current API key info — BazaarLink API