Upload a document
Uploads are a two-step flow: request a presigned URL, then upload the file straight to storage.Processing starts automatically once the file lands. Poll status until it is
processed:See Document ingestion for the full pipeline and supported file types.
Create a chat and ask a question
Stream the next turn (optional)
For live progress and final answer content, use the streaming endpoint with the See Chat & streaming for handling the event stream.
chat_id from the previous step:What next
Build an agent
Turn this knowledge base into a reusable, deployable agent.
Serve your end users
Isolate each of your customers with tenants and external subjects.