Skip to main content
POST
Run AutoRAG agent with streaming response

Authorizations

Authorization
string
header
required

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

Scopes

implicit

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.

asOf
string<date-time>

Instant the agent treats as now when resolving relative dates such as "last quarter"; today is its UTC date. Applies to this request only, so resend it on every turn of a conversation. Does not restrict the data or web results to that instant; omit to use the current time.

Example:

"2026-03-31T12:00:00.000Z"

Response

SSE stream of AutoRAG execution events.

SSE event that opens the stream of every run that starts. Event name is "run-started".

runId
string<uuid>
required

Use with /query/runs/{runId} to get the run status, delete or resume the run, or send feedback.

conversationId
string<uuid>
required

Conversation this run belongs to. Send it as conversationId to continue the conversation.