Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
alert_id
string
required
Query Parameters
project_id
string | null
Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.
Response
Successful Response
One alert with its full rule: the summary plus filters and gap handling.
aggregation
string
required
alerted_at
string<date-time> | null
required
create_time
string<date-time>
required
creator
string | null
required
filters
AlertFilterItem · object[]
required
Show child attributes
id
string
required
last_error
string | null
required
last_error_at
string<date-time> | null
required
last_evaluated_at
string<date-time> | null
required
last_notify_at
string<date-time> | null
required
last_notify_error
string | null
required
last_notify_status
string | null
required
measure
string
required
name
string
required
no_data_mode
string
required
renotify
AlertRenotify · object
required
How often an alert re-notifies while it stays in the alerting state.
Kept a single-level object rather than a discriminated union, matching
the request-side shape. The cross-field rule is enforced by a validator
instead, so a contradictory stored rule fails the detail read closed
rather than passing through half-typed.
Show child attributes
severity
string
required
severity_changed_at
string<date-time> | null
required
status
string
required
threshold
number
required
threshold_operator
string
required
update_time
string<date-time>
required
view
string
required
window
string
required
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"traceroot","description":"The open-source platform that continuously improves your ai agents.","colors":{"primary":"#0f766e","light":"#5ed4cd","dark":"#0f827d"},"logo":{"light":"https://mintcdn.com/tracerootai/xn3XQe1zxTOauQLD/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=xn3XQe1zxTOauQLD\u0026q=85\u0026s=3fb46b8c3c4fdef54a9cf243d7f45867","dark":"https://mintcdn.com/tracerootai/xn3XQe1zxTOauQLD/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=xn3XQe1zxTOauQLD\u0026q=85\u0026s=3fb46b8c3c4fdef54a9cf243d7f45867","href":"https://www.traceroot.co"},"favicon":"https://mintcdn.com/tracerootai/r23IQmAqV3FkFUJ8/logo/favicon.png?fit=max\u0026auto=format\u0026n=r23IQmAqV3FkFUJ8\u0026q=85\u0026s=a2d5b6e356f59f5907c5bb825a002a68","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://github.com/traceroot-ai/traceroot/tree/main/examples","label":"Examples"},{"href":"https://app.traceroot.ai","label":"traceroot Cloud"}]},"footer":{"socials":{"x":"https://x.com/TraceRootAI","github":"https://github.com/traceroot-ai/traceroot","linkedin":"https://www.linkedin.com/company/traceroot-ai","discord":"https://discord.gg/TM2m3CtKuC"},"links":[{"header":"Product","items":[{"label":"App","href":"https://app.traceroot.ai/"},{"label":"Docs","href":"https://www.traceroot.co/docs/getting-started/introduction"},{"label":"Integrations","href":"https://www.traceroot.co/docs/integrations/overview"},{"label":"Pricing","href":"https://www.traceroot.co/pricing"},{"label":"Changelog","href":"https://www.traceroot.co/changelog"}]},{"header":"Company","items":[{"label":"Blog","href":"https://www.traceroot.co/blog"},{"label":"Service description","href":"https://www.traceroot.co/service"},{"label":"Talk to sales","href":"https://cal.com/traceroot/30min"}]},{"header":"Trust","items":[{"label":"Security","href":"https://www.traceroot.co/security"},{"label":"Trust Center","href":"https://trust.traceroot.ai"},{"label":"Privacy","href":"https://www.traceroot.co/privacy"},{"label":"Terms","href":"https://www.traceroot.co/terms"}]},{"header":"Community","items":[{"label":"GitHub","href":"https://github.com/traceroot-ai/traceroot"},{"label":"Discord","href":"https://discord.gg/TM2m3CtKuC"},{"label":"X","href":"https://x.com/TraceRootAI"},{"label":"LinkedIn","href":"https://www.linkedin.com/company/traceroot-ai"}]}]},"search":{},"integrations":{"posthog":{"apiKey":"phc_X8eeQUsyMb7bk5sw0msmN8ARBxurlVyQxC0uvHVul7C","apiHost":"https://us.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"appearance":"light","background":"https://mintcdn.com/tracerootai/w6ZCi-88-jgYww6Q/images/og-background.png?fit=max\u0026auto=format\u0026n=w6ZCi-88-jgYww6Q\u0026q=85\u0026s=659b20de18b6b429609af39183e06e79"},"markdown":{"instructions":["To set up traceroot in a repository, follow the setup prompt in https://www.traceroot.co/docs/getting-started/coding-agents.md."]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tracerootai","hasAudioNarration":false,"actualSubdomain":"tracerootai","customDomains":["traceroot.ai"],"gitSource":{"type":"github","owner":"traceroot-ai","repo":"traceroot","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0ce2915b1c19aa1f0a2d0e","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API Reference","count":59},{"language":"default","tag":"Endpoints","count":58},{"language":"default","tag":"Documentation","count":44},{"language":"default","tag":"Integrations","count":35},{"language":"default","tag":"Frameworks","count":15},{"language":"default","tag":"Features","count":13},{"language":"default","tag":"Tracing","count":12},{"language":"default","tag":"Offline Eval","count":10},{"language":"default","tag":"CLI","count":9},{"language":"default","tag":"Detectors","count":9}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"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},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"brand/fonts.css","href":"/docs/_mintlify/custom/tracerootai/86255ddd80a71d26/brand/fonts.css"},{"filePath":"custom.css","content":":root{--font-family-headings-custom: \"Geist\", sans-serif;--font-family-body-custom: \"Geist\", sans-serif;--tr-brand: #14b8b0;--tr-link: #0f827d;--tr-text: #0b1015;--tr-muted: #595d60;--tr-border: #dedfe0;--tr-surface: #f4f4f6;--tr-mono: \"Geist Mono\", ui-monospace, monospace;--sidebar-width: 280px;--content-width: 640px}body{color:var(--tr-text);-webkit-font-smoothing:antialiased}#navbar .nav-logo{height:24px}#search-bar-entry,#assistant-entry,.navbar-link a{border-radius:0;background:var(--tr-surface);box-shadow:none;border:0;font-weight:400}.navbar-link a{padding:8px 14px;color:var(--tr-text)}#search-bar-entry{background:color-mix(in srgb, var(--tr-surface) 65%, transparent)}.nav-tabs-item{font:400 11px/1 var(--tr-mono);text-transform:uppercase;letter-spacing:0.05em;text-shadow:none}.nav-tabs-item[data-active=\"true\"]{color:var(--tr-link)}.sidebar-group-header{color:var(--tr-muted);font:400 11px/15px var(--tr-mono);text-transform:uppercase;letter-spacing:0.04em;margin-bottom:10px;padding-left:8px}.sidebar-group a{border-radius:0;color:var(--tr-muted);font-size:15px;line-height:21px;padding-top:8px;padding-bottom:8px;text-shadow:none;font-weight:400;margin-left:-8px;width:calc(100% + 32px)}.sidebar-group li[data-active]>a{background:transparent;color:var(--tr-text)}#navigation-items>div{margin-bottom:24px}#header{color:var(--tr-text)}#header .eyebrow{display:table;padding:3px 8px;background:color-mix(in srgb, var(--tr-brand) 10%, transparent);color:var(--tr-link);font:400 10px/14px var(--tr-mono);text-transform:uppercase;letter-spacing:0.04em;margin-bottom:18px}#page-title{font-weight:400;font-size:40px;line-height:45px;letter-spacing:-1.6px;color:var(--tr-text)}#header .prose{color:var(--tr-muted);font-size:18px;line-height:28px;margin-top:22px}#content{color:var(--tr-muted);font-size:18px;line-height:28px;margin-top:24px;margin-bottom:24px}#content :where(h2,h3,h4){color:var(--tr-text);font-weight:400}#content h2{font-size:24px;line-height:30px;letter-spacing:-0.6px}#content :where(a:not(.card a)){font-weight:400;text-underline-offset:2px}#content :where(p,li,[data-as=\"p\"])>a{color:var(--tr-link)}#content :focus-visible,#navbar :focus-visible,#sidebar :focus-visible{outline-color:var(--tr-link)}#page-context-menu-button{background:var(--tr-surface);border:0;border-radius:0;height:44px;font:400 11px/16px var(--tr-mono);letter-spacing:0.06em;text-transform:uppercase}#page-context-menu{border-radius:0}#page-context-menu>button{border-radius:0;border:0;height:44px;background:var(--tr-surface)}#page-context-menu>button:last-child{width:44px;border-left:1px solid var(--tr-border)}#page-context-menu-button>div{flex-direction:row-reverse;font:inherit}#table-of-contents :where(a,h2){color:var(--tr-muted);font-weight:400}#table-of-contents a:hover,#table-of-contents [data-active=\"true\"]{color:var(--tr-text)}.tr-capabilities{gap:0;margin:24px 0 16px;border-top:1px solid var(--tr-border);border-left:1px solid var(--tr-border);grid-auto-rows:1fr}.tr-capabilities .card{margin:0;border:0;border-right:1px solid var(--tr-border);border-bottom:1px solid var(--tr-border);border-radius:0;box-shadow:none;min-width:0;background:transparent}.tr-capabilities [data-component-part=\"card-content-container\"]{padding:24px 16px}.tr-capabilities [data-component-part=\"card-icon\"]{box-sizing:border-box;width:32px;height:32px;padding:7px;border:1px solid color-mix(in srgb, var(--tr-border) 60%, transparent);background:color-mix(in srgb, var(--tr-surface) 50%, transparent);color:#9399a3}.tr-capabilities [data-component-part=\"card-icon\"]>svg{width:16px;height:16px;background-color:#9399a3}#content .tr-capabilities [data-component-part=\"card-title\"]{margin-top:8px;color:var(--tr-text);font-size:18px;font-weight:400;line-height:21px;letter-spacing:-0.2px}.tr-capabilities [data-component-part=\"card-content\"]{margin-top:8px;color:var(--tr-muted);font-size:14px;line-height:20px}.tr-integration-card{border-radius:0}#pagination{margin-top:26px;padding:24px 0;border-top:1px solid var(--tr-border);color:var(--tr-text);font-weight:400}#pagination:not(:has([rel=\"prev\"]))::before{content:\"← Previous\";align-self:flex-start;color:#989da2}#pagination :is([rel=\"prev\"],[rel=\"next\"]){flex-direction:column;gap:4px}#pagination [rel=\"prev\"]{align-items:flex-start}#pagination [rel=\"next\"]{align-items:flex-end}#pagination :is([rel=\"prev\"],[rel=\"next\"])::before{color:var(--tr-text);font-size:15px}#pagination [rel=\"prev\"]::before{content:\"← Previous\"}#pagination [rel=\"next\"]::before{content:\"Next →\"}#pagination [data-component-part=\"pagination-title\"]{color:var(--tr-muted);font-size:13px;font-weight:400}#pagination [data-component-part=\"pagination-chevron\"]{display:none}#content-area>[data-assistant-bar][aria-hidden=\"true\"][inert]{height:0;min-height:0;margin-block:0;overflow:hidden}html[data-current-path$=\"/getting-started/introduction\"] #key-capabilities{margin-top:56px;padding-top:56px;border-top:1px solid var(--tr-border)}html[data-current-path$=\"/getting-started/introduction\"] #content>:last-child{color:var(--tr-text)}@media (min-width: 1024px){#navbar .nav-logo{margin-left:-8px}#navbar .nav-tabs{gap:24px;margin-left:-8px}#navbar .nav-tabs-item{height:40px}#sidebar{margin-left:-12px}@layer utilities{div:has(+#footer.tr-docs-footer)>#sidebar>#sidebar-content{position:fixed!important;inset:auto;top:inherit;width:inherit;height:inherit}}html:is([data-page-mode=\"none\"],[data-page-mode=\"default\"]) #content-container{position:relative}html:is([data-page-mode=\"none\"],[data-page-mode=\"default\"]) #content-container::before{content:\"\";position:absolute;left:-1px;top:0;bottom:0;border-left:1px solid var(--tr-border);pointer-events:none}#navigation-items{padding-top:12px;padding-left:12px;padding-right:0}html:is([data-page-mode=\"none\"],[data-page-mode=\"default\"]) #content-area{min-width:0;margin-left:0;margin-right:auto;padding-left:56px;padding-right:0;max-width:calc(var(--content-width) + 56px)}#header{margin-top:16px}}@media (min-width: 1280px){html:is([data-page-mode=\"none\"],[data-page-mode=\"default\"]) #content-area{width:calc(var(--content-width) + 56px);flex-grow:0}#table-of-contents-layout{padding-left:32px;width:304px}div:has(+#footer.tr-docs-footer)>#content-container #content-side-layout>#table-of-contents-layout{top:inherit}div:has(+#footer.tr-docs-footer)>#content-container #content-side-layout>#table-of-contents-layout>#table-of-contents{position:fixed!important;top:inherit;bottom:0}}@media (max-width: 1023px){#page-title{font-size:34px;line-height:40px;letter-spacing:-1px}#content{font-size:16px;line-height:26px}html[data-current-path$=\"/getting-started/introduction\"] #key-capabilities{margin-top:36px;padding-top:32px}}@media (max-width: 639px){.tr-capabilities{grid-auto-rows:auto}.api-section-heading>:first-child{flex-wrap:wrap;row-gap:8px}}@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}"},{"filePath":"footer.css","content":"#footer.tr-docs-footer{--tr-footer-gap: 56px;position:relative;display:block;width:100%;padding:0 0 32px;border:0;color:var(--tr-muted);font-family:\"Geist\", sans-serif;font-size:13px;line-height:1.5;text-align:left}.tr-docs-footer *,.tr-docs-footer *::before,.tr-docs-footer *::after{box-sizing:border-box}.tr-docs-footer__inner{max-width:none;gap:0;padding:calc(var(--tr-footer-gap) - 1px) 0 0;border-top:1px solid var(--tr-border)}.tr-docs-footer__inner>:not(.tr-docs-footer__row):not(.tr-docs-footer__extras){display:none}.tr-docs-footer__extras,.tr-docs-footer__columns{display:contents}.tr-docs-footer a{color:inherit;text-decoration:none}.tr-docs-footer a:hover{color:var(--tr-text)}.tr-docs-footer a:focus-visible{outline:2px solid var(--tr-link);outline-offset:4px}.tr-docs-footer__row{display:grid;width:100%;grid-template-columns:repeat(4, minmax(0, 1fr));gap:0 16px;align-items:start;padding:24px 20px 26px;border:1px solid var(--tr-border)}.tr-docs-footer__row>:not(.tr-docs-footer__columns){display:none}.tr-docs-footer__columns>div>div>p{margin:0 0 12px;color:var(--tr-text);font-family:\"Geist Mono\", ui-monospace, monospace;font-size:10px;font-weight:400;line-height:15px;letter-spacing:0.6px;text-transform:uppercase}.tr-docs-footer__columns>div{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:0}.tr-docs-footer__columns>div>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.tr-docs-footer__columns a{display:inline-flex;max-width:none;min-height:22px;align-items:center;gap:7px;padding:1px 0;overflow:visible;font-size:13px;font-weight:400;line-height:20px;white-space:normal}.tr-docs-footer__columns a:is([href^=\"https://www.traceroot.co/docs\"],[href^=\"https://cal.com/\"],[href^=\"https://trust.traceroot.ai\"],[href^=\"https://github.com/\"],[href^=\"https://discord.gg/\"],[href^=\"https://x.com/\"],[href^=\"https://www.linkedin.com/\"])::after{flex:0 0 10px;width:10px;height:10px;background:currentColor;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M2.5 7.5l5-5M3.5 2.5h4v4'/%3E%3C/svg%3E\") center / contain no-repeat;content:\"\";opacity:0.7}.tr-docs-footer__wordmark{display:block;width:100%;height:auto;margin:calc(var(--tr-footer-gap) - 6px) 0 0}@media (min-width: 1024px){#footer.tr-docs-footer::before{position:absolute;top:0;bottom:0;left:var(--tr-footer-divider-left);width:1px;background:var(--tr-border);content:\"\"}}@media (max-width: 679px){.tr-docs-footer__row{grid-template-columns:repeat(2, minmax(0, 1fr));grid-template-rows:auto auto;grid-auto-flow:column;gap:32px 24px}.tr-docs-footer__wordmark{margin-top:calc(var(--tr-footer-gap) - 4px)}}"}]}
{"page":{"pagePath":"api-reference/alerts/get-alert","slug":"/api-reference/alerts/get-alert","pageMetadata":{"title":"Get Alert","description":"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/alerts/{alert_id}","href":"/api-reference/alerts/get-alert","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: \"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation 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":"Get Alert","description":"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/alerts/{alert_id}","href":"/api-reference/alerts/get-alert","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/tracerootai/d1339be582294fb7/footer.js","/docs/_mintlify/custom/tracerootai/5732329d009678ab/favicon.js"],"openApiReferenceData":{"operation":{"description":"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state.","operationId":"get_alert","parameters":["60d4879b-d42c-4802-af57-68cf75faaf32","ecc28a3a-e831-47f3-9e1f-d577bf775b23"],"responses":{"200":"ee274dcd-cee0-43e3-8f11-db3f63a876ae","401":"5b3038d6-1166-442c-ad30-d97f30926091","404":"476d78d0-d976-4c7f-949d-2af628f56c7a","422":"648c518f-6510-4a40-ae27-f121261b22b6","503":"c4167fac-42e8-4eed-a5e7-00a48ba7c0d8"},"security":["a86a1591-e811-4d52-84a4-783d0fa2fa37"],"summary":"Get Alert","tags":["Alerts"],"x-mint":{"metadata":{"description":"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state."}},"x-tool":{"description":"Fetch one alert's full rule by id: view, measure, aggregation, filters, window, threshold, renotify and no-data handling, plus its evaluation state. Resolve the alert id by listing the project's alerts and matching the name — never guess an id.","enabled":true,"name":"get_alert"},"method":"get","type":"path","servers":["34bc0a96-540b-4281-8217-141e4f1c0638","4970301b-0cc2-42ac-8738-cb650e5ddad4"],"path":"/api/v1/public/alerts/{alert_id}","baseUrlOptions":["https://app.traceroot.ai","{baseUrl}"],"title":"Get Alert","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"60d4879b-d42c-4802-af57-68cf75faaf32":{"in":"path","name":"alert_id","required":true,"schema":{"title":"Alert Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"ecc28a3a-e831-47f3-9e1f-d577bf775b23":{"description":"Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.","in":"query","name":"project_id","required":false,"schema":{"oneOf":[{"type":"string","title":"Project Id","description":"Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Project Id","description":"Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"responses":{"ee274dcd-cee0-43e3-8f11-db3f63a876ae":{"content":{"application/json":{"schema":{"description":"One alert with its full rule: the summary plus filters and gap handling.","properties":{"aggregation":{"title":"Aggregation","type":"string","isRequired":true,"uniqueKey":"aggregation","typeLabel":"string"},"alerted_at":{"oneOf":[{"type":"string","title":"Alerted At","format":"date-time","isRequired":true,"uniqueKey":"alerted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Alerted At","isRequired":true,"uniqueKey":"alerted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"alerted_at","typeLabel":"string\u003cdate-time> | null"},"create_time":{"format":"date-time","title":"Create Time","type":"string","isRequired":true,"uniqueKey":"create_time","typeLabel":"string\u003cdate-time>"},"creator":{"oneOf":[{"type":"string","title":"Creator","isRequired":true,"uniqueKey":"creator.oneOf.0","typeLabel":"string"},{"type":"null","title":"Creator","isRequired":true,"uniqueKey":"creator.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"creator","typeLabel":"string | null"},"filters":{"items":{"description":"A row predicate an alert's measure is evaluated over.\n\nMirrors the alert filter vocabulary in the frontend core package: ``op``\nis one of the two alert operators, and ``key`` names the map entry on a\nkeyed field (metadata).","properties":{"field":{"title":"Field","type":"string","isRequired":true,"uniqueKey":"filters.items.[INDEX].field","typeLabel":"string"},"op":{"enum":["=","contains"],"title":"Op","type":"string","isRequired":true,"uniqueKey":"filters.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","title":"Value","isRequired":true,"uniqueKey":"filters.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","title":"Value","isRequired":true,"uniqueKey":"filters.items.[INDEX].value.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"filters.items.[INDEX].value","typeLabel":"string | number"},"key":{"oneOf":[{"type":"string","title":"Key","uniqueKey":"filters.items.[INDEX].key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Key","uniqueKey":"filters.items.[INDEX].key.oneOf.1","typeLabel":"null"}],"uniqueKey":"filters.items.[INDEX].key","typeLabel":"string | null"}},"required":["field","op","value"],"title":"AlertFilterItem","type":"object","uniqueKey":"filters.items.[INDEX]","typeLabel":"AlertFilterItem · object"},"title":"Filters","type":"array","isRequired":true,"uniqueKey":"filters","typeLabel":"AlertFilterItem · object[]"},"id":{"title":"Id","type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"last_error":{"oneOf":[{"type":"string","title":"Last Error","isRequired":true,"uniqueKey":"last_error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Error","isRequired":true,"uniqueKey":"last_error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_error","typeLabel":"string | null"},"last_error_at":{"oneOf":[{"type":"string","title":"Last Error At","format":"date-time","isRequired":true,"uniqueKey":"last_error_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Last Error At","isRequired":true,"uniqueKey":"last_error_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_error_at","typeLabel":"string\u003cdate-time> | null"},"last_evaluated_at":{"oneOf":[{"type":"string","title":"Last Evaluated At","format":"date-time","isRequired":true,"uniqueKey":"last_evaluated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Last Evaluated At","isRequired":true,"uniqueKey":"last_evaluated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_evaluated_at","typeLabel":"string\u003cdate-time> | null"},"last_notify_at":{"oneOf":[{"type":"string","title":"Last Notify At","format":"date-time","isRequired":true,"uniqueKey":"last_notify_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Last Notify At","isRequired":true,"uniqueKey":"last_notify_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_notify_at","typeLabel":"string\u003cdate-time> | null"},"last_notify_error":{"oneOf":[{"type":"string","title":"Last Notify Error","isRequired":true,"uniqueKey":"last_notify_error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Notify Error","isRequired":true,"uniqueKey":"last_notify_error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_notify_error","typeLabel":"string | null"},"last_notify_status":{"oneOf":[{"type":"string","title":"Last Notify Status","isRequired":true,"uniqueKey":"last_notify_status.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Notify Status","isRequired":true,"uniqueKey":"last_notify_status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_notify_status","typeLabel":"string | null"},"measure":{"title":"Measure","type":"string","isRequired":true,"uniqueKey":"measure","typeLabel":"string"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"no_data_mode":{"title":"No Data Mode","type":"string","isRequired":true,"uniqueKey":"no_data_mode","typeLabel":"string"},"renotify":{"description":"How often an alert re-notifies while it stays in the alerting state.\n\nKept a single-level object rather than a discriminated union, matching\nthe request-side shape. The cross-field rule is enforced by a validator\ninstead, so a contradictory stored rule fails the detail read closed\nrather than passing through half-typed.","properties":{"mode":{"enum":["OFF","EVERY"],"title":"Mode","type":"string","isRequired":true,"uniqueKey":"renotify.mode","typeLabel":"enum\u003cstring>"},"interval_minutes":{"oneOf":[{"type":"integer","title":"Interval Minutes","uniqueKey":"renotify.interval_minutes.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Interval Minutes","uniqueKey":"renotify.interval_minutes.oneOf.1","typeLabel":"null"}],"uniqueKey":"renotify.interval_minutes","typeLabel":"integer | null"}},"required":["mode"],"title":"AlertRenotify","type":"object","isRequired":true,"uniqueKey":"renotify","typeLabel":"AlertRenotify · object"},"severity":{"title":"Severity","type":"string","isRequired":true,"uniqueKey":"severity","typeLabel":"string"},"severity_changed_at":{"oneOf":[{"type":"string","title":"Severity Changed At","format":"date-time","isRequired":true,"uniqueKey":"severity_changed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Severity Changed At","isRequired":true,"uniqueKey":"severity_changed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"severity_changed_at","typeLabel":"string\u003cdate-time> | null"},"status":{"title":"Status","type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"threshold":{"title":"Threshold","type":"number","isRequired":true,"uniqueKey":"threshold","typeLabel":"number"},"threshold_operator":{"title":"Threshold Operator","type":"string","isRequired":true,"uniqueKey":"threshold_operator","typeLabel":"string"},"update_time":{"format":"date-time","title":"Update Time","type":"string","isRequired":true,"uniqueKey":"update_time","typeLabel":"string\u003cdate-time>"},"view":{"title":"View","type":"string","isRequired":true,"uniqueKey":"view","typeLabel":"string"},"window":{"title":"Window","type":"string","isRequired":true,"uniqueKey":"window","typeLabel":"string"}},"required":["id","name","view","measure","aggregation","window","threshold_operator","threshold","status","severity","severity_changed_at","alerted_at","last_evaluated_at","last_error","last_error_at","last_notify_status","last_notify_error","last_notify_at","create_time","update_time","creator","filters","renotify","no_data_mode"],"title":"AlertDetail","type":"object","uniqueKey":"","typeLabel":"AlertDetail · object"},"examples":{"Example":{"title":"Example","value":{"aggregation":"\u003cstring>","alerted_at":"2023-11-07T05:31:56Z","create_time":"2023-11-07T05:31:56Z","creator":"\u003cstring>","filters":[{"field":"\u003cstring>","op":"=","value":"\u003cstring>","key":"\u003cstring>"}],"id":"\u003cstring>","last_error":"\u003cstring>","last_error_at":"2023-11-07T05:31:56Z","last_evaluated_at":"2023-11-07T05:31:56Z","last_notify_at":"2023-11-07T05:31:56Z","last_notify_error":"\u003cstring>","last_notify_status":"\u003cstring>","measure":"\u003cstring>","name":"\u003cstring>","no_data_mode":"\u003cstring>","renotify":{"mode":"OFF","interval_minutes":123},"severity":"\u003cstring>","severity_changed_at":"2023-11-07T05:31:56Z","status":"\u003cstring>","threshold":123,"threshold_operator":"\u003cstring>","update_time":"2023-11-07T05:31:56Z","view":"\u003cstring>","window":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"5b3038d6-1166-442c-ad30-d97f30926091":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Authentication failed","exampleType":"generated"},"476d78d0-d976-4c7f-949d-2af628f56c7a":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Alert not found","exampleType":"generated"},"648c518f-6510-4a40-ae27-f121261b22b6":{"content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"title":"Location","type":"array","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"title":"Error Type","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"ctx":{"title":"Context","type":"object","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"title":"Detail","type":"array","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"title":"HTTPValidationError","type":"object","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","ctx":{},"input":"\u003cunknown>"}]}}},"exampleType":"generated"}},"description":"Validation Error","exampleType":"generated"},"c4167fac-42e8-4eed-a5e7-00a48ba7c0d8":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Authentication service unavailable","exampleType":"generated"}},"security":{"a86a1591-e811-4d52-84a4-783d0fa2fa37":{"BearerAuth":{"scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"34bc0a96-540b-4281-8217-141e4f1c0638":{"description":"traceroot Cloud","url":"https://app.traceroot.ai"},"4970301b-0cc2-42ac-8738-cb650e5ddad4":{"description":"Self-hosted","url":"{baseUrl}","variables":{"baseUrl":{"default":"http://localhost:8000","description":"Your traceroot backend URL"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","type":"http","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":"api-reference/openapi.json"},"subdomain":"tracerootai","siteName":"traceroot","title":"Get Alert - traceroot","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T12:41:17.001Z","originalFileLocation":"api-reference/alerts/get-alert.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=\"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state.\">\u003cmeta data-mint-head name=\"application-name\" content=\"traceroot\">\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/tracerootai/uN_XxkS6MEmrMBTq/_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/tracerootai/uN_XxkS6MEmrMBTq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/tracerootai/uN_XxkS6MEmrMBTq/_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/tracerootai/uN_XxkS6MEmrMBTq/_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/tracerootai/uN_XxkS6MEmrMBTq/_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/tracerootai/uN_XxkS6MEmrMBTq/_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/tracerootai/uN_XxkS6MEmrMBTq/_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/tracerootai/uN_XxkS6MEmrMBTq/_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/tracerootai/uN_XxkS6MEmrMBTq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Alert - traceroot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"traceroot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.traceroot.co/docs/api-reference/alerts/get-alert\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tracerootai.mintlify.site/docs/_mintlify/api/og/v2?division=Alerts\u0026amp;title=Get+Alert\u0026amp;description=Fetch+one+traceroot+alert+by+id+with+its+full+rule%3A+view%2C+measure%2C+aggregation%2C+filters%2C+window%2C+threshold%2C+and+current+evaluation+state.\u0026amp;theme=09991e96c27f0dd208490c22\u0026amp;signature=c2922522983a3ba281b55f08c9aa6d81152b77ef79a1bf3c3cd590b8aea5367f\">\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 Alert - traceroot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tracerootai.mintlify.site/docs/_mintlify/api/og/v2?division=Alerts\u0026amp;title=Get+Alert\u0026amp;description=Fetch+one+traceroot+alert+by+id+with+its+full+rule%3A+view%2C+measure%2C+aggregation%2C+filters%2C+window%2C+threshold%2C+and+current+evaluation+state.\u0026amp;theme=09991e96c27f0dd208490c22\u0026amp;signature=c2922522983a3ba281b55f08c9aa6d81152b77ef79a1bf3c3cd590b8aea5367f\">\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/tracerootai/uN_XxkS6MEmrMBTq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"traceroot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f766e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.traceroot.co/docs/api-reference/alerts/get-alert\">\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/alerts/get-alert.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.traceroot.co/#organization\",\"name\":\"traceroot\",\"url\":\"https://www.traceroot.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tracerootai/xn3XQe1zxTOauQLD/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=xn3XQe1zxTOauQLD\u0026q=85\u0026s=3fb46b8c3c4fdef54a9cf243d7f45867\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.traceroot.co/docs#website\",\"name\":\"traceroot\",\"url\":\"https://www.traceroot.co/docs\",\"publisher\":{\"@id\":\"https://www.traceroot.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.traceroot.co/docs/api-reference/alerts/get-alert#webpage\",\"url\":\"https://www.traceroot.co/docs/api-reference/alerts/get-alert\",\"name\":\"Get Alert\",\"description\":\"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state.\",\"dateModified\":\"2026-11-25T12:41:17.001Z\",\"isPartOf\":{\"@id\":\"https://www.traceroot.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.traceroot.co/docs/api-reference/alerts/get-alert#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.traceroot.co/docs/api-reference/alerts/get-alert#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://www.traceroot.co/docs/api-reference/alerts/list-alerts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alerts\",\"item\":\"https://www.traceroot.co/docs/api-reference/alerts/list-alerts\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Alert\",\"item\":\"https://www.traceroot.co/docs/api-reference/alerts/get-alert\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.traceroot.co/docs/api-reference/alerts/get-alert#apireference\",\"headline\":\"Get Alert\",\"name\":\"Get Alert\",\"description\":\"Fetch one traceroot alert by id with its full rule: view, measure, aggregation, filters, window, threshold, and current evaluation state.\",\"url\":\"https://www.traceroot.co/docs/api-reference/alerts/get-alert\",\"mainEntityOfPage\":{\"@id\":\"https://www.traceroot.co/docs/api-reference/alerts/get-alert#webpage\"},\"dateModified\":\"2026-11-25T12:41:17.001Z\",\"publisher\":{\"@id\":\"https://www.traceroot.co/#organization\"},\"isPartOf\":{\"@id\":\"https://www.traceroot.co/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"traceroot\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"traceroot\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/alerts/get-alert.md","siteName":"traceroot","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"Integrations","icon":"puzzle-piece","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API Reference","icon":"square-code","groups":[{"group":"Overview","pages":[{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Endpoints","pages":[{"group":"Alerts","pages":[{"title":"List Alerts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/alerts","href":"/api-reference/alerts/list-alerts"},{"title":"Create an alert","description":"Create a threshold alert in a traceroot project: a span measure aggregated over a time window and compared against a threshold you set.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/alerts","href":"/api-reference/alerts/create-an-alert"},{"title":"Get Alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/alerts/{alert_id}","href":"/api-reference/alerts/get-alert"},{"title":"Delete an alert","description":"Permanently delete a threshold alert from a traceroot project. An open page is discarded rather than resolved, and the response reports it.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/alerts/{alert_id}","href":"/api-reference/alerts/delete-an-alert"},{"title":"Edit an alert rule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/alerts/{alert_id}","href":"/api-reference/alerts/edit-an-alert-rule"},{"title":"Pause or resume an alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/alerts/{alert_id}/status","href":"/api-reference/alerts/pause-or-resume-an-alert"}]},{"group":"Dashboards","pages":[{"title":"List Dashboards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/dashboards","href":"/api-reference/dashboards/list-dashboards"},{"title":"Create a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/dashboards","href":"/api-reference/dashboards/create-a-dashboard"},{"title":"Get Dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/dashboards/{dashboard_id}","href":"/api-reference/dashboards/get-dashboard"},{"title":"Delete a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/dashboards/{dashboard_id}","href":"/api-reference/dashboards/delete-a-dashboard"},{"title":"Edit a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/dashboards/{dashboard_id}","href":"/api-reference/dashboards/edit-a-dashboard"},{"title":"Get Dashboard Data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/dashboards/{dashboard_id}/data","href":"/api-reference/dashboards/get-dashboard-data"}]},{"group":"Offline Eval","pages":[{"title":"Read one dataset version and a page of its test cases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/dataset-versions/{version_id}","href":"/api-reference/offline-eval/read-one-dataset-version-and-a-page-of-its-test-cases"},{"title":"List the project's evaluation datasets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/datasets","href":"/api-reference/offline-eval/list-the-projects-evaluation-datasets"},{"title":"Read one evaluation dataset","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/datasets/{dataset_id}","href":"/api-reference/offline-eval/read-one-evaluation-dataset"},{"title":"List a dataset's published versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/datasets/{dataset_id}/versions","href":"/api-reference/offline-eval/list-a-datasets-published-versions"},{"title":"List the project's evaluation runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/evaluation-runs","href":"/api-reference/offline-eval/list-the-projects-evaluation-runs"},{"title":"Register an evaluation run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/evaluation-runs","href":"/api-reference/offline-eval/register-an-evaluation-run"},{"title":"Read an evaluation run's summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/evaluation-runs/{run_id}","href":"/api-reference/offline-eval/read-an-evaluation-runs-summary"},{"title":"Complete/finalize an evaluation run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/evaluation-runs/{run_id}/complete","href":"/api-reference/offline-eval/completefinalize-an-evaluation-run"},{"title":"Upsert one test-case result with scores","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/evaluation-runs/{run_id}/results","href":"/api-reference/offline-eval/upsert-one-test-case-result-with-scores"},{"title":"List the project's evaluations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/evaluations","href":"/api-reference/offline-eval/list-the-projects-evaluations"}]},{"group":"Detectors","pages":[{"title":"List Detectors","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors","href":"/api-reference/detectors/list-detectors"},{"title":"Create a detector","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/detectors","href":"/api-reference/detectors/create-a-detector"},{"title":"List Findings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors/findings","href":"/api-reference/detectors/list-findings"},{"title":"Get Finding","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors/findings/{finding_id}","href":"/api-reference/detectors/get-finding"},{"title":"Get Finding By Trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors/traces/{trace_id}/finding","href":"/api-reference/detectors/get-finding-by-trace"},{"title":"Get Detector","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors/{detector_id}","href":"/api-reference/detectors/get-detector"},{"title":"Delete a detector","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/detectors/{detector_id}","href":"/api-reference/detectors/delete-a-detector"},{"title":"Edit a detector","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/detectors/{detector_id}","href":"/api-reference/detectors/edit-a-detector"}]},{"group":"Labels","pages":[{"title":"Apply a production label","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/labels","href":"/api-reference/labels/apply-a-production-label"}]},{"group":"Account","pages":[{"title":"List Projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/projects","href":"/api-reference/account/list-projects"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/projects","href":"/api-reference/account/create-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/projects/{project_id}","href":"/api-reference/account/delete-a-project"},{"title":"Edit a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/projects/{project_id}","href":"/api-reference/account/edit-a-project"},{"title":"List Workspaces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/workspaces","href":"/api-reference/account/list-workspaces"},{"title":"Create a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/workspaces","href":"/api-reference/account/create-a-workspace"},{"title":"Delete a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/workspaces/{workspace_id}","href":"/api-reference/account/delete-a-workspace"},{"title":"Rename a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/workspaces/{workspace_id}","href":"/api-reference/account/rename-a-workspace"}]},{"group":"Sessions","pages":[{"title":"List Sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Get Session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/sessions/{session_id}","href":"/api-reference/sessions/get-session"}]},{"group":"Signals","pages":[{"title":"List Signals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/signals","href":"/api-reference/signals/list-signals"},{"title":"Get Signal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/signals/{signal_id}","href":"/api-reference/signals/get-signal"},{"title":"Resolve or reopen a signal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/signals/{signal_id}/status","href":"/api-reference/signals/resolve-or-reopen-a-signal"}]},{"group":"SQL","pages":[{"title":"Run Sql","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/sql","href":"/api-reference/sql/run-sql"},{"title":"Get Sql Schema","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/sql/schema","href":"/api-reference/sql/get-sql-schema"}]},{"group":"Traces","pages":[{"title":"List Traces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/traces","href":"/api-reference/traces/list-traces"},{"title":"Ingest Traces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/traces","href":"/api-reference/traces/ingest-traces"},{"title":"List Trace Filter Values","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/traces/filter-values/{field}","href":"/api-reference/traces/list-trace-filter-values"},{"title":"Get Trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/traces/{trace_id}","href":"/api-reference/traces/get-trace"},{"title":"Export Trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/traces/{trace_id}/export","href":"/api-reference/traces/export-trace"}]},{"group":"Whoami","pages":[{"title":"Whoami","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/whoami","href":"/api-reference/whoami/whoami"}]},{"group":"Widgets","pages":[{"title":"Create a dashboard widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/widgets","href":"/api-reference/widgets/create-a-dashboard-widget"},{"title":"Run Widget Query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/widgets/query","href":"/api-reference/widgets/run-widget-query"},{"title":"Get Widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/widgets/{widget_id}","href":"/api-reference/widgets/get-widget"},{"title":"Delete a dashboard widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/widgets/{widget_id}","href":"/api-reference/widgets/delete-a-dashboard-widget"},{"title":"Edit a dashboard widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/widgets/{widget_id}","href":"/api-reference/widgets/edit-a-dashboard-widget"},{"title":"Get Widget Data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/widgets/{widget_id}/data","href":"/api-reference/widgets/get-widget-data"}]}]}]}]},"basePath":"","title":"Get Alert - traceroot","deploymentId":"dpl_BnrwKdxWnqTCMaKmLBoTuzTNCBXD","buildId":"dpl_BnrwKdxWnqTCMaKmLBoTuzTNCBXD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CoHzAoFO.js","snippetPresets-C5LN7NjD.js","utils-BpbIYxoM.js","style-to-object-BY3JEAdk.js","utils-BZwmDJa7.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CX_8VhVG.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Dwu87dmY.js","_Uint8Array-B3i1ZElT.js","isObject-FP1Yky1u.js","ApiExamples-CFIWkASu.js","usePlaygroundInputsStore-DQyvDMeD.js","shallow-C76oKkt-.js","isEqual-B4Njk6_P.js","CodeSnippets-COpKhdko.js","CodeSnippet-C6XWIfQu.js","use-playground-group-access-CTV1-lLQ.js","Page-Cu8jJzLy.js","api-description-markdown-CIH_USrp.js","DynamicMarkdown-D8nv7Epe.js","SectionHeading-Bf3Mv7z3.js","MethodPill-BcGQxR6W.js","getPastedJson-DMp6zdSQ.js","Check2Icon-TCQe7AMx.js","axios-CsQoIw0U.js","Markdown-DJPODUCq.js","AssistantPageLink-DD0-O5es.js","dist-C-6Hw7la.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}