Get
Retrieve an API key in the workspace by ID, including deleted API keys. The secret is never returned.
Authorizations
The API key to use for authentication.
Headers
The API version the client was built against.
"2026-11-04.everglades"
Path Parameters
The unique identifier of the API key.
"api_key_123"
Response
Successfully retrieved the API key.
The object type, which is always api_key.
api_key "api_key"
ID of the API key. Attribution fields such as created_by_id on other resources hold this ID when the API key performed the action.
"api_key_123"
Name of the API key.
"My CI/CD Key"
A free-form description of the API key.
"CI token for the staging deploy pipeline"
Slugs of the scopes granted to the API key.
Timestamp of when the API key last successfully authenticated a request. Null if the API key has never been used.
"2021-01-01T00:00:00Z"
Timestamp of when the API key was created.
"2021-01-01T00:00:00Z"
Timestamp of when the API key was last updated.
"2021-01-01T00:00:00Z"
Timestamp of when the API key was deleted. Null if the API key is active. A deleted API key can no longer authenticate requests.
"2021-01-01T00:00:00Z"
ID of the user who created the API key.
"usr_123"

