Refresh query optimization recommendations for a client
Recomputes recommendations for the client and returns the new run plus rows. Requires the static admin key (`ATHENA_KEY_12`) and a connected `athena_logging` pool.
Path Parameters
Header Parameters
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 POST "https://athena-cluster.com/admin/clients/string/query-optimizations/refresh" \ -H "apikey: string"{
"client_name": "string",
"run": {},
"recommendations": [
{}
]
}{
"status": "error",
"message": "string",
"error": "string"
}Apply a query optimization recommendation POST
Applies the recommendation identified by `recommendation_id` for `client_name`. Optional JSON body may set `actor` for audit metadata. Requires the static admin key (`ATHENA_KEY_12`) and a connected `athena_logging` pool.
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.