Skip to main content

List API Keys

Paginated query of Regular API Keys, supporting filtering by status, type, and keyword.

Request Parameters

ParameterRequiredDefaultDescription
pageNo1Page number, positive integer
limitNo30Items per page, 1–100
statusNoNoneFilter by status: active or disabled
key_typeNoNoneOnly regular is supported
keywordNoNoneCase-insensitive match on the visible segment of the name or masked preview, up to 128 characters

Response Example

{
"data": [
{
"id": "key_01j...",
"name": "qa-automation",
"key_type": "regular",
"key_preview": "sk-abcd**********wxyz",
"status": "active",
"status_reason": null,
"disabled": false,
"limit": 20,
"limit_reset": "daily",
"remaining": 18.4,
"created_at": "2026-08-04T08:00:00Z",
"last_used_at": null
}
],
"page": 1,
"limit": 30,
"has_more": false,
"total": 1
}

The list is returned in descending order of creation time and internal ID.

keyword Search Tip

keyword must not be a full sk-... key. Use the name, or search with a visible prefix/suffix without sk- (e.g. abcd or wxyz).

Related Endpoints

For general request conventions, data structures, and error codes, see the Key Management API overview.

Online Service