Skip to main content
GET
cURL
Use this endpoint to retrieve one API key record by ID.
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. The id path parameter is the numeric API key ID returned by Create an API key or List API keys.

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.

Path Parameters

id
integer
required

Numeric API key ID returned by the list endpoint.

Response

200 - application/json

API key record.

success
boolean
required

Whether the operation succeeded.

message
string
required

Status message. Empty on success.

data
object
required

API key record with a masked key value.

Last modified on October 26, 2026