Get query details by query id
GET/queries/:queryid
Returns the details of a single query. The caller must be the user who submitted the query, otherwise the request is rejected with AUTH-1010. For executions that are not yet in a terminal state the status is refreshed against the live Athena or Redshift engine before it is returned, so the response can differ from the last stored value.
Note that an unknown query id is reported as HTTP 400 with IPV-1002, not 404.
Request
Responses
- 200
- 400
- 500
Query details, refreshed against the live engine where applicable.
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Input validation or authorization failure. Body is {"Message": " -
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Backend or generic failure. Body is {"Message": " -
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers