ClientsClient_nameStatistics
Inspect Athena client statistics and touched tables
Path Parameters
client_name*string
Header Parameters
apikey*string
The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.
Response Body
application/json
application/json
curl -X GET "https://athena-cluster.com/admin/clients/string/statistics" \ -H "apikey: string"{
"statistics": {
"client_name": "string",
"total_requests": 0,
"successful_requests": 0,
"failed_requests": 0,
"total_cached_requests": 0,
"total_operations": 0,
"last_request_at": "2019-08-24T14:15:22Z",
"last_operation_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
},
"tables": [
{
"client_name": "string",
"table_name": "string",
"operation": "string",
"total_operations": 0,
"error_operations": 0,
"last_operation_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]
}Empty
{
"status": "error",
"message": "string",
"error": "string"
}List query optimization runs for a client GET
Returns historical refresh runs with pagination. Requires the static admin key (`ATHENA_KEY_12`) and a connected `athena_logging` pool.
List gateway operation log rows for a client table operation GET
Returns rows from `gateway_operation_log` filtered by `client`, `table_name`, and `operation`, with optional `status` (`all`, `errors`, or `normal`) and pagination. Requires the static admin key (`ATHENA_KEY_12`) and a connected `athena_logging` pool.