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/json
  • x-api-key โ€” parent organisation API key.

Response

Each key resource includes:

FieldTypeDescription
namestringKey name
last_fourstringLast four characters of the key (for identification)
scopesstring[] | nullScope restrictions, or null for unrestricted
expires_atstring | nullISO 8601 expiration timestamp, or null for no expiry
created_atstringISO 8601 creation timestamp
key_typestring | nullWhich 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-as header must not be set.
  • Returns 404 if the child organisation does not exist or is not owned by the caller.

Required scope: organizations:read