API keys
List API keys
Permission
inference-api-keys:readAuthenticationGET
Lists this workspace's Inference keys, newest first. Only safe metadata comes back — secrets never do. Follow next_cursor until it is null for a complete traversal.
See key management.
inferenceBearerAuthheader
AuthorizationBearer <token>Use an Inference API key. Access and keys.
cursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerNumber of API keys to return.
Range
1 <= value <= 100Default
50API keys, including revoked and expired keys.
application/json- response
data*array<>next_cursor*|Cursor for the next page, or null after the final page.
curl -X GET 'https://api.kejue.co/v1/inference/api-keys'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "prefix": "string", "name": "string", "scopes": [ "string" ], "status": "active", "created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473", "created_by_api_key_id": "16a8c1ea-aaaf-49f0-9266-c657c48ceff3", "last_used_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "revoked_at": "2019-08-24T14:15:22Z", "version": 1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string"}