/api/v1/keys/{key_ref}key_ref may be an ID, prefix, or reference format supported by the platform. Responses contain only masked fields.
Back to API Key endpoint listRequest parameters
| Field | Type | Required | Description |
|---|---|---|---|
path.key_ref | string | Yes | path parameters。 |
Response fields
| Field | Type | Required | Description |
|---|---|---|---|
data | object | No | See the OpenAPI schema for field details. |
Errors
401
UNAUTHORIZEDMissing or invalid Authorization Bearer token.
403
FORBIDDENThe current API key is not authorized for this scope, model, or management capability.
422
VALIDATION_ERRORThe request body, path parameters, or query parameters do not match the endpoint schema.
Notes
- Use a GlobalRouter API key; upstream OpenRouter API keys are never exposed to tenants.