Developer portal
GET /admin/tenants/{tenant_id}/keys
List active and revoked API keys for a tenant.
GET /admin/tenants/{tenant_id}/keysAuth: admin
Summary
List active and revoked API keys for a tenant.
Example
Response
{
"status": "success",
"total": 2,
"keys": [
{
"key_id": "key_01J9W7T8EJ",
"label": "staging-ci",
"role": "operator",
"revoked": false
}
]
}Errors
| Code | Meaning | Typical cause | Suggested fix |
|---|---|---|---|
| 404 | Not found | Scan, schedule, share link, or resource id does not exist or expired. | Verify id and tenant scope; share links expire per expiresHours. |
| 422 | Unprocessable entity | Invalid payload shape, unsupported scenario, or infeasible constraints. | Fix field errors in response detail; relax constraints and retry. |
| 429 | Too many requests | Per-key rate limit exceeded (default 300 requests per minute) or public endpoint limit. | Backoff with jitter; cache results; request higher limit for production. |
| 500 | Internal server error | Unexpected backend failure; includes requestId in response. | Retry with exponential backoff; contact support with requestId if persistent. |
See the full errors reference.
Found an issue? Report documentation feedback