v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
API Tokens

List API tokens

Returns all API tokens in the organization, including organization-level keys, personal access tokens, and MCP OAuth grants. Secrets are never returned. Requires organization admin permissions.

get/api/v1/api-keys

Query parameters

cursorstring uuid

Cursor from the previous response (token UUID)

Cursor from the previous response (token UUID)

pageSizeinteger

Number of results per page (1-100, integer)

Example:20

Number of results per page (1-100, integer)

sortDirection'asc' | 'desc'

Sort direction for results

Example:desc

Sort direction for results

sortField'createdAt' | 'name'
type'organization' | 'personal' | 'mcp'

Filter by API token type. When omitted, all types are returned.

Example:personal

Filter by API token type. When omitted, all types are returned.

Response

Paginated list of API tokens

Example response

{
  "records": [
    {
      "createdAt": "2026-01-15T10:00:00.000Z",
      "enabled": true,
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "membershipId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "name": "CI deployment key",
      "type": "organization"
    }
  ]
}