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. Tiers: QuantPage 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. Tiers: QuantDisplay 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. Tiers: QuantUUID of the child key to retrieve.
PATCH /account/sub-keys/:id
Updates a child key’s name and optional quota or RPM overrides. Tiers: QuantUUID 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. Tiers: QuantUUID 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. Tiers: QuantUUID 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.