Skip to main content
POST
Run AutoRAG agent over all data

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Body

application/json
username
string
required
namespace
string
required
query
string
required
Example:

"What do llamas drink to cool themselves down?"

helperPrompt
string
Example:

"You're a prophet of the alpacalypse. Your task is to spit the word!"

model
string
provider
string
models
object

Per-stage model overrides for the AutoRag pipeline.

conversationId
string

Existing conversation to continue. Omit to start a new conversation; the id is returned on the run-started SSE event.

Override web search for this request: false disables it; omit (or true) to use the deployment default.

callerContext
object

Context established outside this platform — typically by an agent the calling system ran before this one. It is rendered into the planning and answering prompts as caller-asserted background: it never overrides data retrieved from the datasets, and it never widens data access. Applies to the turn it is sent with.

Response

Response containing step-by-step RAG execution results and the final answer.

response
string
required

Final response generated for the user's question.

steps
object[]
required

List of steps executed during the AutoRAG process.