Skip to main content
GET
List API keys for service user

Permissions

Requires a service user with the ManageAccountServiceUsers permission at the enterprise level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

service_user_id
string
required

Service user ID (prefix: service-user-)

Example:

"service-user-abc123def456"

Query Parameters

status
enum<string>
default:all
Available options:
active,
revoked,
expired,
all

Response

Successful Response

items
ApiKeyResponse · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).