POST /v1/workspaces/{workspace_id}/ask runs Soma’s agent: it searches the documents and the knowledge graph as many times as it needs, reads whole documents when a table is involved, then answers.
answer is markdown with [N] markers; citations lists the passage behind each N that the answer uses.
Follow-up questions
Pass thethread_id of the previous answer:
Streaming
With"stream": true the response is a stream of Server-Sent Events:
: keep-alive) are sent every 15 seconds while the agent works.