Use this endpoint to list the conversations your MedAssist agent has had. Filter by date range, channel, tool usage, feedback, or message count, and page through results.To read the full transcript of a conversation, pass its session ID to Get Messages.
Headers
string
required
Bearer token. Format: Bearer <token>
Query parameters
string
required
ID of the agent whose conversations you want to list.
All other parameters are optional filters.
Date
string
default:"7d"
Preset date range. One of today, 7d, 30d, month, custom, all.
Use custom together with date_from and date_to.
string
Start date (inclusive), format YYYY-MM-DD. Used when date_preset=custom.
string
End date (inclusive), format YYYY-MM-DD. Used when date_preset=custom.
Lookup
string
Return only the conversation with this session ID. Other filters are ignored when this is set.
Tool usage
string
Return only conversations in which the agent called this tool.
string
Narrow filter_tool_name to calls where this input parameter was set. Requires filter_tool_name.
string
Value that filter_tool_param_name must equal. Requires filter_tool_name.
Feedback
string
1 = only conversations with end-user feedback, 0 = only conversations without it. Omit for all.
string
1 = only conversations with annotation feedback, 0 = only conversations without it. Omit for all.
string
Return only conversations annotated by this user ID.
Channel
string
One of web, whatsapp, voice. Repeat the parameter to include several channels,
for example filter_channel=web&filter_channel=whatsapp.
Message count
integer
Minimum total number of messages in the conversation.
integer
Maximum total number of messages in the conversation.
integer
Minimum number of messages sent by the user.
integer
Maximum number of messages sent by the user.
Pagination
integer
default:"1"
Page number.
integer
default:"50"
Results per page. One of 25, 50, 100.
Response
This endpoint returns an HTML page (Content-Type: text/html), not JSON. It lists matching conversations newest first, 50 per page by default.Each conversation is a table row (<tr>) with a data-session-id attribute. That value is the conversation ID to pass to Get Messages.
A JSON response is planned. Until then, extract the session IDs from the data-session-id attributes, as shown below.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Eka Developer Platform APIs","colors":{"primary":"#5B45C9","light":"#B6A8FF","dark":"#5B45C9"},"logo":{"light":"https://cdn.eka.care/vagus/clzwrv3o600260ti3bg9q1det.png","dark":"https://cdn.eka.care/vagus/clzws1tfc00270ti3eiwn5jo5.png"},"favicon":"https://mintcdn.com/ekacare/uZX0UtACdJOcX7uJ/favicon.svg?fit=max\u0026auto=format\u0026n=uZX0UtACdJOcX7uJ\u0026q=85\u0026s=9ecadef0a25715531f08b66c68c31915","api":{"examples":{"languages":["bash","python","typescript","java","csharp","ruby"]}},"background":{"color":{"light":"#FAFAF9","dark":"#0A0A0A"}},"navbar":{"links":[{"icon":"hammer","href":"/developer-tools","label":"Developer tools"},{"icon":"/images/icons/github.svg","href":"https://github.com/eka-care","label":"GitHub"},{"icon":"/images/icons/huggingface.svg","href":"https://huggingface.co/ekacare","label":"Hugging Face"},{"icon":"/images/icons/discord.svg","href":"https://discord.gg/THgd5S22EK","label":"Discord"}],"primary":{"type":"button","label":"Build Now","href":"https://console.eka.care"}},"footer":{"socials":{"x":"https://x.com/ekacarehq","github":"https://github.com/eka-care","linkedin":"https://www.linkedin.com/company/ekacare","discord":"https://discord.gg/THgd5S22EK","website":"https://www.eka.care"},"links":[{"header":"Solutions","items":[{"label":"Medical Scribe","href":"/docs/scribe/overview"},{"label":"Medical Document Parsing","href":"/docs/models/medical-document-parsing"},{"label":"Clinical MCP","href":"/docs/datasets/build-with-ai/mcp-server/introduction"},{"label":"ABDM Connect","href":"/docs/hie-cm/about"}]},{"header":"Resources","items":[{"label":"Get started","href":"/docs/get-started/overview"},{"label":"Cookbook","href":"/docs/get-started/cookbook"},{"label":"Auth","href":"/docs/auth/invite-flow"},{"label":"Encryption","href":"/docs/encryption/guide"},{"label":"Eka MCP","href":"/docs/emr/build-with-ai/mcp-server/introduction"},{"label":"Developer tools","href":"/developer-tools"}]},{"header":"Newsboard","items":[{"label":"Eka Labs","href":"/docs/models/spotlight"},{"label":"Under the hood","href":"/docs/get-started/under-the-hood"},{"label":"Changelog","href":"/docs/get-started/changelog"}]},{"header":"Community","items":[{"label":"GitHub","href":"https://github.com/eka-care"},{"label":"Hugging Face","href":"https://huggingface.co/ekacare"},{"label":"Discord","href":"https://discord.gg/THgd5S22EK"},{"label":"eka.care","href":"https://www.eka.care"}]}]},"fonts":{"heading":{"family":"Newsreader","weight":420},"body":{"family":"Geist"}},"icons":{"library":"fontawesome"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ekacare","hasAudioNarration":false,"actualSubdomain":"ekacare","customDomains":["developer.eka.care"],"gitSource":{"type":"github","owner":"eka-care","repo":"eka-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afc068b857fea5d53b1126f","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"APIs \u0026 SDKs","count":461},{"language":"default","tag":"Build","count":322},{"language":"default","tag":"Eka EMR","count":322},{"language":"default","tag":"HIE-CM","count":222},{"language":"default","tag":"ABDM Connect","count":204},{"language":"default","tag":"IPD","count":169},{"language":"default","tag":"Documentation","count":164},{"language":"default","tag":"HIE-CM API","count":95},{"language":"default","tag":"Eka EMR API","count":83},{"language":"default","tag":"Workflows","count":64}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--eka-accent: #98B4FC;--eka-accent-ink: #4C7EFE;--eka-lilac: #5B45C9;--eka-lilac-tint: rgba(124, 92, 255, .12);--eka-lilac-edge: rgba(124, 92, 255, .22);--eka-lilac-hover: rgba(124, 92, 255, .18);--eka-neutral-edge: #D4D4D0;--eka-accent-wash: rgba(33, 95, 255, .07);--eka-heading: color-mix(in srgb, #141413 70%, #215FFF);--eka-line: #E7E7E4;--eka-surface: #FFFFFF;--eka-dot: rgba(147, 147, 142, .156);--eka-mono: \"Geist Mono\", ui-monospace, \"SF Mono\", monospace}.dark{--eka-accent: #445C9D;--eka-accent-ink: #6B93FF;--eka-lilac: #B6A8FF;--eka-lilac-tint: rgba(160, 140, 255, .14);--eka-lilac-edge: rgba(160, 140, 255, .25);--eka-lilac-hover: rgba(160, 140, 255, .20);--eka-neutral-edge: rgba(255, 255, 255, .18);--eka-accent-wash: rgba(107, 147, 255, .07);--eka-heading: color-mix(in srgb, #EDEDEC 70%, #6B93FF);--eka-line: rgba(255, 255, 255, .08);--eka-surface: #111111;--eka-dot: rgba(255, 255, 255, .054)}#background-color::after{content:\"\";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle, var(--eka-dot) .95px, transparent 1.25px);background-size:24px 24px;-webkit-mask-image:radial-gradient(ellipse 75% 70% at 50% 40%, #000 30%, transparent 100%);mask-image:radial-gradient(ellipse 75% 70% at 50% 40%, #000 30%, transparent 100%)}#page-title,#content :is(h1,h2,h3,h4){font-weight:420!important;font-optical-sizing:auto;color:var(--eka-heading)!important;letter-spacing:.012em!important}body{letter-spacing:.015em}#sidebar{border-right:1px solid var(--eka-line)}#content-side-layout{border-left:1px solid var(--eka-line)}#content>h2{position:relative;margin-top:3.5rem;padding-top:2.5rem}#content>h2::before{content:\"\";position:absolute;top:0;left:0;right:0;height:5px;pointer-events:none;background:linear-gradient(var(--eka-line), var(--eka-line)) 0 0 / 100% 1px no-repeat,\n linear-gradient(var(--eka-line), var(--eka-line)) 0 100% / 100% 1px no-repeat}@media (min-width: 1024px){#content>h2::before{left:-43px;right:-4px}}@media (min-width: 1280px){#content>h2::before{right:-52px}}#content a.link:not(.eka-postman-btn){color:var(--eka-accent-ink)!important;border-bottom-color:color-mix(in srgb, var(--eka-accent-ink) 45%, transparent)!important}#content a.link:not(.eka-postman-btn):hover{border-bottom-color:var(--eka-accent-ink)!important}#topbar-cta-button a>span:first-child{background:var(--eka-lilac-tint)!important;box-shadow:inset 0 0 0 1px var(--eka-lilac-edge)}#topbar-cta-button a :is(span,svg){color:var(--eka-lilac)!important}#topbar-cta-button a{height:32px;padding:0 14px!important;font-size:13px!important;font-weight:500;align-items:center}#topbar-cta-button a>span:first-child{border-radius:999px!important}#topbar-cta-button a:hover>span:first-child{background:var(--eka-lilac-hover)!important;opacity:1!important}#topbar-cta-button a>div>svg{display:none!important}#content :is(code,pre),[data-component-part=\"code-block-root\"]{font-family:var(--eka-mono);letter-spacing:normal}.callout:is([data-callout-type=\"note\"],[data-callout-type=\"info\"]){border:1px solid var(--eka-line)!important;border-left:2px solid var(--eka-accent)!important;border-radius:0 12px 12px 0!important;background:var(--eka-surface)!important}.callout:is([data-callout-type=\"note\"],[data-callout-type=\"info\"]) [data-component-part=\"callout-icon\"]{color:var(--eka-accent-ink)}#content .card{border-color:var(--eka-line)!important;transition:border-color .15s ease, transform .15s ease}#content a.card:hover,#content a:hover>.card{border-color:var(--eka-accent)!important;transform:translateY(-2px)}#content [data-component-part=\"card-icon\"]{color:var(--eka-accent-ink)!important;fill:var(--eka-accent-ink)!important}[data-component-part=\"step-indicator\"]{background:var(--eka-surface)!important;box-shadow:inset 0 0 0 1px var(--eka-accent)!important;color:var(--eka-accent-ink)!important;font-family:var(--eka-mono)}.eka-card-wrapper{border-radius:14px;transition:transform 0.15s ease}.eka-card-wrapper:hover{transform:translateY(-3px)}.eka-card-wrapper:hover>*{box-shadow:0 12px 28px rgba(94, 106, 152, 0.16);border-color:var(--eka-accent)}.eka-divider{border:none;border-top:1px solid var(--eka-line);margin:48px 0}.eka-tags{display:inline;margin-left:6px;white-space:normal}.eka-tag{display:inline-block;font-size:11px;font-weight:500;line-height:1;padding:3px 7px;border-radius:6px;margin:0 0 2px 4px;vertical-align:middle;white-space:nowrap;color:#6B7280;background:rgba(107, 114, 128, 0.10)}.dark .eka-tag{color:#9CA3AF;background:rgba(156, 163, 175, 0.14)}.eka-postman{border:1px solid rgba(17, 24, 39, 0.10);border-radius:14px;padding:20px 24px;margin:16px 0 24px}.eka-postman-text{font-size:15px;line-height:1.6;color:#4B5563}.eka-postman-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.eka-postman-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid var(--eka-neutral-edge);border-radius:8px;font-size:15px;font-weight:500;color:#141413;background:transparent;text-decoration:none;transition:background 0.15s ease}.eka-postman-btn:hover{background:rgba(20, 20, 19, .04)}.eka-postman-btn-primary{color:var(--eka-lilac);background:var(--eka-lilac-tint);border-color:var(--eka-lilac-edge)}.eka-postman-btn-primary:hover{background:rgba(124, 92, 255, .18)}.eka-postman-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid rgba(17, 24, 39, 0.10);border-radius:10px;background:rgba(17, 24, 39, 0.03)}.eka-postman-link code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;padding:6px 8px;border-radius:6px;background:rgba(17, 24, 39, 0.05)}.eka-postman-link button{flex-shrink:0;display:inline-flex;padding:4px;font-size:13px;color:#6B7280;background:none;border:none;cursor:pointer}.eka-postman-link button:hover{color:var(--eka-accent-ink)}.eka-postman-note{margin-top:12px;font-size:14px;color:#6B7280}.eka-postman-error{margin:-4px 0 12px;font-size:14px;color:#B42318}.dark .eka-postman-error{color:#F97066}.dark .eka-postman{border-color:rgba(255, 255, 255, 0.12)}.dark .eka-postman-text{color:#D1D5DB}.dark .eka-postman-btn{color:#EDEDEC;border-color:var(--eka-neutral-edge)}.dark .eka-postman-btn:hover{background:rgba(255, 255, 255, .05)}.dark .eka-postman-btn-primary{color:var(--eka-lilac);background:var(--eka-lilac-tint);border-color:var(--eka-lilac-edge)}.dark .eka-postman-btn-primary:hover{background:rgba(160, 140, 255, .20)}.dark .eka-postman-link{border-color:rgba(255, 255, 255, 0.12);background:rgba(255, 255, 255, 0.04)}.dark .eka-postman-link code{color:#E5E7EB;background:rgba(255, 255, 255, 0.06)}.dark .eka-postman-link button,.dark .eka-postman-note{color:#9CA3AF}[data-component-part=\"products-selector-content\"]{--ps-line: #E7E7E4;--ps-ink: #141413;--ps-ink-3: #93938E;--ps-bg: #FAFAF9;--ps-surface: #FFFFFF;background:var(--ps-surface)!important;border:1px solid var(--ps-line);border-radius:16px!important;padding:14px!important;box-shadow:0 1px 2px rgba(20, 20, 19, .04), 0 24px 48px rgba(20, 20, 19, .10)!important}.dark [data-component-part=\"products-selector-content\"]{--ps-line: rgba(255, 255, 255, .08);--ps-ink: #EDEDEC;--ps-ink-3: #6B6B68;--ps-bg: #0A0A0A;--ps-surface: #111111}[data-component-part=\"products-selector-content\"]>div{--fam: #64748B}[data-component-part=\"products-selector-content\"]>div:nth-child(1){--fam: #7C5CFF}[data-component-part=\"products-selector-content\"]>div:nth-child(2){--fam: #215FFF}[data-component-part=\"products-selector-content\"]>div:nth-child(3){--fam: #E8650A}.dark [data-component-part=\"products-selector-content\"]>div{--fam: #A3B1C6}.dark [data-component-part=\"products-selector-content\"]>div:nth-child(1){--fam: #A08CFF}.dark [data-component-part=\"products-selector-content\"]>div:nth-child(2){--fam: #6B93FF}.dark [data-component-part=\"products-selector-content\"]>div:nth-child(3){--fam: #FF9248}[data-component-part=\"products-selector-content\"]>div>div:first-child{width:13rem!important}@media (max-width: 960px){[data-component-part=\"products-selector-content\"]>div>div:first-child{width:100%!important}}[data-component-part=\"products-selector-content\"]>div>div:first-child>div:first-child{gap:7px;margin:4px 0 6px;padding:0 10px!important;font-family:ui-monospace, \"SF Mono\", \"Geist Mono\", monospace;font-size:.64rem!important;font-weight:400!important;letter-spacing:.08em;text-transform:uppercase;color:var(--ps-ink-3)!important}[data-component-part=\"products-selector-content\"]>div>div:first-child>div:first-child::before{content:\"\";width:7px;height:7px;flex:none;border-radius:50%;background:var(--fam)}[data-component-part=\"products-selector-item\"]{grid-template-columns:30px 1fr auto!important;align-items:flex-start!important;gap:11px!important;padding:8px 10px!important;border-radius:10px!important}[data-component-part=\"products-selector-item\"]:hover,[data-component-part=\"products-selector-item\"]:focus-visible{background:color-mix(in srgb, var(--ps-ink) 4.5%, transparent)!important}.nav-dropdown-products-selector-item-icon{position:relative;width:30px;height:30px;border:1px solid var(--ps-line);border-radius:9px;background:var(--ps-bg)}.nav-dropdown-products-selector-item-icon img{opacity:0;width:15px!important;height:15px!important}.nav-dropdown-products-selector-item-icon::after{content:\"\";position:absolute;inset:0;margin:auto;width:15px;height:15px;background-color:var(--fam);mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/mic.svg\"])::after{mask-image:url(\"/images/icons/products/mic.svg\");-webkit-mask-image:url(\"/images/icons/products/mic.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/plug.svg\"])::after{mask-image:url(\"/images/icons/products/plug.svg\");-webkit-mask-image:url(\"/images/icons/products/plug.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/stethoscope.svg\"])::after{mask-image:url(\"/images/icons/products/stethoscope.svg\");-webkit-mask-image:url(\"/images/icons/products/stethoscope.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/bot.svg\"])::after{mask-image:url(\"/images/icons/products/bot.svg\");-webkit-mask-image:url(\"/images/icons/products/bot.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/brain-circuit.svg\"])::after{mask-image:url(\"/images/icons/products/brain-circuit.svg\");-webkit-mask-image:url(\"/images/icons/products/brain-circuit.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/database.svg\"])::after{mask-image:url(\"/images/icons/products/database.svg\");-webkit-mask-image:url(\"/images/icons/products/database.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/clipboard-list.svg\"])::after{mask-image:url(\"/images/icons/products/clipboard-list.svg\");-webkit-mask-image:url(\"/images/icons/products/clipboard-list.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/bed-double.svg\"])::after{mask-image:url(\"/images/icons/products/bed-double.svg\");-webkit-mask-image:url(\"/images/icons/products/bed-double.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/receipt.svg\"])::after{mask-image:url(\"/images/icons/products/receipt.svg\");-webkit-mask-image:url(\"/images/icons/products/receipt.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/folder-heart.svg\"])::after{mask-image:url(\"/images/icons/products/folder-heart.svg\");-webkit-mask-image:url(\"/images/icons/products/folder-heart.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/arrow-left-right.svg\"])::after{mask-image:url(\"/images/icons/products/arrow-left-right.svg\");-webkit-mask-image:url(\"/images/icons/products/arrow-left-right.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/shield-check.svg\"])::after{mask-image:url(\"/images/icons/products/shield-check.svg\");-webkit-mask-image:url(\"/images/icons/products/shield-check.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/network.svg\"])::after{mask-image:url(\"/images/icons/products/network.svg\");-webkit-mask-image:url(\"/images/icons/products/network.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/rocket.svg\"])::after{mask-image:url(\"/images/icons/products/rocket.svg\");-webkit-mask-image:url(\"/images/icons/products/rocket.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/key-round.svg\"])::after{mask-image:url(\"/images/icons/products/key-round.svg\");-webkit-mask-image:url(\"/images/icons/products/key-round.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/webhook.svg\"])::after{mask-image:url(\"/images/icons/products/webhook.svg\");-webkit-mask-image:url(\"/images/icons/products/webhook.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/lock.svg\"])::after{mask-image:url(\"/images/icons/products/lock.svg\");-webkit-mask-image:url(\"/images/icons/products/lock.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/code.svg\"])::after{mask-image:url(\"/images/icons/products/code.svg\");-webkit-mask-image:url(\"/images/icons/products/code.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/messages-square.svg\"])::after{mask-image:url(\"/images/icons/products/messages-square.svg\");-webkit-mask-image:url(\"/images/icons/products/messages-square.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/compass.svg\"])::after{mask-image:url(\"/images/icons/products/compass.svg\");-webkit-mask-image:url(\"/images/icons/products/compass.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/flask-conical.svg\"])::after{mask-image:url(\"/images/icons/products/flask-conical.svg\");-webkit-mask-image:url(\"/images/icons/products/flask-conical.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/history.svg\"])::after{mask-image:url(\"/images/icons/products/history.svg\");-webkit-mask-image:url(\"/images/icons/products/history.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/activity.svg\"])::after{mask-image:url(\"/images/icons/products/activity.svg\");-webkit-mask-image:url(\"/images/icons/products/activity.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/git-branch.svg\"])::after{mask-image:url(\"/images/icons/products/git-branch.svg\");-webkit-mask-image:url(\"/images/icons/products/git-branch.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/chef-hat.svg\"])::after{mask-image:url(\"/images/icons/products/chef-hat.svg\");-webkit-mask-image:url(\"/images/icons/products/chef-hat.svg\")}.nav-dropdown-products-selector-item-icon:has(img[src$=\"/package.svg\"])::after{mask-image:url(\"/images/icons/products/package.svg\");-webkit-mask-image:url(\"/images/icons/products/package.svg\")}.dark [data-component-part=\"products-selector-trigger\"]>img{filter:invert(1);opacity:.85}.nav-dropdown-products-selector-item-title{font-size:.84rem!important;font-weight:550!important;color:var(--ps-ink)!important}.nav-dropdown-products-selector-item-description{font-size:.74rem!important;line-height:1.4;margin-top:1px;color:var(--ps-ink-3)!important;white-space:normal!important;-webkit-line-clamp:2!important;line-clamp:2!important}[data-component-part=\"products-selector-item\"][data-selected=\"true\"] .nav-dropdown-products-selector-item-icon{border-color:color-mix(in srgb, var(--fam) 45%, transparent);background:color-mix(in srgb, var(--fam) 12%, var(--ps-surface))}#navigation-items .sidebar-group-header{gap:0!important;padding-left:1rem}#navigation-items .sidebar-group-header :is(svg,img){display:none!important}#navigation-items .sidebar-title{font-family:ui-monospace, \"SF Mono\", \"Geist Mono\", monospace!important;font-size:.66rem!important;font-weight:500!important;letter-spacing:.08em;text-transform:uppercase;color:#93938E!important}.dark #navigation-items .sidebar-title{color:#6B6B68!important}#navigation-items>div+div{margin-top:1.25rem!important}#navigation-items ul.sidebar-group li>ul{margin-left:1.45rem;padding-left:.5rem;border-left:1px solid #E7E7E4}.dark #navigation-items ul.sidebar-group li>ul{border-left-color:rgba(255, 255, 255, .08)}#navigation-items ul.sidebar-group li>ul :is(svg,img){width:14px!important;height:14px!important;opacity:.7}.eka-qs{border:1px solid #E7E7E4;border-radius:16px;background:#FFFFFF;padding:20px 24px 16px;margin:16px 0 28px;color:#1F2937;font-size:15px;line-height:1.55}.eka-qs code{font-size:13px;padding:1px 5px;border-radius:5px;background:rgba(17, 24, 39, 0.05)}.eka-qs a{color:#215FFF;text-decoration:underline;text-underline-offset:2px}.eka-qs-stepper{display:flex;gap:0;list-style:none;margin:0 0 12px;padding:0 0 4px;overflow-x:auto}.eka-qs-stepper-item{display:flex;align-items:flex-start;flex:1 0 auto;margin:0;padding:0}.eka-qs-stepper-item+.eka-qs-stepper-item::before{content:\"\";flex:1 0 16px;height:1px;margin:18px 6px 0;background:#E7E7E4}.eka-qs-stepper-btn{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:72px;padding:0;border:none;background:none;color:inherit;font:inherit;cursor:pointer}.eka-qs-stepper-btn:disabled{cursor:default}.eka-qs-circle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid #E7E7E4;background:#FFFFFF;color:#6B7280;font-size:14px;font-weight:600}.eka-qs-stepper-label{font-size:13px;color:#6B7280;text-align:center;white-space:nowrap}.eka-qs-current .eka-qs-circle{background:#215FFF;border-color:#215FFF;color:#FFFFFF}.eka-qs-current .eka-qs-stepper-label{color:#111827;font-weight:700}.eka-qs-done .eka-qs-circle{border-color:#215FFF;color:#215FFF}.eka-qs-status{min-height:1.5em;margin:4px 0 12px;font-size:14px;color:#4B5563}.eka-qs-status-ok{color:#067647}.eka-qs-status-error{color:#B42318}.eka-qs-status-info{color:#1D4ED8}.eka-qs-form{display:flex;flex-direction:column;gap:14px}.eka-qs-form form{display:flex;flex-direction:column;gap:14px}.eka-qs-title{margin:0;font-size:17px;font-weight:600;color:#111827}.eka-qs-lede{margin:-6px 0 0;color:#4B5563}.eka-qs-field{display:flex;flex-direction:column;gap:6px}.eka-qs-label{font-size:14px;font-weight:500;color:#111827}.eka-qs-pill{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600;vertical-align:middle;color:#B54708;background:#FEF0C7}.eka-qs-input{width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid #D0D5DD;border-radius:10px;background:#FFFFFF;color:#111827;font:inherit}.eka-qs-input:focus{outline:2px solid rgba(33, 95, 255, 0.35);outline-offset:1px;border-color:#215FFF}.eka-qs-secret{display:flex;gap:8px}.eka-qs-secret .eka-qs-input{flex:1;min-width:0}.eka-qs-reveal{flex-shrink:0;padding:0 14px;border:1px solid #D0D5DD;border-radius:10px;background:#FFFFFF;color:#374151;font-size:13px;cursor:pointer}.eka-qs-hint{margin:0;font-size:13px;color:#6B7280}.eka-qs-btn{align-self:flex-start;padding:9px 18px;border:1px solid #215FFF;border-radius:10px;background:#215FFF;color:#FFFFFF;font:inherit;font-weight:600;cursor:pointer}.eka-qs-btn:hover:not(:disabled){background:#1A4FD6}.eka-qs-btn:disabled{opacity:0.5;cursor:not-allowed}.eka-qs-btn-quiet{background:#FFFFFF;color:#215FFF}.eka-qs-btn-quiet:hover:not(:disabled){background:rgba(33, 95, 255, 0.06)}.eka-qs-chips{display:flex;flex-wrap:wrap;gap:8px}.eka-qs-chip{padding:5px 12px;border:1px solid #D0D5DD;border-radius:999px;background:#FFFFFF;color:#111827;font-size:14px;cursor:pointer}.eka-qs-chip-on{border-color:#215FFF;color:#215FFF;background:rgba(33, 95, 255, 0.06)}.eka-qs-callout,.eka-qs-result{padding:12px 16px;border:1px solid #E7E7E4;border-radius:12px;background:#F9FAFB}.eka-qs-callout p,.eka-qs-result p{margin:0 0 8px}.eka-qs-callout p:last-child,.eka-qs-result p:last-child{margin-bottom:0}.eka-qs-callout ul{margin:0 0 8px;padding-left:20px}.eka-qs-result dl{display:grid;gap:6px;margin:0 0 12px}.eka-qs-result dl div{display:flex;flex-wrap:wrap;gap:4px 12px}.eka-qs-result dt{min-width:110px;font-weight:600;color:#374151}.eka-qs-result dd{margin:0;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;word-break:break-all}.eka-qs-log{display:flex;flex-direction:column;gap:12px}.eka-qs-exchange{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);gap:12px}.eka-qs-panel{min-width:0}.eka-qs-panel-label{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:0.04em;color:#6B7280}.eka-qs-pre{margin:0;max-height:320px;overflow:auto;padding:10px 12px;border:1px solid #E7E7E4;border-radius:10px;background:#F9FAFB;color:#1F2937;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:12.5px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.eka-qs-code{padding:1px 7px;border-radius:999px;font-size:11px;letter-spacing:0}.eka-qs-code-ok{color:#067647;background:#DCFAE6}.eka-qs-code-bad{color:#B42318;background:#FEE4E2}.eka-qs-note{margin:6px 0 0;font-size:13px;color:#6B7280}.eka-qs-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:18px;padding-top:12px;border-top:1px solid #E7E7E4}.eka-qs-sandbox{font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:12px;color:#6B7280}@media (max-width: 640px){.eka-qs{padding:16px}.eka-qs-exchange{grid-template-columns:minmax(0, 1fr)}.eka-qs-stepper-btn{min-width:64px}}.dark .eka-qs{background:#0F1117;border-color:rgba(255, 255, 255, 0.12);color:#E5E7EB}.dark .eka-qs code{background:rgba(255, 255, 255, 0.08)}.dark .eka-qs a{color:#7DA2FF}.dark .eka-qs-stepper-item+.eka-qs-stepper-item::before{background:rgba(255, 255, 255, 0.12)}.dark .eka-qs-circle{background:#0F1117;border-color:rgba(255, 255, 255, 0.18);color:#9CA3AF}.dark .eka-qs-stepper-label,.dark .eka-qs-hint,.dark .eka-qs-note,.dark .eka-qs-sandbox,.dark .eka-qs-panel-label{color:#9CA3AF}.dark .eka-qs-current .eka-qs-circle{background:#215FFF;border-color:#215FFF;color:#FFFFFF}.dark .eka-qs-current .eka-qs-stepper-label,.dark .eka-qs-title,.dark .eka-qs-label{color:#F9FAFB}.dark .eka-qs-done .eka-qs-circle{border-color:#7DA2FF;color:#7DA2FF}.dark .eka-qs-lede,.dark .eka-qs-status{color:#D1D5DB}.dark .eka-qs-status-ok{color:#75E0A7}.dark .eka-qs-status-error{color:#F97066}.dark .eka-qs-status-info{color:#93B4FF}.dark .eka-qs-pill{color:#FEC84B;background:rgba(254, 200, 75, 0.14)}.dark .eka-qs-input,.dark .eka-qs-reveal,.dark .eka-qs-chip{background:#161922;border-color:rgba(255, 255, 255, 0.16);color:#F3F4F6}.dark .eka-qs-btn-quiet{background:transparent;color:#7DA2FF;border-color:#7DA2FF}.dark .eka-qs-chip-on{border-color:#7DA2FF;color:#7DA2FF;background:rgba(125, 162, 255, 0.10)}.dark .eka-qs-callout,.dark .eka-qs-result,.dark .eka-qs-pre{background:rgba(255, 255, 255, 0.04);border-color:rgba(255, 255, 255, 0.12);color:#E5E7EB}.dark .eka-qs-result dt{color:#D1D5DB}.dark .eka-qs-code-ok{color:#75E0A7;background:rgba(117, 224, 167, 0.12)}.dark .eka-qs-code-bad{color:#F97066;background:rgba(249, 112, 102, 0.12)}.dark .eka-qs-footer{border-top-color:rgba(255, 255, 255, 0.12)}#navbar a[href^=\"https://discord.gg/\"]>span{display:none!important}#navbar a[href^=\"https://discord.gg/\"]>svg{width:18px;height:18px}#navbar a[href=\"/developer-tools\"]>span,#navbar a[href=\"https://github.com/eka-care\"]>span,#navbar a[href=\"https://huggingface.co/ekacare\"]>span,#navbar a[href=\"https://discord.gg/THgd5S22EK\"]>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}#navbar a[href=\"/developer-tools\"],#navbar a[href=\"https://github.com/eka-care\"],#navbar a[href=\"https://huggingface.co/ekacare\"],#navbar a[href=\"https://discord.gg/THgd5S22EK\"]{padding:6px;border-radius:8px}#navbar a[href=\"https://github.com/eka-care\"] img,#navbar a[href=\"https://huggingface.co/ekacare\"] img,#navbar a[href=\"https://discord.gg/THgd5S22EK\"] img{opacity:.8}.dark #navbar a[href=\"https://github.com/eka-care\"] img,.dark #navbar a[href=\"https://huggingface.co/ekacare\"] img,.dark #navbar a[href=\"https://discord.gg/THgd5S22EK\"] img{filter:invert(1)}#footer{background:color-mix(in srgb, #7C5CFF 7%, transparent)}.eka-footmark{width:100%;max-width:1080px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:18px 32px 28px;border-top:1px solid rgba(124, 92, 255, .22);font-size:.8rem;color:rgb(var(--gray-500))}.eka-footmark b{font-weight:500;color:rgb(var(--gray-900))}.dark .eka-footmark b{color:rgb(var(--gray-100))}.eka-footmark span{display:inline-flex;align-items:center;gap:8px}.eka-heart{display:inline-flex;transition:transform .2s}.eka-heart:hover{transform:scale(1.15)}html[data-current-path=\"/\"]:not(:has(.eka-landing)) body>*{visibility:hidden}html[data-current-path=\"/\"]:not(:has(.eka-landing)) body{background:#FAFAF9}html.dark[data-current-path=\"/\"]:not(:has(.eka-landing)) body{background:#0A0A0A}"}]}
{"page":{"pagePath":"docs/agents/get-conversation","slug":"/docs/agents/get-conversation","pageMetadata":{"icon":"download","title":"Get Conversation","api":"GET https://console.eka.care/conversations/","description":"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.","authMethod":"bearer","href":"/docs/agents/get-conversation","hidden":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: \"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,ParamField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use this endpoint to list the conversations your MedAssist agent has had. Filter by date range, channel, tool usage, feedback, or message count, and page through results.`}),`\n`,_jsxs(_components.p,{children:[`To read the full transcript of a conversation, pass its session ID to `,_jsx(_components.a,{href:`/docs/agents/get-messages`,children:`Get Messages`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token. Format: `,_jsx(_components.code,{children:`Bearer \u003ctoken>`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`agent_id`,type:`string`,required:true,id:`param-agent-id`,children:_jsx(_components.p,{children:`ID of the agent whose conversations you want to list.`})}),`\n`,_jsx(_components.p,{children:`All other parameters are optional filters.`}),`\n`,_jsx(Heading,{level:`3`,id:`date`,children:`Date`}),`\n`,_jsx(ParamField,{query:`date_preset`,type:`string`,default:`7d`,id:`param-date-preset`,children:_jsxs(_components.p,{children:[`Preset date range. One of `,_jsx(_components.code,{children:`today`}),`, `,_jsx(_components.code,{children:`7d`}),`, `,_jsx(_components.code,{children:`30d`}),`, `,_jsx(_components.code,{children:`month`}),`, `,_jsx(_components.code,{children:`custom`}),`, `,_jsx(_components.code,{children:`all`}),`.\nUse `,_jsx(_components.code,{children:`custom`}),` together with `,_jsx(_components.code,{children:`date_from`}),` and `,_jsx(_components.code,{children:`date_to`}),`.`]})}),`\n`,_jsx(ParamField,{query:`date_from`,type:`string`,id:`param-date-from`,children:_jsxs(_components.p,{children:[`Start date (inclusive), format `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Used when `,_jsx(_components.code,{children:`date_preset=custom`}),`.`]})}),`\n`,_jsx(ParamField,{query:`date_to`,type:`string`,id:`param-date-to`,children:_jsxs(_components.p,{children:[`End date (inclusive), format `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Used when `,_jsx(_components.code,{children:`date_preset=custom`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`lookup`,children:`Lookup`}),`\n`,_jsx(ParamField,{query:`filter_session_id`,type:`string`,id:`param-filter-session-id`,children:_jsx(_components.p,{children:`Return only the conversation with this session ID. Other filters are ignored when this is set.`})}),`\n`,_jsx(Heading,{level:`3`,id:`tool-usage`,children:`Tool usage`}),`\n`,_jsx(ParamField,{query:`filter_tool_name`,type:`string`,id:`param-filter-tool-name`,children:_jsx(_components.p,{children:`Return only conversations in which the agent called this tool.`})}),`\n`,_jsx(ParamField,{query:`filter_tool_param_name`,type:`string`,id:`param-filter-tool-param-name`,children:_jsxs(_components.p,{children:[`Narrow `,_jsx(_components.code,{children:`filter_tool_name`}),` to calls where this input parameter was set. Requires `,_jsx(_components.code,{children:`filter_tool_name`}),`.`]})}),`\n`,_jsx(ParamField,{query:`filter_tool_param_value`,type:`string`,id:`param-filter-tool-param-value`,children:_jsxs(_components.p,{children:[`Value that `,_jsx(_components.code,{children:`filter_tool_param_name`}),` must equal. Requires `,_jsx(_components.code,{children:`filter_tool_name`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`feedback`,children:`Feedback`}),`\n`,_jsx(ParamField,{query:`filter_user_feedback`,type:`string`,id:`param-filter-user-feedback`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`1`}),` = only conversations with end-user feedback, `,_jsx(_components.code,{children:`0`}),` = only conversations without it. Omit for all.`]})}),`\n`,_jsx(ParamField,{query:`filter_has_feedback`,type:`string`,id:`param-filter-has-feedback`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`1`}),` = only conversations with annotation feedback, `,_jsx(_components.code,{children:`0`}),` = only conversations without it. Omit for all.`]})}),`\n`,_jsx(ParamField,{query:`filter_annotator_oid`,type:`string`,id:`param-filter-annotator-oid`,children:_jsx(_components.p,{children:`Return only conversations annotated by this user ID.`})}),`\n`,_jsx(Heading,{level:`3`,id:`channel`,children:`Channel`}),`\n`,_jsx(ParamField,{query:`filter_channel`,type:`string`,id:`param-filter-channel`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`web`}),`, `,_jsx(_components.code,{children:`whatsapp`}),`, `,_jsx(_components.code,{children:`voice`}),`. Repeat the parameter to include several channels,\nfor example `,_jsx(_components.code,{children:`filter_channel=web\u0026filter_channel=whatsapp`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`message-count`,children:`Message count`}),`\n`,_jsx(ParamField,{query:`filter_min_msgs`,type:`integer`,id:`param-filter-min-msgs`,children:_jsx(_components.p,{children:`Minimum total number of messages in the conversation.`})}),`\n`,_jsx(ParamField,{query:`filter_max_msgs`,type:`integer`,id:`param-filter-max-msgs`,children:_jsx(_components.p,{children:`Maximum total number of messages in the conversation.`})}),`\n`,_jsx(ParamField,{query:`filter_min_user_msgs`,type:`integer`,id:`param-filter-min-user-msgs`,children:_jsx(_components.p,{children:`Minimum number of messages sent by the user.`})}),`\n`,_jsx(ParamField,{query:`filter_max_user_msgs`,type:`integer`,id:`param-filter-max-user-msgs`,children:_jsx(_components.p,{children:`Maximum number of messages sent by the user.`})}),`\n`,_jsx(Heading,{level:`3`,id:`pagination`,children:`Pagination`}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`1`,id:`param-page`,children:_jsx(_components.p,{children:`Page number.`})}),`\n`,_jsx(ParamField,{query:`page_size`,type:`integer`,default:`50`,id:`param-page-size`,children:_jsxs(_components.p,{children:[`Results per page. One of `,_jsx(_components.code,{children:`25`}),`, `,_jsx(_components.code,{children:`50`}),`, `,_jsx(_components.code,{children:`100`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`This endpoint returns an `,_jsx(_components.strong,{children:`HTML page`}),` (`,_jsx(_components.code,{children:`Content-Type: text/html`}),`), not JSON. It lists matching conversations newest first, 50 per page by default.`]}),`\n`,_jsxs(_components.p,{children:[`Each conversation is a table row (`,_jsx(_components.code,{children:`\u003ctr>`}),`) with a `,_jsx(_components.code,{children:`data-session-id`}),` attribute. That value is the conversation ID to pass to `,_jsx(_components.a,{href:`/docs/agents/get-messages`,children:`Get Messages`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`A JSON response is planned. Until then, extract the session IDs from the `,_jsx(_components.code,{children:`data-session-id`}),` attributes, as shown below.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`extracting-session-ids`,children:`Extracting session IDs`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`10`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` re`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`resp `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://console.eka.care/conversations/\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cagent-id>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"date_preset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"page_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`session_ids `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` re.findall(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`'data-session-id=\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`([`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D16969`},children:`0-9a-f-`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`{36}`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`)`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`\"'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, resp.text)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(session_ids)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`7`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://console.eka.care/conversations/?agent_id=\u003cagent-id>\u0026date_preset=7d\u0026page_size=50\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` html`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` sessionIds`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`html`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`matchAll`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`/data-session-id=\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D16969`},children:`0-9a-f-`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`{36}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`\"/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`g`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)].`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`map`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`m`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` m`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sessionIds`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`To get the next set of conversations, repeat the request with `,_jsx(_components.code,{children:`page=2`}),`, `,_jsx(_components.code,{children:`page=3`}),`, and so on until no session IDs are returned.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"icon":"download","title":"Get Conversation","api":"GET https://console.eka.care/conversations/","description":"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.","authMethod":"bearer","href":"/docs/agents/get-conversation","hidden":true}}},"mdxSourceWithNoJs":null,"noJsSplices":[[332,341,",RequestExample,ResponseExample}=_compon"],[599,611,"if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs"],[19081,19509,",`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://console.eka.care/conversations/?agent_id=\u003cagent-id>\u0026date_preset=7d\u0026filter_channel=web\u0026page=1\u0026page_size=50'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`12`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\u003c!-- Simplified: the full page contains more markup -->`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`table`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`tbody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`tr`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` data-session-id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3f2b1c9a-7d4e-4a61-9b2f-5c8e1d0a6b7c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`3f2b…6b7c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` data-utc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-19T14:07:09+00:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Sep 19, 2026, 2:07 PM UTC`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` \u003c!-- messages -->`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` \u003c!-- tool calls -->`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`web`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`td`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` \u003c!-- channel -->`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`tr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`tbody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`table`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":2,"children":[{"title":"Date","slug":"date","depth":3,"children":[]},{"title":"Lookup","slug":"lookup","depth":3,"children":[]},{"title":"Tool usage","slug":"tool-usage","depth":3,"children":[]},{"title":"Feedback","slug":"feedback","depth":3,"children":[]},{"title":"Channel","slug":"channel","depth":3,"children":[]},{"title":"Message count","slug":"message-count","depth":3,"children":[]},{"title":"Pagination","slug":"pagination","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Extracting session IDs","slug":"extracting-session-ids","depth":3,"children":[]}]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://console.eka.care/conversations/?agent_id=\u0026#x3C;agent-id>\u0026#x26;date_preset=7d\u0026#x26;filter_channel=web\u0026#x26;page=1\u0026#x26;page_size=50'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"html\">\u003ccode language=\"html\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">\u0026#x3C;!-- Simplified: the full page contains more markup -->\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">table\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">tbody\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">tr\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> data-session-id\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3f2b1c9a-7d4e-4a61-9b2f-5c8e1d0a6b7c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">3f2b…6b7c\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> data-utc\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-19T14:07:09+00:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">Sep 19, 2026, 2:07 PM UTC\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">6\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> \u0026#x3C;!-- messages -->\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> \u0026#x3C;!-- tool calls -->\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">web\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">td\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> \u0026#x3C;!-- channel -->\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">tr\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">tbody\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">table\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get Conversation","path":"/conversations/","servers":[{"url":"https://console.eka.care"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{"agent_id":{"schema":[{"type":"string","description":"ID of the agent whose conversations you want to list.","required":true}]},"date_preset":{"schema":[{"type":"string","description":"Preset date range. One of `today` , `7d` , `30d` , `month` , `custom` , `all` . Use `custom` together with `date_from` and `date_to` ."}]},"date_from":{"schema":[{"type":"string","description":"Start date (inclusive), format `YYYY-MM-DD` . Used when `date_preset=custom` ."}]},"date_to":{"schema":[{"type":"string","description":"End date (inclusive), format `YYYY-MM-DD` . Used when `date_preset=custom` ."}]},"filter_session_id":{"schema":[{"type":"string","description":"Return only the conversation with this session ID. Other filters are ignored when this is set."}]},"filter_tool_name":{"schema":[{"type":"string","description":"Return only conversations in which the agent called this tool."}]},"filter_tool_param_name":{"schema":[{"type":"string","description":"Narrow `filter_tool_name` to calls where this input parameter was set. Requires `filter_tool_name` ."}]},"filter_tool_param_value":{"schema":[{"type":"string","description":"Value that `filter_tool_param_name` must equal. Requires `filter_tool_name` ."}]},"filter_user_feedback":{"schema":[{"type":"string","description":"`1` = only conversations with end-user feedback, `0` = only conversations without it. Omit for all."}]},"filter_has_feedback":{"schema":[{"type":"string","description":"`1` = only conversations with annotation feedback, `0` = only conversations without it. Omit for all."}]},"filter_annotator_oid":{"schema":[{"type":"string","description":"Return only conversations annotated by this user ID."}]},"filter_channel":{"schema":[{"type":"string","description":"One of `web` , `whatsapp` , `voice` . Repeat the parameter to include several channels, for example `filter_channel=web\u0026filter_channel=whatsapp` ."}]},"filter_min_msgs":{"schema":[{"type":"integer","description":"Minimum total number of messages in the conversation."}]},"filter_max_msgs":{"schema":[{"type":"integer","description":"Maximum total number of messages in the conversation."}]},"filter_min_user_msgs":{"schema":[{"type":"integer","description":"Minimum number of messages sent by the user."}]},"filter_max_user_msgs":{"schema":[{"type":"integer","description":"Maximum number of messages sent by the user."}]},"page":{"schema":[{"type":"integer","description":"Page number."}]},"page_size":{"schema":[{"type":"integer","description":"Results per page. One of `25` , `50` , `100` ."}]}},"header":{"Authorization":{"schema":[{"type":"string","description":"Bearer token. Format: `Bearer \u003ctoken>`","required":true}]}},"cookie":{},"path":{}},"body":{}},"response":{},"deprecated":false}},"jsLinks":["/_mintlify/custom/ekacare/274025ccf21300f6/api-reference-link.js","/_mintlify/custom/ekacare/d45043582cd01159/ask-ai.js","/_mintlify/custom/ekacare/42ebe35a74070514/console-links.js","/_mintlify/custom/ekacare/5e6903411e400df6/footer-mark.js","/_mintlify/custom/ekacare/5f178d6c6749d135/sidebar-memory.js"],"subdomain":"ekacare","siteName":"Eka Developer Platform APIs","title":"Get Conversation - Eka Developer Platform APIs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T06:21:53.751Z","originalFileLocation":"docs/agents/get-conversation.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=\"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Eka Developer Platform APIs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_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/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ekacare/I5vwrJDJkiTYS8E3/_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/ekacare/I5vwrJDJkiTYS8E3/_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/ekacare/I5vwrJDJkiTYS8E3/_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/ekacare/I5vwrJDJkiTYS8E3/_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/ekacare/I5vwrJDJkiTYS8E3/_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/ekacare/I5vwrJDJkiTYS8E3/_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/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Conversation - Eka Developer Platform APIs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Eka Developer Platform APIs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.eka.care/docs/agents/get-conversation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ekacare.mintlify.site/_mintlify/api/og/v2?division=MedAssist+APIs\u0026amp;title=Get+Conversation\u0026amp;description=Returns+the+conversations+%28sessions%29+for+a+MedAssist+agent+as+an+HTML+page%2C+with+optional+filters.\u0026amp;theme=ebd9a500ade8f2a489d311f1\u0026amp;signature=a3f079559d71fce468fb0c9951e9b5a74e67a7adb47a5cdfddef17aa3761ba13\">\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 Conversation - Eka Developer Platform APIs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ekacare.mintlify.site/_mintlify/api/og/v2?division=MedAssist+APIs\u0026amp;title=Get+Conversation\u0026amp;description=Returns+the+conversations+%28sessions%29+for+a+MedAssist+agent+as+an+HTML+page%2C+with+optional+filters.\u0026amp;theme=ebd9a500ade8f2a489d311f1\u0026amp;signature=a3f079559d71fce468fb0c9951e9b5a74e67a7adb47a5cdfddef17aa3761ba13\">\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/ekacare/I5vwrJDJkiTYS8E3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Eka Developer Platform APIs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5B45C9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.eka.care/docs/agents/get-conversation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/agents/get-conversation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.eka.care/#organization\",\"name\":\"Eka Developer Platform APIs\",\"url\":\"https://developer.eka.care\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.eka.care/vagus/clzwrv3o600260ti3bg9q1det.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.eka.care#website\",\"name\":\"Eka Developer Platform APIs\",\"url\":\"https://developer.eka.care\",\"publisher\":{\"@id\":\"https://developer.eka.care/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.eka.care/docs/agents/get-conversation#webpage\",\"url\":\"https://developer.eka.care/docs/agents/get-conversation\",\"name\":\"Get Conversation\",\"description\":\"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.\",\"dateModified\":\"2026-10-30T06:21:53.751Z\",\"isPartOf\":{\"@id\":\"https://developer.eka.care#website\"},\"breadcrumb\":{\"@id\":\"https://developer.eka.care/docs/agents/get-conversation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.eka.care/docs/agents/get-conversation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Medical Agents\",\"item\":\"https://developer.eka.care/docs/products/agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Conversation\",\"item\":\"https://developer.eka.care/docs/agents/get-conversation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.eka.care/docs/agents/get-conversation#apireference\",\"headline\":\"Get Conversation\",\"name\":\"Get Conversation\",\"description\":\"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.\",\"url\":\"https://developer.eka.care/docs/agents/get-conversation\",\"mainEntityOfPage\":{\"@id\":\"https://developer.eka.care/docs/agents/get-conversation#webpage\"},\"dateModified\":\"2026-10-30T06:21:53.751Z\",\"publisher\":{\"@id\":\"https://developer.eka.care/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.eka.care#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Eka Developer Platform APIs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Eka Developer Platform APIs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/agents/get-conversation.md","siteName":"Eka Developer Platform APIs","nav":{"global":null,"products":[{"product":"Clinical AI","icon":"sparkles","description":"The medical scribe, document parsing and the clinical MCP server, to build your own tools.","menu":[{"item":"Medical Scribe","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/mic.svg","description":"Consultations become structured notes that complete the chart","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/scribe/overview"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/scribe/sessions/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/get-started/ekascribe-changelog"}]}]},{"item":"Medical Document Parsing","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/brain-circuit.svg","description":"Any medical record, in any format, becomes structured data","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/models/medical-document-parsing"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/models/medical-document-parsing/introduction"}]}]},{"item":"Clinical MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/stethoscope.svg","description":"Ground your agent in Indian drugs, treatment protocols, pharmacology and clinical calculators","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/datasets/build-with-ai/mcp-server/introduction"}]}]}],"pages":[{"title":"Clinical AI","href":"/docs/scribe/overview"}]},{"product":"ABDM Connect","icon":"hospital","description":"ABHA, consent and record exchange across India's health stack, plus insurance claims.","menu":[{"item":"HIE-CM","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/arrow-left-right.svg","description":"ABHA, care contexts, consent and records","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/hie-cm/about"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/hie-cm/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/hie-cm/changelog"}]}]},{"item":"NHCX","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/shield-check.svg","description":"Eligibility, pre-auth and insurance claims","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/nhcx/getting-started"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/nhcx/search-payers"}]}]},{"item":"UHI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/network.svg","description":"Blood bank search and consultations across the network","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/uhi/journeys/uhi-book-physical-consultation"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/uhi/blood-bank/state-district"}]}]}],"pages":[{"title":"ABDM Connect","href":"/docs/hie-cm/about"}]},{"product":"Platform","icon":"key","description":"Get started, sign-in, webhooks and encryption, shared by every product.","menu":[{"item":"Get started","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/rocket.svg","description":"Overview, products and glossary","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/get-started/overview"}]}]},{"item":"Auth","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/key-round.svg","description":"Client credentials, OAuth2 and OIDC","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/auth/invite-flow"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/auth/getting-started"}]}]},{"item":"Webhooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/webhook.svg","description":"Register, receive and verify events","tabs":[{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/webhooks/getting-started"}]}]},{"item":"Encryption","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/lock.svg","description":"End-to-end encryption and IP allowlisting","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/encryption/guide"}]}]}],"pages":[{"title":"Platform","href":"/docs/get-started/overview"}]},{"product":"Build","icon":"hammer","description":"Eka EMR, worked examples, the Eka MCP server and Eka open source.","menu":[{"item":"Eka EMR","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/clipboard-list.svg","description":"Patients, appointments and prescriptions","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/emr/patients"}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/emr/instructions/before-you-begin"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/get-started/emr-changelog"}]}]},{"item":"Cookbook","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/chef-hat.svg","description":"Worked examples that combine Eka products","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/get-started/cookbook"}]}]},{"item":"Eka MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/plug.svg","description":"Connect your agent to Eka EMR: patients, appointments and prescriptions","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/emr/build-with-ai/mcp-server/introduction"}]}]},{"item":"Eka Open Source","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/git-branch.svg","description":"Agent SDKs, document printing and app building blocks, on GitHub","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/open-source/code"}]}]}],"pages":[{"title":"Build","href":"/docs/emr/patients"}]},{"product":"Newsboard","icon":"newspaper","description":"What changed across Eka, and the research behind it.","menu":[{"item":"Eka Labs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/flask-conical.svg","description":"Open models, datasets and research for AI in Indian healthcare","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/models/spotlight"}]}]},{"item":"Under the hood","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/activity.svg","description":"Monthly notes on reliability and security","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/get-started/under-the-hood"}]}]},{"item":"Changelog","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/history.svg","description":"What changed across Eka, week by week","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/get-started/changelog"}]}]}],"pages":[{"title":"Newsboard","href":"/docs/models/spotlight"}]},{"product":"More from Eka","icon":"box-archive","description":"Products kept out of the navigation. Their pages stay live, listed on /sitemap.","hidden":true,"menu":[{"item":"Medical Agents","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/bot.svg","description":"A ready-made medical assistant, a kit to build your own agent, and SDKs to embed them","tabs":[{"tab":"Documentation","pages":[{"group":"Medical Agents","pages":[{"icon":"robot","title":"Agents","description":"Build an agent for your own purpose, give it Eka's medical tools and your EMR data, and put it in front of your users.","href":"/docs/products/agents"},{"icon":"comments","title":"MedAssist","description":"Agentic medical assistant for real-time medical conversations using medical LLMs","href":"/docs/agents/medassist"},{"group":"MedAssist","icon":"mobile","expanded":true,"pages":[{"group":"MedAssist APIs","icon":"mobile","pages":[{"icon":"download","title":"Get Conversation","api":"GET https://console.eka.care/conversations/","href":"/docs/agents/get-conversation"},{"icon":"download","title":"Get Messages","api":"GET https://console.eka.care/conversations/{conversation_id}/messages/","description":"Returns the full transcript of a MedAssist conversation, including tool calls, user feedback and session context.","href":"/docs/agents/get-messages"},{"icon":"globe","title":"WebSocket API","description":"Real-time communication with MedAssist through WebSocket connection","href":"/docs/agents/websocket"}]},{"group":"MedAssist Client SDKs","icon":"laptop-binary","root":{"icon":"compass","title":"Overview","description":"Add a Synapse AI medical assistant to any website, React app, or custom UI","sidebarTitle":"Synapse SDK","href":"/docs/agents/medassist/synapse/introduction"},"pages":[{"icon":"file-lines","title":"Choose your integration","description":"Decide between the embed widget, the React SDK, and the core SDK","href":"/docs/agents/medassist/synapse/choose-integration"},{"group":"Embed widget","icon":"code","pages":[{"icon":"bolt","title":"Quickstart","description":"Add the MedAssist widget to any website with one tag and a script","href":"/docs/agents/medassist/synapse/embed/quickstart"},{"icon":"file-lines","title":"Customization \u0026 overrides","description":"Every attribute, theme option, and config override for the embed widget","href":"/docs/agents/medassist/synapse/embed/customization"},{"icon":"java","title":"JavaScript API","description":"Configure the embed widget programmatically with EkaMedAssist.init()","href":"/docs/agents/medassist/synapse/embed/javascript-api"}]},{"group":"React SDK","icon":"react","pages":[{"icon":"gear","title":"Installation \u0026 setup","description":"Render the prebuilt MedAssist chat widget inside your React app","href":"/docs/agents/medassist/synapse/react/installation"},{"icon":"sliders","title":"Configuration reference","description":"Every option in MedAssistConfig","href":"/docs/agents/medassist/synapse/react/configuration"},{"icon":"file-lines","title":"Theming \u0026 design system","description":"Brand the MedAssist widget with the Eka design system","href":"/docs/agents/medassist/synapse/react/theming"}]},{"group":"Core SDK","icon":"cube","pages":[{"icon":"bolt","title":"Quickstart","description":"Build a custom MedAssist UI on the raw Synapse core SDK","href":"/docs/agents/medassist/synapse/core/quickstart"},{"icon":"file-lines","title":"Events","description":"Subscribe to real-time events from the Synapse session","href":"/docs/agents/medassist/synapse/core/events"},{"icon":"screwdriver-wrench","title":"Tool calls \u0026 elicitation","description":"Render the inputs the agent asks for and send results back","href":"/docs/agents/medassist/synapse/core/tool-calls"},{"icon":"file-lines","title":"Voice \u0026 audio","description":"Record audio and run voice-mode conversations","href":"/docs/agents/medassist/synapse/core/voice"},{"icon":"code","title":"API reference","description":"Methods, types, and enums of @eka-care/medassist-core","href":"/docs/agents/medassist/synapse/core/api-reference"}]}]}]},{"group":"Tools","icon":"screwdriver-wrench","pages":[{"group":"Echo Agent Kit","icon":"robot","root":{"icon":"compass","title":"Overview","description":"Build AI agents with Echo - an open-source, LLM-agnostic framework","sidebarTitle":"About Echo Agent Kit","href":"/docs/agents/agent-kit/introduction"},"pages":[{"icon":"bolt","title":"Quickstart","description":"Build your first AI agent with Echo in 5 minutes","href":"/docs/agents/agent-kit/quickstart"},{"icon":"file-lines","title":"Installation","description":"Install Echo - open-source agent framework","href":"/docs/agents/agent-kit/installation"},{"icon":"sliders","title":"Configuration","description":"Configure LLMs, tools, and agent settings","href":"/docs/agents/agent-kit/configuration"},{"icon":"robot","title":"Agents","description":"Build agents with GenericAgent","href":"/docs/agents/agent-kit/agents"},{"icon":"screwdriver-wrench","title":"Tools","description":"Create base tools, elicitation tools, and use MCP tools","href":"/docs/agents/agent-kit/tools"},{"icon":"hospital","title":"LLM Providers","description":"Configure OpenAI, Anthropic, and Gemini","href":"/docs/agents/agent-kit/llm-providers"},{"icon":"file-lines","title":"Streaming","description":"Real-time response streaming with typed events","href":"/docs/agents/agent-kit/streaming"},{"icon":"plug","title":"MCP Integration","description":"Connect to MCP servers for external tools","href":"/docs/agents/agent-kit/mcp-integration"},{"icon":"file-lines","title":"Examples","description":"Complete working examples","href":"/docs/agents/agent-kit/examples"}]},{"group":"Synapse Client SDK","icon":"comments","root":{"icon":"compass","title":"Overview","description":"Add a Synapse AI medical assistant to any website, React app, or custom UI","sidebarTitle":"About Synapse","href":"/docs/agents/synapse/introduction"},"pages":[{"icon":"file-lines","title":"Choose your integration","description":"Decide between the embed widget, the React SDK, and the core SDK","href":"/docs/agents/synapse/choose-integration"},{"group":"Embed widget","icon":"code","pages":[{"icon":"bolt","title":"Quickstart","description":"Add the MedAssist widget to any website with one tag and a script","href":"/docs/agents/synapse/embed/quickstart"},{"icon":"file-lines","title":"Customization \u0026 overrides","description":"Every attribute, theme option, and config override for the embed widget","href":"/docs/agents/synapse/embed/customization"},{"icon":"java","title":"JavaScript API","description":"Configure the embed widget programmatically with EkaMedAssist.init()","href":"/docs/agents/synapse/embed/javascript-api"}]},{"group":"React SDK","icon":"react","pages":[{"icon":"gear","title":"Installation \u0026 setup","description":"Render the prebuilt MedAssist chat widget inside your React app","href":"/docs/agents/synapse/react/installation"},{"icon":"sliders","title":"Configuration reference","description":"Every option in MedAssistConfig","href":"/docs/agents/synapse/react/configuration"},{"icon":"file-lines","title":"Theming \u0026 design system","description":"Brand the MedAssist widget with the Eka design system","href":"/docs/agents/synapse/react/theming"}]},{"group":"Core SDK","icon":"cube","pages":[{"icon":"bolt","title":"Quickstart","description":"Build a custom MedAssist UI on the raw Synapse core SDK","href":"/docs/agents/synapse/core/quickstart"},{"icon":"file-lines","title":"Events","description":"Subscribe to real-time events from the Synapse session","href":"/docs/agents/synapse/core/events"},{"icon":"screwdriver-wrench","title":"Tool calls \u0026 elicitation","description":"Render the inputs the agent asks for and send results back","href":"/docs/agents/synapse/core/tool-calls"},{"icon":"file-lines","title":"Voice \u0026 audio","description":"Record audio and run voice-mode conversations","href":"/docs/agents/synapse/core/voice"},{"icon":"code","title":"API reference","description":"Methods, types, and enums of @eka-care/medassist-core","href":"/docs/agents/synapse/core/api-reference"}]}]}]},{"title":"Build with AI","description":"Set up a coding agent to build with Eka Agents: the reference skill, and the MCP servers your agent can use as tools.","icon":"wand-magic-sparkles","href":"/docs/agents/build-with-ai"}]}]},{"tab":"APIs \u0026 SDKs","pages":[{"title":"APIs \u0026 SDKs","href":"/api-sdk/agents/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/get-started/ekaagents-changelog"}]}]},{"item":"Medical Knowledge","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/database.svg","description":"Drugs, labs, protocols and medical knowledge","tabs":[{"tab":"Documentation","pages":[{"group":"Medical Knowledge","pages":[{"icon":"file-lines","title":"Accepted drug forms","description":"The dosage forms a medication's form_name is matched against.","href":"/docs/datasets/forms"},{"sidebarTitle":"Knowledge bases","title":null,"description":null,"href":"/docs/datasets/overview"},{"title":"Build with AI","description":"Set up a coding agent to build with Medical Knowledge: the reference skill and the MedAI Tools MCP server.","icon":"wand-magic-sparkles","href":"/docs/datasets/build-with-ai"}]}]},{"tab":"APIs \u0026 SDKs","pages":[{"group":"Medical Knowledge API","pages":[{"icon":"compass","title":"Overview","description":"Upload and manage your own formulary catalogs, then use them in Eka's medical search.","sidebarTitle":"Datasets API","href":"/api-sdk/datasets/overview"},{"group":"Dataset types","expanded":true,"pages":[{"title":"Medications","description":"What you can upload for each drug in your formulary, which columns are mandatory, and the values each one accepts.","href":"/api-sdk/datasets/medications"},{"title":"Lab investigations","description":"What you can upload for each lab test, scan or package your clinicians can order, which columns are mandatory, and the values each one accepts.","href":"/api-sdk/datasets/lab-investigations"},{"title":"Lab results","description":"What you can upload for each value a lab reports, such as hemoglobin, which columns are mandatory, and the values each one accepts.","href":"/api-sdk/datasets/lab-results"},{"title":"Lab panels","description":"What you can upload for each panel of results a doctor fills in, such as CBC, which columns are mandatory, and the rule for its members.","href":"/api-sdk/datasets/lab-panels"},{"title":"Symptoms","description":"What you can upload for each symptom, which columns are mandatory, and the values each one accepts.","href":"/api-sdk/datasets/symptoms"},{"title":"Diagnoses","description":"What you can upload for each diagnosis, which columns are mandatory, and the values each one accepts.","href":"/api-sdk/datasets/diagnoses"}]},{"group":"Datasets","icon":"database","expanded":true,"pages":[{"openapi":"post /admin/datasets/v1/","title":"Create or update records","description":"Writes records to the catalog. Send either a JSON list of records (`Content-Type: application/json`) or a CSV file (`multipart/form-data`, field `file`, headers as in the CSV template).\n\nWrites are **all-or-nothing**: if any record or row fails validation, nothing in the request is written and `errors` lists every problem.\n\n**Modes**\n- `upsert` (default): records in the request are inserted, or merged into the existing record with the same id. Records not in the request are left alone.\n- `reconcile`: the request is treated as your **complete** catalog. Records in it are inserted or updated, and every active record not in it is deactivated (never hard-deleted, so it can be restored by sending it again). If a reconcile would deactivate more than half of a non-empty catalog, it is rejected with a `shrink_guard` error unless you pass `confirm_shrink=true`. An empty list or a CSV with no data rows is always rejected in this mode.\n\nUse `dry_run=true` to validate and get the counts without writing anything.\n\nFor `type=lab_panel`, every id in `member_result_ids` must already be stored as a `lab_result` in your workspace, so write results first. A panel needs at least one member and an id can appear once. A member that is not a stored result is rejected with the message `\u003cid> is not a result in this catalog`.\n\n`overwrite=true` (CSV only) hard-deletes the whole catalog and replaces it with the file, in one transaction. It cannot be combined with `mode=reconcile`; prefer `reconcile`, which can be undone.","href":"/api-sdk/datasets/write"},{"openapi":"get /admin/datasets/v1/","title":"List dataset records","description":"Returns one page of the catalog for the given type, newest first. Inactive (soft-deleted or deactivated) records are left out unless `show_inactive=1`.\n\nUnlike the other endpoints, this one returns the page object directly, without the `success` / `message` envelope.","href":"/api-sdk/datasets/list"},{"openapi":"get /admin/datasets/v1/{entity_id}/","title":"Get a record","description":"Fetches one record by your own id for it.","href":"/api-sdk/datasets/get"},{"openapi":"get /admin/datasets/v1/export.csv","title":"Export the catalog as CSV","description":"Downloads the catalog as CSV, in the same column order the write endpoint accepts, so an export can be uploaded again unchanged.","href":"/api-sdk/datasets/export"},{"openapi":"get /admin/datasets/v1/batches/","title":"List CSV import batches","description":"Your recent CSV uploads for this type, newest first, with their row counts. Use it to confirm that a sync landed.\n\nReturns the page object directly, without the `success` / `message` envelope.","href":"/api-sdk/datasets/batches"},{"openapi":"post /admin/datasets/v1/delete/","title":"Deactivate records","description":"Soft-deletes the records with the given ids: they stop appearing in lists and partner search but are kept, and sending them again in a write restores them. Ids that don't exist are reported in `not_found`.","href":"/api-sdk/datasets/delete"},{"openapi":"post /admin/datasets/v1/delete-all/","title":"Delete the whole catalog","description":"**Permanently** deletes every record of this type in your workspace. This cannot be undone. Requires `confirm=true`. To remove records reversibly, use a reconcile write or deactivate them instead.","href":"/api-sdk/datasets/delete-all"},{"openapi":"get /admin/datasets/v1/search-status/","title":"Get partner search status","description":"Whether partner search in the Eka Medical Database uses this catalog. Off until you switch it on.","href":"/api-sdk/datasets/search-status-get"},{"openapi":"post /admin/datasets/v1/search-status/","title":"Turn partner search on or off","description":"Switches partner search in the Eka Medical Database to use this catalog, or back off. Turn it on once, after your first successful write; later syncs don't need to touch it. Turning it off is the rollback if a catalog turns out to be wrong.\n\nPanel search (`lab_panel`) can only be on while result search (`lab_result`) is on for the same knowledge base. A request that would break this is refused with a 400 and nothing changes: turning `lab_panel` on while `lab_result` is off returns code `turn_on_results_first`, turning `lab_panel` on while `lab_result` is on in a different knowledge base returns code `results_in_other_kb`, and turning `lab_result` off while `lab_panel` is on in the same knowledge base returns code `turn_off_panels_first`.","href":"/api-sdk/datasets/search-status-set"}]},{"group":"Medical Knowledge-bases","icon":"book-open-cover","pages":[{"openapi":"post /eka-mcp/protocols/v1/search","title":"Search Protocols","description":"This endpoint returns pages from the protocols based on the query, publishers and tag.","href":"/api-sdk/datasets/protocols/search"},{"openapi":"get /eka-mcp/protocols/v1/publishers/all","title":"Get all Publishers","description":"This endpoint returns a list of all protocols publishers","href":"/api-sdk/datasets/protocols/publishers"},{"openapi":"get /eka-mcp/medications/v1/search","title":"Search Medications","description":"This endpoint returns suggested/similar drugs from the Eka medical database for the given parameters - drug name, generics, form or volume.\nSuggestions are ranked based on similarity and also popularity (custom eka metric) of the medicine","href":"/api-sdk/datasets/medications/search"},{"openapi":"get /eka-mcp/pharmacology/v1/search","title":"Get Generic (pharmacology) Information","description":null,"href":"/api-sdk/datasets/medications/pharmacology"},{"title":"SNOMED Linking (Deprecated)","openapi":"get /eka-mcp/linking/v1/snomed","description":"**Deprecated.** Use `POST /med-link/nel/link` from the Medical Entity Codification API instead — see the [Link Entity](/api-sdk/models/medical-entity-codification/link-entity) docs. This endpoint remains operational for existing integrations.","href":"/api-sdk/datasets/linking/snomed"}]}]}]}]},{"item":"Understanding Integrations","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/compass.svg","description":"For teams already on an Eka product: connect Eka EMR, IPD, Billing and Health Records to your own systems through the same APIs developers build with","tabs":[{"tab":"Documentation","pages":[{"group":"Understanding Integrations","pages":[{"title":"Understanding Integrations","description":"For teams already on an Eka product: connect Eka EMR, IPD, Billing and Health Records to your own systems through the same APIs developers build with.","icon":"plug","href":"/docs/integrations/overview"},{"icon":"notes-medical","title":"Integrations","description":"Connect the Eka products you already use to your own systems: Medical Scribe and Eka EMR, with IPD, Billing and Health Records.","href":"/docs/solutions/scribe-and-medical-records"}]}]}]},{"item":"All APIs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/ekacare/images/icons/products/code.svg","description":"Every Eka API, by product","tabs":[{"tab":"APIs \u0026 SDKs","pages":[{"group":"All APIs","pages":[{"title":"API Reference","description":"Every Eka API, by product family. Each product's reference starts from the link below.","href":"/api-sdk"}]}]}]}]}]},"basePath":"","title":"Get Conversation - Eka Developer Platform APIs","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CrDfRf61.js","snippetPresets-Dv-cOUrx.js","utils-BUTreAgv.js","style-to-object-BY3JEAdk.js","utils-wsznt9RM.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DEsMlaPy.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DontW4xJ.js","_Uint8Array-pP7X6_RM.js","isObject-FP1Yky1u.js","ApiExamples-CU_aGGP0.js","usePlaygroundInputsStore-7dNmUIbS.js","shallow-fTtruD8x.js","isEqual-BRfNFpSD.js","CodeSnippets-52884wUJ.js","CodeSnippet-eoRjC4Le.js","getApiPlaygroundDisplay-CZyAPlR2.js","Page-Cr9IwkK7.js","DynamicMarkdown-NFqqduU7.js","SectionHeading-DQ-mJoAt.js","icon-DXTBUt6s.js","MethodPill-2v-b3js5.js","getPastedJson-v_8Y1_4v.js","DuplicateIcon-DXIkhZIo.js","createIcon-DRpYuPZs.js","axios-CsQoIw0U.js"]}