The Account API lets you inspect your current API key’s metadata — including tier, rate limits, and quota details — and reissue the key when you need to rotate your credentials. Reissuing a root key immediately revokes all child keys issued from your account — a single step to rotate all credentials.Documentation Index
Fetch the complete documentation index at: https://docs.cs2cap.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /account/key
Returns metadata for the authenticated key. When called with a session JWT, it resolves to the account’s active root key. When called with a child (sub-key) token, it returns that child key’s own metadata. Tiers: Free, Starter, Pro, Quant · Auth: Session JWT or API key · Rate limit: Standard per-tier RPMResponse example
UUID for this key record.
Human-readable prefix indicating key type. Root keys use
sk_live_root; child keys use sk_live_child.Optional display name.
null for root keys unless one has been set.UUID of the parent root key. Equal to
id for root keys.true for root keys, false for child keys.false for revoked or expired keys.ISO 8601 timestamp when the key was created.
ISO 8601 timestamp of the most recent authenticated request, or
null if the key has never been used.ISO 8601 expiry timestamp, or
null for non-expiring keys.Child-specific monthly request cap, or
null if the tier default applies.Child-specific per-minute rate limit, or
null if the tier default applies.The quota actually enforced for this key, accounting for any override.
The RPM limit actually enforced for this key, accounting for any override.
Child keys can authenticate normal data requests. Calling this endpoint with a child key token returns that child key’s own metadata, not the root key’s.
POST /account/key/reissue
Replaces your active root key and immediately revokes all child keys issued from your account. Use this whenever you need to rotate credentials or suspect a key has been compromised. Tiers: Free, Starter, Pro, Quant · Auth: Session JWT or root API key · Rate limit: Standard per-tier RPMResponse example
The new plaintext API key. Shown only once in this response.
Key type prefix. Always
sk_live_root for root keys.UUID for the new key record.
ISO 8601 timestamp when the new key was created.
Email verification is required before a key can be issued or reissued. Child keys cannot call this route — you must authenticate with a session JWT or the root API key.