The whole chat: its messages (Chat’s as markdown), its turns, the searches it ran, and
the notes Chat keeps on the user’s goal and preferences (memory) and on older turns.
The chat's scheduled tasks. Only a chat started in the app has them. A chat started through the API has none: to run it on a schedule, send it a message on yours.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Happenstance","description":"Happenstance API Documentation","colors":{"primary":"#16a34a","light":"#16a34a","dark":"#16a34a"},"logo":{"light":"https://mintcdn.com/happenstance/YSbudQ8_lua9CNAo/logo/happenstance.png?fit=max\u0026auto=format\u0026n=YSbudQ8_lua9CNAo\u0026q=85\u0026s=a2c2c708eb248e6bea6607330505d0f9","dark":"https://mintcdn.com/happenstance/YSbudQ8_lua9CNAo/logo/happenstance.png?fit=max\u0026auto=format\u0026n=YSbudQ8_lua9CNAo\u0026q=85\u0026s=a2c2c708eb248e6bea6607330505d0f9"},"favicon":"https://mintcdn.com/happenstance/YSbudQ8_lua9CNAo/favicon.ico?fit=max\u0026auto=format\u0026n=YSbudQ8_lua9CNAo\u0026q=85\u0026s=473cc44090dbce2ce1585f7bf108bc4b","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]}},"background":{"color":{"dark":"#191a1a"}},"navbar":{"links":[{"href":"https://discord.gg/4YV5Sxd534","label":"Community"},{"href":"https://github.com/happenstance-ai/cookbook","label":"Cookbook"}],"primary":{"type":"button","label":"Home","href":"https://happenstance.ai"}},"errors":{"404":{"redirect":false,"title":"Not Found"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"happenstance","hasAudioNarration":false,"actualSubdomain":"happenstance","customDomains":["developer.happenstance.ai"],"gitSource":{"type":"github","owner":"happenstance-ai","repo":"developer-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aea1f6eb0a155cbec31a326","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Connect","count":26},{"language":"default","tag":"API","count":20},{"language":"default","tag":"API Reference","count":17}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"editor-metadata","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/get-chat","slug":"/api-reference/get-chat","pageMetadata":{"title":"Get Chat","description":"The whole chat: its messages (Chat's as markdown), its turns, the searches it ran, and\nthe notes Chat keeps on the user's goal and preferences (memory) and on older turns.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}","href":"/api-reference/get-chat","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The whole chat: its messages (Chat’s as markdown), its turns, the searches it ran, and\\nthe notes Chat keeps on the user’s goal and preferences (memory) and on older turns.\"\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":{"config":{},"pageMetadata":{"title":"Get Chat","description":"The whole chat: its messages (Chat's as markdown), its turns, the searches it ran, and\nthe notes Chat keeps on the user's goal and preferences (memory) and on older turns.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}","href":"/api-reference/get-chat","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get Chat","description":"The whole chat: its messages (Chat's as markdown), its turns, the searches it ran, and\nthe notes Chat keeps on the user's goal and preferences (memory) and on older turns.","operationId":"get_chat_v1_chat__chat_id__get","security":["c847fd53-54a8-4e2c-9066-4dfb2a79ba8e"],"parameters":["45f44fac-1364-4b1d-8175-46f81a469ad4"],"responses":{"200":"7b824dbf-223e-4f99-b374-c0da9ae3d8b8","400":"79f22c96-e980-44ad-81a1-3cc242b76a95","401":"ed129bb7-b6e0-4708-9276-d60d77a00bbe","402":"b1648038-06a2-4229-959a-7cd1f083399c","403":"7713360d-cba4-424f-8b13-0ac431d29181","404":"d548da5e-a394-46f6-8a92-b11b27a4682a","410":"0d3e5505-08da-4133-85a9-0363d488fe71","422":"3ff10cd8-75d0-4ccb-9d12-c739f0961844","500":"b0eceaef-4a90-4129-9afb-e4e5a6fac681","503":"aec1fe63-ca01-4d81-9bed-f5e6470bdfbe"},"method":"get","type":"path","servers":["3928d332-2975-4017-a644-c4e0c2212c48"],"path":"/v1/chat/{chat_id}","baseUrlOptions":["https://api.happenstance.ai"],"title":"Get Chat","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"45f44fac-1364-4b1d-8175-46f81a469ad4":{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"7b824dbf-223e-4f99-b374-c0da9ae3d8b8":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"source":{"type":"string","enum":["api","app"],"title":"Source","isRequired":true,"uniqueKey":"source","typeLabel":"enum\u003cstring>"},"url":{"type":"string","title":"Url","isRequired":true,"uniqueKey":"url","typeLabel":"string"},"status":{"type":"string","enum":["idle","running"],"title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","title":"Created At","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"credits_charged":{"type":"number","title":"Credits Charged","description":"Credits charged for the chat's turns so far","isRequired":true,"uniqueKey":"credits_charged","typeLabel":"number"},"turns":{"items":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"turns.items.[INDEX].id","typeLabel":"string"},"status":{"type":"string","enum":["queued","running","completed","failed","cancelled"],"title":"Status","isRequired":true,"uniqueKey":"turns.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","title":"Created At","isRequired":true,"uniqueKey":"turns.items.[INDEX].created_at","typeLabel":"string"},"started_by":{"type":"string","enum":["message","schedule"],"title":"Started By","default":"message","uniqueKey":"turns.items.[INDEX].started_by","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","uniqueKey":"turns.items.[INDEX].completed_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Completed At","uniqueKey":"turns.items.[INDEX].completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"turns.items.[INDEX].completed_at","typeLabel":"string | null"},"credits_charged":{"oneOf":[{"type":"number","title":"Credits Charged","description":"Credits charged for the turn, once billed","uniqueKey":"turns.items.[INDEX].credits_charged.oneOf.0","typeLabel":"number"},{"type":"null","title":"Credits Charged","description":"Credits charged for the turn, once billed","uniqueKey":"turns.items.[INDEX].credits_charged.oneOf.1","typeLabel":"null"}],"uniqueKey":"turns.items.[INDEX].credits_charged","typeLabel":"number | null"}},"additionalProperties":false,"type":"object","required":["id","status","created_at"],"title":"ChatTurnSummaryV1","uniqueKey":"turns.items.[INDEX]","typeLabel":"ChatTurnSummaryV1 · object"},"type":"array","title":"Turns","isRequired":true,"uniqueKey":"turns","typeLabel":"ChatTurnSummaryV1 · object[]"},"messages":{"items":{"properties":{"role":{"type":"string","enum":["user","assistant","schedule"],"title":"Role","description":"user: a message to Chat. assistant: Chat's reply. schedule: a scheduled task ran; the markdown is its instruction.","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"markdown":{"type":"string","title":"Markdown","isRequired":true,"uniqueKey":"messages.items.[INDEX].markdown","typeLabel":"string"},"created_at":{"type":"string","title":"Created At","isRequired":true,"uniqueKey":"messages.items.[INDEX].created_at","typeLabel":"string"},"turn_id":{"oneOf":[{"type":"string","title":"Turn Id","description":"The turn the message belongs to","uniqueKey":"messages.items.[INDEX].turn_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Turn Id","description":"The turn the message belongs to","uniqueKey":"messages.items.[INDEX].turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].turn_id","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["role","markdown","created_at"],"title":"ChatMessageV1","uniqueKey":"messages.items.[INDEX]","typeLabel":"ChatMessageV1 · object"},"type":"array","title":"Messages","isRequired":true,"uniqueKey":"messages","typeLabel":"ChatMessageV1 · object[]"},"searches":{"items":{"properties":{"search_id":{"type":"string","title":"Search Id","description":"The search's id, for GET /v1/search/{search_id}","isRequired":true,"uniqueKey":"searches.items.[INDEX].search_id","typeLabel":"string"},"status":{"type":"string","enum":["running","completed","failed","stopped"],"title":"Status","description":"The search's status","isRequired":true,"uniqueKey":"searches.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"page_id":{"oneOf":[{"type":"string","title":"Page Id","description":"The find-more page of that search, when this was one","uniqueKey":"searches.items.[INDEX].page_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Page Id","description":"The find-more page of that search, when this was one","uniqueKey":"searches.items.[INDEX].page_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"searches.items.[INDEX].page_id","typeLabel":"string | null"},"turn_id":{"oneOf":[{"type":"string","title":"Turn Id","description":"The turn that ran it","uniqueKey":"searches.items.[INDEX].turn_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Turn Id","description":"The turn that ran it","uniqueKey":"searches.items.[INDEX].turn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"searches.items.[INDEX].turn_id","typeLabel":"string | null"},"query":{"oneOf":[{"type":"string","title":"Query","description":"What Chat searched for","uniqueKey":"searches.items.[INDEX].query.oneOf.0","typeLabel":"string"},{"type":"null","title":"Query","description":"What Chat searched for","uniqueKey":"searches.items.[INDEX].query.oneOf.1","typeLabel":"null"}],"uniqueKey":"searches.items.[INDEX].query","typeLabel":"string | null"},"results_count":{"oneOf":[{"type":"integer","title":"Results Count","description":"How many people the search returned, once completed","uniqueKey":"searches.items.[INDEX].results_count.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Results Count","description":"How many people the search returned, once completed","uniqueKey":"searches.items.[INDEX].results_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"searches.items.[INDEX].results_count","typeLabel":"integer | null"}},"additionalProperties":false,"type":"object","required":["search_id","status"],"title":"ChatSearchV1","description":"A people search Chat ran. Read all its results with GET /v1/search/{search_id} (with\npage_id for a find-more page).","uniqueKey":"searches.items.[INDEX]","typeLabel":"ChatSearchV1 · object"},"type":"array","title":"Searches","isRequired":true,"uniqueKey":"searches","typeLabel":"ChatSearchV1 · object[]"},"title":{"oneOf":[{"type":"string","title":"Title","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"memory":{"oneOf":[{"type":"string","title":"Memory","description":"Chat's notes on the user and the goal (preferences, exclusions, style), kept across turns","uniqueKey":"memory.oneOf.0","typeLabel":"string"},{"type":"null","title":"Memory","description":"Chat's notes on the user and the goal (preferences, exclusions, style), kept across turns","uniqueKey":"memory.oneOf.1","typeLabel":"null"}],"uniqueKey":"memory","typeLabel":"string | null"},"history_summary":{"oneOf":[{"type":"string","title":"History Summary","description":"Chat's summary of the older part of a long conversation","uniqueKey":"history_summary.oneOf.0","typeLabel":"string"},{"type":"null","title":"History Summary","description":"Chat's summary of the older part of a long conversation","uniqueKey":"history_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"history_summary","typeLabel":"string | null"},"schedules":{"items":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"schedules.items.[INDEX].id","typeLabel":"string"},"instruction":{"type":"string","title":"Instruction","description":"What Chat does on each run","isRequired":true,"uniqueKey":"schedules.items.[INDEX].instruction","typeLabel":"string"},"cron":{"type":"string","title":"Cron","description":"5-field cron expression (minute hour day-of-month month day-of-week)","isRequired":true,"uniqueKey":"schedules.items.[INDEX].cron","typeLabel":"string"},"timezone":{"type":"string","title":"Timezone","description":"IANA timezone the cron is read in","isRequired":true,"uniqueKey":"schedules.items.[INDEX].timezone","typeLabel":"string"},"next_run_at":{"type":"string","title":"Next Run At","description":"When it next comes due (ISO 8601, UTC like every time in this API). A paused task does not run.","isRequired":true,"uniqueKey":"schedules.items.[INDEX].next_run_at","typeLabel":"string"},"paused":{"type":"boolean","title":"Paused","isRequired":true,"uniqueKey":"schedules.items.[INDEX].paused","typeLabel":"boolean"},"email_enabled":{"type":"boolean","title":"Email Enabled","description":"Whether each finished run also emails the user a link to the chat","isRequired":true,"uniqueKey":"schedules.items.[INDEX].email_enabled","typeLabel":"boolean"},"push_enabled":{"type":"boolean","title":"Push Enabled","description":"Whether each finished run also notifies the user's Happenstance phone app","isRequired":true,"uniqueKey":"schedules.items.[INDEX].push_enabled","typeLabel":"boolean"},"created_at":{"type":"string","title":"Created At","isRequired":true,"uniqueKey":"schedules.items.[INDEX].created_at","typeLabel":"string"},"paused_reason":{"oneOf":[{"type":"string","title":"Paused Reason","description":"Why it is paused: inactive (no message to the chat for 8 of its periods; a message re-arms it) or by_user","enum":["inactive","by_user"],"uniqueKey":"schedules.items.[INDEX].paused_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Paused Reason","description":"Why it is paused: inactive (no message to the chat for 8 of its periods; a message re-arms it) or by_user","uniqueKey":"schedules.items.[INDEX].paused_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"schedules.items.[INDEX].paused_reason","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"type":"object","required":["id","instruction","cron","timezone","next_run_at","paused","email_enabled","push_enabled","created_at"],"title":"ChatScheduleV1","description":"A scheduled task of a chat started in the app: Chat runs its instruction in the chat on a\ncron schedule. Tasks are set up and changed in the app.","uniqueKey":"schedules.items.[INDEX]","typeLabel":"ChatScheduleV1 · object"},"type":"array","title":"Schedules","description":"The chat's scheduled tasks. Only a chat started in the app has them. A chat started through the API has none: to run it on a schedule, send it a message on yours.","uniqueKey":"schedules","typeLabel":"ChatScheduleV1 · object[]"}},"additionalProperties":false,"type":"object","required":["id","source","url","status","created_at","credits_charged","turns","messages","searches"],"title":"GetChatResponseV1","description":"Response from GET /v1/chat/{chat_id}: the conversation and what Chat keeps about it.","uniqueKey":"","typeLabel":"GetChatResponseV1 · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","source":"api","url":"\u003cstring>","status":"idle","created_at":"\u003cstring>","credits_charged":123,"turns":[{"id":"\u003cstring>","status":"queued","created_at":"\u003cstring>","started_by":"message","completed_at":"\u003cstring>","credits_charged":123}],"messages":[{"role":"user","markdown":"\u003cstring>","created_at":"\u003cstring>","turn_id":"\u003cstring>"}],"searches":[{"search_id":"\u003cstring>","status":"running","page_id":"\u003cstring>","turn_id":"\u003cstring>","query":"\u003cstring>","results_count":123}],"title":"\u003cstring>","memory":"\u003cstring>","history_summary":"\u003cstring>","schedules":[{"id":"\u003cstring>","instruction":"\u003cstring>","cron":"\u003cstring>","timezone":"\u003cstring>","next_run_at":"\u003cstring>","paused":true,"email_enabled":true,"push_enabled":true,"created_at":"\u003cstring>","paused_reason":"inactive"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"79f22c96-e980-44ad-81a1-3cc242b76a95":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ed129bb7-b6e0-4708-9276-d60d77a00bbe":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b1648038-06a2-4229-959a-7cd1f083399c":{"description":"Payment Required","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7713360d-cba4-424f-8b13-0ac431d29181":{"description":"Forbidden","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d548da5e-a394-46f6-8a92-b11b27a4682a":{"description":"Not Found","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0d3e5505-08da-4133-85a9-0363d488fe71":{"description":"Gone","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3ff10cd8-75d0-4ccb-9d12-c739f0961844":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b0eceaef-4a90-4129-9afb-e4e5a6fac681":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"aec1fe63-ca01-4d81-9bed-f5e6470bdfbe":{"description":"Service Unavailable","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c847fd53-54a8-4e2c-9066-4dfb2a79ba8e":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{"3928d332-2975-4017-a644-c4e0c2212c48":{"url":"https://api.happenstance.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"happenstance","siteName":"Happenstance","title":"Get Chat - Happenstance","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T17:26:20.004Z","originalFileLocation":"api-reference/get-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=\"The whole chat: its messages (Chat\u0026#x27;s as markdown), its turns, the searches it ran, and the notes Chat keeps on the user\u0026#x27;s goal and preferences (memory) and on older turns.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Happenstance\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Chat - Happenstance\">\u003cmeta data-mint-head property=\"og:description\" content=\"The whole chat: its messages (Chat\u0026#x27;s as markdown), its turns, the searches it ran, and the notes Chat keeps on the user\u0026#x27;s goal and preferences (memory) and on older turns.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Happenstance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.happenstance.ai/api-reference/get-chat\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://happenstance.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Get+Chat\u0026amp;description=The+whole+chat%3A+its+messages+%28Chat%27s+as+markdown%29%2C+its+turns%2C+the+searches+it+ran%2C+and%0Athe+notes+Chat+keeps+on+the+user%27s+goal+and+preferences+%28memory%29+and+on+o\u0026amp;theme=e9cbf0a039f894b97da272a2\u0026amp;signature=910f010dcbdee8b2cce578e7b4bf136e772495dcff6ac2fee78a0fdee191059a\">\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=\"Get Chat - Happenstance\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The whole chat: its messages (Chat\u0026#x27;s as markdown), its turns, the searches it ran, and the notes Chat keeps on the user\u0026#x27;s goal and preferences (memory) and on older turns.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://happenstance.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Get+Chat\u0026amp;description=The+whole+chat%3A+its+messages+%28Chat%27s+as+markdown%29%2C+its+turns%2C+the+searches+it+ran%2C+and%0Athe+notes+Chat+keeps+on+the+user%27s+goal+and+preferences+%28memory%29+and+on+o\u0026amp;theme=e9cbf0a039f894b97da272a2\u0026amp;signature=910f010dcbdee8b2cce578e7b4bf136e772495dcff6ac2fee78a0fdee191059a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Happenstance\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16a34a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.happenstance.ai/api-reference/get-chat\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/get-chat.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.happenstance.ai/#organization\",\"name\":\"Happenstance\",\"url\":\"https://developer.happenstance.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/happenstance/YSbudQ8_lua9CNAo/logo/happenstance.png?fit=max\u0026auto=format\u0026n=YSbudQ8_lua9CNAo\u0026q=85\u0026s=a2c2c708eb248e6bea6607330505d0f9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.happenstance.ai#website\",\"name\":\"Happenstance\",\"url\":\"https://developer.happenstance.ai\",\"publisher\":{\"@id\":\"https://developer.happenstance.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.happenstance.ai/api-reference/get-chat#webpage\",\"url\":\"https://developer.happenstance.ai/api-reference/get-chat\",\"name\":\"Get Chat\",\"description\":\"The whole chat: its messages (Chat's as markdown), its turns, the searches it ran, and the notes Chat keeps on the user's goal and preferences (memory) and on older turns.\",\"dateModified\":\"2026-10-23T17:26:20.004Z\",\"isPartOf\":{\"@id\":\"https://developer.happenstance.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developer.happenstance.ai/api-reference/get-chat#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.happenstance.ai/api-reference/get-chat#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connect\",\"item\":\"https://developer.happenstance.ai/mcp/chatgpt\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https://developer.happenstance.ai/quickstart\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API Reference\",\"item\":\"https://developer.happenstance.ai/api-reference/create-search\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get Chat\",\"item\":\"https://developer.happenstance.ai/api-reference/get-chat\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.happenstance.ai/api-reference/get-chat#apireference\",\"headline\":\"Get Chat\",\"name\":\"Get Chat\",\"description\":\"The whole chat: its messages (Chat's as markdown), its turns, the searches it ran, and the notes Chat keeps on the user's goal and preferences (memory) and on older turns.\",\"url\":\"https://developer.happenstance.ai/api-reference/get-chat\",\"mainEntityOfPage\":{\"@id\":\"https://developer.happenstance.ai/api-reference/get-chat#webpage\"},\"dateModified\":\"2026-10-23T17:26:20.004Z\",\"publisher\":{\"@id\":\"https://developer.happenstance.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.happenstance.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Happenstance\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Happenstance","nav":{"global":null,"groups":[{"group":"Connect","pages":[{"title":"ChatGPT","href":"/mcp/chatgpt"},{"title":"Claude","href":"/mcp/claude"},{"title":"Claude Code","href":"/mcp/claude-code"},{"title":"MCP","href":"/mcp/connect"},{"title":"CLI","href":"/cli/install"},{"title":"OpenClaw","href":"/mcp/openclaw"},{"group":"API","pages":[{"title":"Quickstart","href":"/quickstart"},{"title":"The Basics","href":"/api-reference/introduction"},{"title":"Changelog","href":"/changelog"},{"group":"API Reference","pages":[{"title":"Create Search","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/search","href":"/api-reference/create-search"},{"title":"Get Search","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/search/{search_id}","href":"/api-reference/get-search"},{"title":"Find More Search","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/search/{search_id}/find-more","href":"/api-reference/find-more-search"},{"title":"Create Research","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/research","href":"/api-reference/create-research"},{"title":"Get Research","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/research/{research_id}","href":"/api-reference/get-research"},{"title":"Get Current User Profile","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/users/me","href":"/api-reference/get-current-user-profile"},{"title":"Get Groups","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/groups","href":"/api-reference/get-groups"},{"title":"Get Group","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/groups/{group_id}","href":"/api-reference/get-group"},{"title":"Get Usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage","href":"/api-reference/get-usage"},{"title":"List Chats","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat","href":"/api-reference/list-chats"},{"title":"Create Chat","description":"Start a chat with Happenstance Chat, optionally with its first message.\n\nChat searches the user's network (their connections, their friends' and their groups'),\nresearches people and drafts outreach, over as many turns as the conversation needs. A\nmessage returns at once with a turn id: poll GET /v1/chat/{chat_id}/turns/{turn_id} until\nthe turn's status is completed, then read the people and drafts.\n\nEach turn is charged when it finishes. Returns 402 when the balance is below 3 credits.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/chat","href":"/api-reference/create-chat"},{"title":"Get Chat","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}","href":"/api-reference/get-chat"},{"title":"Send Chat Message","description":"Send a message to a chat started through the API. Returns at once with the turn to poll. A\nmessage sent while a turn is still working joins that turn (joined: true): Chat takes it\ninto the work in progress, and the turn's reply and charge cover both messages.\n\nWhen a turn ends with stop_reason needs_input, Chat waits on the questions in its\nreply.questions: send answers (by question index and option label), a message that answers\nthem in words, or both. The answer starts the next turn (answered: true).\n\nReturns 402 when the balance is below 3 credits for this message and for each turn still\nrunning, 409 for a chat started in the app.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/chat/{chat_id}/messages","href":"/api-reference/send-chat-message"},{"title":"Get Chat Turn","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}/turns/{turn_id}","href":"/api-reference/get-chat-turn"},{"title":"Cancel Chat Turn","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/chat/{chat_id}/turns/{turn_id}/cancel","href":"/api-reference/cancel-chat-turn"},{"title":"Get Chat People","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}/people","href":"/api-reference/get-chat-people"},{"title":"Get Chat Drafts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}/drafts","href":"/api-reference/get-chat-drafts"}]}]}]}]},"basePath":"","title":"Get Chat - Happenstance","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}