Athena
ClientsClient_nameQuery optimizationsRuns

List query optimization runs for a client

Returns historical refresh runs with pagination. Requires the static admin key (`ATHENA_KEY_12`) and a connected `athena_logging` pool.

GET
/admin/clients/{client_name}/query-optimizations/runs

Path Parameters

client_name*string

Query Parameters

limit?integer
Default100
Range1 <= value <= 500
offset?integer
Default0
Range0 <= value

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/query-optimizations/runs" \  -H "apikey: string"
{
  "client_name": "string",
  "limit": 0,
  "offset": 0,
  "runs": [
    {}
  ]
}
{
  "status": "error",
  "message": "string",
  "error": "string"
}