Athena
ClientsClient_nameQuery optimizationsRefresh

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.

POST
/admin/clients/{client_name}/query-optimizations/refresh

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 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"
}