Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the wait parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use “Send a follow-up message”.
A unique key (up to 255 characters) that makes retries safe: repeating a request with the same key and body within 30 days returns the original result instead of creating a duplicate. Reusing a key with a different body returns HTTP 409; repeating one whose chat was since deleted returns HTTP 404.
Maximum number of seconds (1-300) to hold the request open while the assistant responds. If the response finishes in time the completed message is returned; otherwise the request returns HTTP 202 with the in-progress message. Omit to return immediately.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Basedash Documentation","colors":{"primary":"#3C50FF","light":"#6373FF","dark":"#061DE0"},"logo":{"light":"https://mintcdn.com/basedash/UcHJpOmrR3J146WE/logo/light.svg?fit=max\u0026auto=format\u0026n=UcHJpOmrR3J146WE\u0026q=85\u0026s=ffbaede88501c143a403b5850090b42a","dark":"https://mintcdn.com/basedash/UcHJpOmrR3J146WE/logo/dark.svg?fit=max\u0026auto=format\u0026n=UcHJpOmrR3J146WE\u0026q=85\u0026s=aec54d36c0048b53e3df724fc231dd94","href":"https://www.basedash.com"},"favicon":"https://mintcdn.com/basedash/UcHJpOmrR3J146WE/favicon.svg?fit=max\u0026auto=format\u0026n=UcHJpOmrR3J146WE\u0026q=85\u0026s=e6d2754428c77f51e2c1146803c90746","appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@basedash.com","label":"Contact us"}],"primary":{"type":"button","label":"Log in","href":"https://charts.basedash.com"}},"footer":{"socials":{"x":"https://x.com/Basedash","github":"https://github.com/Basedash","linkedin":"https://linkedin.com/company/Basedash"}},"seo":{"metatags":{"canonical":"https://www.basedash.com/docs"}},"styling":{"codeblocks":"dark","latex":false},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://www.basedash.com/changelog"},{"anchor":"Contact support","icon":"life-ring","href":"mailto:support@basedash.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"basedash","hasAudioNarration":false,"actualSubdomain":"basedash","customDomains":["basedash.com"],"gitSource":{"type":"github","owner":"basedash","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf983930794ec1211d3e0c","collectionId":"a35d677a-ba8c-41f0-a632-125d1d8cfe71","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf983930794ec1211d3e0c"},"feedback":{"thumbs":false,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adf983930794ec1211d3e0c","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Data sources","count":728},{"language":"default","tag":"Connectors","count":708},{"language":"default","tag":"Developers","count":97},{"language":"default","tag":"Endpoints","count":91},{"language":"default","tag":"Documentation","count":57},{"language":"default","tag":"Build","count":25},{"language":"default","tag":"Chart types","count":17},{"language":"default","tag":"Administration","count":13},{"language":"default","tag":"Chats","count":11},{"language":"default","tag":"Dashboards","count":11}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@basedash.com"}},"basePath":"/docs","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":"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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/chats/start-a-chat","slug":"/api-reference/chats/start-a-chat","pageMetadata":{"title":"Start a chat","description":"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the `wait` parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use \"Send a follow-up message\".","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/chats","href":"/api-reference/chats/start-a-chat","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the \", _jsx(_components.code, {\n children: \"wait\"\n }), \" parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use “Send a follow-up message”.\"]\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};\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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Start a chat","description":"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the `wait` parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use \"Send a follow-up message\".","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/chats","href":"/api-reference/chats/start-a-chat","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/basedash/598c05dbac71c2b9/scripts/generate-connector-pages.js","/docs/_mintlify/custom/basedash/92fde38ba79efb2a/scripts/ignored-connectors.js","/docs/_mintlify/custom/basedash/1b6dcfd155bb195c/scripts/content-constants.js","/docs/_mintlify/custom/basedash/b1d78f42287990a8/scripts/sync-content-constants.js"],"openApiReferenceData":{"operation":{"summary":"Start a chat","description":"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the `wait` parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use \"Send a follow-up message\".","tags":["Chats"],"security":["505142aa-b21f-4884-abab-2b5aaf957fde"],"parameters":["b26d3eae-066f-425f-8599-16f2d2c24ea7","f87bf564-3271-4bd2-bc84-85be51617cd2","94c6f86e-2bfa-42db-9c14-62c4d6ca37cb"],"requestBody":"fb662b1a-6e71-405b-a69f-14c4da20b3bd","responses":{"200":"d7f27f41-4942-4311-b0df-0c3e313cffb4","201":"4944e492-6223-47d3-921d-94fc56b12db7","202":"60c859bc-c839-4464-9b16-2faa935f6091","400":"59e1c274-9187-43cb-8270-440ab2853b9e","401":"03ffaa05-3cc7-4f45-b227-56257fd5d055","403":"d248f15d-90ee-49e4-b882-9909a5492fa5","404":"41c97202-a487-40eb-a9c5-abb406a01dd0","409":"dcb91ea9-eaf0-4a6c-ad2e-284a80d2a339","429":"a1bb2775-3910-4b30-98b2-2a9f3c4733f6","500":"6f67f648-1692-48fd-b40a-2552c9e74344"},"method":"post","type":"path","servers":["ced2b752-ccc0-40d7-8000-3375bc31a7ca"],"path":"/api/public/organizations/{orgId}/chats","baseUrlOptions":["https://charts.basedash.com"],"title":"Start a chat","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b26d3eae-066f-425f-8599-16f2d2c24ea7":{"schema":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Organization ID","name":"orgId","in":"path"},"f87bf564-3271-4bd2-bc84-85be51617cd2":{"schema":{"type":"integer","minimum":1,"maximum":300,"description":"Maximum number of seconds (1-300) to hold the request open while the assistant responds. If the response finishes in time the completed message is returned; otherwise the request returns HTTP 202 with the in-progress message. Omit to return immediately.","isRequired":false,"uniqueKey":"","typeLabel":"integer"},"required":false,"description":"Maximum number of seconds (1-300) to hold the request open while the assistant responds. If the response finishes in time the completed message is returned; otherwise the request returns HTTP 202 with the in-progress message. Omit to return immediately.","name":"wait","in":"query"},"94c6f86e-2bfa-42db-9c14-62c4d6ca37cb":{"schema":{"type":"string","maxLength":255,"description":"A unique key (up to 255 characters) that makes retries safe: repeating a request with the same key and body within 30 days returns the original result instead of creating a duplicate. Reusing a key with a different body returns HTTP 409; repeating one whose chat was since deleted returns HTTP 404.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"A unique key (up to 255 characters) that makes retries safe: repeating a request with the same key and body within 30 days returns the original result instead of creating a duplicate. Reusing a key with a different body returns HTTP 409; repeating one whose chat was since deleted returns HTTP 404.","name":"Idempotency-Key","in":"header"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":10000,"description":"The message to send to the AI agent, e.g. a question about your data. Maximum 10,000 characters.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"d7f27f41-4942-4311-b0df-0c3e313cffb4":{"description":"The Idempotency-Key was already used, so the existing chat is returned instead of creating a duplicate","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chat":{"type":"object","description":"The chat this exchange belongs to","required":["id","organizationId","name","status","source","memberId","createdAt","updatedAt"],"properties":{"id":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.chat.id","typeLabel":"string"},"organizationId":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"data.chat.organizationId","typeLabel":"string"},"name":{"type":"string","description":"Chat name, generated automatically from the first message","isRequired":true,"uniqueKey":"data.chat.name","typeLabel":"string"},"status":{"type":"string","enum":["generating","finished"],"description":"`generating` while the assistant is responding, `finished` otherwise","isRequired":true,"uniqueKey":"data.chat.status","typeLabel":"enum\u003cstring>"},"source":{"type":"string","enum":["api"],"description":"Chat creation source","isRequired":true,"uniqueKey":"data.chat.source","typeLabel":"enum\u003cstring>"},"memberId":{"oneOf":[{"type":"string","description":"Creating member ID","isRequired":true,"uniqueKey":"data.chat.memberId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Creating member ID","isRequired":true,"uniqueKey":"data.chat.memberId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.chat.memberId","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.chat.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.chat.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data.chat","typeLabel":"object"},"userMessage":{"type":"object","properties":{"id":{"type":"string","description":"Chat message ID","isRequired":true,"uniqueKey":"data.userMessage.id","typeLabel":"string"},"chatId":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.userMessage.chatId","typeLabel":"string"},"role":{"type":"string","enum":["user","assistant"],"description":"Message author role","isRequired":true,"uniqueKey":"data.userMessage.role","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["generating","finished","aborted","error","action_required"],"description":"`generating` while the assistant is responding, `finished` when the response is complete, `aborted` if it was canceled, `error` if it failed, and `action_required` if the assistant is waiting on a confirmation it cannot receive over the API","isRequired":true,"uniqueKey":"data.userMessage.status","typeLabel":"enum\u003cstring>"},"parentId":{"oneOf":[{"type":"string","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.userMessage.parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.userMessage.parentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parentId","typeLabel":"string | null"},"text":{"type":"string","description":"The message as plain text. For assistant messages this is the final answer, without reasoning or tool activity; see parts for the full structured content.","isRequired":true,"uniqueKey":"data.userMessage.text","typeLabel":"string"},"parts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Content part ID","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["text","reasoning_summary","tool_call","tool_call_result","context","action","image","file"],"description":"Content part type","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Text content or a JSON-encoded payload for structured part types","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].content","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name","typeLabel":"string | null"},"phase":{"oneOf":[{"type":"string","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase","typeLabel":"enum\u003cstring> | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","type","content","externalId","name","phase","createdAt","updatedAt"],"uniqueKey":"data.userMessage.parts.items.[INDEX]","typeLabel":"object"},"description":"Ordered structured message content","isRequired":true,"uniqueKey":"data.userMessage.parts","typeLabel":"object[]"},"charts":{"type":"array","items":{"type":"object","properties":{"chartId":{"type":"string","description":"Chart ID","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].chartId","typeLabel":"string"},"chartVersionId":{"type":"string","description":"Chart version ID","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].chartVersionId","typeLabel":"string"},"title":{"type":"string","description":"Chart title","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].title","typeLabel":"string"},"imageUrl":{"type":"string","format":"uri","description":"URL that renders this chart as a PNG. Request it with the same API key authentication.","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].imageUrl","typeLabel":"string\u003curi>"},"mimeType":{"type":"string","description":"Screenshot MIME type","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].mimeType","typeLabel":"string"},"width":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot width","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].width","typeLabel":"integer"},"height":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot height","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].height","typeLabel":"integer"}},"required":["chartId","chartVersionId","title","imageUrl","mimeType","width","height"],"uniqueKey":"data.userMessage.charts.items.[INDEX]","typeLabel":"object"},"description":"Charts referenced by the assistant response","isRequired":true,"uniqueKey":"data.userMessage.charts","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.userMessage.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.userMessage.updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","chatId","role","status","parentId","text","parts","charts","createdAt","updatedAt"],"description":"The message you sent","isRequired":true,"uniqueKey":"data.userMessage","typeLabel":"object"},"assistantMessage":{"type":"object","description":"The assistant's response. Check its status to see whether it has finished responding.","required":["id","chatId","role","status","parentId","text","parts","charts","createdAt","updatedAt"],"properties":{"id":{"type":"string","description":"Chat message ID","isRequired":true,"uniqueKey":"data.assistantMessage.id","typeLabel":"string"},"chatId":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.assistantMessage.chatId","typeLabel":"string"},"role":{"type":"string","enum":["user","assistant"],"description":"Message author role","isRequired":true,"uniqueKey":"data.assistantMessage.role","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["generating","finished","aborted","error","action_required"],"description":"`generating` while the assistant is responding, `finished` when the response is complete, `aborted` if it was canceled, `error` if it failed, and `action_required` if the assistant is waiting on a confirmation it cannot receive over the API","isRequired":true,"uniqueKey":"data.assistantMessage.status","typeLabel":"enum\u003cstring>"},"parentId":{"oneOf":[{"type":"string","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.parentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parentId","typeLabel":"string | null"},"text":{"type":"string","description":"The message as plain text. For assistant messages this is the final answer, without reasoning or tool activity; see parts for the full structured content.","isRequired":true,"uniqueKey":"data.assistantMessage.text","typeLabel":"string"},"parts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Content part ID","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["text","reasoning_summary","tool_call","tool_call_result","context","action","image","file"],"description":"Content part type","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Text content or a JSON-encoded payload for structured part types","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].content","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name","typeLabel":"string | null"},"phase":{"oneOf":[{"type":"string","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase","typeLabel":"enum\u003cstring> | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","type","content","externalId","name","phase","createdAt","updatedAt"],"uniqueKey":"data.assistantMessage.parts.items.[INDEX]","typeLabel":"object"},"description":"Ordered structured message content","isRequired":true,"uniqueKey":"data.assistantMessage.parts","typeLabel":"object[]"},"charts":{"type":"array","items":{"type":"object","properties":{"chartId":{"type":"string","description":"Chart ID","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].chartId","typeLabel":"string"},"chartVersionId":{"type":"string","description":"Chart version ID","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].chartVersionId","typeLabel":"string"},"title":{"type":"string","description":"Chart title","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].title","typeLabel":"string"},"imageUrl":{"type":"string","format":"uri","description":"URL that renders this chart as a PNG. Request it with the same API key authentication.","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].imageUrl","typeLabel":"string\u003curi>"},"mimeType":{"type":"string","description":"Screenshot MIME type","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].mimeType","typeLabel":"string"},"width":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot width","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].width","typeLabel":"integer"},"height":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot height","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].height","typeLabel":"integer"}},"required":["chartId","chartVersionId","title","imageUrl","mimeType","width","height"],"uniqueKey":"data.assistantMessage.charts.items.[INDEX]","typeLabel":"object"},"description":"Charts referenced by the assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.charts","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data.assistantMessage","typeLabel":"object"}},"required":["chat","userMessage","assistantMessage"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"chat":{"id":"\u003cstring>","organizationId":"\u003cstring>","name":"\u003cstring>","status":"generating","source":"api","memberId":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"userMessage":{"id":"\u003cstring>","chatId":"\u003cstring>","role":"user","status":"generating","parentId":"\u003cstring>","text":"\u003cstring>","parts":[{"id":"\u003cstring>","type":"text","content":"\u003cstring>","externalId":"\u003cstring>","name":"\u003cstring>","phase":"commentary","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"charts":[{"chartId":"\u003cstring>","chartVersionId":"\u003cstring>","title":"\u003cstring>","imageUrl":"\u003cstring>","mimeType":"\u003cstring>","width":123,"height":123}],"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"assistantMessage":{"id":"\u003cstring>","chatId":"\u003cstring>","role":"user","status":"generating","parentId":"\u003cstring>","text":"\u003cstring>","parts":[{"id":"\u003cstring>","type":"text","content":"\u003cstring>","externalId":"\u003cstring>","name":"\u003cstring>","phase":"commentary","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"charts":[{"chartId":"\u003cstring>","chartVersionId":"\u003cstring>","title":"\u003cstring>","imageUrl":"\u003cstring>","mimeType":"\u003cstring>","width":123,"height":123}],"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"4944e492-6223-47d3-921d-94fc56b12db7":{"description":"Chat created and the assistant finished responding","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chat":{"type":"object","description":"The chat this exchange belongs to","required":["id","organizationId","name","status","source","memberId","createdAt","updatedAt"],"properties":{"id":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.chat.id","typeLabel":"string"},"organizationId":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"data.chat.organizationId","typeLabel":"string"},"name":{"type":"string","description":"Chat name, generated automatically from the first message","isRequired":true,"uniqueKey":"data.chat.name","typeLabel":"string"},"status":{"type":"string","enum":["generating","finished"],"description":"`generating` while the assistant is responding, `finished` otherwise","isRequired":true,"uniqueKey":"data.chat.status","typeLabel":"enum\u003cstring>"},"source":{"type":"string","enum":["api"],"description":"Chat creation source","isRequired":true,"uniqueKey":"data.chat.source","typeLabel":"enum\u003cstring>"},"memberId":{"oneOf":[{"type":"string","description":"Creating member ID","isRequired":true,"uniqueKey":"data.chat.memberId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Creating member ID","isRequired":true,"uniqueKey":"data.chat.memberId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.chat.memberId","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.chat.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.chat.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data.chat","typeLabel":"object"},"userMessage":{"type":"object","properties":{"id":{"type":"string","description":"Chat message ID","isRequired":true,"uniqueKey":"data.userMessage.id","typeLabel":"string"},"chatId":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.userMessage.chatId","typeLabel":"string"},"role":{"type":"string","enum":["user","assistant"],"description":"Message author role","isRequired":true,"uniqueKey":"data.userMessage.role","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["generating","finished","aborted","error","action_required"],"description":"`generating` while the assistant is responding, `finished` when the response is complete, `aborted` if it was canceled, `error` if it failed, and `action_required` if the assistant is waiting on a confirmation it cannot receive over the API","isRequired":true,"uniqueKey":"data.userMessage.status","typeLabel":"enum\u003cstring>"},"parentId":{"oneOf":[{"type":"string","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.userMessage.parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.userMessage.parentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parentId","typeLabel":"string | null"},"text":{"type":"string","description":"The message as plain text. For assistant messages this is the final answer, without reasoning or tool activity; see parts for the full structured content.","isRequired":true,"uniqueKey":"data.userMessage.text","typeLabel":"string"},"parts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Content part ID","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["text","reasoning_summary","tool_call","tool_call_result","context","action","image","file"],"description":"Content part type","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Text content or a JSON-encoded payload for structured part types","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].content","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name","typeLabel":"string | null"},"phase":{"oneOf":[{"type":"string","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase","typeLabel":"enum\u003cstring> | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","type","content","externalId","name","phase","createdAt","updatedAt"],"uniqueKey":"data.userMessage.parts.items.[INDEX]","typeLabel":"object"},"description":"Ordered structured message content","isRequired":true,"uniqueKey":"data.userMessage.parts","typeLabel":"object[]"},"charts":{"type":"array","items":{"type":"object","properties":{"chartId":{"type":"string","description":"Chart ID","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].chartId","typeLabel":"string"},"chartVersionId":{"type":"string","description":"Chart version ID","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].chartVersionId","typeLabel":"string"},"title":{"type":"string","description":"Chart title","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].title","typeLabel":"string"},"imageUrl":{"type":"string","format":"uri","description":"URL that renders this chart as a PNG. Request it with the same API key authentication.","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].imageUrl","typeLabel":"string\u003curi>"},"mimeType":{"type":"string","description":"Screenshot MIME type","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].mimeType","typeLabel":"string"},"width":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot width","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].width","typeLabel":"integer"},"height":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot height","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].height","typeLabel":"integer"}},"required":["chartId","chartVersionId","title","imageUrl","mimeType","width","height"],"uniqueKey":"data.userMessage.charts.items.[INDEX]","typeLabel":"object"},"description":"Charts referenced by the assistant response","isRequired":true,"uniqueKey":"data.userMessage.charts","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.userMessage.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.userMessage.updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","chatId","role","status","parentId","text","parts","charts","createdAt","updatedAt"],"description":"The message you sent","isRequired":true,"uniqueKey":"data.userMessage","typeLabel":"object"},"assistantMessage":{"type":"object","description":"The assistant's response. Check its status to see whether it has finished responding.","required":["id","chatId","role","status","parentId","text","parts","charts","createdAt","updatedAt"],"properties":{"id":{"type":"string","description":"Chat message ID","isRequired":true,"uniqueKey":"data.assistantMessage.id","typeLabel":"string"},"chatId":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.assistantMessage.chatId","typeLabel":"string"},"role":{"type":"string","enum":["user","assistant"],"description":"Message author role","isRequired":true,"uniqueKey":"data.assistantMessage.role","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["generating","finished","aborted","error","action_required"],"description":"`generating` while the assistant is responding, `finished` when the response is complete, `aborted` if it was canceled, `error` if it failed, and `action_required` if the assistant is waiting on a confirmation it cannot receive over the API","isRequired":true,"uniqueKey":"data.assistantMessage.status","typeLabel":"enum\u003cstring>"},"parentId":{"oneOf":[{"type":"string","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.parentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parentId","typeLabel":"string | null"},"text":{"type":"string","description":"The message as plain text. For assistant messages this is the final answer, without reasoning or tool activity; see parts for the full structured content.","isRequired":true,"uniqueKey":"data.assistantMessage.text","typeLabel":"string"},"parts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Content part ID","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["text","reasoning_summary","tool_call","tool_call_result","context","action","image","file"],"description":"Content part type","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Text content or a JSON-encoded payload for structured part types","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].content","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name","typeLabel":"string | null"},"phase":{"oneOf":[{"type":"string","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase","typeLabel":"enum\u003cstring> | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","type","content","externalId","name","phase","createdAt","updatedAt"],"uniqueKey":"data.assistantMessage.parts.items.[INDEX]","typeLabel":"object"},"description":"Ordered structured message content","isRequired":true,"uniqueKey":"data.assistantMessage.parts","typeLabel":"object[]"},"charts":{"type":"array","items":{"type":"object","properties":{"chartId":{"type":"string","description":"Chart ID","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].chartId","typeLabel":"string"},"chartVersionId":{"type":"string","description":"Chart version ID","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].chartVersionId","typeLabel":"string"},"title":{"type":"string","description":"Chart title","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].title","typeLabel":"string"},"imageUrl":{"type":"string","format":"uri","description":"URL that renders this chart as a PNG. Request it with the same API key authentication.","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].imageUrl","typeLabel":"string\u003curi>"},"mimeType":{"type":"string","description":"Screenshot MIME type","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].mimeType","typeLabel":"string"},"width":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot width","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].width","typeLabel":"integer"},"height":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot height","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].height","typeLabel":"integer"}},"required":["chartId","chartVersionId","title","imageUrl","mimeType","width","height"],"uniqueKey":"data.assistantMessage.charts.items.[INDEX]","typeLabel":"object"},"description":"Charts referenced by the assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.charts","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data.assistantMessage","typeLabel":"object"}},"required":["chat","userMessage","assistantMessage"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"chat":{"id":"\u003cstring>","organizationId":"\u003cstring>","name":"\u003cstring>","status":"generating","source":"api","memberId":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"userMessage":{"id":"\u003cstring>","chatId":"\u003cstring>","role":"user","status":"generating","parentId":"\u003cstring>","text":"\u003cstring>","parts":[{"id":"\u003cstring>","type":"text","content":"\u003cstring>","externalId":"\u003cstring>","name":"\u003cstring>","phase":"commentary","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"charts":[{"chartId":"\u003cstring>","chartVersionId":"\u003cstring>","title":"\u003cstring>","imageUrl":"\u003cstring>","mimeType":"\u003cstring>","width":123,"height":123}],"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"assistantMessage":{"id":"\u003cstring>","chatId":"\u003cstring>","role":"user","status":"generating","parentId":"\u003cstring>","text":"\u003cstring>","parts":[{"id":"\u003cstring>","type":"text","content":"\u003cstring>","externalId":"\u003cstring>","name":"\u003cstring>","phase":"commentary","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"charts":[{"chartId":"\u003cstring>","chartVersionId":"\u003cstring>","title":"\u003cstring>","imageUrl":"\u003cstring>","mimeType":"\u003cstring>","width":123,"height":123}],"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"60c859bc-c839-4464-9b16-2faa935f6091":{"description":"Chat created; the assistant is still responding","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chat":{"type":"object","description":"The chat this exchange belongs to","required":["id","organizationId","name","status","source","memberId","createdAt","updatedAt"],"properties":{"id":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.chat.id","typeLabel":"string"},"organizationId":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"data.chat.organizationId","typeLabel":"string"},"name":{"type":"string","description":"Chat name, generated automatically from the first message","isRequired":true,"uniqueKey":"data.chat.name","typeLabel":"string"},"status":{"type":"string","enum":["generating","finished"],"description":"`generating` while the assistant is responding, `finished` otherwise","isRequired":true,"uniqueKey":"data.chat.status","typeLabel":"enum\u003cstring>"},"source":{"type":"string","enum":["api"],"description":"Chat creation source","isRequired":true,"uniqueKey":"data.chat.source","typeLabel":"enum\u003cstring>"},"memberId":{"oneOf":[{"type":"string","description":"Creating member ID","isRequired":true,"uniqueKey":"data.chat.memberId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Creating member ID","isRequired":true,"uniqueKey":"data.chat.memberId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.chat.memberId","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.chat.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.chat.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data.chat","typeLabel":"object"},"userMessage":{"type":"object","properties":{"id":{"type":"string","description":"Chat message ID","isRequired":true,"uniqueKey":"data.userMessage.id","typeLabel":"string"},"chatId":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.userMessage.chatId","typeLabel":"string"},"role":{"type":"string","enum":["user","assistant"],"description":"Message author role","isRequired":true,"uniqueKey":"data.userMessage.role","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["generating","finished","aborted","error","action_required"],"description":"`generating` while the assistant is responding, `finished` when the response is complete, `aborted` if it was canceled, `error` if it failed, and `action_required` if the assistant is waiting on a confirmation it cannot receive over the API","isRequired":true,"uniqueKey":"data.userMessage.status","typeLabel":"enum\u003cstring>"},"parentId":{"oneOf":[{"type":"string","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.userMessage.parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.userMessage.parentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parentId","typeLabel":"string | null"},"text":{"type":"string","description":"The message as plain text. For assistant messages this is the final answer, without reasoning or tool activity; see parts for the full structured content.","isRequired":true,"uniqueKey":"data.userMessage.text","typeLabel":"string"},"parts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Content part ID","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["text","reasoning_summary","tool_call","tool_call_result","context","action","image","file"],"description":"Content part type","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Text content or a JSON-encoded payload for structured part types","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].content","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].externalId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].name","typeLabel":"string | null"},"phase":{"oneOf":[{"type":"string","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].phase","typeLabel":"enum\u003cstring> | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.userMessage.parts.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","type","content","externalId","name","phase","createdAt","updatedAt"],"uniqueKey":"data.userMessage.parts.items.[INDEX]","typeLabel":"object"},"description":"Ordered structured message content","isRequired":true,"uniqueKey":"data.userMessage.parts","typeLabel":"object[]"},"charts":{"type":"array","items":{"type":"object","properties":{"chartId":{"type":"string","description":"Chart ID","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].chartId","typeLabel":"string"},"chartVersionId":{"type":"string","description":"Chart version ID","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].chartVersionId","typeLabel":"string"},"title":{"type":"string","description":"Chart title","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].title","typeLabel":"string"},"imageUrl":{"type":"string","format":"uri","description":"URL that renders this chart as a PNG. Request it with the same API key authentication.","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].imageUrl","typeLabel":"string\u003curi>"},"mimeType":{"type":"string","description":"Screenshot MIME type","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].mimeType","typeLabel":"string"},"width":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot width","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].width","typeLabel":"integer"},"height":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot height","isRequired":true,"uniqueKey":"data.userMessage.charts.items.[INDEX].height","typeLabel":"integer"}},"required":["chartId","chartVersionId","title","imageUrl","mimeType","width","height"],"uniqueKey":"data.userMessage.charts.items.[INDEX]","typeLabel":"object"},"description":"Charts referenced by the assistant response","isRequired":true,"uniqueKey":"data.userMessage.charts","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.userMessage.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.userMessage.updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","chatId","role","status","parentId","text","parts","charts","createdAt","updatedAt"],"description":"The message you sent","isRequired":true,"uniqueKey":"data.userMessage","typeLabel":"object"},"assistantMessage":{"type":"object","description":"The assistant's response. Check its status to see whether it has finished responding.","required":["id","chatId","role","status","parentId","text","parts","charts","createdAt","updatedAt"],"properties":{"id":{"type":"string","description":"Chat message ID","isRequired":true,"uniqueKey":"data.assistantMessage.id","typeLabel":"string"},"chatId":{"type":"string","description":"Chat ID","isRequired":true,"uniqueKey":"data.assistantMessage.chatId","typeLabel":"string"},"role":{"type":"string","enum":["user","assistant"],"description":"Message author role","isRequired":true,"uniqueKey":"data.assistantMessage.role","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["generating","finished","aborted","error","action_required"],"description":"`generating` while the assistant is responding, `finished` when the response is complete, `aborted` if it was canceled, `error` if it failed, and `action_required` if the assistant is waiting on a confirmation it cannot receive over the API","isRequired":true,"uniqueKey":"data.assistantMessage.status","typeLabel":"enum\u003cstring>"},"parentId":{"oneOf":[{"type":"string","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"User message ID associated with an assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.parentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parentId","typeLabel":"string | null"},"text":{"type":"string","description":"The message as plain text. For assistant messages this is the final answer, without reasoning or tool activity; see parts for the full structured content.","isRequired":true,"uniqueKey":"data.assistantMessage.text","typeLabel":"string"},"parts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Content part ID","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["text","reasoning_summary","tool_call","tool_call_result","context","action","image","file"],"description":"Content part type","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Text content or a JSON-encoded payload for structured part types","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].content","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider item or tool call ID, when present","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].externalId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tool or content part name","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].name","typeLabel":"string | null"},"phase":{"oneOf":[{"type":"string","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["commentary","final_answer",null],"description":"Assistant response phase","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].phase","typeLabel":"enum\u003cstring> | null"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.parts.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","type","content","externalId","name","phase","createdAt","updatedAt"],"uniqueKey":"data.assistantMessage.parts.items.[INDEX]","typeLabel":"object"},"description":"Ordered structured message content","isRequired":true,"uniqueKey":"data.assistantMessage.parts","typeLabel":"object[]"},"charts":{"type":"array","items":{"type":"object","properties":{"chartId":{"type":"string","description":"Chart ID","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].chartId","typeLabel":"string"},"chartVersionId":{"type":"string","description":"Chart version ID","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].chartVersionId","typeLabel":"string"},"title":{"type":"string","description":"Chart title","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].title","typeLabel":"string"},"imageUrl":{"type":"string","format":"uri","description":"URL that renders this chart as a PNG. Request it with the same API key authentication.","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].imageUrl","typeLabel":"string\u003curi>"},"mimeType":{"type":"string","description":"Screenshot MIME type","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].mimeType","typeLabel":"string"},"width":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot width","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].width","typeLabel":"integer"},"height":{"type":"integer","exclusiveMinimum":0,"description":"Screenshot height","isRequired":true,"uniqueKey":"data.assistantMessage.charts.items.[INDEX].height","typeLabel":"integer"}},"required":["chartId","chartVersionId","title","imageUrl","mimeType","width","height"],"uniqueKey":"data.assistantMessage.charts.items.[INDEX]","typeLabel":"object"},"description":"Charts referenced by the assistant response","isRequired":true,"uniqueKey":"data.assistantMessage.charts","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.assistantMessage.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data.assistantMessage","typeLabel":"object"}},"required":["chat","userMessage","assistantMessage"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"chat":{"id":"\u003cstring>","organizationId":"\u003cstring>","name":"\u003cstring>","status":"generating","source":"api","memberId":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"userMessage":{"id":"\u003cstring>","chatId":"\u003cstring>","role":"user","status":"generating","parentId":"\u003cstring>","text":"\u003cstring>","parts":[{"id":"\u003cstring>","type":"text","content":"\u003cstring>","externalId":"\u003cstring>","name":"\u003cstring>","phase":"commentary","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"charts":[{"chartId":"\u003cstring>","chartVersionId":"\u003cstring>","title":"\u003cstring>","imageUrl":"\u003cstring>","mimeType":"\u003cstring>","width":123,"height":123}],"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"assistantMessage":{"id":"\u003cstring>","chatId":"\u003cstring>","role":"user","status":"generating","parentId":"\u003cstring>","text":"\u003cstring>","parts":[{"id":"\u003cstring>","type":"text","content":"\u003cstring>","externalId":"\u003cstring>","name":"\u003cstring>","phase":"commentary","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"charts":[{"chartId":"\u003cstring>","chartVersionId":"\u003cstring>","title":"\u003cstring>","imageUrl":"\u003cstring>","mimeType":"\u003cstring>","width":123,"height":123}],"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"59e1c274-9187-43cb-8270-440ab2853b9e":{"description":"Bad request - Invalid JSON body or validation error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"03ffaa05-3cc7-4f45-b227-56257fd5d055":{"description":"Unauthorized - Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d248f15d-90ee-49e4-b882-9909a5492fa5":{"description":"Forbidden - Organization trial has expired","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"41c97202-a487-40eb-a9c5-abb406a01dd0":{"description":"Not found - Organization not found or no member access","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"dcb91ea9-eaf0-4a6c-ad2e-284a80d2a339":{"description":"Conflict - The Idempotency-Key was already used with a different message","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a1bb2775-3910-4b30-98b2-2a9f3c4733f6":{"description":"Rate limit exceeded - Too many requests","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["retryAfterMs","title","detail"],"properties":{"title":{"type":"string","description":"Error type identifier","enum":["RateLimitExceeded"],"isRequired":true,"uniqueKey":"error.title","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"},"retryAfterMs":{"type":"number","description":"Milliseconds until the rate limit window resets","isRequired":true,"uniqueKey":"error.retryAfterMs","typeLabel":"number"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"RateLimitExceeded","detail":"\u003cstring>","retryAfterMs":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"6f67f648-1692-48fd-b40a-2552c9e74344":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"505142aa-b21f-4884-abab-2b5aaf957fde":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key authentication using Bearer token format: `Bearer \u003cbasedash_api_key>`","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"ced2b752-ccc0-40d7-8000-3375bc31a7ca":{"url":"https://charts.basedash.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key authentication using Bearer token format: `Bearer \u003cbasedash_api_key>`","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key authentication using Bearer token format: `Bearer \u003cbasedash_api_key>`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://charts.basedash.com/api/public/openapi"},"subdomain":"basedash","siteName":"Basedash Documentation","title":"Start a chat - Basedash Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T18:13:24.747Z","originalFileLocation":"api-reference/chats/start-a-chat.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=\"system\"}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=\"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the wait parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use \u0026quot;Send a follow-up message\u0026quot;.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Basedash Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_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=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start a chat - Basedash Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the wait parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use \u0026quot;Send a follow-up message\u0026quot;.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Basedash Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.basedash.com/docs/api-reference/chats/start-a-chat\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://basedash.mintlify.site/docs/_mintlify/api/og/v2?division=Chats\u0026amp;title=Start+a+chat\u0026amp;description=Sends+a+message+to+the+AI+agent+in+a+new+chat%2C+like+sending+the+first+message+in+the+app.+The+response+includes+the+new+chat%2C+your+message%2C+and+the+assistant+me\u0026amp;theme=c5a556851c965f677a967b22\u0026amp;signature=698726f65dd45f60908917c879543c23240792dd81b9e6f052c8c34c8d168379\">\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=\"Start a chat - Basedash Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the wait parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use \u0026quot;Send a follow-up message\u0026quot;.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://basedash.mintlify.site/docs/_mintlify/api/og/v2?division=Chats\u0026amp;title=Start+a+chat\u0026amp;description=Sends+a+message+to+the+AI+agent+in+a+new+chat%2C+like+sending+the+first+message+in+the+app.+The+response+includes+the+new+chat%2C+your+message%2C+and+the+assistant+me\u0026amp;theme=c5a556851c965f677a967b22\u0026amp;signature=698726f65dd45f60908917c879543c23240792dd81b9e6f052c8c34c8d168379\">\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=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Basedash Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3C50FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.basedash.com/docs/api-reference/chats/start-a-chat\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/chats/start-a-chat.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.basedash.com/#organization\",\"name\":\"Basedash Documentation\",\"url\":\"https://www.basedash.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/basedash/UcHJpOmrR3J146WE/logo/light.svg?fit=max\u0026auto=format\u0026n=UcHJpOmrR3J146WE\u0026q=85\u0026s=ffbaede88501c143a403b5850090b42a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.basedash.com/docs#website\",\"name\":\"Basedash Documentation\",\"url\":\"https://www.basedash.com/docs\",\"publisher\":{\"@id\":\"https://www.basedash.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.basedash.com/docs/api-reference/chats/start-a-chat#webpage\",\"url\":\"https://www.basedash.com/docs/api-reference/chats/start-a-chat\",\"name\":\"Start a chat\",\"description\":\"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the wait parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use \\\"Send a follow-up message\\\".\",\"dateModified\":\"2026-10-26T18:13:24.747Z\",\"isPartOf\":{\"@id\":\"https://www.basedash.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.basedash.com/docs/api-reference/chats/start-a-chat#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.basedash.com/docs/api-reference/chats/start-a-chat#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://www.basedash.com/docs/api-reference/billing-accounts/list-billing-accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chats\",\"item\":\"https://www.basedash.com/docs/api-reference/chats/list-chats\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Start a chat\",\"item\":\"https://www.basedash.com/docs/api-reference/chats/start-a-chat\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.basedash.com/docs/api-reference/chats/start-a-chat#apireference\",\"headline\":\"Start a chat\",\"name\":\"Start a chat\",\"description\":\"Sends a message to the AI agent in a new chat, like sending the first message in the app. The response includes the new chat, your message, and the assistant message. The assistant responds asynchronously by default: use the wait parameter to receive the finished response directly, or poll the assistant message (or stream its events) after receiving HTTP 202. To continue the conversation, use \\\"Send a follow-up message\\\".\",\"url\":\"https://www.basedash.com/docs/api-reference/chats/start-a-chat\",\"mainEntityOfPage\":{\"@id\":\"https://www.basedash.com/docs/api-reference/chats/start-a-chat#webpage\"},\"dateModified\":\"2026-10-26T18:13:24.747Z\",\"publisher\":{\"@id\":\"https://www.basedash.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.basedash.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Basedash Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Basedash Documentation","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://www.basedash.com/changelog"},{"anchor":"Contact support","icon":"life-ring","href":"mailto:support@basedash.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/welcome"}]},{"tab":"Data sources","pages":[{"title":"Data sources","href":"/data-sources/introduction"}]},{"tab":"Developers","groups":[{"group":"Get started","pages":[{"title":"Developer overview","sidebarTitle":"Overview","icon":"code","href":"/developers/overview"}]},{"group":"API","pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"Endpoints","pages":[{"group":"Billing accounts","pages":[{"title":"List billing accounts","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/billing-accounts","href":"/api-reference/billing-accounts/list-billing-accounts"},{"title":"Get a billing account","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/billing-accounts/{billingAccountId}","href":"/api-reference/billing-accounts/get-a-billing-account"},{"title":"List attached organizations","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/billing-accounts/{billingAccountId}/organizations","href":"/api-reference/billing-accounts/list-attached-organizations"},{"title":"Attach an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/billing-accounts/{billingAccountId}/organizations","href":"/api-reference/billing-accounts/attach-an-organization"},{"title":"Detach an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/billing-accounts/{billingAccountId}/organizations/{orgId}","href":"/api-reference/billing-accounts/detach-an-organization"},{"title":"Get pooled AI usage","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/billing-accounts/{billingAccountId}/ai-usage","href":"/api-reference/billing-accounts/get-pooled-ai-usage"}]},{"group":"Organizations","pages":[{"title":"List organizations","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations","href":"/api-reference/organizations/list-organizations"},{"title":"Create an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations","href":"/api-reference/organizations/create-an-organization"},{"title":"List audit log events","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/audit-logs","href":"/api-reference/organizations/list-audit-log-events"},{"title":"Get AI usage","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/ai-usage","href":"/api-reference/organizations/get-ai-usage"},{"title":"Get an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{id}","href":"/api-reference/organizations/get-an-organization"},{"title":"Delete an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{id}","href":"/api-reference/organizations/delete-an-organization"},{"title":"Update an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{id}","href":"/api-reference/organizations/update-an-organization"},{"title":"Upload organization icon","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{id}/icon","href":"/api-reference/organizations/upload-organization-icon"}]},{"group":"Embedding","pages":[{"title":"Upload embedded user avatar","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/embedded-users/{userId}/avatar","href":"/api-reference/embedding/upload-embedded-user-avatar"},{"title":"JWT authentication","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/sso/jwt","href":"/api-reference/embedding/jwt-authentication"}]},{"group":"Data Sources","pages":[{"title":"Get a data source","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/data-sources/{id}","href":"/api-reference/data-sources/get-a-data-source"},{"title":"Delete a data source","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/data-sources/{id}","href":"/api-reference/data-sources/delete-a-data-source"},{"title":"Update a data source","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/data-sources/{id}","href":"/api-reference/data-sources/update-a-data-source"},{"title":"List data sources","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/data-sources","href":"/api-reference/data-sources/list-data-sources"},{"title":"Create a data source","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/data-sources","href":"/api-reference/data-sources/create-a-data-source"},{"title":"Verify data source credentials","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/data-sources/verify","href":"/api-reference/data-sources/verify-data-source-credentials"},{"title":"Get data source access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/data-sources/{id}/access","href":"/api-reference/data-sources/get-data-source-access"},{"title":"Update data source access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi put /api/public/organizations/{orgId}/data-sources/{id}/access","href":"/api-reference/data-sources/update-data-source-access"}]},{"group":"Automations","pages":[{"title":"List automations","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations","href":"/api-reference/automations/list-automations"},{"title":"Create an automation","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/automations","href":"/api-reference/automations/create-an-automation"},{"title":"Get an automation","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations/{id}","href":"/api-reference/automations/get-an-automation"},{"title":"Archive an automation","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/automations/{id}","href":"/api-reference/automations/archive-an-automation"},{"title":"Update an automation","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/automations/{id}","href":"/api-reference/automations/update-an-automation"},{"title":"Get automation access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations/{id}/access","href":"/api-reference/automations/get-automation-access"},{"title":"Update automation access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi put /api/public/organizations/{orgId}/automations/{id}/access","href":"/api-reference/automations/update-automation-access"},{"title":"List automation runs","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations/{id}/runs","href":"/api-reference/automations/list-automation-runs"},{"title":"Start an automation run","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/automations/{id}/runs","href":"/api-reference/automations/start-an-automation-run"},{"title":"Get an automation run","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations/{id}/runs/{runId}","href":"/api-reference/automations/get-an-automation-run"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/models","href":"/api-reference/models/list-models"},{"title":"Create a model","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/models","href":"/api-reference/models/create-a-model"},{"title":"Get a model","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/models/{id}","href":"/api-reference/models/get-a-model"},{"title":"Delete a model","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/models/{id}","href":"/api-reference/models/delete-a-model"},{"title":"Update a model","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/models/{id}","href":"/api-reference/models/update-a-model"}]},{"group":"MCP servers","pages":[{"title":"Get an MCP server","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/get-an-mcp-server"},{"title":"Delete an MCP server","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/delete-an-mcp-server"},{"title":"Update an MCP server","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/update-an-mcp-server"},{"title":"List MCP servers","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/mcp-servers","href":"/api-reference/mcp-servers/list-mcp-servers"},{"title":"Create an MCP server","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/mcp-servers","href":"/api-reference/mcp-servers/create-an-mcp-server"}]},{"group":"Dashboards","pages":[{"title":"List dashboards","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/dashboards","href":"/api-reference/dashboards/list-dashboards"},{"title":"Create a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/dashboards","href":"/api-reference/dashboards/create-a-dashboard"},{"title":"List charts on a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/dashboards/{dashboardId}/charts","href":"/api-reference/dashboards/list-charts-on-a-dashboard"},{"title":"Create a dashboard tab","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/dashboards/{dashboardId}/tabs","href":"/api-reference/dashboards/create-a-dashboard-tab"},{"title":"Delete a dashboard tab","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/dashboards/{dashboardId}/tabs/{tabId}","href":"/api-reference/dashboards/delete-a-dashboard-tab"},{"title":"Update a dashboard tab","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/dashboards/{dashboardId}/tabs/{tabId}","href":"/api-reference/dashboards/update-a-dashboard-tab"},{"title":"Get a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/dashboards/{id}","href":"/api-reference/dashboards/get-a-dashboard"},{"title":"Delete a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/dashboards/{id}","href":"/api-reference/dashboards/delete-a-dashboard"},{"title":"Update a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/dashboards/{id}","href":"/api-reference/dashboards/update-a-dashboard"},{"title":"Get dashboard access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/dashboards/{id}/access","href":"/api-reference/dashboards/get-dashboard-access"},{"title":"Update dashboard access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi put /api/public/organizations/{orgId}/dashboards/{id}/access","href":"/api-reference/dashboards/update-dashboard-access"}]},{"group":"Charts","pages":[{"title":"Create a chart","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/charts","href":"/api-reference/charts/create-a-chart"},{"title":"Get a chart","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/charts/{id}","href":"/api-reference/charts/get-a-chart"},{"title":"Delete a chart","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/charts/{id}","href":"/api-reference/charts/delete-a-chart"},{"title":"Update a chart","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/charts/{id}","href":"/api-reference/charts/update-a-chart"},{"title":"Get a chart image","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/charts/{id}/image","href":"/api-reference/charts/get-a-chart-image"}]},{"group":"Insights","pages":[{"title":"List insights","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/insights","href":"/api-reference/insights/list-insights"},{"title":"Generate an insight","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/insights","href":"/api-reference/insights/generate-an-insight"},{"title":"Get an insight","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/insights/{id}","href":"/api-reference/insights/get-an-insight"},{"title":"Delete an insight","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/insights/{id}","href":"/api-reference/insights/delete-an-insight"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/members","href":"/api-reference/members/list-members"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/members","href":"/api-reference/members/invite-a-member"},{"title":"Get a member","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/members/{id}","href":"/api-reference/members/get-a-member"},{"title":"Deactivate a member","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/members/{id}","href":"/api-reference/members/deactivate-a-member"},{"title":"Update a member","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/members/{id}","href":"/api-reference/members/update-a-member"}]},{"group":"Groups","pages":[{"title":"List groups","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/groups","href":"/api-reference/groups/list-groups"},{"title":"Create a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/groups","href":"/api-reference/groups/create-a-group"},{"title":"Get a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/groups/{id}","href":"/api-reference/groups/get-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/groups/{id}","href":"/api-reference/groups/delete-a-group"},{"title":"Update a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/groups/{id}","href":"/api-reference/groups/update-a-group"},{"title":"Add a member to a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/groups/{id}/members","href":"/api-reference/groups/add-a-member-to-a-group"}]},{"group":"Skills","pages":[{"title":"List skills","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/skills","href":"/api-reference/skills/list-skills"},{"title":"Create a skill","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/skills","href":"/api-reference/skills/create-a-skill"},{"title":"Get a skill","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/skills/{id}","href":"/api-reference/skills/get-a-skill"},{"title":"Delete a skill","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/skills/{id}","href":"/api-reference/skills/delete-a-skill"},{"title":"Update a skill","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/skills/{id}","href":"/api-reference/skills/update-a-skill"}]},{"group":"Chats","pages":[{"title":"List chats","description":"Lists chats created through the API, newest first. Only chats the API key owner has access to are returned.","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats","href":"/api-reference/chats/list-chats"},{"title":"Start a chat","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/chats","href":"/api-reference/chats/start-a-chat"},{"title":"Get a chat","description":"Retrieves a single chat, including its name and whether the assistant is currently responding.","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}","href":"/api-reference/chats/get-a-chat"},{"title":"Delete a chat","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/chats/{chatId}","href":"/api-reference/chats/delete-a-chat"},{"title":"List messages in a chat","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}/messages","href":"/api-reference/chats/list-messages-in-a-chat"},{"title":"Send a follow-up message","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/chats/{chatId}/messages","href":"/api-reference/chats/send-a-follow-up-message"},{"title":"Get a message","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}/messages/{messageId}","href":"/api-reference/chats/get-a-message"},{"title":"Cancel a response","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/chats/{chatId}/messages/{messageId}/cancel","href":"/api-reference/chats/cancel-a-response"},{"title":"Stream an assistant message","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}/messages/{messageId}/events","href":"/api-reference/chats/stream-an-assistant-message"},{"title":"Get chat access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}/access","href":"/api-reference/chats/get-chat-access"},{"title":"Update chat access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi put /api/public/organizations/{orgId}/chats/{chatId}/access","href":"/api-reference/chats/update-chat-access"}]}]},{"group":"Embedding","pages":[{"title":"Embedding","icon":"code","href":"/developers/embedding"},{"title":"React SDK","icon":"code","href":"/developers/embedding-react-sdk"}]},{"group":"Recipes","pages":[{"title":"Recipes","icon":"book-open","href":"/recipes/overview"},{"title":"Multi-tenant embedding","icon":"building","href":"/recipes/multi-tenant-embedding"}]},{"group":"Agent briefs","hidden":true,"pages":[{"title":"Agent brief: multi-tenant embedding","sidebarTitle":"Agent brief","href":"/recipes/agents/multi-tenant-embedding"}]}]},{"tab":"Self-hosting","pages":[{"title":"Self-hosting","href":"/self-hosting/overview"}]}]},"basePath":"","title":"Start a chat - Basedash Documentation","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","Page-CTxrMSpo.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}