List API key requests
Changed onGet a filtered list of API key requests/usage logs
Request
- Base URLhttps://gateway.prem.io
- AuthHTTP bearer and API key in header Authorization
Request body
Response
Successful API key requests list response
Example response
{
"data": {
"count": 2,
"items": [
{
"id": 12345,
"is_developer": 1,
"organization_id": "org_0197c0ec-a197-719f-84a9-99270a79b42a",
"user_id": null,
"api_key_id": "api_key_0197c0ec-a197-719f-84a9-99270a79b42a",
"session_id": null,
"support_id": null,
"ip": "127.0.0.1",
"path": "/products",
"method": "POST",
"user_agent": "MyApp/1.0.0",
"ms": 234.5678,
"overhead_ms": 12.3456,
"response_code": "201",
"response_body": {
"data": {
"id": "prod_123",
"name": "Test Product"
}
},
"request_body": "{\"name\": \"Test Product\", \"price\": 19.99}",
"request_headers": "Content-Type: application/json",
"memory_peak": 2048,
"created_at": "2025-07-01 12:34:56"
},
{
"id": 12346,
"is_developer": 1,
"organization_id": "org_0197c0ec-a197-719f-84a9-99270a79b42a",
"user_id": null,
"api_key_id": "api_key_0197c0ec-a197-719f-84a9-99270a79b42a",
"session_id": null,
"support_id": null,
"ip": "127.0.0.1",
"path": "/products/prod_123",
"method": "GET",
"user_agent": "MyApp/1.0.0",
"ms": 89.1234,
"overhead_ms": null,
"response_code": "200",
"response_body": {
"data": {
"id": "prod_123",
"name": "Test Product",
"price": 19.99
}
},
"request_body": null,
"request_headers": "Authorization: REDACTED",
"memory_peak": 1024,
"created_at": "2025-07-01 12:35:30"
}
]
}
}Changes
- warning
removed the optional property
///////from the response with the status - warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to theresponse property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to theresponse property for the response status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- warning
- info
endpoint added
- info