/api/v1/keysList API keys in OpenRouter's shape
Needs a provisioning key; a normal inference key gets 403. Revoked keys are hidden unless include_disabled=true. usage is always null here: read spend from GET /api/v1/usage or GET /api/v1/key.
Authentication: Bearer API key in the Authorization header
Query parameters
include_disabledbooleanInclude revoked keys.
Responses
200The keys.
Response
dataarray<object>requireddata
hashstringThe key id (never the secret hash).
namestringlabelstringKey prefix and last characters.
disabledbooleanTrue once revoked.
is_provisioningbooleanidentity_idstring | nulllimitnumber | nullSpend cap, USD; null when uncapped.
limit_remainingnumber | nullCap less this window's spend and reservations, USD; null when uncapped or unreadable in time.
limit_resetenum | nullusagenullAlways null; see GET /api/v1/usage.
created_atstringupdated_atstring
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
403The key is valid but may not perform this action (for example an inference key on a provisioning-key route, or a feature outside your plan).
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl https://api.experientiallabs.ai/api/v1/keys?include_disabled=false \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"data": [
{
"hash": "0b9d4f6e-2a1c-4e8b-9f37-5c6d2e1a8b40",
"name": "billing-sync",
"label": "xpl_live_8f2c…a91d",
"disabled": false,
"is_provisioning": false,
"identity_id": "7a3e1c90-4b2d-4f6a-9e18-2d5c0b7f3a61",
"limit": 50,
"limit_remaining": 47.25,
"limit_reset": "daily",
"usage": null,
"created_at": "2026-11-02T09:14:22.501Z",
"updated_at": "2026-11-02T09:14:22.501Z"
}
]
}https://api.experientiallabs.ai/api/v1/keys?include_disabled=false