{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Decimal","description":"Decimal is an AI support agent that investigates and resolves customer issues using your codebase, knowledge base, and connected tools.","colors":{"primary":"#8A6500","light":"#F5B800","dark":"#8A6500"},"logo":{"light":"https://mintcdn.com/decimalai/c8i5FBfvoAcFknE2/logo/light.svg?fit=max\u0026auto=format\u0026n=c8i5FBfvoAcFknE2\u0026q=85\u0026s=cba5ef8b4040dc057d1a181f1e2dfb1e","dark":"https://mintcdn.com/decimalai/c8i5FBfvoAcFknE2/logo/light.svg?fit=max\u0026auto=format\u0026n=c8i5FBfvoAcFknE2\u0026q=85\u0026s=cba5ef8b4040dc057d1a181f1e2dfb1e"},"favicon":"https://mintcdn.com/decimalai/c8i5FBfvoAcFknE2/favicon.svg?fit=max\u0026auto=format\u0026n=c8i5FBfvoAcFknE2\u0026q=85\u0026s=829c1b9b5a0a53dda5317314931533fe","appearance":{"default":"light","strict":true},"background":{"color":{"light":"#FFFFFF","dark":"#FFFFFF"}},"navbar":{"links":[{"href":"mailto:support@getdecimal.ai","label":"Talk to us"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.getdecimal.ai"}},"footer":{"socials":{"website":"https://decimal.app"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"decimalai","hasAudioNarration":false,"actualSubdomain":"decimalai","customDomains":["docs.decimal.app"],"gitSource":{"type":"github","owner":"decimal-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b094749da7e75b2f5c8e703","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Documentation","count":57},{"language":"default","tag":"API reference","count":47},{"language":"default","tag":"Integrations","count":46},{"language":"default","tag":"Release notes","count":46},{"language":"default","tag":"Tickets","count":28},{"language":"default","tag":"Automations","count":21},{"language":"default","tag":"Agents","count":14},{"language":"default","tag":"Observability","count":13},{"language":"default","tag":"Channels","count":8},{"language":"default","tag":"Introduction","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":"turbopuffer-dual-write","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":"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}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\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;\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;\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;\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;\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;\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/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\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: 500;\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: 500;\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: 500;\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: 500;\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: 500;\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/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 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: 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: 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: 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: 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: 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{--marigold-50: #fffdf0;--marigold-200: #ffe99a;--marigold-400: #f5b800;--marigold-600: #b38400;--marigold-700: #8a6500;--gray-50: 250 250 250;--gray-100: 242 242 242;--gray-200: 232 232 232;--gray-300: 196 196 196;--gray-400: 107 107 107;--gray-500: 100 100 100;--gray-600: 82 82 82;--gray-700: 56 56 56;--gray-800: 42 42 42;--gray-900: 32 32 32;--gray-950: 18 18 18}#theme-preference-menu-trigger,[data-component-name=\"theme-preference-menu\"]{display:none!important}.nav-logo{height:20px!important}::selection{background:var(--marigold-200)}.eyebrow{color:var(--marigold-600)!important}code,pre,kbd,samp{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, monospace}.dcl-callout{margin:1rem 0;padding:16px 20px 16px 48px;border:1px solid #e5e5e5;border-radius:16px;background-color:#fafafa;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:20px 18px;background-size:16px 16px;color:#262626;font-size:14px;line-height:20px}.dcl-callout-tip{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E\")}.dcl-callout-warning{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E\")}.dcl-callout p,.dcl-callout li{margin:0;font-size:inherit;line-height:inherit;color:inherit}.dcl-callout>:first-child{margin-top:0}.dcl-callout>:last-child{margin-bottom:0}.dcl-callout :is(strong,code,a){color:inherit}.method-nav-pill{width:2.75rem}.method-nav-pill>span{padding:0.125rem 0.375rem;border-radius:6px;font-family:\"Geist Mono\", ui-monospace, monospace;font-size:0.625rem;font-weight:600;letter-spacing:0.02em}[data-component-part=\"accordion-icon\"]:has(img[src*=\"/images/icons/\"]),[data-component-part=\"accordion-icon\"] img[src*=\"/images/icons/\"],#content-area .card img[src*=\"/images/icons/\"]{width:20px!important;height:20px!important}.dcl-recipe{margin:1rem 0 2rem;border:1px solid #e5e5e5;border-radius:16px;background:#fafafa;overflow:hidden}.dcl-recipe-meta{display:grid;grid-template-columns:72px 1fr;gap:10px 16px;align-items:baseline;padding:16px 20px;font-size:14px;line-height:20px;color:#262626}.dcl-recipe-label{font-size:12px;font-weight:500;letter-spacing:0.04em;text-transform:uppercase;color:#737373}.dcl-recipe-chips{display:flex;flex-wrap:wrap;gap:6px}.dcl-recipe-chips>span{padding:1px 8px;border:1px solid #e5e5e5;border-radius:6px;background:#fff;font-size:13px;line-height:20px}.dcl-recipe .code-block,.dcl-recipe [data-component-part=\"code-block-root\"]{margin:0!important;border-width:1px 0 0!important;border-radius:0!important}.dcl-recipe pre,.dcl-recipe pre code,.dcl-recipe pre span{font-family:Inter, ui-sans-serif, system-ui, sans-serif!important;font-size:14px!important;line-height:22px!important;white-space:pre-wrap!important}"}]}
{"page":{"pagePath":"api-reference/tickets/get-a-ticket-by-decimal-id","slug":"/api-reference/tickets/get-a-ticket-by-decimal-id","pageMetadata":{"title":"Get a ticket by Decimal ID","description":"Returns a ticket and its messages by its Decimal ID.\n","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/tickets/{id}","href":"/api-reference/tickets/get-a-ticket-by-decimal-id","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: \"Returns a ticket and its messages by its Decimal ID.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a ticket by Decimal ID","description":"Returns a ticket and its messages by its Decimal ID.\n","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/tickets/{id}","href":"/api-reference/tickets/get-a-ticket-by-decimal-id","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getTicketById","summary":"Get a ticket by Decimal ID","description":"Returns a ticket and its messages by its Decimal ID.\n","tags":["Tickets"],"security":["3090ce0a-af50-432c-8abb-cfb96dfaddd9"],"responses":{"200":"4c1b9bb4-f09f-4cf3-9f0d-ccde66adfa00","401":"94df39d7-2ba5-4f97-b999-174c259e2855","403":"196f7ae3-b2bf-4ba0-a730-4038b2b5ce1e","404":"03c56f18-a88a-41bf-85ae-b3c7e923a8c0","429":"6d32ef29-80c8-4842-9d9d-674ea971b0a7","500":"a6b1cced-0079-47f5-95ff-a2d7110ad44c"},"method":"get","type":"path","servers":["e6b1847c-6dc7-4f7a-aa6d-8dd7f2a073c6","c9d9f160-d98f-4b34-b277-c9b795bc623e"],"path":"/v0/tickets/{id}","baseUrlOptions":["https://api.getdecimal.ai","http://localhost:3000"],"title":"Get a ticket by Decimal ID","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"aeec447f-2acb-4e17-9cfb-85d9a9381a68":{"name":"id","in":"path","required":true,"schema":{"type":"integer","isRequired":true,"description":"Decimal ticket ID (`id` on the ticket).","uniqueKey":"","typeLabel":"integer"},"description":"Decimal ticket ID (`id` on the ticket)."}},"responses":{"4c1b9bb4-f09f-4cf3-9f0d-ccde66adfa00":{"description":"The ticket.","headers":{"Request-Id":{"description":"Unique ID for this request. Include it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Maximum requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp when the rate limit window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"Decimal ticket ID.","isRequired":true,"uniqueKey":"id","typeLabel":"integer"},"external_id":{"type":"string","description":"Ticket ID in the source helpdesk.","isRequired":true,"uniqueKey":"external_id","typeLabel":"string"},"source":{"type":"string","description":"Helpdesk the ticket was synced from.","isRequired":true,"uniqueKey":"source","typeLabel":"string"},"number":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"number.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"number","typeLabel":"integer | null"},"display_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"display_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"display_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"display_id","typeLabel":"string | null"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"body_html":{"type":"string","description":"The original post.","isRequired":true,"uniqueKey":"body_html","typeLabel":"string"},"state":{"type":"string","description":"Status as the helpdesk names it. Not normalized across helpdesks.","isRequired":true,"uniqueKey":"state","typeLabel":"string"},"priority":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"priority.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"priority.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"priority","typeLabel":"string | null"},"type":{"type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"url":{"oneOf":[{"description":"Link to the ticket in the helpdesk.","type":"string","isRequired":true,"uniqueKey":"url.oneOf.0","typeLabel":"string"},{"description":"Link to the ticket in the helpdesk.","type":"null","isRequired":true,"uniqueKey":"url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"url","typeLabel":"string | null"},"decimal_url":{"type":"string","description":"Link to the ticket in Decimal.","format":"uri","isRequired":true,"uniqueKey":"decimal_url","typeLabel":"string\u003curi>"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"tags","typeLabel":"string[]"},"requester":{"oneOf":[{"type":"object","description":"Other fields are as returned by the helpdesk and vary by helpdesk.","required":["id","name","email"],"properties":{"id":{"type":"string","description":"ID in the helpdesk.","isRequired":true,"uniqueKey":"requester.oneOf.0.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"requester.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"requester.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requester.oneOf.0.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"requester.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"requester.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requester.oneOf.0.email","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"requester.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"requester.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"requester.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requester","typeLabel":"object | null"},"account":{"oneOf":[{"type":"object","description":"Other fields are as returned by the helpdesk and vary by helpdesk.","required":["id","name"],"properties":{"id":{"type":"string","description":"ID in the helpdesk.","isRequired":true,"uniqueKey":"account.oneOf.0.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"account.oneOf.0.name","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"account.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"account.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"account.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"account","typeLabel":"object | null"},"assignee":{"oneOf":[{"type":"object","description":"Other fields are as returned by the helpdesk and vary by helpdesk.","required":["id","name","email"],"properties":{"id":{"type":"string","description":"ID in the helpdesk.","isRequired":true,"uniqueKey":"assignee.oneOf.0.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"assignee.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"assignee.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"assignee.oneOf.0.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"assignee.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"assignee.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"assignee.oneOf.0.email","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"assignee.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"assignee.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"assignee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"assignee","typeLabel":"object | null"},"team":{"oneOf":[{"type":"object","description":"Other fields are as returned by the helpdesk and vary by helpdesk.","required":["id","name"],"properties":{"id":{"type":"string","description":"ID in the helpdesk.","isRequired":true,"uniqueKey":"team.oneOf.0.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"team.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"team.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"team.oneOf.0.name","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"team.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"team.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"team.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"team","typeLabel":"object | null"},"custom_fields":{"oneOf":[{"description":"As returned by the helpdesk. Shape varies by helpdesk.","type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"custom_fields.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"custom_fields.oneOf.0","typeLabel":"object"},{"description":"As returned by the helpdesk. Shape varies by helpdesk.","type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"custom_fields.oneOf.1.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"custom_fields.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"custom_fields","typeLabel":"object | null"},"created_at":{"oneOf":[{"format":"date-time","description":"When the ticket entered Decimal. For older tickets, when it was created in the helpdesk.","type":"string","isRequired":true,"uniqueKey":"created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","description":"When the ticket entered Decimal. For older tickets, when it was created in the helpdesk.","type":"null","isRequired":true,"uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time> | null"},"external_created_at":{"oneOf":[{"format":"date-time","description":"Created in the helpdesk.","type":"string","isRequired":true,"uniqueKey":"external_created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","description":"Created in the helpdesk.","type":"null","isRequired":true,"uniqueKey":"external_created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"external_created_at","typeLabel":"string\u003cdate-time> | null"},"external_updated_at":{"oneOf":[{"format":"date-time","description":"Last updated in the helpdesk.","type":"string","isRequired":true,"uniqueKey":"external_updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","description":"Last updated in the helpdesk.","type":"null","isRequired":true,"uniqueKey":"external_updated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"external_updated_at","typeLabel":"string\u003cdate-time> | null"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"attachments.items.[INDEX].id","typeLabel":"string"},"url":{"oneOf":[{"format":"uri","description":"Download link. `null` when Decimal has no copy of the file.","type":"string","isRequired":true,"uniqueKey":"attachments.items.[INDEX].url.oneOf.0","typeLabel":"string\u003curi>"},{"format":"uri","description":"Download link. `null` when Decimal has no copy of the file.","type":"null","isRequired":true,"uniqueKey":"attachments.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].url","typeLabel":"string\u003curi> | null"},"size":{"oneOf":[{"description":"Size in bytes.","type":"integer","isRequired":true,"uniqueKey":"attachments.items.[INDEX].size.oneOf.0","typeLabel":"integer"},{"description":"Size in bytes.","type":"null","isRequired":true,"uniqueKey":"attachments.items.[INDEX].size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].size","typeLabel":"integer | null"},"filename":{"type":"string","isRequired":true,"uniqueKey":"attachments.items.[INDEX].filename","typeLabel":"string"},"content_type":{"type":"string","isRequired":true,"uniqueKey":"attachments.items.[INDEX].content_type","typeLabel":"string"},"inline":{"type":"boolean","description":"Shown inside the message body.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].inline","typeLabel":"boolean"}},"required":["id","url","size","filename","content_type","inline"],"uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"description":"Attachments on the original post.","isRequired":true,"uniqueKey":"attachments","typeLabel":"object[]"},"messages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].id","typeLabel":"string"},"author":{"type":"object","properties":{"id":{"oneOf":[{"description":"User ID in the helpdesk.","type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.id.oneOf.0","typeLabel":"string"},{"description":"User ID in the helpdesk.","type":"null","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].author.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].author.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.email.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].author.email","typeLabel":"string | null"},"avatar_url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].author.avatar_url","typeLabel":"string | null"},"user_type":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.user_type.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"messages.items.[INDEX].author.user_type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].author.user_type","typeLabel":"string | null"}},"required":["id","name","email","avatar_url","user_type"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].author","typeLabel":"object"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"messages.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"is_private":{"type":"boolean","description":"Internal note rather than a reply.","isRequired":true,"uniqueKey":"messages.items.[INDEX].is_private","typeLabel":"boolean"},"message_html":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].message_html","typeLabel":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].id","typeLabel":"string"},"url":{"oneOf":[{"format":"uri","description":"Download link. `null` when Decimal has no copy of the file.","type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].url.oneOf.0","typeLabel":"string\u003curi>"},{"format":"uri","description":"Download link. `null` when Decimal has no copy of the file.","type":"null","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].url","typeLabel":"string\u003curi> | null"},"size":{"oneOf":[{"description":"Size in bytes.","type":"integer","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].size.oneOf.0","typeLabel":"integer"},{"description":"Size in bytes.","type":"null","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].size","typeLabel":"integer | null"},"filename":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].filename","typeLabel":"string"},"content_type":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].content_type","typeLabel":"string"},"inline":{"type":"boolean","description":"Shown inside the message body.","isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX].inline","typeLabel":"boolean"}},"required":["id","url","size","filename","content_type","inline"],"uniqueKey":"messages.items.[INDEX].attachments.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages.items.[INDEX].attachments","typeLabel":"object[]"}},"required":["id","author","timestamp","is_private","message_html","attachments"],"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"description":"Replies and notes after the original post, oldest first.","isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"latest_response":{"oneOf":[{"type":"object","description":"The agent's most recent answer. Skipped and declined runs are ignored.","required":["agent","completed_at","text","held_reason","sources","tool_calls","internal_investigation","routing","delivery"],"properties":{"agent":{"type":"string","enum":["private","public"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.agent","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","isRequired":true,"uniqueKey":"latest_response.oneOf.0.completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.completed_at","typeLabel":"string\u003cdate-time> | null"},"text":{"type":"string","description":"The agent's answer, in Markdown. Citations are superscript links, such as `[¹](https://...)`.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.text","typeLabel":"string"},"held_reason":{"oneOf":[{"description":"Why the answer was held as a draft instead of sent.","type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.held_reason.oneOf.0","typeLabel":"string"},{"description":"Why the answer was held as a draft instead of sent.","type":"null","isRequired":true,"uniqueKey":"latest_response.oneOf.0.held_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.held_reason","typeLabel":"string | null"},"sources":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.sources.items.[INDEX].type","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.sources.items.[INDEX].title","typeLabel":"string"},"url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.sources.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"latest_response.oneOf.0.sources.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.sources.items.[INDEX].url","typeLabel":"string | null"},"is_public":{"type":"boolean","isRequired":true,"uniqueKey":"latest_response.oneOf.0.sources.items.[INDEX].is_public","typeLabel":"boolean"}},"required":["type","title","url","is_public"],"uniqueKey":"latest_response.oneOf.0.sources.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"latest_response.oneOf.0.sources","typeLabel":"object[]"},"tool_calls":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].name","typeLabel":"string"},"status":{"type":"string","enum":["completed","error","incomplete"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"input":{"oneOf":[{"description":"The tool's arguments, such as a search query or file path. Not all arguments are exposed.","type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].input.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].input.oneOf.0","typeLabel":"object"},{"description":"The tool's arguments, such as a search query or file path. Not all arguments are exposed.","type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].input.oneOf.1.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].input.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].input","typeLabel":"object | null"},"refs":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","repository","path","start_line","end_line"],"properties":{"type":{"type":"string","enum":["code_file"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"repository":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.repository","typeLabel":"string"},"path":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.path","typeLabel":"string"},"start_line":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.start_line.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.start_line.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.start_line","typeLabel":"integer | null"},"end_line":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.end_line.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.end_line.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0.end_line","typeLabel":"integer | null"}},"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","id","title","url"],"properties":{"type":{"type":"string","enum":["kb_article"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"id":{"type":"integer","description":"Knowledge article ID.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.1.id","typeLabel":"integer"},"title":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.1.title","typeLabel":"string"},"url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.1.url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.1.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.1.url","typeLabel":"string | null"}},"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["type","provider","url"],"properties":{"type":{"type":"string","enum":["log_query"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"provider":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.2.provider","typeLabel":"string"},"url":{"type":"string","description":"Link to the query in the provider's log explorer.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.2.url","typeLabel":"string"}},"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["type","id"],"properties":{"type":{"type":"string","enum":["ticket"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"id":{"type":"integer","description":"Decimal ticket ID.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.3.id","typeLabel":"integer"}},"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs.items.[INDEX]","typeLabel":"object"},"description":"Files, articles, tickets, or log queries the tool returned.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX].refs","typeLabel":"object[]"}},"required":["id","name","status","input","refs"],"uniqueKey":"latest_response.oneOf.0.tool_calls.items.[INDEX]","typeLabel":"object"},"description":"Oldest first.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.tool_calls","typeLabel":"object[]"},"internal_investigation":{"oneOf":[{"description":"The private agent's findings for the support team, alongside its answer. Null for the public agent.","type":"object","properties":{"text":{"type":"string","description":"The whole investigation, in Markdown.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.internal_investigation.oneOf.0.text","typeLabel":"string"},"sections":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.internal_investigation.oneOf.0.sections.items.[INDEX].name","typeLabel":"string"},"content":{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.internal_investigation.oneOf.0.sections.items.[INDEX].content","typeLabel":"string"}},"required":["name","content"],"uniqueKey":"latest_response.oneOf.0.internal_investigation.oneOf.0.sections.items.[INDEX]","typeLabel":"object"},"description":"The investigation split into the organization's configured sections.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.internal_investigation.oneOf.0.sections","typeLabel":"object[]"}},"required":["text","sections"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.internal_investigation.oneOf.0","typeLabel":"object"},{"description":"The private agent's findings for the support team, alongside its answer. Null for the public agent.","type":"null","properties":{"text":{"type":"string","description":"The whole investigation, in Markdown."},"sections":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"content":{"type":"string"}},"required":["name","content"]},"description":"The investigation split into the organization's configured sections."}},"required":["text","sections"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.internal_investigation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.internal_investigation","typeLabel":"object | null"},"routing":{"oneOf":[{"type":"object","properties":{"category":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0.category.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0.category.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0.category","typeLabel":"string | null"},"reasoning":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0.reasoning.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0.reasoning.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0.reasoning","typeLabel":"string | null"},"auto_routed":{"type":"boolean","isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0.auto_routed","typeLabel":"boolean"},"category_overridden":{"type":"boolean","isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0.category_overridden","typeLabel":"boolean"}},"required":["category","reasoning","auto_routed","category_overridden"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"category":{"oneOf":[{"type":"string"},{"type":"null"}]},"reasoning":{"oneOf":[{"type":"string"},{"type":"null"}]},"auto_routed":{"type":"boolean"},"category_overridden":{"type":"boolean"}},"required":["category","reasoning","auto_routed","category_overridden"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.routing","typeLabel":"object | null"},"delivery":{"oneOf":[{"description":"Null until posted to the helpdesk.","type":"object","properties":{"visibility":{"type":"string","enum":["public","internal"],"description":"Sent to the customer, or posted as an internal note.","isRequired":true,"uniqueKey":"latest_response.oneOf.0.delivery.oneOf.0.visibility","typeLabel":"enum\u003cstring>"},"posted_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"latest_response.oneOf.0.delivery.oneOf.0.posted_at","typeLabel":"string\u003cdate-time>"}},"required":["visibility","posted_at"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.delivery.oneOf.0","typeLabel":"object"},{"description":"Null until posted to the helpdesk.","type":"null","properties":{"visibility":{"type":"string","enum":["public","internal"],"description":"Sent to the customer, or posted as an internal note."},"posted_at":{"type":"string","format":"date-time"}},"required":["visibility","posted_at"],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.delivery.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response.oneOf.0.delivery","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"latest_response.oneOf.0","typeLabel":"object"},{"type":"null","description":"The agent's most recent answer. Skipped and declined runs are ignored.","isRequired":true,"uniqueKey":"latest_response.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"latest_response","typeLabel":"object | null"}},"required":["id","external_id","source","number","display_id","title","body_html","state","priority","type","url","decimal_url","tags","requester","account","assignee","team","custom_fields","created_at","external_created_at","external_updated_at","attachments","messages","latest_response"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":123,"external_id":"\u003cstring>","source":"\u003cstring>","number":123,"display_id":"\u003cstring>","title":"\u003cstring>","body_html":"\u003cstring>","state":"\u003cstring>","priority":"\u003cstring>","type":"\u003cstring>","url":"\u003cstring>","decimal_url":"\u003cstring>","tags":["\u003cstring>"],"requester":{"id":"\u003cstring>","name":"\u003cstring>","email":"\u003cstring>"},"account":{"id":"\u003cstring>","name":"\u003cstring>"},"assignee":{"id":"\u003cstring>","name":"\u003cstring>","email":"\u003cstring>"},"team":{"id":"\u003cstring>","name":"\u003cstring>"},"custom_fields":{},"created_at":"2023-11-07T05:31:56Z","external_created_at":"2023-11-07T05:31:56Z","external_updated_at":"2023-11-07T05:31:56Z","attachments":[{"id":"\u003cstring>","url":"\u003cstring>","size":123,"filename":"\u003cstring>","content_type":"\u003cstring>","inline":true}],"messages":[{"id":"\u003cstring>","author":{"id":"\u003cstring>","name":"\u003cstring>","email":"\u003cstring>","avatar_url":"\u003cstring>","user_type":"\u003cstring>"},"timestamp":"2023-11-07T05:31:56Z","is_private":true,"message_html":"\u003cstring>","attachments":[{"id":"\u003cstring>","url":"\u003cstring>","size":123,"filename":"\u003cstring>","content_type":"\u003cstring>","inline":true}]}],"latest_response":{"agent":"private","completed_at":"2023-11-07T05:31:56Z","text":"\u003cstring>","held_reason":"\u003cstring>","sources":[{"type":"\u003cstring>","title":"\u003cstring>","url":"\u003cstring>","is_public":true}],"tool_calls":[{"id":"\u003cstring>","name":"\u003cstring>","status":"completed","input":{},"refs":[{"type":"code_file","repository":"\u003cstring>","path":"\u003cstring>","start_line":123,"end_line":123}]}],"internal_investigation":{"text":"\u003cstring>","sections":[{"name":"\u003cstring>","content":"\u003cstring>"}]},"routing":{"category":"\u003cstring>","reasoning":"\u003cstring>","auto_routed":true,"category_overridden":true},"delivery":{"visibility":"public","posted_at":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"94df39d7-2ba5-4f97-b999-174c259e2855":{"description":"Missing or invalid API key. Correct the Authorization header before retrying.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request","unauthorized","forbidden","not_found","conflict","payment_required","rate_limited","internal_error"],"description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the client should retry the request.","type":"boolean","uniqueKey":"error.retryable","typeLabel":"boolean"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"unauthorized","message":"Invalid or expired API token"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"Invalid or expired API token"}}}},"exampleType":"examples"}},"exampleType":"examples"},"196f7ae3-b2bf-4ba0-a730-4038b2b5ce1e":{"description":"Valid API key but insufficient scope.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request","unauthorized","forbidden","not_found","conflict","payment_required","rate_limited","internal_error"],"description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the client should retry the request.","type":"boolean","uniqueKey":"error.retryable","typeLabel":"boolean"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"forbidden","message":"Insufficient permissions"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"forbidden","message":"Insufficient permissions"}}}},"exampleType":"examples"}},"exampleType":"examples"},"03c56f18-a88a-41bf-85ae-b3c7e923a8c0":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request","unauthorized","forbidden","not_found","conflict","payment_required","rate_limited","internal_error"],"description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the client should retry the request.","type":"boolean","uniqueKey":"error.retryable","typeLabel":"boolean"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"not_found","message":"Resource not found"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"not_found","message":"Resource not found"}}}},"exampleType":"examples"}},"exampleType":"examples"},"6d32ef29-80c8-4842-9d9d-674ea971b0a7":{"description":"Rate limit exceeded.","headers":{"Request-Id":{"description":"Unique ID for this request. Include it when you contact support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Maximum requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp when the rate limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the rate limit resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request","unauthorized","forbidden","not_found","conflict","payment_required","rate_limited","internal_error"],"description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the client should retry the request.","type":"boolean","uniqueKey":"error.retryable","typeLabel":"boolean"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"rate_limited","message":"Too many requests","retryable":true}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"rate_limited","message":"Too many requests","retryable":true}}}},"exampleType":"examples"}},"exampleType":"examples"},"a6b1cced-0079-47f5-95ff-a2d7110ad44c":{"description":"Unexpected server error.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request","unauthorized","forbidden","not_found","conflict","payment_required","rate_limited","internal_error"],"description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the client should retry the request.","type":"boolean","uniqueKey":"error.retryable","typeLabel":"boolean"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"internal_error","message":"An internal error occurred","retryable":true}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"internal_error","message":"An internal error occurred","retryable":true}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"3090ce0a-af50-432c-8abb-cfb96dfaddd9":{"BearerAuth":{"type":"http","scheme":"bearer","description":"API token with `sk-de-` prefix.\nCreated in the Decimal dashboard under Settings → API Tokens.\n","scopes":["tickets:read"],"schemeName":"BearerAuth"}}},"servers":{"e6b1847c-6dc7-4f7a-aa6d-8dd7f2a073c6":{"url":"https://api.getdecimal.ai","description":"Production"},"c9d9f160-d98f-4b34-b277-c9b795bc623e":{"url":"http://localhost:3000","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API token with `sk-de-` prefix.\nCreated in the Decimal dashboard under Settings → API Tokens.\n","scopes":["tickets:read"],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API token with `sk-de-` prefix.\nCreated in the Decimal dashboard under Settings → API Tokens.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi-v0.yaml"},"subdomain":"decimalai","siteName":"Decimal","title":"Get a ticket by Decimal ID - Decimal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T19:15:15.807Z","originalFileLocation":"api-reference/tickets/get-a-ticket-by-decimal-id.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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 a ticket and its messages by its Decimal ID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Decimal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/decimalai/qfgtfvT2P_UOxetf/_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/decimalai/qfgtfvT2P_UOxetf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/decimalai/qfgtfvT2P_UOxetf/_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/decimalai/qfgtfvT2P_UOxetf/_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/decimalai/qfgtfvT2P_UOxetf/_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/decimalai/qfgtfvT2P_UOxetf/_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/decimalai/qfgtfvT2P_UOxetf/_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/decimalai/qfgtfvT2P_UOxetf/_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/decimalai/qfgtfvT2P_UOxetf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a ticket by Decimal ID - Decimal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a ticket and its messages by its Decimal ID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Decimal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://decimalai.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Get+a+ticket+by+Decimal+ID\u0026amp;description=Returns+a+ticket+and+its+messages+by+its+Decimal+ID.%0A\u0026amp;theme=5fb6f588d2920cfa28c3f648\u0026amp;signature=4f2e1870bc65a38a77a3218984a3a29d58302c7fc514863625905502fd5bd2cb\">\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 a ticket by Decimal ID - Decimal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a ticket and its messages by its Decimal ID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://decimalai.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Get+a+ticket+by+Decimal+ID\u0026amp;description=Returns+a+ticket+and+its+messages+by+its+Decimal+ID.%0A\u0026amp;theme=5fb6f588d2920cfa28c3f648\u0026amp;signature=4f2e1870bc65a38a77a3218984a3a29d58302c7fc514863625905502fd5bd2cb\">\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/decimalai/qfgtfvT2P_UOxetf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Decimal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8A6500\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tickets/get-a-ticket-by-decimal-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.decimal.app/#organization\",\"name\":\"Decimal\",\"url\":\"https://docs.decimal.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/decimalai/c8i5FBfvoAcFknE2/logo/light.svg?fit=max\u0026auto=format\u0026n=c8i5FBfvoAcFknE2\u0026q=85\u0026s=cba5ef8b4040dc057d1a181f1e2dfb1e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.decimal.app#website\",\"name\":\"Decimal\",\"url\":\"https://docs.decimal.app\",\"publisher\":{\"@id\":\"https://docs.decimal.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id#webpage\",\"url\":\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id\",\"name\":\"Get a ticket by Decimal ID\",\"description\":\"Returns a ticket and its messages by its Decimal ID.\",\"dateModified\":\"2026-11-26T19:15:15.807Z\",\"isPartOf\":{\"@id\":\"https://docs.decimal.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tickets\",\"item\":\"https://docs.decimal.app/api-reference/tickets/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tickets\",\"item\":\"https://docs.decimal.app/api-reference/tickets/list-tickets\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get a ticket by Decimal ID\",\"item\":\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id#apireference\",\"headline\":\"Get a ticket by Decimal ID\",\"name\":\"Get a ticket by Decimal ID\",\"description\":\"Returns a ticket and its messages by its Decimal ID.\",\"url\":\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id\",\"mainEntityOfPage\":{\"@id\":\"https://docs.decimal.app/api-reference/tickets/get-a-ticket-by-decimal-id#webpage\"},\"dateModified\":\"2026-11-26T19:15:15.807Z\",\"publisher\":{\"@id\":\"https://docs.decimal.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.decimal.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Decimal\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Decimal\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/tickets/get-a-ticket-by-decimal-id.md","siteName":"Decimal","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/book-open.svg","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Integrations","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/blocks.svg","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API reference","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/code-xml.svg","groups":[{"group":"Introduction","pages":[{"title":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/overview"},{"title":"Authentication","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/key.svg","href":"/api-reference/authentication"},{"title":"Connect AI tools","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/plug.svg","href":"/api-reference/mcp"},{"title":"Rate limits","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/gauge.svg","href":"/api-reference/rate-limits"},{"title":"Errors","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/triangle-alert.svg","href":"/api-reference/errors"},{"title":"Pagination","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/list-ordered.svg","href":"/api-reference/pagination"},{"title":"Idempotency","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/repeat-1.svg","href":"/api-reference/idempotency"}]},{"group":"Chat","pages":[{"title":"Chat API","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/chat/overview"},{"title":"Build your own chat UI","sidebarTitle":"Build a chat UI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/code-xml.svg","href":"/api-reference/chat/build-a-chat-ui"},{"group":"Conversations","icon":"/images/icons/messages-square.svg","pages":[{"title":"Send a message","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml post /v0/chat","href":"/api-reference/chat/send-a-message"},{"title":"Get conversation","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/chat/{conversation_id}","href":"/api-reference/chat/get-conversation"},{"title":"Rate an answer","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml post /v0/chat/{conversation_id}/feedback","href":"/api-reference/chat/rate-an-answer"}]}]},{"group":"Escalation","pages":[{"title":"Escalation API","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/escalation/overview"},{"group":"Escalations","icon":"/images/icons/headset.svg","pages":[{"title":"Escalate to ticketing integration","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml post /v0/chat/{conversation_id}/escalate","href":"/api-reference/escalation/escalate-to-ticketing-integration"}]}]},{"group":"Tickets","pages":[{"title":"Tickets API","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/tickets/overview"},{"group":"Tickets","icon":"/images/icons/inbox.svg","pages":[{"title":"List tickets","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/tickets","href":"/api-reference/tickets/list-tickets"},{"title":"Search tickets","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/tickets/search","href":"/api-reference/tickets/search-tickets"},{"title":"Create a ticket","description":"Creates a ticket from a contact form or any other source. Decimal answers it like an\nemailed ticket: replies go to `requester.email` from your mailbox, and the requester\ncan reply by email to continue the thread. Needs an email mailbox connected in Decimal.\n","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml post /v0/tickets","href":"/api-reference/tickets/create-a-ticket"},{"title":"Get a ticket by Decimal ID","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/tickets/{id}","href":"/api-reference/tickets/get-a-ticket-by-decimal-id"},{"title":"Update a ticket","description":"Changes a ticket's status, priority, or assignee, or adds tags, in the helpdesk it came\nfrom. Send at least one field. Changes apply in that order and stop at the first that\nfails, so a failed request may have applied the ones before it. A value the ticket does\nnot accept fails with `bad_request` naming the ones it does.\n","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml patch /v0/tickets/{id}","href":"/api-reference/tickets/update-a-ticket"},{"title":"Add an internal note","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml post /v0/tickets/{id}/notes","href":"/api-reference/tickets/add-an-internal-note"},{"title":"Reply to the customer","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml post /v0/tickets/{id}/replies","href":"/api-reference/tickets/reply-to-the-customer"},{"title":"Download a ticket file","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/tickets/{id}/files/{file_id}","href":"/api-reference/tickets/download-a-ticket-file"},{"title":"Get a ticket","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/tickets/{source}/{external_id}","href":"/api-reference/tickets/get-a-ticket"},{"title":"Delete a ticket","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml delete /v0/tickets/{source}/{external_id}","href":"/api-reference/tickets/delete-a-ticket"}]}]},{"group":"Knowledge","pages":[{"title":"Knowledge API","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/knowledge/overview"},{"group":"Articles","icon":"/images/icons/file-text.svg","pages":[{"title":"List knowledge articles","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/knowledge/articles","href":"/api-reference/knowledge/list-knowledge-articles"},{"title":"Search knowledge articles","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/knowledge/articles/search","href":"/api-reference/knowledge/search-knowledge-articles"},{"title":"Get a knowledge article","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/knowledge/articles/{id}","href":"/api-reference/knowledge/get-a-knowledge-article"},{"title":"Delete a knowledge article","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml delete /v0/knowledge/articles/{id}","href":"/api-reference/knowledge/delete-a-knowledge-article"},{"title":"Delete knowledge articles","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml delete /v0/knowledge/articles","href":"/api-reference/knowledge/delete-knowledge-articles"}]}]},{"group":"Knowledge gaps","pages":[{"title":"Knowledge gaps API","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/gaps/overview"},{"group":"Gaps","icon":"/images/icons/lightbulb.svg","pages":[{"title":"List gaps","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/gaps","href":"/api-reference/knowledge-gaps/list-gaps"},{"title":"Get a gap","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/gaps/{id}","href":"/api-reference/knowledge-gaps/get-a-gap"},{"title":"Approve a gap","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml post /v0/gaps/{id}/approve","href":"/api-reference/knowledge-gaps/approve-a-gap"},{"title":"Reject a gap","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml post /v0/gaps/{id}/reject","href":"/api-reference/knowledge-gaps/reject-a-gap"}]}]},{"group":"Pull requests","pages":[{"title":"Pull requests API","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/pull-requests/overview"},{"group":"Pull requests","icon":"/images/icons/git-pull-request.svg","pages":[{"title":"List pull requests","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/pull_requests","href":"/api-reference/pull-requests/list-pull-requests"},{"title":"Get a pull request","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/pull_requests/{id}","href":"/api-reference/pull-requests/get-a-pull-request"}]}]},{"group":"Automations","pages":[{"title":"Automations API","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/automations/overview"},{"group":"Automations","icon":"/images/icons/workflow.svg","pages":[{"title":"List automations","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/automations","href":"/api-reference/automations/list-automations"},{"title":"Get an automation","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/automations/{id}","href":"/api-reference/automations/get-an-automation"},{"title":"List an automation's runs","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/automations/{id}/runs","href":"/api-reference/automations/list-an-automations-runs"}]}]},{"group":"Audit logs","pages":[{"title":"Audit logs API","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/info.svg","href":"/api-reference/audit-logs/overview"},{"group":"Audit logs","icon":"/images/icons/scroll-text.svg","pages":[{"title":"List audit logs","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/audit_logs","href":"/api-reference/audit-logs/list-audit-logs"},{"title":"Get an audit log","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/audit_logs/{id}","href":"/api-reference/audit-logs/get-an-audit-log"}]}]},{"group":"Utility","pages":[{"title":"Get current token info","deprecated":null,"version":null,"openapi":"/openapi-v0.yaml get /v0/me","href":"/api-reference/utility/get-current-token-info"}]}]},{"tab":"Release notes","icon":"https://mintlify.s3.us-west-1.amazonaws.com/decimalai/images/icons/megaphone.svg","pages":[{"title":"Release notes","href":"/release-notes"}]}]},"basePath":"","title":"Get a ticket by Decimal ID - Decimal","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","SectionHeading-Cg4lfWZw.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}