Get BYOK key
Returns a BYOK key’s redacted metadata
byok:read scope. Naturally idempotent.
key_prefix and coarse validation_status, never the provider secret or provider diagnostics.propagation_status: "pending" while a change to this key’s provider takes effect (within about 5 minutes).Authorizations
API key authentication.
Keys start with ak_ prefix.
Example: Authorization: Bearer ak_live_xxxxxxxxxxxx
Path Parameters
Workspace identifier
BYOK key identifier
Response
OK
BYOK key metadata. Redacted — the provider secret is never returned.
Unique identifier for the BYOK key
Workspace this key belongs to
Provider identifier
Human-readable name for the key
Masked display prefix of the submitted secret
Whether this key is the provider's default for routing
Disabled keys are excluded from routing; the secret stays encrypted at rest
Coarse validation status (no provider diagnostics)
valid, pending, invalid, error Provider account tier used for rate-limit and data-policy routing
How the tier was determined
auto_detected, user_specified, fallback, null When the key last passed validation (null if never)
"pending" while a routing-affecting change for this key's provider is committed but edge propagation has not yet been applied
pending, null