Immediately flush all pending deferred writes
Triggers an immediate flush of any queued deferred writes (when `deferred_writes.enabled` is true). Useful for operators to force persistence before maintenance or to clear backpressure. When deferred writes are disabled the endpoint returns a benign success with zero counts.
Response Body
application/json
curl -X POST "https://athena-cluster.com/gateway/deferred/flush"{
"status": "error",
"message": "string",
"error": "string"
}Legacy alias for `/gateway/fetch` POST
Mirrors `/gateway/fetch` for clients still calling `/gateway/data` with the same payload/response envelope. Supports `X-Athena-Client` or direct PostgreSQL URI headers (`x-pg-uri` preferred; `x-athena-jdbc-url` / `x-jdbc-url` compatibility).
Fetch deferred request status GET
Returns the current state of a deferred gateway request (`queued`, `running`, `completed`, `failed`, etc.) together with available execution metadata.