POST
/
v1
/
query
Run Query
curl --request POST \
  --url https://api.aryn.cloud/v1/query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "docset_id": "<string>",
  "query": "<string>",
  "plan": {
    "query": "<string>",
    "nodes": {},
    "result_node": 123,
    "llm_prompt": "<any>",
    "llm_plan": "<string>"
  },
  "stream": false,
  "summarize_result": false,
  "rag_mode": false
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

A query against a DocSet. Contains either a natural language string or a query plan.

Response

Successful Response

The response is of type any.