{ "messages": [ { "msg_id": "1789461095244-0", "role": "user", "content": [ { "type": "text", "text": "How can I get rid of kidney stones faster?", "tid": "0" } ], "usage": null }, { "msg_id": "1789461095272-0", "role": "assistant", "content": [ { "type": "text", "text": "Drinking plenty of water usually helps. A urologist can advise on the best treatment for your case. Would you like me to find a specialist?", "tid": "1" }, { "type": "tool_call", "tool_id": "toolu_01AbCdEfGhIjKlMnOpQrStUv", "tool_name": "elicit_selection", "tool_input": { "component": "pills", "text": "How would you like to continue?", "options": ["Find a urologist", "Book an appointment", "More information"] } } ], "usage": { "input_tokens": 2, "output_tokens": 445, "latency_ms": null } }, { "msg_id": "1789461174145", "role": "tool", "content": [ { "type": "tool_result", "tool_id": "toolu_01AbCdEfGhIjKlMnOpQrStUv", "result": "Find a urologist" } ], "usage": null } ], "feedback": { "present": false, "type": "default", "nps_base5": null, "options": [] }, "user_context": null, "tz": "Asia/Kolkata", "initial_context": {}}
Use this endpoint to read everything that happened in one conversation: user messages, agent replies, tool calls and their results, plus any feedback the user left.Get the conversation ID from the data-session-id values returned by Get Conversation.
Headers
string
required
Bearer token. Format: Bearer <token>
Path parameters
string
required
ID of the conversation (the data-session-id value from Get Conversation).
Response
object[]
Messages in the order they were sent.
Show properties
string
Unique ID of the message.
string
Who produced the message: user, assistant or tool.
object[]
Parts that make up the message. Each part has a type:
text: plain text. Fields: text, tid (ID of the text part).
tool_call: the agent called a tool (assistant messages only). Fields: tool_id, tool_name, tool_input (object with the tool’s arguments).
tool_result: the result returned for a tool call (tool messages only). Fields: tool_id (matches the tool_call), result, and optional sources (array of { "label", "url" }).
For interactive tools such as elicit_selection, result holds the option the user picked or the text they typed.
object | null
Token usage for assistant messages; null for other roles.
Show properties
integer
Input tokens used.
integer
Output tokens generated.
integer | null
LLM response time in milliseconds, if recorded.
object
Feedback the end user left for this conversation.
Show properties
boolean
Whether any feedback was given.
string
Feedback form type.
integer | null
Rating from 1 to 5, or null if not rated.
object[]
Feedback options the user selected. Each has label and value.
object | null
Details of the signed-in user, if the session was authenticated. null otherwise.
Show properties
string
User’s name.
integer
Age.
string
Gender.
string
Marital status.
string
Date of birth.
string
Mobile number.
boolean
Whether the user was signed in.
string | null
Timezone of the session, as an IANA name (for example Asia/Kolkata).
object
Context that was passed when the session was created. Empty object if none.
This response can contain patient health information and personal details. Store and display it according to your data-protection obligations.
{ "messages": [ { "msg_id": "1789461095244-0", "role": "user", "content": [ { "type": "text", "text": "How can I get rid of kidney stones faster?", "tid": "0" } ], "usage": null }, { "msg_id": "1789461095272-0", "role": "assistant", "content": [ { "type": "text", "text": "Drinking plenty of water usually helps. A urologist can advise on the best treatment for your case. Would you like me to find a specialist?", "tid": "1" }, { "type": "tool_call", "tool_id": "toolu_01AbCdEfGhIjKlMnOpQrStUv", "tool_name": "elicit_selection", "tool_input": { "component": "pills", "text": "How would you like to continue?", "options": ["Find a urologist", "Book an appointment", "More information"] } } ], "usage": { "input_tokens": 2, "output_tokens": 445, "latency_ms": null } }, { "msg_id": "1789461174145", "role": "tool", "content": [ { "type": "tool_result", "tool_id": "toolu_01AbCdEfGhIjKlMnOpQrStUv", "result": "Find a urologist" } ], "usage": null } ], "feedback": { "present": false, "type": "default", "nps_base5": null, "options": [] }, "user_context": null, "tz": "Asia/Kolkata", "initial_context": {}}
Was this page helpful?
{"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-messages","slug":"/docs/agents/get-messages","pageMetadata":{"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.","authMethod":"bearer","href":"/docs/agents/get-messages","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 full transcript of a MedAssist conversation, including tool calls, user feedback and session context.\"\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`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use this endpoint to read everything that happened in one conversation: user messages, agent replies, tool calls and their results, plus any feedback the user left.`}),`\n`,_jsxs(_components.p,{children:[`Get the conversation ID from the `,_jsx(_components.code,{children:`data-session-id`}),` values returned by `,_jsx(_components.a,{href:`/docs/agents/get-conversation`,children:`Get Conversation`}),`.`]}),`\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:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`conversation_id`,type:`string`,required:true,id:`param-conversation-id`,children:_jsxs(_components.p,{children:[`ID of the conversation (the `,_jsx(_components.code,{children:`data-session-id`}),` value from Get Conversation).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`messages`,type:`object[]`,id:`param-messages`,children:[_jsx(_components.p,{children:`Messages in the order they were sent.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`msg_id`,type:`string`,id:`param-msg-id`,children:_jsx(_components.p,{children:`Unique ID of the message.`})}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:_jsxs(_components.p,{children:[`Who produced the message: `,_jsx(_components.code,{children:`user`}),`, `,_jsx(_components.code,{children:`assistant`}),` or `,_jsx(_components.code,{children:`tool`}),`.`]})}),_jsxs(ResponseField,{name:`content`,type:`object[]`,id:`param-content`,children:[_jsxs(_components.p,{children:[`Parts that make up the message. Each part has a `,_jsx(_components.code,{children:`type`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`text`}),`: plain text. Fields: `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`tid`}),` (ID of the text part).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tool_call`}),`: the agent called a tool (assistant messages only). Fields: `,_jsx(_components.code,{children:`tool_id`}),`, `,_jsx(_components.code,{children:`tool_name`}),`, `,_jsx(_components.code,{children:`tool_input`}),` (object with the tool’s arguments).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tool_result`}),`: the result returned for a tool call (tool messages only). Fields: `,_jsx(_components.code,{children:`tool_id`}),` (matches the `,_jsx(_components.code,{children:`tool_call`}),`), `,_jsx(_components.code,{children:`result`}),`, and optional `,_jsx(_components.code,{children:`sources`}),` (array of `,_jsx(_components.code,{children:`{ \"label\", \"url\" }`}),`).`]}),`\n`]}),_jsxs(_components.p,{children:[`For interactive tools such as `,_jsx(_components.code,{children:`elicit_selection`}),`, `,_jsx(_components.code,{children:`result`}),` holds the option the user picked or the text they typed.`]})]}),_jsxs(ResponseField,{name:`usage`,type:`object | null`,id:`param-usage`,children:[_jsxs(_components.p,{children:[`Token usage for assistant messages; `,_jsx(_components.code,{children:`null`}),` for other roles.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`input_tokens`,type:`integer`,id:`param-input-tokens`,children:`Input tokens used.`}),_jsx(ResponseField,{name:`output_tokens`,type:`integer`,id:`param-output-tokens`,children:`Output tokens generated.`}),_jsx(ResponseField,{name:`latency_ms`,type:`integer | null`,id:`param-latency-ms`,children:`LLM response time in milliseconds, if recorded.`})]})]})]})]}),`\n`,_jsxs(ResponseField,{name:`feedback`,type:`object`,id:`param-feedback`,children:[_jsx(_components.p,{children:`Feedback the end user left for this conversation.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`present`,type:`boolean`,id:`param-present`,children:`Whether any feedback was given.`}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:`Feedback form type.`}),_jsxs(ResponseField,{name:`nps_base5`,type:`integer | null`,id:`param-nps-base5`,children:[`Rating from 1 to 5, or `,_jsx(_components.code,{children:`null`}),` if not rated.`]}),_jsxs(ResponseField,{name:`options`,type:`object[]`,id:`param-options`,children:[`Feedback options the user selected. Each has `,_jsx(_components.code,{children:`label`}),` and `,_jsx(_components.code,{children:`value`}),`.`]})]})]}),`\n`,_jsxs(ResponseField,{name:`user_context`,type:`object | null`,id:`param-user-context`,children:[_jsxs(_components.p,{children:[`Details of the signed-in user, if the session was authenticated. `,_jsx(_components.code,{children:`null`}),` otherwise.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:`User’s name.`}),_jsx(ResponseField,{name:`age`,type:`integer`,id:`param-age`,children:`Age.`}),_jsx(ResponseField,{name:`gender`,type:`string`,id:`param-gender`,children:`Gender.`}),_jsx(ResponseField,{name:`marital_status`,type:`string`,id:`param-marital-status`,children:`Marital status.`}),_jsx(ResponseField,{name:`dob`,type:`string`,id:`param-dob`,children:`Date of birth.`}),_jsx(ResponseField,{name:`mobile`,type:`string`,id:`param-mobile`,children:`Mobile number.`}),_jsx(ResponseField,{name:`is_authenticated`,type:`boolean`,id:`param-is-authenticated`,children:`Whether the user was signed in.`})]})]}),`\n`,_jsx(ResponseField,{name:`tz`,type:`string | null`,id:`param-tz`,children:_jsxs(_components.p,{children:[`Timezone of the session, as an IANA name (for example `,_jsx(_components.code,{children:`Asia/Kolkata`}),`).`]})}),`\n`,_jsx(ResponseField,{name:`initial_context`,type:`object`,id:`param-initial-context`,children:_jsx(_components.p,{children:`Context that was passed when the session was created. Empty object if none.`})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`This response can contain patient health information and personal details. Store and display it according to your data-protection obligations.`})})]})}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 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.","authMethod":"bearer","href":"/docs/agents/get-messages","hidden":true}}},"mdxSourceWithNoJs":{"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`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use this endpoint to read everything that happened in one conversation: user messages, agent replies, tool calls and their results, plus any feedback the user left.`}),`\n`,_jsxs(_components.p,{children:[`Get the conversation ID from the `,_jsx(_components.code,{children:`data-session-id`}),` values returned by `,_jsx(_components.a,{href:`/docs/agents/get-conversation`,children:`Get Conversation`}),`.`]}),`\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:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`conversation_id`,type:`string`,required:true,id:`param-conversation-id`,children:_jsxs(_components.p,{children:[`ID of the conversation (the `,_jsx(_components.code,{children:`data-session-id`}),` value from Get Conversation).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`messages`,type:`object[]`,id:`param-messages`,children:[_jsx(_components.p,{children:`Messages in the order they were sent.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`msg_id`,type:`string`,id:`param-msg-id`,children:_jsx(_components.p,{children:`Unique ID of the message.`})}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:_jsxs(_components.p,{children:[`Who produced the message: `,_jsx(_components.code,{children:`user`}),`, `,_jsx(_components.code,{children:`assistant`}),` or `,_jsx(_components.code,{children:`tool`}),`.`]})}),_jsxs(ResponseField,{name:`content`,type:`object[]`,id:`param-content`,children:[_jsxs(_components.p,{children:[`Parts that make up the message. Each part has a `,_jsx(_components.code,{children:`type`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`text`}),`: plain text. Fields: `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`tid`}),` (ID of the text part).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tool_call`}),`: the agent called a tool (assistant messages only). Fields: `,_jsx(_components.code,{children:`tool_id`}),`, `,_jsx(_components.code,{children:`tool_name`}),`, `,_jsx(_components.code,{children:`tool_input`}),` (object with the tool’s arguments).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tool_result`}),`: the result returned for a tool call (tool messages only). Fields: `,_jsx(_components.code,{children:`tool_id`}),` (matches the `,_jsx(_components.code,{children:`tool_call`}),`), `,_jsx(_components.code,{children:`result`}),`, and optional `,_jsx(_components.code,{children:`sources`}),` (array of `,_jsx(_components.code,{children:`{ \"label\", \"url\" }`}),`).`]}),`\n`]}),_jsxs(_components.p,{children:[`For interactive tools such as `,_jsx(_components.code,{children:`elicit_selection`}),`, `,_jsx(_components.code,{children:`result`}),` holds the option the user picked or the text they typed.`]})]}),_jsxs(ResponseField,{name:`usage`,type:`object | null`,id:`param-usage`,children:[_jsxs(_components.p,{children:[`Token usage for assistant messages; `,_jsx(_components.code,{children:`null`}),` for other roles.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`input_tokens`,type:`integer`,id:`param-input-tokens`,children:`Input tokens used.`}),_jsx(ResponseField,{name:`output_tokens`,type:`integer`,id:`param-output-tokens`,children:`Output tokens generated.`}),_jsx(ResponseField,{name:`latency_ms`,type:`integer | null`,id:`param-latency-ms`,children:`LLM response time in milliseconds, if recorded.`})]})]})]})]}),`\n`,_jsxs(ResponseField,{name:`feedback`,type:`object`,id:`param-feedback`,children:[_jsx(_components.p,{children:`Feedback the end user left for this conversation.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`present`,type:`boolean`,id:`param-present`,children:`Whether any feedback was given.`}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:`Feedback form type.`}),_jsxs(ResponseField,{name:`nps_base5`,type:`integer | null`,id:`param-nps-base5`,children:[`Rating from 1 to 5, or `,_jsx(_components.code,{children:`null`}),` if not rated.`]}),_jsxs(ResponseField,{name:`options`,type:`object[]`,id:`param-options`,children:[`Feedback options the user selected. Each has `,_jsx(_components.code,{children:`label`}),` and `,_jsx(_components.code,{children:`value`}),`.`]})]})]}),`\n`,_jsxs(ResponseField,{name:`user_context`,type:`object | null`,id:`param-user-context`,children:[_jsxs(_components.p,{children:[`Details of the signed-in user, if the session was authenticated. `,_jsx(_components.code,{children:`null`}),` otherwise.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:`User’s name.`}),_jsx(ResponseField,{name:`age`,type:`integer`,id:`param-age`,children:`Age.`}),_jsx(ResponseField,{name:`gender`,type:`string`,id:`param-gender`,children:`Gender.`}),_jsx(ResponseField,{name:`marital_status`,type:`string`,id:`param-marital-status`,children:`Marital status.`}),_jsx(ResponseField,{name:`dob`,type:`string`,id:`param-dob`,children:`Date of birth.`}),_jsx(ResponseField,{name:`mobile`,type:`string`,id:`param-mobile`,children:`Mobile number.`}),_jsx(ResponseField,{name:`is_authenticated`,type:`boolean`,id:`param-is-authenticated`,children:`Whether the user was signed in.`})]})]}),`\n`,_jsx(ResponseField,{name:`tz`,type:`string | null`,id:`param-tz`,children:_jsxs(_components.p,{children:[`Timezone of the session, as an IANA name (for example `,_jsx(_components.code,{children:`Asia/Kolkata`}),`).`]})}),`\n`,_jsx(ResponseField,{name:`initial_context`,type:`object`,id:`param-initial-context`,children:_jsx(_components.p,{children:`Context that was passed when the session was created. Empty object if none.`})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`This response can contain patient health information and personal details. Store and display it according to your data-protection obligations.`})}),`\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/\u003cconversation-id>/messages/'`}),_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:`55`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`55`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"messages\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1789461095244-0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"How can I get rid of kidney stones faster?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1789461095272-0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Drinking plenty of water usually helps. A urologist can advise on the best treatment for your case. Would you like me to find a specialist?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tool_call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"toolu_01AbCdEfGhIjKlMnOpQrStUv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"elicit_selection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"component\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pills\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"How would you like to continue?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Find a urologist\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Book an appointment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"More information\"`}),_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`,_jsx(_components.span,{className:`line`,children:_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`445`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"latency_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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`,_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1789461174145\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tool_result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"toolu_01AbCdEfGhIjKlMnOpQrStUv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Find a urologist\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"feedback\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"present\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nps_base5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"options\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"user_context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tz\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Asia/Kolkata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"initial_context\"`}),_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`]})})})})]})}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 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.","authMethod":"bearer","href":"/docs/agents/get-messages","hidden":true}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"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/\u0026#x3C;conversation-id>/messages/'\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=\"json\">\u003ccode language=\"json\" numberOfLines=\"55\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"messages\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msg_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1789461095244-0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"How can I get rid of kidney stones faster?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"tid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msg_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1789461095272-0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"assistant\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Drinking plenty of water usually helps. A urologist can advise on the best treatment for your case. Would you like me to find a specialist?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tool_call\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tool_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"toolu_01AbCdEfGhIjKlMnOpQrStUv\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tool_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"elicit_selection\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tool_input\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"component\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pills\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"How would you like to continue?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"options\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Find a urologist\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Book an appointment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"More information\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"input_tokens\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"output_tokens\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">445\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"latency_ms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msg_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1789461174145\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tool\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tool_result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tool_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"toolu_01AbCdEfGhIjKlMnOpQrStUv\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Find a urologist\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"feedback\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"present\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"default\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nps_base5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"options\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"user_context\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tz\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Asia/Kolkata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"initial_context\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get Messages","path":"/conversations/{conversation_id}/messages/","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":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Bearer token. Format: `Bearer \u003ctoken>`","required":true}]}},"cookie":{},"path":{"conversation_id":{"schema":[{"type":"string","description":"ID of the conversation (the `data-session-id` value from Get Conversation).","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"messages":[{"type":"array","items":[{"type":"object","properties":{"msg_id":[{"type":"string","description":"Unique ID of the message."}],"role":[{"type":"string","description":"Who produced the message: `user` , `assistant` or `tool` ."}],"content":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Parts that make up the message. Each part has a `type` : `text` : plain text. Fields: `text` , `tid` (ID of the text part). `tool_call` : the agent called a tool (assistant messages only). Fields: `tool_id` , `tool_name` , `tool_input` (object with the tool’s arguments). `tool_result` : the result returned for a tool call (tool messages only). Fields: `tool_id` (matches the `tool_call` ), `result` , and optional `sources` (array of `{ \"label\", \"url\" }` ). For interactive tools such as `elicit_selection` , `result` holds the option the user picked or the text they typed."}],"usage":[{"type":"object","properties":{"input_tokens":[{"type":"integer","description":"Input tokens used."}],"output_tokens":[{"type":"integer","description":"Output tokens generated."}],"latency_ms":[{"type":"object","properties":{},"description":"LLM response time in milliseconds, if recorded."}]},"description":"Token usage for assistant messages; `null` for other roles."}]}}],"description":"Messages in the order they were sent."}],"feedback":[{"type":"object","properties":{"present":[{"type":"boolean","description":"Whether any feedback was given."}],"type":[{"type":"string","description":"Feedback form type."}],"nps_base5":[{"type":"object","properties":{},"description":"Rating from 1 to 5, or `null` if not rated."}],"options":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Feedback options the user selected. Each has `label` and `value` ."}]},"description":"Feedback the end user left for this conversation."}],"user_context":[{"type":"object","properties":{"name":[{"type":"string","description":"User’s name."}],"age":[{"type":"integer","description":"Age."}],"gender":[{"type":"string","description":"Gender."}],"marital_status":[{"type":"string","description":"Marital status."}],"dob":[{"type":"string","description":"Date of birth."}],"mobile":[{"type":"string","description":"Mobile number."}],"is_authenticated":[{"type":"boolean","description":"Whether the user was signed in."}]},"description":"Details of the signed-in user, if the session was authenticated. `null` otherwise."}],"tz":[{"type":"object","properties":{},"description":"Timezone of the session, as an IANA name (for example `Asia/Kolkata` )."}],"initial_context":[{"type":"object","properties":{},"description":"Context that was passed when the session was created. Empty object if none."}]}}],"examples":{"example":{"value":{"messages":[{"msg_id":"\u003cstring>","role":"\u003cstring>","content":[{}],"usage":{"input_tokens":123,"output_tokens":123,"latency_ms":{}}}],"feedback":{"present":true,"type":"\u003cstring>","nps_base5":{},"options":[{}]},"user_context":{"name":"\u003cstring>","age":123,"gender":"\u003cstring>","marital_status":"\u003cstring>","dob":"\u003cstring>","mobile":"\u003cstring>","is_authenticated":true},"tz":{},"initial_context":{}}}}}}},"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 Messages - Eka Developer Platform APIs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T06:21:53.747Z","originalFileLocation":"docs/agents/get-messages.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 full transcript of a MedAssist conversation, including tool calls, user feedback and session context.\">\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 Messages - Eka Developer Platform APIs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the full transcript of a MedAssist conversation, including tool calls, user feedback and session context.\">\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-messages\">\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+Messages\u0026amp;description=Returns+the+full+transcript+of+a+MedAssist+conversation%2C+including+tool+calls%2C+user+feedback+and+session+context.\u0026amp;theme=ebd9a500ade8f2a489d311f1\u0026amp;signature=342ae9e94f2b1ac856f3993cf5da23a6bcb0c9bde8fa38bc81efcf1eb462f535\">\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 Messages - Eka Developer Platform APIs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the full transcript of a MedAssist conversation, including tool calls, user feedback and session context.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ekacare.mintlify.site/_mintlify/api/og/v2?division=MedAssist+APIs\u0026amp;title=Get+Messages\u0026amp;description=Returns+the+full+transcript+of+a+MedAssist+conversation%2C+including+tool+calls%2C+user+feedback+and+session+context.\u0026amp;theme=ebd9a500ade8f2a489d311f1\u0026amp;signature=342ae9e94f2b1ac856f3993cf5da23a6bcb0c9bde8fa38bc81efcf1eb462f535\">\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-messages\">\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-messages.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-messages#webpage\",\"url\":\"https://developer.eka.care/docs/agents/get-messages\",\"name\":\"Get Messages\",\"description\":\"Returns the full transcript of a MedAssist conversation, including tool calls, user feedback and session context.\",\"dateModified\":\"2026-10-30T06:21:53.747Z\",\"isPartOf\":{\"@id\":\"https://developer.eka.care#website\"},\"breadcrumb\":{\"@id\":\"https://developer.eka.care/docs/agents/get-messages#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.eka.care/docs/agents/get-messages#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Medical Agents\",\"item\":\"https://developer.eka.care/docs/products/agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MedAssist\",\"item\":\"https://developer.eka.care/docs/agents/get-conversation\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MedAssist APIs\",\"item\":\"https://developer.eka.care/docs/agents/get-conversation\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get Messages\",\"item\":\"https://developer.eka.care/docs/agents/get-messages\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.eka.care/docs/agents/get-messages#apireference\",\"headline\":\"Get Messages\",\"name\":\"Get Messages\",\"description\":\"Returns the full transcript of a MedAssist conversation, including tool calls, user feedback and session context.\",\"url\":\"https://developer.eka.care/docs/agents/get-messages\",\"mainEntityOfPage\":{\"@id\":\"https://developer.eka.care/docs/agents/get-messages#webpage\"},\"dateModified\":\"2026-10-30T06:21:53.747Z\",\"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-messages.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/","description":"Returns the conversations (sessions) for a MedAssist agent as an HTML page, with optional filters.","href":"/docs/agents/get-conversation"},{"icon":"download","title":"Get Messages","api":"GET https://console.eka.care/conversations/{conversation_id}/messages/","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 Messages - 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"]}