Skip to main content
GET
cURL
Use this endpoint to list API keys that belong to the authenticated CometAPI account. The newest keys are returned first.
Generate a personal access token with the api_key:read permission at Console → Personal Settings. Send the token as the raw Authorization header value. Do not prefix it with Bearer.
For security, the key field contains a masked API key that cannot authenticate model requests. Save the complete API key from data.key when you create an API key. If you did not save it, open Console → API Keys. Find an API key that you created, select Copy, and complete identity verification.

Pagination

API key status

Returned fields

Authorizations

Authorization
string
header
required

Personal access token with the api_key:read permission, generated in CometAPI Console > Personal Settings. Send the raw token value; do not prefix it with Bearer.

Query Parameters

p
integer
default:1

Page number to return. Defaults to 1.

Required range: x >= 1
page_size
integer
default:20

Number of keys per page. Values above 100 are capped at 100 by the backend.

Required range: 1 <= x <= 100

Response

200 - application/json

Paginated API key list.

success
boolean
required

Whether the operation succeeded.

message
string
required

Status message. Empty on success.

data
object
required

API key records and pagination details.

Last modified on October 26, 2026