Get Query
One stored query with its request body, response body and the retrieved chunks in one normalised shape (results[]: rank, score, text, filename, document id and a page, time or sheet location, whether the query ran on v2 or v3).
query_id is the id from GET /v2/queries or the query_id field of a query response. The request_id a query response returns (req_...) is accepted in its place, so a query can be fetched straight after running it.
body_status says what came back: available, archived (bodies are archived 90 days after the query and only the summary remains) or missing. A query from another organization or environment is a 404, the same as an unknown id.
Path parameters
query_id
Headers
Response
Successful Response
query_id
body_status
query_text
collection_name
environment
status
api_version
created_at
latency_ms
result_count
request_id
params
results
request
response
error_message
error_type
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error