Skip to main content
POST
/
api
/
v2
/
rag
/
agent-response-stream
Stream agent response (v2)
curl --request POST \
  --url https://rest-api.captide.co/api/v2/rag/agent-response-stream \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "query": "<string>"
}
'
{
  "detail": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Request model for agent queries.

query
string
required

The natural language query

Minimum string length: 1

Response

Stream started successfully