Query
POST
Same as /query, but streams the answer for chat UIs.
BearerAuthheader
AuthorizationBearer <token>Pass your OutDocAI API key as Authorization: Bearer od_….
application/json- body
query*stringThe question to ask.
conversation_id?stringContinue an existing conversation.
Format
uuiddocument_ids?array<>Optional document scope.
include_graph?booleanDefault
falsetop_k?integerServer-sent / streamed answer
response?stringtext/event-streamcurl -X POST 'http://localhost:8000/api/v1/public/query/stream' \ -H 'Content-Type: application/json' \ -d '{ "query": "string"}'"string"