Streaming chat endpoint with paragraph-level citations.
Event Format:
The response is a stream of newline-delimited JSON events with type discriminators.
Event Types:
metadata: Sent once at start with conversation/message/response IDs
paragraph: Response paragraphs with inline citations (sent as generated)
thinking: Thinking steps (only if report_progress=true)
done: Completion marker
Example Stream:
metadata: {"type":"metadata","conversation_id":"...","message_id":"...","response_id":"..."}thinking: {"type":"thinking","step":"Searching for relevant documents..."}paragraph: {"type":"paragraph","text":"Alice is 32 years old.","citations":[...],"links":[]}paragraph: {"type":"paragraph","text":"She works at AODocs.","citations":[...],"links":[...]}done: {"type":"done"}
Client Implementation:
Parse each line by splitting on the prefix (metadata:, paragraph:, etc.) and
parsing the JSON. Use the type field for type-safe handling.
Progressive Rendering:
Paragraphs are sent as soon as they’re generated, enabling progressive UI updates
with inline citations.
Current page search state; used when use_view_scope is enabled
Show child attributes
Response
Successful Response
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"AO Docs Documentation","colors":{"primary":"#006CB2","light":"#4CA5E7","dark":"#006CB2"},"logo":{"light":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/light.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=c418895665a6cfafbf4d17e675f7c276","dark":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/dark.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=819218ba54186566d25d26d5ea329e61","href":"https://www.aodocs.com"},"favicon":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/favicon.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=d0bf037dce435927befb8332e856c7e0","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://www.aodocs.com/contact/","label":"Contact us"}]},"footer":{"socials":{"youtube":"https://www.youtube.com/channel/UC4BSPzADc9QXoh29SAsn3Cg","linkedin":"https://www.linkedin.com/company/altirnao"}},"fonts":{"heading":{"family":"Roboto"},"body":{"family":"Roboto"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"About","icon":"users","href":"https://www.aodocs.com/company/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.aodocs.com/blog/"},{"anchor":"Status","icon":"signal","href":"https://status.aodocs.com/?__hstc=7523757.3689b6b59ff0c12fcac6aa9719dd6032.1586143551842.1586316583659.1586321455157.16\u0026__hssc=7523757.35.1586321455157\u0026__hsfp=209583371"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aodocs","hasAudioNarration":false,"actualSubdomain":"aodocs","customDomains":["api.aodocs.com"],"gitSource":{"type":"github","owner":"aodocs-dev","repo":"api-documentation","deployBranch":"master","contentDirectory":"mintlify-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae9cccd41d246c64a859cb3","collectionId":"9ce5f2ac-f865-480d-a727-f545dbc7220f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae9cccd41d246c64a859cb3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb345a385381993c303029","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Core API Reference","count":357},{"language":"default","tag":"AI API Reference","count":88},{"language":"default","tag":"AIDA API Reference","count":85},{"language":"default","tag":"library","count":69},{"language":"default","tag":"Library","count":64},{"language":"default","tag":"Document ID","count":43},{"language":"default","tag":"Domain","count":42},{"language":"default","tag":"documentId","count":42},{"language":"default","tag":"domain","count":39},{"language":"default","tag":"Guides","count":37}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/chat-v2/chat-streaming-v2","slug":"/api-reference/chat-v2/chat-streaming-v2","pageMetadata":{"title":"Chat Streaming V2","description":"Streaming chat endpoint with paragraph-level citations.\n\n **Event Format:**\n The response is a stream of newline-delimited JSON events with type discriminators.\n\n **Event Types:**\n 1. `metadata`: Sent once at start with conversation/message/response IDs\n 2. `paragraph`: Response paragraphs with inline citations (sent as generated)\n 3. `thinking`: Thinking steps (only if report_progress=true)\n 4. `done`: Completion marker\n\n **Example Stream:**\n ```\n metadata: {\"type\":\"metadata\",\"conversation_id\":\"...\",\"message_id\":\"...\",\"response_id\":\"...\"}\n\n\n thinking: {\"type\":\"thinking\",\"step\":\"Searching for relevant documents...\"}\n\n\n paragraph: {\"type\":\"paragraph\",\"text\":\"Alice is 32 years old.\",\"citations\":[...],\"links\":[]}\n\n\n paragraph: {\"type\":\"paragraph\",\"text\":\"She works at AODocs.\",\"citations\":[...],\"links\":[...]}\n\n\n done: {\"type\":\"done\"}\n\n\n ```\n\n **Client Implementation:**\n Parse each line by splitting on the prefix (`metadata:`, `paragraph:`, etc.) and\n parsing the JSON. Use the `type` field for type-safe handling.\n\n **Progressive Rendering:**\n Paragraphs are sent as soon as they're generated, enabling progressive UI updates\n with inline citations.","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v2/tenants/{tenant}/chat:streamingResponse","href":"/api-reference/chat-v2/chat-streaming-v2","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Streaming chat endpoint with paragraph-level citations.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Event Format:\"\n }), \"\\nThe response is a stream of newline-delimited JSON events with type discriminators.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Event Types:\"\n })\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"metadata\"\n }), \": Sent once at start with conversation/message/response IDs\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"paragraph\"\n }), \": Response paragraphs with inline citations (sent as generated)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"thinking\"\n }), \": Thinking steps (only if report_progress=true)\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"done\"\n }), \": Completion marker\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Example Stream:\"\n })\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"16\",\n language: \"text\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"text\",\n children: _jsxs(_components.code, {\n language: \"text\",\n numberOfLines: \"16\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \"metadata: {\\\"type\\\":\\\"metadata\\\",\\\"conversation_id\\\":\\\"...\\\",\\\"message_id\\\":\\\"...\\\",\\\"response_id\\\":\\\"...\\\"}\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \"thinking: {\\\"type\\\":\\\"thinking\\\",\\\"step\\\":\\\"Searching for relevant documents...\\\"}\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \"paragraph: {\\\"type\\\":\\\"paragraph\\\",\\\"text\\\":\\\"Alice is 32 years old.\\\",\\\"citations\\\":[...],\\\"links\\\":[]}\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \"paragraph: {\\\"type\\\":\\\"paragraph\\\",\\\"text\\\":\\\"She works at AODocs.\\\",\\\"citations\\\":[...],\\\"links\\\":[...]}\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \"done: {\\\"type\\\":\\\"done\\\"}\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n })]\n })\n })\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Client Implementation:\"\n }), \"\\nParse each line by splitting on the prefix (\", _jsx(_components.code, {\n children: \"metadata:\"\n }), \", \", _jsx(_components.code, {\n children: \"paragraph:\"\n }), \", etc.) and\\nparsing the JSON. Use the \", _jsx(_components.code, {\n children: \"type\"\n }), \" field for type-safe handling.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Progressive Rendering:\"\n }), \"\\nParagraphs are sent as soon as they’re generated, enabling progressive UI updates\\nwith inline citations.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Chat Streaming V2","description":"Streaming chat endpoint with paragraph-level citations.\n\n **Event Format:**\n The response is a stream of newline-delimited JSON events with type discriminators.\n\n **Event Types:**\n 1. `metadata`: Sent once at start with conversation/message/response IDs\n 2. `paragraph`: Response paragraphs with inline citations (sent as generated)\n 3. `thinking`: Thinking steps (only if report_progress=true)\n 4. `done`: Completion marker\n\n **Example Stream:**\n ```\n metadata: {\"type\":\"metadata\",\"conversation_id\":\"...\",\"message_id\":\"...\",\"response_id\":\"...\"}\n\n\n thinking: {\"type\":\"thinking\",\"step\":\"Searching for relevant documents...\"}\n\n\n paragraph: {\"type\":\"paragraph\",\"text\":\"Alice is 32 years old.\",\"citations\":[...],\"links\":[]}\n\n\n paragraph: {\"type\":\"paragraph\",\"text\":\"She works at AODocs.\",\"citations\":[...],\"links\":[...]}\n\n\n done: {\"type\":\"done\"}\n\n\n ```\n\n **Client Implementation:**\n Parse each line by splitting on the prefix (`metadata:`, `paragraph:`, etc.) and\n parsing the JSON. Use the `type` field for type-safe handling.\n\n **Progressive Rendering:**\n Paragraphs are sent as soon as they're generated, enabling progressive UI updates\n with inline citations.","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v2/tenants/{tenant}/chat:streamingResponse","href":"/api-reference/chat-v2/chat-streaming-v2","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["chat-v2"],"summary":"Chat Streaming V2","description":"Streaming chat endpoint with paragraph-level citations.\n\n **Event Format:**\n The response is a stream of newline-delimited JSON events with type discriminators.\n\n **Event Types:**\n 1. `metadata`: Sent once at start with conversation/message/response IDs\n 2. `paragraph`: Response paragraphs with inline citations (sent as generated)\n 3. `thinking`: Thinking steps (only if report_progress=true)\n 4. `done`: Completion marker\n\n **Example Stream:**\n ```\n metadata: {\"type\":\"metadata\",\"conversation_id\":\"...\",\"message_id\":\"...\",\"response_id\":\"...\"}\n\n\n thinking: {\"type\":\"thinking\",\"step\":\"Searching for relevant documents...\"}\n\n\n paragraph: {\"type\":\"paragraph\",\"text\":\"Alice is 32 years old.\",\"citations\":[...],\"links\":[]}\n\n\n paragraph: {\"type\":\"paragraph\",\"text\":\"She works at AODocs.\",\"citations\":[...],\"links\":[...]}\n\n\n done: {\"type\":\"done\"}\n\n\n ```\n\n **Client Implementation:**\n Parse each line by splitting on the prefix (`metadata:`, `paragraph:`, etc.) and\n parsing the JSON. Use the `type` field for type-safe handling.\n\n **Progressive Rendering:**\n Paragraphs are sent as soon as they're generated, enabling progressive UI updates\n with inline citations.","operationId":"chat_streaming_v2_assistant_api_v2_tenants__tenant__chat_streamingResponse_post","security":["9cadce82-9c36-4358-b5c3-b59d189348bc"],"parameters":["19cb84ed-e76e-4e5b-84b6-1cf4a7eb9902"],"requestBody":"185eb4ef-decd-458b-9c09-4e31b7300ad7","responses":{"200":"94a6733f-2ac2-4fe0-9e6c-f863804acd6a","422":"dc8dfb40-c136-4277-a22a-6eba816048e6"},"method":"post","type":"path","servers":["801aebaf-77ec-4f1f-b3d8-76b33f8af66d","55e0d4b7-9b4a-4a78-a506-68dfae8a4a9f"],"path":"/assistant/api/v2/tenants/{tenant}/chat:streamingResponse","baseUrlOptions":["https://document-assistant.us.aodocs.app","https://document-assistant.eu.aodocs.app"],"title":"Chat Streaming V2","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"19cb84ed-e76e-4e5b-84b6-1cf4a7eb9902":{"name":"tenant","in":"path","required":true,"schema":{"oneOf":[{"type":"string","title":"Tenant","description":"The domain of the customer","example":"example.com","isRequired":true,"uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Tenant","description":"The domain of the customer","example":"example.com","isRequired":true,"uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"","typeLabel":"string | null"},"description":"The domain of the customer"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","description":"The message to be sent to the assistant","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"agent_id":{"oneOf":[{"type":"string","title":"Agent Id","description":"The id of the agent to scope this chat request","uniqueKey":"agent_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Agent Id","description":"The id of the agent to scope this chat request","uniqueKey":"agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_id","typeLabel":"string | null"},"conversation_id":{"oneOf":[{"type":"string","title":"Conversation Id","description":"The conversation ID of the chat message. If not provided, a new conversation will be created.","uniqueKey":"conversation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Conversation Id","description":"The conversation ID of the chat message. If not provided, a new conversation will be created.","uniqueKey":"conversation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation_id","typeLabel":"string | null"},"library_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"library_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Library Ids","description":"Answer the question in the context of these libraries","uniqueKey":"library_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Library Ids","description":"Answer the question in the context of these libraries","uniqueKey":"library_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"library_ids","typeLabel":"string[] | null"},"document_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"document_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Document Ids","description":"Answer the question in the context of these documents","uniqueKey":"document_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Document Ids","description":"Answer the question in the context of these documents","uniqueKey":"document_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"document_ids","typeLabel":"string[] | null"},"view_id":{"oneOf":[{"type":"string","title":"View Id","description":"Answer the question in the context of the view","uniqueKey":"view_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"View Id","description":"Answer the question in the context of the view","uniqueKey":"view_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"view_id","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"integer","title":"Timezone","description":"Timezone of the user. If not provided we use UTC timezone. Accepts a minute offset (JavaScript getTimezoneOffset) or an IANA zone name","default":0,"uniqueKey":"timezone.oneOf.0","typeLabel":"integer"},{"type":"string","title":"Timezone","description":"Timezone of the user. If not provided we use UTC timezone. Accepts a minute offset (JavaScript getTimezoneOffset) or an IANA zone name","default":0,"uniqueKey":"timezone.oneOf.1","typeLabel":"string"}],"uniqueKey":"timezone","typeLabel":"integer | string"},"read_only":{"type":"boolean","title":"Read Only","description":"Disable tools that can modify documents for this request","default":false,"uniqueKey":"read_only","typeLabel":"boolean"},"locale":{"oneOf":[{"type":"string","title":"Locale","description":"AODocs UI language; used when use_view_scope is enabled","uniqueKey":"locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","description":"AODocs UI language; used when use_view_scope is enabled","uniqueKey":"locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"locale","typeLabel":"string | null"},"search":{"oneOf":[{"type":"object","title":"ViewSearch","description":"Current page search state; used when use_view_scope is enabled","properties":{"filters":{"items":{"properties":{"column":{"type":"string","maxLength":10000,"minLength":1,"title":"Column","isRequired":true,"uniqueKey":"search.oneOf.0.filters.items.[INDEX].column","typeLabel":"string"},"join_type":{"type":"string","enum":["AND","OR"],"title":"Join Type","isRequired":true,"uniqueKey":"search.oneOf.0.filters.items.[INDEX].join_type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","maxLength":10000,"title":"Value","isRequired":true,"uniqueKey":"search.oneOf.0.filters.items.[INDEX].value","typeLabel":"string"},"operator":{"oneOf":[{"type":"string","title":"Operator","maxLength":10000,"uniqueKey":"search.oneOf.0.filters.items.[INDEX].operator.oneOf.0","typeLabel":"string"},{"type":"null","title":"Operator","uniqueKey":"search.oneOf.0.filters.items.[INDEX].operator.oneOf.1","typeLabel":"null"}],"uniqueKey":"search.oneOf.0.filters.items.[INDEX].operator","typeLabel":"string | null"}},"type":"object","required":["column","join_type","value"],"title":"ViewSearchFilter","uniqueKey":"search.oneOf.0.filters.items.[INDEX]","typeLabel":"ViewSearchFilter · object"},"type":"array","maxItems":100,"title":"Filters","uniqueKey":"search.oneOf.0.filters","typeLabel":"ViewSearchFilter · object[]"},"query":{"type":"string","maxLength":10000,"title":"Query","default":"","uniqueKey":"search.oneOf.0.query","typeLabel":"string"},"in_attachments":{"type":"boolean","title":"In Attachments","default":true,"uniqueKey":"search.oneOf.0.in_attachments","typeLabel":"boolean"}},"uniqueKey":"search.oneOf.0","typeLabel":"ViewSearch · object"},{"type":"null","description":"Current page search state; used when use_view_scope is enabled","uniqueKey":"search.oneOf.1","typeLabel":"null"}],"uniqueKey":"search","typeLabel":"ViewSearch · object | null"}},"type":"object","required":["message"],"title":"ChatRequestV2","description":"V2 Chat request model with deprecated fields removed.\n\nChanges from V1:\n- Removed library_id (use library_ids)\n- Removed document_id (use document_ids)\n- Removed view_params (not needed in v2)\n- Removed filters (handled internally)\n- Removed use_header_prefix (streaming format changed)","uniqueKey":"","typeLabel":"ChatRequestV2 · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","agent_id":"\u003cstring>","conversation_id":"\u003cstring>","library_ids":["\u003cstring>"],"document_ids":["\u003cstring>"],"view_id":"\u003cstring>","timezone":0,"read_only":false,"locale":"\u003cstring>","search":{"filters":[{"column":"\u003cstring>","value":"\u003cstring>","operator":"\u003cstring>"}],"query":"","in_attachments":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"94a6733f-2ac2-4fe0-9e6c-f863804acd6a":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"exampleType":"generated"},"dc8dfb40-c136-4277-a22a-6eba816048e6":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9cadce82-9c36-4358-b5c3-b59d189348bc":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{"801aebaf-77ec-4f1f-b3d8-76b33f8af66d":{"url":"https://document-assistant.us.aodocs.app","description":"Production US"},"55e0d4b7-9b4a-4a78-a506-68dfae8a4a9f":{"url":"https://document-assistant.eu.aodocs.app","description":"Production EU"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"https://document-assistant.us.aodocs.app/openapi.json"},"subdomain":"aodocs","siteName":"AO Docs Documentation","title":"Chat Streaming V2 - AO Docs Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T12:00:31.211Z","originalFileLocation":"api-reference/chat-v2/chat-streaming-v2.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Streaming chat endpoint with paragraph-level citations. Event Format: The response is a stream of newline-delimited JSON events with type discriminators. Event Types: 1. metadata: Sent once at start with conversation/message/response IDs 2. paragraph: Response paragraphs with inline citations (sent as generated) 3. thinking: Thinking steps (only if report_progress=true) 4. done: Completion marker Example Stream: metadata: {\u0026quot;type\u0026quot;:\u0026quot;metadata\u0026quot;,\u0026quot;conversation_id\u0026quot;:\u0026quot;...\u0026quot;,\u0026quot;message_id\u0026quot;:\u0026quot;...\u0026quot;,\u0026quot;response_id\u0026quot;:\u0026quot;...\u0026quot;} thinking: {\u0026quot;type\u0026quot;:\u0026quot;thinking\u0026quot;,\u0026quot;step\u0026quot;:\u0026quot;Searching for relevant documents...\u0026quot;} paragraph: {\u0026quot;type\u0026quot;:\u0026quot;paragraph\u0026quot;,\u0026quot;text\u0026quot;:\u0026quot;Alice is 32 years old.\u0026quot;,\u0026quot;citations\u0026quot;:[...],\u0026quot;links\u0026quot;:[]} paragraph: {\u0026quot;type\u0026quot;:\u0026quot;paragraph\u0026quot;,\u0026quot;text\u0026quot;:\u0026quot;She works at AODocs.\u0026quot;,\u0026quot;citations\u0026quot;:[...],\u0026quot;links\u0026quot;:[...]} done: {\u0026quot;type\u0026quot;:\u0026quot;done\u0026quot;} Client Implementation: Parse each line by splitting on the prefix (metadata:, paragraph:, etc.) and parsing the JSON. Use the type field for type-safe handling. Progressive Rendering: Paragraphs are sent as soon as they\u0026#x27;re generated, enabling progressive UI updates with inline citations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Chat Streaming V2 - AO Docs Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Streaming chat endpoint with paragraph-level citations. Event Format: The response is a stream of newline-delimited JSON events with type discriminators. Event Types: 1. metadata: Sent once at start with conversation/message/response IDs 2. paragraph: Response paragraphs with inline citations (sent as generated) 3. thinking: Thinking steps (only if report_progress=true) 4. done: Completion marker Example Stream: metadata: {\u0026quot;type\u0026quot;:\u0026quot;metadata\u0026quot;,\u0026quot;conversation_id\u0026quot;:\u0026quot;...\u0026quot;,\u0026quot;message_id\u0026quot;:\u0026quot;...\u0026quot;,\u0026quot;response_id\u0026quot;:\u0026quot;...\u0026quot;} thinking: {\u0026quot;type\u0026quot;:\u0026quot;thinking\u0026quot;,\u0026quot;step\u0026quot;:\u0026quot;Searching for relevant documents...\u0026quot;} paragraph: {\u0026quot;type\u0026quot;:\u0026quot;paragraph\u0026quot;,\u0026quot;text\u0026quot;:\u0026quot;Alice is 32 years old.\u0026quot;,\u0026quot;citations\u0026quot;:[...],\u0026quot;links\u0026quot;:[]} paragraph: {\u0026quot;type\u0026quot;:\u0026quot;paragraph\u0026quot;,\u0026quot;text\u0026quot;:\u0026quot;She works at AODocs.\u0026quot;,\u0026quot;citations\u0026quot;:[...],\u0026quot;links\u0026quot;:[...]} done: {\u0026quot;type\u0026quot;:\u0026quot;done\u0026quot;} Client Implementation: Parse each line by splitting on the prefix (metadata:, paragraph:, etc.) and parsing the JSON. Use the type field for type-safe handling. Progressive Rendering: Paragraphs are sent as soon as they\u0026#x27;re generated, enabling progressive UI updates with inline citations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aodocs.mintlify.app/_mintlify/api/og/v2?division=chat-v2\u0026amp;title=Chat+Streaming+V2\u0026amp;description=Streaming+chat+endpoint+with+paragraph-level+citations.%0A%0A++++**Event+Format%3A**%0A++++The+response+is+a+stream+of+newline-delimited+JSON+events+with+type+discrimin\u0026amp;theme=458f498de6859a4d05c4c954\u0026amp;signature=7ac3b4a26e85db3a47dde4d2d55d1698e6fef0e930c25132f34b9f00fe27cf35\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Chat Streaming V2 - AO Docs Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Streaming chat endpoint with paragraph-level citations. Event Format: The response is a stream of newline-delimited JSON events with type discriminators. Event Types: 1. metadata: Sent once at start with conversation/message/response IDs 2. paragraph: Response paragraphs with inline citations (sent as generated) 3. thinking: Thinking steps (only if report_progress=true) 4. done: Completion marker Example Stream: metadata: {\u0026quot;type\u0026quot;:\u0026quot;metadata\u0026quot;,\u0026quot;conversation_id\u0026quot;:\u0026quot;...\u0026quot;,\u0026quot;message_id\u0026quot;:\u0026quot;...\u0026quot;,\u0026quot;response_id\u0026quot;:\u0026quot;...\u0026quot;} thinking: {\u0026quot;type\u0026quot;:\u0026quot;thinking\u0026quot;,\u0026quot;step\u0026quot;:\u0026quot;Searching for relevant documents...\u0026quot;} paragraph: {\u0026quot;type\u0026quot;:\u0026quot;paragraph\u0026quot;,\u0026quot;text\u0026quot;:\u0026quot;Alice is 32 years old.\u0026quot;,\u0026quot;citations\u0026quot;:[...],\u0026quot;links\u0026quot;:[]} paragraph: {\u0026quot;type\u0026quot;:\u0026quot;paragraph\u0026quot;,\u0026quot;text\u0026quot;:\u0026quot;She works at AODocs.\u0026quot;,\u0026quot;citations\u0026quot;:[...],\u0026quot;links\u0026quot;:[...]} done: {\u0026quot;type\u0026quot;:\u0026quot;done\u0026quot;} Client Implementation: Parse each line by splitting on the prefix (metadata:, paragraph:, etc.) and parsing the JSON. Use the type field for type-safe handling. Progressive Rendering: Paragraphs are sent as soon as they\u0026#x27;re generated, enabling progressive UI updates with inline citations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aodocs.mintlify.app/_mintlify/api/og/v2?division=chat-v2\u0026amp;title=Chat+Streaming+V2\u0026amp;description=Streaming+chat+endpoint+with+paragraph-level+citations.%0A%0A++++**Event+Format%3A**%0A++++The+response+is+a+stream+of+newline-delimited+JSON+events+with+type+discrimin\u0026amp;theme=458f498de6859a4d05c4c954\u0026amp;signature=7ac3b4a26e85db3a47dde4d2d55d1698e6fef0e930c25132f34b9f00fe27cf35\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006CB2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/chat-v2/chat-streaming-v2.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.aodocs.com/#organization\",\"name\":\"AO Docs Documentation\",\"url\":\"https://api.aodocs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/light.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=c418895665a6cfafbf4d17e675f7c276\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.aodocs.com#website\",\"name\":\"AO Docs Documentation\",\"url\":\"https://api.aodocs.com\",\"publisher\":{\"@id\":\"https://api.aodocs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2#webpage\",\"url\":\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2\",\"name\":\"Chat Streaming V2\",\"description\":\"Streaming chat endpoint with paragraph-level citations. Event Format: The response is a stream of newline-delimited JSON events with type discriminators. Event Types: 1. metadata: Sent once at start with conversation/message/response IDs 2. paragraph: Response paragraphs with inline citations (sent as generated) 3. thinking: Thinking steps (only if report_progress=true) 4. done: Completion marker Example Stream: metadata: {\\\"type\\\":\\\"metadata\\\",\\\"conversation_id\\\":\\\"...\\\",\\\"message_id\\\":\\\"...\\\",\\\"response_id\\\":\\\"...\\\"} thinking: {\\\"type\\\":\\\"thinking\\\",\\\"step\\\":\\\"Searching for relevant documents...\\\"} paragraph: {\\\"type\\\":\\\"paragraph\\\",\\\"text\\\":\\\"Alice is 32 years old.\\\",\\\"citations\\\":[...],\\\"links\\\":[]} paragraph: {\\\"type\\\":\\\"paragraph\\\",\\\"text\\\":\\\"She works at AODocs.\\\",\\\"citations\\\":[...],\\\"links\\\":[...]} done: {\\\"type\\\":\\\"done\\\"} Client Implementation: Parse each line by splitting on the prefix (metadata:, paragraph:, etc.) and parsing the JSON. Use the type field for type-safe handling. Progressive Rendering: Paragraphs are sent as soon as they're generated, enabling progressive UI updates with inline citations.\",\"dateModified\":\"2026-11-03T12:00:31.211Z\",\"isPartOf\":{\"@id\":\"https://api.aodocs.com#website\"},\"breadcrumb\":{\"@id\":\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AIDA API Reference\",\"item\":\"https://api.aodocs.com/api-reference/chat/chat\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"chat-v2\",\"item\":\"https://api.aodocs.com/api-reference/chat-v2/chat-v2\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Chat Streaming V2\",\"item\":\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2#apireference\",\"headline\":\"Chat Streaming V2\",\"name\":\"Chat Streaming V2\",\"description\":\"Streaming chat endpoint with paragraph-level citations. Event Format: The response is a stream of newline-delimited JSON events with type discriminators. Event Types: 1. metadata: Sent once at start with conversation/message/response IDs 2. paragraph: Response paragraphs with inline citations (sent as generated) 3. thinking: Thinking steps (only if report_progress=true) 4. done: Completion marker Example Stream: metadata: {\\\"type\\\":\\\"metadata\\\",\\\"conversation_id\\\":\\\"...\\\",\\\"message_id\\\":\\\"...\\\",\\\"response_id\\\":\\\"...\\\"} thinking: {\\\"type\\\":\\\"thinking\\\",\\\"step\\\":\\\"Searching for relevant documents...\\\"} paragraph: {\\\"type\\\":\\\"paragraph\\\",\\\"text\\\":\\\"Alice is 32 years old.\\\",\\\"citations\\\":[...],\\\"links\\\":[]} paragraph: {\\\"type\\\":\\\"paragraph\\\",\\\"text\\\":\\\"She works at AODocs.\\\",\\\"citations\\\":[...],\\\"links\\\":[...]} done: {\\\"type\\\":\\\"done\\\"} Client Implementation: Parse each line by splitting on the prefix (metadata:, paragraph:, etc.) and parsing the JSON. Use the type field for type-safe handling. Progressive Rendering: Paragraphs are sent as soon as they're generated, enabling progressive UI updates with inline citations.\",\"url\":\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2\",\"mainEntityOfPage\":{\"@id\":\"https://api.aodocs.com/api-reference/chat-v2/chat-streaming-v2#webpage\"},\"dateModified\":\"2026-11-03T12:00:31.211Z\",\"publisher\":{\"@id\":\"https://api.aodocs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api.aodocs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AO Docs Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"AO Docs Documentation","nav":{"global":{"anchors":[{"anchor":"About","icon":"users","href":"https://www.aodocs.com/company/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.aodocs.com/blog/"},{"anchor":"Status","icon":"signal","href":"https://status.aodocs.com/?__hstc=7523757.3689b6b59ff0c12fcac6aa9719dd6032.1586143551842.1586316583659.1586321455157.16\u0026__hssc=7523757.35.1586321455157\u0026__hsfp=209583371"}]},"tabs":[{"tab":"Home","icon":"home","pages":[{"title":"Home","href":""}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/getting-started"}]},{"tab":"Core API Reference","icon":"code-simple","pages":[{"title":"Core API Reference","href":"/api-reference/introduction"}]},{"tab":"AI API Reference","icon":"code-simple","pages":[{"title":"Introduction","href":"/aida-api/introduction"},{"title":"MCP","href":"/aida-api/mcp"},{"title":"A2A","href":"/aida-api/a2a"},{"group":"AIDA API Reference","pages":[{"group":"chat","pages":[{"title":"Chat","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/chat","href":"/api-reference/chat/chat"},{"title":"Chat Streaming","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/chat:streamingResponse","href":"/api-reference/chat/chat-streaming"},{"title":"Save Feedback","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/conversations/{conversation_id}/messages/{response_id}/feedback","href":"/api-reference/chat/save-feedback"},{"title":"Get Source Bounding Boxes","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/sources:getBoundingBoxes","href":"/api-reference/chat/get-source-bounding-boxes"},{"title":"List Conversations","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/conversations/","href":"/api-reference/chat/list-conversations"},{"title":"Get Messages in Conversation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/conversations/{conversation_id}/messages","href":"/api-reference/chat/get-messages-in-conversation"},{"title":"Delete Conversation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/conversations/{conversation_id}","href":"/api-reference/chat/delete-conversation"}]},{"group":"chat-v2","pages":[{"title":"Chat V2","description":"Answers a chat message with structured response preserving paragraph-level citations.\n\n **V2 Changes:**\n - Structured response with `items` array (paragraphs)\n - Per-paragraph citations and links\n - Removed deprecated fields (library_id, document_id)\n\n **Response Structure:**\n Each response item represents a paragraph with:\n - `text`: The paragraph content\n - `citations`: Sources cited in this specific paragraph\n - `links`: Search result links related to this paragraph\n\n **Example Response:**\n ```json\n {\n \"metadata\": {\n \"conversation_id\": \"uuid\",\n \"message_id\": \"uuid\",\n \"response_id\": \"uuid\"\n },\n \"items\": [\n {\n \"text\": \"Alice is 32 years old.\",\n \"citations\": [{\"document_title\": \"Employee Records\", ...}],\n \"links\": []\n },\n {\n \"text\": \"She works at AODocs.\",\n \"citations\": [{\"document_title\": \"Team Directory\", ...}],\n \"links\": [{\"title\": \"View directory\", \"url\": \"...\"}]\n }\n ]\n }\n ```","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v2/tenants/{tenant}/chat","href":"/api-reference/chat-v2/chat-v2"},{"title":"Chat Streaming V2","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v2/tenants/{tenant}/chat:streamingResponse","href":"/api-reference/chat-v2/chat-streaming-v2"}]},{"group":"metadata","pages":[{"title":"Extract Metadata","description":"Extract metadata from files\u003cbr>","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/metadata:extract","href":"/api-reference/metadata/extract-metadata"},{"title":"Extract Custom Metadata","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/metadata:extractCustom","href":"/api-reference/metadata/extract-custom-metadata"},{"title":"Get Metadata","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/classes/{class_id}/metadata","href":"/api-reference/metadata/get-metadata"},{"title":"Save Metadata","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/classes/{class_id}/metadata","href":"/api-reference/metadata/save-metadata"},{"title":"Train Extraction","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/metadata:train","href":"/api-reference/metadata/train-extraction"}]},{"group":"metadata_evaluation","pages":[{"title":"List Evaluations","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations","href":"/api-reference/metadata_evaluation/list-evaluations"},{"title":"Create Evaluation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations","href":"/api-reference/metadata_evaluation/create-evaluation"},{"title":"Cancel Evaluation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}:cancel","href":"/api-reference/metadata_evaluation/cancel-evaluation"},{"title":"Get Evaluation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}","href":"/api-reference/metadata_evaluation/get-evaluation"},{"title":"Delete Evaluation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}","href":"/api-reference/metadata_evaluation/delete-evaluation"},{"title":"Get Evaluation Document Results","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}/documents","href":"/api-reference/metadata_evaluation/get-evaluation-document-results"},{"title":"Get Evaluation Results","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}/results","href":"/api-reference/metadata_evaluation/get-evaluation-results"}]},{"group":"translation","pages":[{"title":"Translate Document Api","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents/{document_id}/content:translate","href":"/api-reference/translation/translate-document-api"}]},{"group":"document_split","pages":[{"title":"Plan Document Split","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/document_split:plan","href":"/api-reference/document_split/plan-document-split"},{"title":"Get Document Split","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/document_splits/{job_id}","href":"/api-reference/document_split/get-document-split"}]},{"group":"document_similarity","pages":[{"title":"Find Similar","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents:findSimilar","href":"/api-reference/document_similarity/find-similar"}]},{"group":"document_conflict","pages":[{"title":"Check Document Conflicts","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents:checkConflicts","href":"/api-reference/document_conflict/check-document-conflicts"},{"title":"Get Document Conflict Job","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/document_conflicts/{job_id}","href":"/api-reference/document_conflict/get-document-conflict-job"}]},{"group":"document_validation","pages":[{"title":"Validate Document Api","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents:validate","href":"/api-reference/document_validation/validate-document-api"},{"title":"List Document Validation Rules","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/document_validation/rules","href":"/api-reference/document_validation/list-document-validation-rules"},{"title":"Create Document Validation Custom Rule","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/document_validation/rules","href":"/api-reference/document_validation/create-document-validation-custom-rule"},{"title":"Get Document Validation Custom Rule","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/document_validation/rules/{rule_id}","href":"/api-reference/document_validation/get-document-validation-custom-rule"},{"title":"Save Document Validation Custom Rule","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/document_validation/rules/{rule_id}","href":"/api-reference/document_validation/save-document-validation-custom-rule"},{"title":"Delete Document Validation Custom Rule","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/document_validation/rules/{rule_id}","href":"/api-reference/document_validation/delete-document-validation-custom-rule"}]},{"group":"tenant","pages":[{"title":"Get Branding","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/branding","href":"/api-reference/tenant/get-branding"},{"title":"Get Available Llm Models","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/llm_models","href":"/api-reference/tenant/get-available-llm-models"},{"title":"Get Tenant Capabilities","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/capabilities","href":"/api-reference/tenant/get-tenant-capabilities"},{"title":"Get Tenant","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}","href":"/api-reference/tenant/get-tenant"},{"title":"Save Tenant","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}","href":"/api-reference/tenant/save-tenant"},{"title":"Delete Tenant","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}","href":"/api-reference/tenant/delete-tenant"},{"title":"Get Usage Statistics","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/usage_statistics","href":"/api-reference/tenant/get-usage-statistics"},{"title":"Get Usage","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/quota_usage/{type}","href":"/api-reference/tenant/get-usage"},{"title":"Reset Usage","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/quota_usage/{type}","href":"/api-reference/tenant/reset-usage"},{"title":"Contact","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/contact","href":"/api-reference/tenant/contact"}]},{"group":"library","pages":[{"title":"Get","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}","href":"/api-reference/library/get"},{"title":"Update","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/libraries/{library_id}","href":"/api-reference/library/update"},{"title":"Delete","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/libraries/{library_id}","href":"/api-reference/library/delete"},{"title":"Get Libraries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/libraries:get","href":"/api-reference/library/get-libraries"},{"title":"Update Libraries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/libraries:update","href":"/api-reference/library/update-libraries"},{"title":"Delete Libraries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/libraries","href":"/api-reference/library/delete-libraries"}]},{"group":"agent","pages":[{"title":"Get Agent","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/agents/{agent_id}","href":"/api-reference/agent/get-agent"},{"title":"Update Agent","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/agents/{agent_id}","href":"/api-reference/agent/update-agent"},{"title":"Delete Agent","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/agents/{agent_id}","href":"/api-reference/agent/delete-agent"},{"title":"List Agents","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/agents","href":"/api-reference/agent/list-agents"},{"title":"Create Agent","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/agents","href":"/api-reference/agent/create-agent"},{"title":"Get Default Libraries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/agents:getDefaultLibraries","href":"/api-reference/agent/get-default-libraries"}]},{"group":"glossary","pages":[{"title":"List Glossaries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/glossaries","href":"/api-reference/glossary/list-glossaries"},{"title":"Create Glossary","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/glossaries","href":"/api-reference/glossary/create-glossary"},{"title":"Get Glossary","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}","href":"/api-reference/glossary/get-glossary"},{"title":"Update Glossary","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}","href":"/api-reference/glossary/update-glossary"},{"title":"Delete Glossary","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}","href":"/api-reference/glossary/delete-glossary"},{"title":"List Glossary Items","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/items","href":"/api-reference/glossary/list-glossary-items"},{"title":"Create Glossary Item","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/items","href":"/api-reference/glossary/create-glossary-item"},{"title":"Update Glossary Item","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/items/{item_id}","href":"/api-reference/glossary/update-glossary-item"},{"title":"Delete Glossary Item","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/items/{item_id}","href":"/api-reference/glossary/delete-glossary-item"},{"title":"List Glossary Domains","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/domains","href":"/api-reference/glossary/list-glossary-domains"},{"title":"Search Glossaries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/glossaries:search","href":"/api-reference/glossary/search-glossaries"}]},{"group":"skill","pages":[{"title":"Get Skill","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/skills/{skill_id}","href":"/api-reference/skill/get-skill"},{"title":"Update Skill","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/skills/{skill_id}","href":"/api-reference/skill/update-skill"},{"title":"Delete Skill","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/skills/{skill_id}","href":"/api-reference/skill/delete-skill"},{"title":"List Skills","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/skills","href":"/api-reference/skill/list-skills"},{"title":"Create Skill","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/skills","href":"/api-reference/skill/create-skill"}]},{"group":"llm_profile","pages":[{"title":"List Llm Profiles","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/llm_profiles","href":"/api-reference/llm_profile/list-llm-profiles"},{"title":"Create Llm Profile","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/llm_profiles","href":"/api-reference/llm_profile/create-llm-profile"},{"title":"Get Llm Profile","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/llm_profiles/{profile_id}","href":"/api-reference/llm_profile/get-llm-profile"},{"title":"Update Llm Profile","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/llm_profiles/{profile_id}","href":"/api-reference/llm_profile/update-llm-profile"},{"title":"Delete Llm Profile","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/llm_profiles/{profile_id}","href":"/api-reference/llm_profile/delete-llm-profile"}]},{"group":"admin-agent","pages":[{"title":"Message","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/admin-agent/message","href":"/api-reference/admin-agent/message"}]},{"group":"a2a","pages":[{"title":"Get Agent Card","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/.well-known/agent.json","href":"/api-reference/a2a/get-agent-card"},{"title":"Get Agent Card","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/.well-known/agent.json","href":"/api-reference/a2a/get-agent-card-1"},{"title":"Dynamic Client Registration","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/a2a/dcr","href":"/api-reference/a2a/dynamic-client-registration"},{"title":"Dynamic Client Registration","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/a2a/dcr","href":"/api-reference/a2a/dynamic-client-registration-1"},{"title":"Process A2A Request","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/a2a","href":"/api-reference/a2a/process-a2a-request"},{"title":"Process A2A Request","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/a2a","href":"/api-reference/a2a/process-a2a-request-1"},{"title":"Get Agent-Specific Agent Card","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/agents/{agent_id}/a2a","href":"/api-reference/a2a/get-agent-specific-agent-card"},{"title":"Process Agent-Specific A2A Request","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/agents/{agent_id}/a2a","href":"/api-reference/a2a/process-agent-specific-a2a-request"}]}]}]}]},"basePath":"","title":"Chat Streaming V2 - AO Docs Documentation","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}