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
conversationId
string

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

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.