List API keys
Lists all API keys for the authenticated organization. Full keys are never shown — only the prefix for identification.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/api-keys"{
"data": [
{
"id": "string",
"name": "string",
"key_prefix": "string",
"mode": "live",
"last_used_at": "string",
"expires_at": "string",
"revoked_at": "string",
"created_at": "string"
}
]
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}List activity logs
Returns a paginated list of activity log entries for the authenticated organization. Supports filtering by action, resource_type, and resource_id.
Create an API key
Creates a new API key for the authenticated organization. The full key is returned in the response — this is the only time it will be shown. Requires dashboard authentication: requests authenticated with an API key are rejected, so a leaked key cannot be used to mint further keys.