The Sub-Keys API lets Quant accounts create up to 25 child API keys under a single active root key. Child keys inherit the Quant tier and can access all data endpoints, but they cannot create, update, revoke, or rotate keys. You can optionally apply per-child quota and RPM overrides to limit usage — overrides can only reduce limits below the parent tier ceiling, never increase them.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.
Sub-keys are available on Quant accounts only. All management routes require authentication with a session JWT or the root API key. Child keys cannot call management routes.
GET /account/sub-keys
Returns all active child keys with their current-month request counts. Tier: Quant · Rate limit: Standard per-tier RPMPage size, clamped to 1–100.
Zero-based starting position.
Response example
Key metadata object. Fields are identical to those returned by
GET /account/key.Number of requests made with this child key in the current calendar month.
Total number of active child keys.
POST /account/sub-keys
Creates a new child API key and returns the plaintext key value once. Tier: Quant · Rate limit: Standard per-tier RPMDisplay name for the child key (e.g.,
research-bot).Optional monthly request cap for this child key. Must be less than or equal to the parent tier quota. Omit to inherit the parent tier ceiling with no additional child-specific cap.
Optional per-minute rate limit for this child key. Must be less than or equal to the parent tier RPM. Omit to inherit the parent ceiling.
Request body
GET /account/sub-keys/:id
Returns one active child key and its current-month request count. Tier: Quant · Rate limit: Standard per-tier RPMUUID of the child key to retrieve.
PATCH /account/sub-keys/:id
Updates a child key’s name and optional quota or RPM overrides. Tier: Quant · Rate limit: Standard per-tier RPMUUID of the child key to update.
Updated display name.
Updated monthly quota cap, or
null to remove the child-specific cap and fall back to the parent tier ceiling.Updated RPM limit, or
null to remove the child-specific cap and fall back to the parent tier ceiling.Request body
DELETE /account/sub-keys/:id
Revokes an active child key. The key immediately stops authenticating requests. Tier: Quant · Rate limit: Standard per-tier RPMUUID of the child key to revoke.
Response example
Always
true on success.UUID of the revoked key.
ISO 8601 timestamp when the key was revoked.
POST /account/sub-keys/:id/reissue
Replaces an active child key and returns the new plaintext key once. The old child key is immediately revoked. Tier: Quant · Rate limit: Standard per-tier RPMUUID of the child key to reissue.
Response example
The new plaintext child key value. Shown only once.
Updated metadata for the reissued key. Overrides and name are preserved from the old key.