List Child Keys
List all active API keys for a child organisation.
Returns non-deleted, non-expired keys created via the API (auto-generated default keys are excluded). The plaintext key value is never returned โ only the last_four characters are shown for identification.
โถRequest
โถMethod & Path
GET /organizations/children/:id/keys
โถPath parameters
idโ UUID of the child organisation.
โถHeaders
Accept: application/jsonx-api-keyโ parent organisation API key.
โถResponse
Each key resource includes:
| Field | Type | Description |
|---|---|---|
name | string | Key name |
last_four | string | Last four characters of the key (for identification) |
scopes | string[] | null | Scope restrictions, or null for unrestricted |
expires_at | string | null | ISO 8601 expiration timestamp, or null for no expiry |
created_at | string | ISO 8601 creation timestamp |
key_type | string | null | Which surface the key was issued for: self_serve or direct. Attribution only; it grants no access. Treat null as direct |
โถConstraints
- Caller must be a top-level organisation (not a child).
- The
x-acting-asheader must not be set. - Returns
404if the child organisation does not exist or is not owned by the caller.
Required scope:
organizations:read