entities
Get API keys for entity
Retrieve all API keys for an entity (excludes secret keys)
get/api/v1/entities/{id}/api-keys
Path parameters
idstring required
Entity CUID
Response
List of API keys
Example response
[
{
"id": "ak_1234567890abcdef",
"entityId": "ent_1234567890abcdef",
"name": "Production Bidding Bot",
"description": "API key for automated bidding bot in production environment",
"keyPrefix": "xga_prod_1234...",
"key": "xga_prod_1234567890abcdef1234567890abcdef12345678",
"scopes": [
"read",
"bid:submit",
"bid:cancel"
],
"status": "active",
"createdAt": "2024-01-01T00:00:00.000Z",
"expiresAt": "2024-12-31T23:59:59.000Z",
"lastUsedAt": "2024-01-01T12:30:00.000Z",
"totalRequests": 15420,
"currentWindowRequests": 42,
"rateLimit": 1000,
"isActive": true,
"daysUntilExpiration": 45
}
]