Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
id
string
required
Conversation ID.
Query Parameters
limit
integer<int32>
Maximum number of results to return.
cursor
string
Pagination cursor from previous response.
state
enum<string>
Only return messages in this state. When unset, messages in every state are returned.
Available options:
STATE_UNSPECIFIED,
STATE_QUEUED,
STATE_SENT,
STATE_REMOVED,
STATE_DISCARDED
Response
OK
List queued messages response. Ordered oldest first.
items
object[]
required
Show child attributes
pagination
object
Page carries pagination data for list responses. A deliberate local
duplicate of the api module's Page — this package imports nothing from
cadenya.api.v1 (see the workspace README).
Show child attributes
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Cadenya","colors":{"primary":"#165B41","light":"#165B41","dark":"#E1EE9A"},"logo":{"light":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/light.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=163995d0cd296848f58b95d41cfbb847","dark":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/dark.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=3a0a588c1ea4bb31882a0eb52df74362","href":"https://cadenya.com"},"favicon":"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/favicon.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=88bfdd038a09cd476e2dd90fa68f8074","api":{"examples":{"languages":["shell","ruby","go","typescript","python"],"autogenerate":false}},"navbar":{"links":[{"href":"https://app.cadenya.com/signup","label":"Sign Up"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.cadenya.com/login"}},"footer":{"socials":{"x":"https://x.com/cadenya","github":"https://github.com/cadenya"}},"fonts":{"heading":{"family":"ABC Arizona Flare Light","weight":300,"source":"fonts/ABCArizonaFlare-Light.woff2","format":"woff2"},"body":{"family":"Berkeley Mono","weight":400}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cadenya","hasAudioNarration":false,"actualSubdomain":"cadenya","customDomains":["cadenya.com"],"gitSource":{"type":"github","owner":"cadenya","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b03cb1607135da59bd6af1e","clientVersion":"0.0.4277","searchFilterCounts":[{"language":"default","tag":"API Reference","count":182},{"language":"default","tag":"Objectives","count":22},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Webhook Events","count":15},{"language":"default","tag":"Widgets API","count":15},{"language":"default","tag":"Agents","count":11},{"language":"default","tag":"API Keys","count":11},{"language":"default","tag":"Tool Sets","count":11},{"language":"default","tag":"Agent Variations","count":10},{"language":"default","tag":"Agent Pools","count":9}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"/docs","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":"site-roles","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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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":false},"customCss":[{"filePath":"brand.css","content":"@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSansVariable.woff2\") format(\"woff2\");font-weight:100 700;font-style:normal;font-display:swap}@font-face{font-family:\"ABC Arizona Flare Light\";src:url(\"/fonts/ABCArizonaFlare-Light.woff2\") format(\"woff2\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSans-RegularItalic.woff2\") format(\"woff2\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"ABC Arizona Sans\";src:url(\"/fonts/ABCArizonaSans-BoldItalic.woff2\") format(\"woff2\");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Regular.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}:root{--cadenya-soil: #1d2c2f;--cadenya-sky: #ffffff;--cadenya-mycelium: #165b41;--cadenya-canopy: #e1ee9a;--cadenya-table-border: rgba(29, 44, 47, 0.18);--cadenya-table-header: rgba(22, 91, 65, 0.08);--cadenya-mermaid-node: var(--cadenya-canopy);--cadenya-mermaid-border: var(--cadenya-mycelium);--cadenya-mermaid-text: var(--cadenya-soil);--cadenya-mermaid-edge: var(--cadenya-mycelium);--cadenya-mermaid-label: rgba(255, 255, 255, 0.92)}html.dark,[data-theme=\"dark\"]{--cadenya-table-border: rgba(255, 255, 255, 0.2);--cadenya-table-header: rgba(225, 238, 154, 0.1);--cadenya-mermaid-node: var(--cadenya-mycelium);--cadenya-mermaid-border: var(--cadenya-canopy);--cadenya-mermaid-text: var(--cadenya-canopy);--cadenya-mermaid-edge: var(--cadenya-canopy);--cadenya-mermaid-label: rgba(29, 44, 47, 0.94)}body{font-family:\"Berkeley Mono\", ui-monospace, \"Cascadia Code\", monospace}h1,h2,h3,h4,h5,h6{font-family:\"ABC Arizona Flare Light\", Georgia, serif!important;font-weight:300!important;letter-spacing:-0.01em}#topbar-cta-button a[href=\"https://app.cadenya.com/login\"] span,#topbar-cta-button a[href=\"https://app.cadenya.com/login\"] svg{color:var(--cadenya-soil)!important}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Bold.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Bold.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Berkeley Mono\";src:url(\"/fonts/BerkeleyMono-Oblique.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}code,kbd,samp,pre,pre *{font-family:\"Berkeley Mono\", ui-monospace, \"Cascadia Code\", monospace}#content-area a.link>code{padding:0!important}strong,b{font-weight:700!important}#content-container table{border:1px solid var(--cadenya-table-border);border-collapse:separate;border-spacing:0;border-radius:0.5rem;overflow:hidden}#content-container table th,#content-container table td{border-right:1px solid var(--cadenya-table-border);border-bottom:1px solid var(--cadenya-table-border);padding-left:1rem;padding-right:1rem}#content-container table thead{background-color:var(--cadenya-table-header)}#content-container table thead th{padding-top:0.75rem;padding-bottom:0.75rem;vertical-align:middle}#content-container table th:last-child,#content-container table td:last-child{border-right:0}#content-container table tbody tr:last-child td{border-bottom:0}#content-container table.objective-events-table{width:100%;table-layout:fixed}#content-container table.objective-events-table th:first-child,#content-container table.objective-events-table td:first-child{width:25%}#content-container table.objective-events-table th:nth-child(2),#content-container table.objective-events-table td:nth-child(2){width:75%}#content-container table.objective-events-table td:first-child code{overflow-wrap:anywhere;white-space:normal}#content-container .mermaid svg{fill:var(--cadenya-mermaid-text)!important}#content-container .mermaid svg .node rect,#content-container .mermaid svg .node polygon,#content-container .mermaid svg .node path,#content-container .mermaid svg g.stateGroup rect,#content-container .mermaid svg .statediagram-cluster rect{fill:var(--cadenya-mermaid-node)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg .nodeLabel,#content-container .mermaid svg .cluster-label,#content-container .mermaid svg .stateLabel text,#content-container .mermaid svg g.stateGroup text,#content-container .mermaid svg g.stateGroup .state-title,#content-container .mermaid svg .edgeLabel,#content-container .mermaid svg .edgeLabel text,#content-container .mermaid svg .edgeLabel p{color:var(--cadenya-mermaid-text)!important;fill:var(--cadenya-mermaid-text)!important}#content-container .mermaid svg .transition,#content-container .mermaid svg .flowchart-link,#content-container .mermaid svg .edgePath path,#content-container .mermaid svg g.stateGroup line{stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg marker path,#content-container .mermaid svg .marker,#content-container .mermaid svg [id$=\"-barbEnd\"],#content-container .mermaid svg [id$=\"-dependencyStart\"],#content-container .mermaid svg [id$=\"-dependencyEnd\"]{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .edgeLabel,#content-container .mermaid svg .edgeLabel p{background-color:var(--cadenya-mermaid-label)!important}#content-container .mermaid svg .edgeLabel rect,#content-container .mermaid svg .stateLabel .box{fill:var(--cadenya-mermaid-label)!important;opacity:1!important}#content-container .mermaid svg .node circle.state-start,#content-container .mermaid svg .node .fork-join{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .node circle.state-end{fill:var(--cadenya-mermaid-border)!important;stroke:var(--cadenya-mermaid-node)!important}#content-container .mermaid svg .end-state-inner{fill:var(--cadenya-mermaid-node)!important}#content-container .mermaid svg rect.actor{fill:var(--cadenya-mermaid-node)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg text.actor,#content-container .mermaid svg text.actor>tspan,#content-container .mermaid svg .messageText,#content-container .mermaid svg .messageText>tspan,#content-container .mermaid svg .labelText,#content-container .mermaid svg .labelText>tspan,#content-container .mermaid svg .loopText,#content-container .mermaid svg .loopText>tspan,#content-container .mermaid svg .noteText,#content-container .mermaid svg .noteText>tspan{color:var(--cadenya-mermaid-text)!important;fill:var(--cadenya-mermaid-text)!important;stroke:none!important}#content-container .mermaid svg .actor-line,#content-container .mermaid svg .messageLine0,#content-container .mermaid svg .messageLine1,#content-container .mermaid svg .loopLine{stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .labelBox,#content-container .mermaid svg .note,#content-container .mermaid svg .activation0,#content-container .mermaid svg .activation1,#content-container .mermaid svg .activation2,#content-container .mermaid svg g rect.rect{fill:var(--cadenya-mermaid-label)!important;stroke:var(--cadenya-mermaid-border)!important}#content-container .mermaid svg [id$=\"-sequencenumber\"] circle{fill:var(--cadenya-mermaid-edge)!important;stroke:var(--cadenya-mermaid-edge)!important}#content-container .mermaid svg .sequenceNumber{fill:var(--cadenya-mermaid-label)!important;stroke:none!important}.max-w-8xl,#body-content{max-width:106rem!important}#content-container{max-width:86rem!important}"}]}
{"page":{"pagePath":"api-reference/widgetconversationservice/list-queued-messages","slug":"/api-reference/widgetconversationservice/list-queued-messages","pageMetadata":{"title":"List queued messages","description":"Lists the messages sent while the agent was responding, oldest first, with their delivery state.","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml get /v1/conversations/{id}/queued_messages","href":"/api-reference/widgetconversationservice/list-queued-messages","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Lists the messages sent while the agent was responding, oldest first, with their delivery state.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List queued messages","description":"Lists the messages sent while the agent was responding, oldest first, with their delivery state.","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml get /v1/conversations/{id}/queued_messages","href":"/api-reference/widgetconversationservice/list-queued-messages","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["WidgetConversationService","Conversations"],"summary":"List queued messages","description":"Lists the messages sent while the agent was responding, oldest first, with their delivery state.","operationId":"WidgetConversationService_ListQueuedMessages","parameters":["c4f6ece2-cc6f-428f-95b1-ca77d7f99af2","0cf9aeb9-4c68-4505-81f6-ef7e0558aec4","71478d2b-2c9e-4f52-a8bb-e7e712577513","06ed5504-6124-4748-afff-ef96fb4e2c50"],"responses":{"200":"24786c98-94ad-4141-8ffc-35512a27ef13","401":"9ead46df-71ab-416b-8093-fff4079c6896","403":"fe25389f-de42-4902-8a72-2414276e3cbe","429":"6d00429b-4711-499a-9785-f86f93377d23","default":"e055993a-1f2d-4d79-9fd8-4240e1b8785f"},"x-codeSamples":[{"lang":"typescript","label":"TypeScript","source":"import CadenyaWidgets from '@cadenya/widgets';\n\nconst client = new CadenyaWidgets();\nconst page = await client.conversations.listQueuedMessages('_123');\nfor await (const item of page) {\n console.log(item);\n}"}],"method":"get","type":"path","servers":["62ceb7cb-e4e0-45a3-a975-240b8a25f5fc"],"security":["134d1bb1-462f-42f7-a92b-40156ff9fcd1"],"path":"/v1/conversations/{id}/queued_messages","baseUrlOptions":["https://{widgetHost}"],"title":"List queued messages","codeSamples":[{"label":"TypeScript","lang":"typescript","source":"import CadenyaWidgets from '@cadenya/widgets';\n\nconst client = new CadenyaWidgets();\nconst page = await client.conversations.listQueuedMessages('_123');\nfor await (const item of page) {\n console.log(item);\n}"}],"requestExampleLanguages":["bash","ruby","go","typescript","python"],"requiredOnlyExamples":false,"disableCodeSampleGeneration":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"c4f6ece2-cc6f-428f-95b1-ca77d7f99af2":{"name":"id","in":"path","description":"Conversation ID.","required":true,"schema":{"type":"string","isRequired":true,"description":"Conversation ID.","uniqueKey":"","typeLabel":"string"}},"0cf9aeb9-4c68-4505-81f6-ef7e0558aec4":{"name":"limit","in":"query","description":"Maximum number of results to return.","schema":{"type":"integer","format":"int32","description":"Maximum number of results to return.","uniqueKey":"","typeLabel":"integer\u003cint32>"}},"71478d2b-2c9e-4f52-a8bb-e7e712577513":{"name":"cursor","in":"query","description":"Pagination cursor from previous response.","schema":{"type":"string","description":"Pagination cursor from previous response.","uniqueKey":"","typeLabel":"string"}},"06ed5504-6124-4748-afff-ef96fb4e2c50":{"name":"state","in":"query","description":"Only return messages in this state. When unset, messages in every state are returned.","schema":{"enum":["STATE_UNSPECIFIED","STATE_QUEUED","STATE_SENT","STATE_REMOVED","STATE_DISCARDED"],"type":"string","format":"enum","description":"Only return messages in this state. When unset, messages in every state are returned.","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"responses":{"24786c98-94ad-4141-8ffc-35512a27ef13":{"description":"OK","content":{"application/json":{"schema":{"required":["items"],"type":"object","properties":{"items":{"type":"array","items":{"required":["id","conversationId","content","state","createdAt"],"type":"object","properties":{"id":{"readOnly":true,"example":"objqa_01HXKD2E5NQM3T9AYWCFQAZGFV","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].id","typeLabel":"string"},"conversationId":{"readOnly":true,"example":"obj_01HXKD2E5NQM3T9AYWCFQAZGFV","type":"string","description":"The conversation the message was sent to.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].conversationId","typeLabel":"string"},"content":{"readOnly":true,"type":"string","description":"The message text.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].content","typeLabel":"string"},"state":{"readOnly":true,"enum":["STATE_UNSPECIFIED","STATE_QUEUED","STATE_SENT","STATE_REMOVED","STATE_DISCARDED"],"type":"string","format":"enum","isRequired":true,"uniqueKey":"\\items.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"createdAt":{"readOnly":true,"type":"string","format":"date-time","isRequired":true,"uniqueKey":"\\items.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"sentAt":{"readOnly":true,"type":"string","description":"When the agent picked the message up. Unset until the message is sent.","format":"date-time","uniqueKey":"\\items.items.[INDEX].sentAt","typeLabel":"string\u003cdate-time>"},"eventId":{"readOnly":true,"type":"string","description":"The userMessage event the message became once sent.","uniqueKey":"\\items.items.[INDEX].eventId","typeLabel":"string"}},"description":"WidgetQueuedMessage is a visitor message sent while the agent was\n responding. The agent picks queued messages up in order before its next\n reply; until then a queued message can be removed and the agent never sees\n it. Once sent, it arrives on the event stream as a userMessage event.","uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"},"pagination":{"type":"object","properties":{"nextCursor":{"readOnly":true,"type":"string","description":"Cursor for the next page. Empty when there are no further results.","uniqueKey":"pagination.nextCursor","typeLabel":"string"},"total":{"readOnly":true,"type":"integer","description":"Total number of items matching the request.","format":"int32","uniqueKey":"pagination.total","typeLabel":"integer\u003cint32>"}},"description":"Page carries pagination data for list responses. A deliberate local\n duplicate of the api module's Page — this package imports nothing from\n cadenya.api.v1 (see the workspace README).","uniqueKey":"pagination","typeLabel":"object"}},"description":"List queued messages response. Ordered oldest first.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"items":[{"id":"objqa_01HXKD2E5NQM3T9AYWCFQAZGFV","conversationId":"obj_01HXKD2E5NQM3T9AYWCFQAZGFV","content":"\u003cstring>","state":"STATE_UNSPECIFIED","createdAt":"2023-11-07T05:31:56Z","sentAt":"2023-11-07T05:31:56Z","eventId":"\u003cstring>"}],"pagination":{"nextCursor":"\u003cstring>","total":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"9ead46df-71ab-416b-8093-fff4079c6896":{"description":"Unauthenticated. TOKEN_EXPIRED identifies verified access-token expiry at or beyond exp + 60 seconds before execution. That token cannot renew; use already-installed newer credentials or require explicit app reauthentication. Never retry renewal recursively. Missing, malformed, or invalid tokens do not authorize renewal.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","description":"A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"oneOf":[{"type":"object","description":"google.rpc.ErrorInfo detail for widget lifecycle failures. Match both domain and reason; ignore unknown reasons rather than renewing automatically.","required":["@type","domain","reason"],"properties":{"@type":{"type":"string","enum":["type.googleapis.com/google.rpc.ErrorInfo"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.@type","typeLabel":"enum\u003cstring>"},"domain":{"type":"string","enum":["api.cadenya.com"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.domain","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"TOKEN_EXPIRED identifies access-token expiry beyond the 60-second clock-skew tolerance. That token cannot renew; use already-installed newer credentials or require explicit app reauthentication. SESSION_* reasons are terminal. Never infer renewability from HTTP status alone.","enum":["TOKEN_EXPIRED","SESSION_REVOKED","SESSION_EXPIRED","SESSION_EXHAUSTED"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.reason","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"details.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"description":"Optional non-sensitive context. Never contains tokens or secrets.","uniqueKey":"details.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"details.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.","properties":{"@type":{"type":"string","description":"The type of the serialized message.","uniqueKey":"details.items.[INDEX].oneOf.1.@type","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"details.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"A list of messages that carry the error details. There is a common set of message types for APIs to use.","uniqueKey":"details","typeLabel":"object[]"}},"description":"The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","domain":"api.cadenya.com","reason":"TOKEN_EXPIRED","metadata":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"fe25389f-de42-4902-8a72-2414276e3cbe":{"description":"Permission denied. SESSION_REVOKED or SESSION_EXPIRED is terminal. Management authorization failures never trigger visitor-token renewal.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","description":"A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"oneOf":[{"type":"object","description":"google.rpc.ErrorInfo detail for widget lifecycle failures. Match both domain and reason; ignore unknown reasons rather than renewing automatically.","required":["@type","domain","reason"],"properties":{"@type":{"type":"string","enum":["type.googleapis.com/google.rpc.ErrorInfo"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.@type","typeLabel":"enum\u003cstring>"},"domain":{"type":"string","enum":["api.cadenya.com"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.domain","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"TOKEN_EXPIRED identifies access-token expiry beyond the 60-second clock-skew tolerance. That token cannot renew; use already-installed newer credentials or require explicit app reauthentication. SESSION_* reasons are terminal. Never infer renewability from HTTP status alone.","enum":["TOKEN_EXPIRED","SESSION_REVOKED","SESSION_EXPIRED","SESSION_EXHAUSTED"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.reason","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"details.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"description":"Optional non-sensitive context. Never contains tokens or secrets.","uniqueKey":"details.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"details.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.","properties":{"@type":{"type":"string","description":"The type of the serialized message.","uniqueKey":"details.items.[INDEX].oneOf.1.@type","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"details.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"A list of messages that carry the error details. There is a common set of message types for APIs to use.","uniqueKey":"details","typeLabel":"object[]"}},"description":"The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","domain":"api.cadenya.com","reason":"TOKEN_EXPIRED","metadata":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"6d00429b-4711-499a-9785-f86f93377d23":{"description":"Resource exhausted. SESSION_EXHAUSTED is terminal; rate limiting uses a distinct reason and may include Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","description":"A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"oneOf":[{"type":"object","description":"google.rpc.ErrorInfo detail for widget lifecycle failures. Match both domain and reason; ignore unknown reasons rather than renewing automatically.","required":["@type","domain","reason"],"properties":{"@type":{"type":"string","enum":["type.googleapis.com/google.rpc.ErrorInfo"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.@type","typeLabel":"enum\u003cstring>"},"domain":{"type":"string","enum":["api.cadenya.com"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.domain","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"TOKEN_EXPIRED identifies access-token expiry beyond the 60-second clock-skew tolerance. That token cannot renew; use already-installed newer credentials or require explicit app reauthentication. SESSION_* reasons are terminal. Never infer renewability from HTTP status alone.","enum":["TOKEN_EXPIRED","SESSION_REVOKED","SESSION_EXPIRED","SESSION_EXHAUSTED"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.reason","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"details.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"description":"Optional non-sensitive context. Never contains tokens or secrets.","uniqueKey":"details.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"details.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.","properties":{"@type":{"type":"string","description":"The type of the serialized message.","uniqueKey":"details.items.[INDEX].oneOf.1.@type","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"details.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"A list of messages that carry the error details. There is a common set of message types for APIs to use.","uniqueKey":"details","typeLabel":"object[]"}},"description":"The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","domain":"api.cadenya.com","reason":"TOKEN_EXPIRED","metadata":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"e055993a-1f2d-4d79-9fd8-4240e1b8785f":{"description":"Default error response","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","description":"A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"oneOf":[{"type":"object","description":"google.rpc.ErrorInfo detail for widget lifecycle failures. Match both domain and reason; ignore unknown reasons rather than renewing automatically.","required":["@type","domain","reason"],"properties":{"@type":{"type":"string","enum":["type.googleapis.com/google.rpc.ErrorInfo"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.@type","typeLabel":"enum\u003cstring>"},"domain":{"type":"string","enum":["api.cadenya.com"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.domain","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"TOKEN_EXPIRED identifies access-token expiry beyond the 60-second clock-skew tolerance. That token cannot renew; use already-installed newer credentials or require explicit app reauthentication. SESSION_* reasons are terminal. Never infer renewability from HTTP status alone.","enum":["TOKEN_EXPIRED","SESSION_REVOKED","SESSION_EXPIRED","SESSION_EXHAUSTED"],"isRequired":true,"uniqueKey":"details.items.[INDEX].oneOf.0.reason","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"details.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"description":"Optional non-sensitive context. Never contains tokens or secrets.","uniqueKey":"details.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"details.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.","properties":{"@type":{"type":"string","description":"The type of the serialized message.","uniqueKey":"details.items.[INDEX].oneOf.1.@type","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"details.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"A list of messages that carry the error details. There is a common set of message types for APIs to use.","uniqueKey":"details","typeLabel":"object[]"}},"description":"The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","domain":"api.cadenya.com","reason":"TOKEN_EXPIRED","metadata":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"134d1bb1-462f-42f7-a92b-40156ff9fcd1":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"62ceb7cb-e4e0-45a3-a975-240b8a25f5fc":{"url":"https://{widgetHost}","description":"The Widget host returned in a Widget Session's info.host","variables":{"widgetHost":{"default":"adbtaawrmh4h.widgets.cadenya.com"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"widgets-api-spec.yml"},"subdomain":"cadenya","siteName":"Cadenya","title":"List queued messages - Cadenya","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T02:22:10.161Z","originalFileLocation":"api-reference/widgetconversationservice/list-queued-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=\"Lists the messages sent while the agent was responding, oldest first, with their delivery state.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cadenya\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List queued messages - Cadenya\">\u003cmeta data-mint-head property=\"og:description\" content=\"Lists the messages sent while the agent was responding, oldest first, with their delivery state.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cadenya\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cadenya.mintlify.site/docs/_mintlify/api/og/v2?division=Queued+Messages\u0026amp;title=List+queued+messages\u0026amp;description=Lists+the+messages+sent+while+the+agent+was+responding%2C+oldest+first%2C+with+their+delivery+state.\u0026amp;theme=5f66039c69522c5b0d37ea0d\u0026amp;signature=9fb302bc64198db5aa441ff558f8bc5be7567baabc42b5942f71af037ce1bb39\">\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=\"List queued messages - Cadenya\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Lists the messages sent while the agent was responding, oldest first, with their delivery state.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cadenya.mintlify.site/docs/_mintlify/api/og/v2?division=Queued+Messages\u0026amp;title=List+queued+messages\u0026amp;description=Lists+the+messages+sent+while+the+agent+was+responding%2C+oldest+first%2C+with+their+delivery+state.\u0026amp;theme=5f66039c69522c5b0d37ea0d\u0026amp;signature=9fb302bc64198db5aa441ff558f8bc5be7567baabc42b5942f71af037ce1bb39\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/cadenya/LWU29iiUTwEZ-Irb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cadenya\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#165B41\">\u003clink data-mint-head rel=\"canonical\" href=\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/widgetconversationservice/list-queued-messages.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cadenya.com/#organization\",\"name\":\"Cadenya\",\"url\":\"https://cadenya.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cadenya/jC_UqeyZ_EgHWKnX/logo/light.svg?fit=max\u0026auto=format\u0026n=jC_UqeyZ_EgHWKnX\u0026q=85\u0026s=163995d0cd296848f58b95d41cfbb847\"}},{\"@type\":\"WebSite\",\"@id\":\"https://cadenya.com/docs#website\",\"name\":\"Cadenya\",\"url\":\"https://cadenya.com/docs\",\"publisher\":{\"@id\":\"https://cadenya.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages#webpage\",\"url\":\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages\",\"name\":\"List queued messages\",\"description\":\"Lists the messages sent while the agent was responding, oldest first, with their delivery state.\",\"dateModified\":\"2026-11-23T02:22:10.161Z\",\"isPartOf\":{\"@id\":\"https://cadenya.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cadenya\",\"item\":\"https://cadenya.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List queued messages\",\"item\":\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages#apireference\",\"headline\":\"List queued messages\",\"name\":\"List queued messages\",\"description\":\"Lists the messages sent while the agent was responding, oldest first, with their delivery state.\",\"url\":\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages\",\"mainEntityOfPage\":{\"@id\":\"https://cadenya.com/docs/api-reference/widgetconversationservice/list-queued-messages#webpage\"},\"dateModified\":\"2026-11-23T02:22:10.161Z\",\"publisher\":{\"@id\":\"https://cadenya.com/#organization\"},\"isPartOf\":{\"@id\":\"https://cadenya.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cadenya\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cadenya\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/widgetconversationservice/list-queued-messages.md","siteName":"Cadenya","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/setup-from-a-coding-agent"}]},{"tab":"API Reference","icon":"brackets-curly","pages":[{"title":"API Reference","href":"/api-reference"}]},{"tab":"Widgets API","icon":"comments","groups":[{"group":"Overview","pages":[{"title":"Widgets API reference","href":"/widgets-api-reference"}]},{"group":"Config","pages":[{"title":"Get widget config","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml get /v1/config","href":"/api-reference/widgetconfigservice/get-widget-config"}]},{"group":"Session","pages":[{"title":"Renew a widget session token","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml post /v1/workspaces/{workspaceId}/session:renew","href":"/api-reference/widgetsessionservice/renew-a-widget-session-token"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml get /v1/conversations","href":"/api-reference/widgetconversationservice/list-conversations"},{"title":"Start a conversation","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml post /v1/conversations","href":"/api-reference/widgetconversationservice/start-a-conversation"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml get /v1/conversations/{id}","href":"/api-reference/widgetconversationservice/get-a-conversation"},{"title":"Send the next message","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml post /v1/conversations/{id}:continue","href":"/api-reference/widgetconversationservice/send-the-next-message"},{"title":"Submit conversation feedback","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml post /v1/conversations/{id}/feedback","href":"/api-reference/widgetconversationservice/submit-conversation-feedback"}]},{"group":"Events","pages":[{"title":"List conversation events","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml get /v1/conversations/{id}/events","href":"/api-reference/widgetconversationservice/list-conversation-events"},{"title":"Stream conversation events","description":"Server-sent events for a conversation. Durable event IDs are Last-Event-ID resume checkpoints; live heartbeat/control frames never advance them. Token expiry leaves a healthy stream open. Session revocation, hard expiry, and exhaustion stop delivery and close the stream within 10 seconds; the server attempts a session-ended control event whose data is a google.rpc.Status with WidgetSessionErrorInfo, without an id. If delivery fails, reconnect returns the same structured terminal reason. Reconnect uses current credentials and rechecks conversation authorization. See the widget session lifecycle contract for in-flight action and replacement-session policy. Set includeDeltas to also receive transient assistantMessageDelta fragments of the assistant's text as it is generated (dlt_ IDs, no SSE id field, never replayed).","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml get /v1/conversations/{id}/events:stream","href":"/api-reference/widgetconversationeventstreamsservice/stream-conversation-events"}]},{"group":"Queued Messages","pages":[{"title":"List queued messages","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml get /v1/conversations/{id}/queued_messages","href":"/api-reference/widgetconversationservice/list-queued-messages"},{"title":"Remove a queued message","description":"Removes a queued message before the agent picks it up, so the agent never sees it. Fails once the message has been sent.","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml post /v1/conversations/{id}/queued_messages/{queuedMessageId}:remove","href":"/api-reference/widgetconversationservice/remove-a-queued-message"}]},{"group":"Tool Calls","pages":[{"title":"Approve a pending tool call","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml post /v1/conversations/{id}/tool_calls/{toolCallId}:approve","href":"/api-reference/widgetconversationservice/approve-a-pending-tool-call"},{"title":"Deny a pending tool call","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml post /v1/conversations/{id}/tool_calls/{toolCallId}:deny","href":"/api-reference/widgetconversationservice/deny-a-pending-tool-call"},{"title":"Supply a bare tool call's result","deprecated":null,"version":null,"openapi":"/widgets-api-spec.yml post /v1/conversations/{id}/tool_calls/{toolCallId}:setContent","href":"/api-reference/widgetconversationservice/supply-a-bare-tool-calls-result"}]}]}]},"basePath":"","title":"List queued messages - Cadenya","deploymentId":"dpl_5rhUmeYihYWreyVvacFyguXMfbnu","buildId":"dpl_5rhUmeYihYWreyVvacFyguXMfbnu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BB3iq3yK.js","snippetPresets-DbFdVJ7D.js","utils-B-BHRhal.js","style-to-object-BY3JEAdk.js","utils-CJmbXtRX.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-BbaAqP3r.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Dmv43rlk.js","_Uint8Array-BffVmDDz.js","isObject-FP1Yky1u.js","ApiExamples-DlokAgQ-.js","usePlaygroundInputsStore-CiDAydYA.js","shallow-Brqg7z7D.js","isEqual-B1w6LgOp.js","CodeSnippets-BwsRxASN.js","CodeSnippet-Bq9KgTLV.js","getApiPlaygroundDisplay-BTEHL5zc.js","Page-C4BWK2IQ.js","DynamicMarkdown-Nh25b3fQ.js","SectionHeading-DcwFs6JK.js","icon-BWxAeO4b.js","MethodPill-CPsmPAdF.js","getPastedJson-C-c6WiDD.js","Check2Icon-Dp5kTiU5.js","axios-CsQoIw0U.js","Markdown-DUsw5nVO.js","AssistantPageLink-BirQLJgE.js","dist-DOJz7rNP.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}