List API Keys

List all active API keys for the current user in the specified project. **Note**: This endpoint returns a plain array of API keys, not a paginated response. All API keys for the user are returned in a single request. Returns all non-revoked API keys created by the authenticated user for the project. Keys are returned in descending order by creation date. **Response Fields:** - `id`: Unique identifier for the API key - `name`: Human-readable name for the key - `key`: The API key value (masked after creation for security) - `oauth_client_id`: The OAuth client this API key is associated with, if any - `last_used`: Timestamp of when the key was last used for authentication - `created_at`: When the key was created **Note**: The actual key values are not included in the response for security reasons.

Authentication

AuthorizationBearer

Bearer token authentication using JWT tokens from Ory Kratos/Hydra

Path parameters

org_idstringRequiredformat: "uuid"
The unique identifier of the organization.
project_idstringRequiredformat: "uuid"
The unique identifier of the project.

Response

List of API keys
namestring
idstringformat: "uuid"
keystring
oauth_client_idstringformat: "uuid"
createdstringformat: "date-time"
revokedboolean
last_usedstring or nullformat: "date-time"

Errors