Skip to content

Docs assistant

The assistant behind Ask AI in these docs.

Method Path
POST /api/v1/docs/ask

POST /api/v1/docs/ask

Answers questions about this documentation (RAG over the vol-docs dataset). Powers Ask AI.

From the API schema: Public. Answers questions about VOL using a RAGFlow assistant over the docs.

Auth: Public — no credentials

Request body

{
"question": "How do I stream a chat answer?"
}
Terminal window
curl -X POST "https://vol.example.com/api/v1/docs/ask" \
-H "Content-Type: application/json" \
-d '{"question":"How do I stream a chat answer?"}'

Response 200

{
"answer": "Send `stream: true` to `POST /v1/chat` and read the SSE events…",
"sources": [
{
"title": "Chat & streaming",
"url": "/docs/guides/chat-streaming/"
}
]
}