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
Headers
Response
Successful Response
Changes
Changed in 3 of the 13 revisions of this API.124
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
the response property
became required for the statusresponse-property-became-required
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
api operation id
get-query-v-2removed and replaced withqueries_get_query_v2api-operation-id-removed
- ○
- ○
endpoint added
endpoint-added
- ○