Skip to main content
Skip to main content

ApiKeyDTO

The API key details.

idstringRequired
The ID of the API key.
tokenstringRequired
The token of the API key.
redactedstringRequired
The redacted form of the API key's token. This is useful when showing portion of the token. For example sk_...123.
titlestringRequired
The title of the API key.
typeApiKeyTypeRequired
The type of the API key.
last_used_atnull | DateRequired
The date the API key was last used.
created_bystringRequired
Who created the API key.
created_atDateRequired
The date the API key was created.
revoked_bynull | stringRequired
Who revoked the API key. For example, the ID of the user that revoked it.
revoked_atnull | DateRequired
The date the API key was revoked.
Was this section helpful?