v1

latestOpenAPI 3.1.0BUSL-1.12026-07-1756132288.0 KB

List the caller's own data-plane keys (id, name, timestamps, attenuating grants). Never returns the secret. Gated by the Context's allow_self_service_keys flag.

get/api/v1/{context_id}/keys

Path parameters

context_idstring required

Spectron context id

Response

createdAtstring date-time required

Creation timestamp.

grantsGrants

Per-verb scope pattern map. Keys are grant verbs in <noun>:<verb> form (memory:read, memory:write, memory:forget, scope:read, scope:create, scope:delete, grant:manage); values are arrays of scope patterns.

idstring required

Stable record-id key (e.g. abc123defghi).

lastUsedAtstring date-time nullable

Last successful validation; absent if the key has never been used.

namestring required

Human-readable name (unique within the Context).

validUntilstring date-time nullable

Mint-time expiry. Absent ⇒ no expiry was set.