{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request body",
"details": [
{
"field": "conditions",
"description": "Value error, List should have at least 1 item after validation"
}
]
}
}
{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request body",
"details": [
{
"field": "conditions",
"description": "Value error, List should have at least 1 item after validation"
}
]
}
}
Exact scalar Run customer metadata filters, joined by AND. Literal keys are 1–256 characters; values are case-sensitive text. A list of values matches when the metadata equals any one of them. Numbers and booleans use JSON text; missing, null, array, and object values do not match. Omission or null leaves filters unchanged. An empty object clears filters only if at least one metric condition remains.
Replaces all existing conditions. With ALL match mode, an empty list matches every conversation passing the remaining filters. ANY requires a metric condition or customer_metadata filter. Null or omission preserves conditions.
Exact scalar Run customer metadata filters, joined by AND. Literal keys are 1–256 characters; values are case-sensitive text. A list of values matches when the metadata equals any one of them. Numbers and booleans use JSON text; missing, null, array, and object values do not match. An empty object applies no metadata filter.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Coval Documentation","colors":{"primary":"#000000","light":"#D9D9D9","dark":"#333333"},"logo":{"light":"https://mintcdn.com/coval-2e18a559/Notp6opJUCHArykW/logo/coval-logo-vector.svg?fit=max\u0026auto=format\u0026n=Notp6opJUCHArykW\u0026q=85\u0026s=f08474458e9c5bbff1e1d7119fdc8012","dark":"https://mintcdn.com/coval-2e18a559/Notp6opJUCHArykW/logo/coval-logo-vector-white.svg?fit=max\u0026auto=format\u0026n=Notp6opJUCHArykW\u0026q=85\u0026s=ed477a66f2ca12c3c7a0289aa7c5bfb4"},"favicon":"https://mintcdn.com/coval-2e18a559/h96r_q_HmNOhXnSr/favicon.png?fit=max\u0026auto=format\u0026n=h96r_q_HmNOhXnSr\u0026q=85\u0026s=3451522324a1d00b3ad7c50ef0b825b3","api":{"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.coval.dev"}},"appearance":{"default":"light"},"background":{"image":"https://mintlify.s3.us-west-1.amazonaws.com/coval-2e18a559/images/background/frame_16opblack.svg","color":{"light":"#F2F1EE","dark":"#000000"}},"navbar":{"links":[{"href":"/changelog","label":"Changelog"},{"href":"mailto:support@coval.dev","label":"Support"},{"href":"https://www.coval.dev","label":"Website"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.coval.dev"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/covaldev","twitter":"https://x.com/covaldev"}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coval-2e18a559","hasAudioNarration":false,"actualSubdomain":"coval-2e18a559","customDomains":["docs.coval.ai"],"gitSource":{"type":"github","owner":"coval-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec25d9450d3a6fb708210c","collectionId":"d936a971-76d7-47ee-a1c0-8a0a575fb631","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec25d9450d3a6fb708210c"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aec25d9450d3a6fb708210c","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"API","count":193},{"language":"default","tag":"Home","count":76},{"language":"default","tag":"Resources","count":43},{"language":"default","tag":"Simulated Conversations","count":41},{"language":"default","tag":"Metrics","count":34},{"language":"default","tag":"Agents","count":29},{"language":"default","tag":"CLI","count":21},{"language":"default","tag":"Test Sets","count":17},{"language":"default","tag":"Reviews","count":17},{"language":"default","tag":"Uploaded Conversations","count":16}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".cl{position:relative;max-width:880px}.cl-entry{position:relative;display:grid;grid-template-columns:96px 1fr;column-gap:2.5rem;padding-bottom:2.5rem}.cl-entry::before{content:\"\";position:absolute;left:96px;top:8px;bottom:-8px;width:2px;background:#dcdad5}.cl-entry:last-child::before{display:none}.cl-entry::after{content:\"\";position:absolute;left:91px;top:7px;width:12px;height:12px;border-radius:50%;background:#11161f;box-shadow:0 0 0 4px #f2f1ee}.cl-rail{text-align:center}.cl-rail__date{font-size:1.4rem;font-weight:700;color:#1a1a1a;line-height:1.1}.cl-rail__year{font-size:1.05rem;color:#9a958c;font-weight:500}.cl-rail__count{margin-top:0.35rem;font-size:0.8rem;color:#a8a399}.cl-content{min-width:0}.cl-highlights{background:#0f1320;border-radius:16px;padding:1.4rem 1.75rem;margin-bottom:1.25rem}.cl-highlights__label{font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;font-weight:600;color:#8b94a5}.cl-highlights__list{margin:0.65rem 0 0;padding:0;list-style:none}.cl-highlights__list li{position:relative;padding-left:1.1rem;margin:0.3rem 0;font-size:1rem;line-height:1.45;color:#f5f6f8}.cl-highlights__list li::before{content:\"\";position:absolute;left:0;top:0.6em;width:5px;height:5px;border-radius:50%;background:#8b94a5}.cl-card{position:relative;background:#fff;border:1px solid #ececec;border-radius:16px;padding:1.5rem 1.75rem;margin-bottom:1rem}.cl-card__title{font-size:1.25rem;font-weight:700;color:#1a1a1a;margin-bottom:0.5rem}.cl-card__desc{color:#5b5b5b;line-height:1.55;margin:0}.cl-card__extra{display:none}.cl-card__divider{border:none;border-top:1px solid #ededed;margin:1.1rem 0}.cl-card__extra p{color:#5b5b5b;line-height:1.55}.cl-card__extra a,.cl-doc-link{color:#15803d;font-weight:600;text-decoration:none}.cl-card__extra a:hover{text-decoration:none;opacity:0.8}.cl-card__footer{display:flex;align-items:center;gap:0.75rem;margin-top:1.1rem}.cl-pill{font-size:0.8rem;font-weight:600;padding:0.25rem 0.7rem;border-radius:999px}.cl-pill--new{background:#d9f0e1;color:#1a7f4b}.cl-pill--improved{background:#dde9fb;color:#1d4ed8}.cl-pill--fixed{background:#fdeccf;color:#b45309}.cl-cat{font-size:0.85rem;color:#9aa0a6}.cl-cb{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.cl-toggle{margin-left:auto;cursor:pointer;user-select:none;font-size:0.85rem;font-weight:500;color:#1f2433;border:1px solid #cdd5e3;border-radius:9px;padding:0.45rem 0.85rem;white-space:nowrap}.cl-toggle:hover{background:#f6f8fc}.cl-cb:focus-visible~.cl-card__footer .cl-toggle{outline:2px solid #4f6bed;outline-offset:2px}.cl-toggle .less{display:none}.cl-cb:checked~.cl-card__extra{display:block}.cl-cb:checked~.cl-card__footer .cl-toggle .more{display:none}.cl-cb:checked~.cl-card__footer .cl-toggle .less{display:inline}.dark .cl-entry::before{background:#2a2f3a}.dark .cl-entry::after{background:#e5e7eb;box-shadow:0 0 0 4px #000}.dark .cl-rail__date{color:#f5f6f8}.dark .cl-rail__year{color:#9aa0ad}.dark .cl-rail__count{color:#7e8493}.dark .cl-card{background:#11161f;border-color:#242a36}.dark .cl-card__title{color:#f5f6f8}.dark .cl-card__desc,.dark .cl-card__extra p{color:#aab1bd}.dark .cl-card__divider{border-top-color:#262b36}.dark .cl-card__extra a,.dark .cl-doc-link{color:#4ade80}.dark .cl-pill--new{background:#10301d;color:#5cd98c}.dark .cl-pill--improved{background:#13233f;color:#7aa6f5}.dark .cl-pill--fixed{background:#3a2a10;color:#e0a955}.dark .cl-cat{color:#8b909a}.dark .cl-toggle{color:#cbd2de;border-color:#333a47}.dark .cl-toggle:hover{background:#1a2030}@media (max-width: 640px){.cl-entry{grid-template-columns:1fr;row-gap:1rem}.cl-entry::before,.cl-entry::after{display:none}.cl-rail{display:flex;align-items:baseline;gap:0.5rem;text-align:left}}html:not(.dark) #search-bar-entry,html:not(.dark) #search-bar-entry *,html:not(.dark) #assistant-entry,html:not(.dark) #assistant-entry *{color:#5c5c5c}html:not(.dark) #footer a[href*=\"mintlify\"]{color:#5c5c5c}.dark #footer a[href*=\"mintlify\"]{color:#8c8c8c}html:not(.dark) .chat-assistant-disclaimer-text{color:#5c5c5c}.dark .chat-assistant-disclaimer-text{color:#a3a3a3}html:not(.dark) .method-nav-pill>.text-green-700{color:#166534}html:not(.dark) .method-nav-pill>.text-blue-700{color:#1e40af}html:not(.dark) .method-nav-pill>.text-orange-700{color:#9a3412}html:not(.dark) .method-nav-pill>.text-red-700{color:#991b1b}html:not(.dark) [class*=\"bg-[#FDEAD8]\"]{color:#8a4508}.dark [class*=\"bg-[#FDEAD8]\"]{color:#f5a35c}html:not(.dark) [data-component-part=\"field-required-pill\"]{color:#b91c1c}#chat-assistant-sheet[aria-hidden=\"true\"]>*,#chat-assistant-sheet[role=\"dialog\"]:not([data-open])>*{visibility:hidden}:focus-visible,#root :focus-visible{outline:2px solid #11161f!important;outline-offset:2px!important}.dark :focus-visible,.dark #root :focus-visible{outline-color:#f5f6f8!important}#root [data-radix-scroll-area-viewport]:focus-visible,#root pre:focus-visible,#root div[tabindex=\"0\"]:focus-visible{outline-offset:-2px!important}:has(>.chat-assistant-input:focus-visible){outline:2px solid #11161f;outline-offset:2px}.dark :has(>.chat-assistant-input:focus-visible){outline-color:#f5f6f8}"}],"page":{"pagePath":"api-reference/alerts/update-an-alert","slug":"/api-reference/alerts/update-an-alert","pageMetadata":{"title":"Update an alert","description":"Partially updates an alert. All fields are optional; omitted fields\nretain their current values (PATCH semantics).\n\nWhen `conditions` or `channels` are provided, they **replace** the\nexisting set atomically (delete old, create new).\n","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml patch /alerts/{alert_id}","href":"/api-reference/alerts/update-an-alert","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Partially updates an alert. All fields are optional; omitted fields\\nretain their current values (PATCH semantics).\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"When \", _jsx(_components.code, {\n children: \"conditions\"\n }), \" or \", _jsx(_components.code, {\n children: \"channels\"\n }), \" are provided, they \", _jsx(_components.strong, {\n children: \"replace\"\n }), \" the\\nexisting set atomically (delete old, create new).\"]\n })]\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":"Update an alert","description":"Partially updates an alert. All fields are optional; omitted fields\nretain their current values (PATCH semantics).\n\nWhen `conditions` or `channels` are provided, they **replace** the\nexisting set atomically (delete old, create new).\n","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml patch /alerts/{alert_id}","href":"/api-reference/alerts/update-an-alert","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/coval-2e18a559/96d9833460dc4be2/analytics.js","/_mintlify/custom/coval-2e18a559/37be8295f8507cc8/a11y.js"],"openApiReferenceData":{"operation":{"operationId":"updateAlert","summary":"Update an alert","description":"Partially updates an alert. All fields are optional; omitted fields\nretain their current values (PATCH semantics).\n\nWhen `conditions` or `channels` are provided, they **replace** the\nexisting set atomically (delete old, create new).\n","tags":["Alerts"],"parameters":["3e3a448a-b71c-421d-8a74-6ca423b7df22"],"requestBody":"a955139d-f03f-42a0-be94-cf553e59b266","responses":{"200":"3fe61b1b-c0c3-45c4-a94e-9e0b1276b551","400":"b6dcf475-5119-42a7-bd35-85d0d072cce9","401":"b8409a45-69dc-4025-99f1-cf473e388fcd","403":"eab9bdc6-95ae-482d-8d44-e7b6a88c50e8","404":"4f33a42e-4b88-4092-a01a-914f2905fb2d","409":"e1716c56-11cb-499a-bcb7-fc1ff62d69b7","500":"96e5e3a1-c117-44da-8d82-59b582776885"},"method":"patch","type":"path","servers":["a529af30-90b6-4e0d-9069-7cceb686fcd7"],"security":["4b764687-2389-411c-80c4-77e8fc36d52a"],"path":"/alerts/{alert_id}","baseUrlOptions":["https://api.coval.dev/v1"],"title":"Update an alert","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3e3a448a-b71c-421d-8a74-6ca423b7df22":{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9A-Z]{26}$","isRequired":true,"description":"Alert ULID","uniqueKey":"","typeLabel":"string"},"description":"Alert ULID","example":"01HZ0EXAMPLE00000000000000"},"5f1b5504-7e5b-4b91-98f4-18d21f94706c":{"name":"X-Coval-Workspace-Id","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":26,"isRequired":false,"description":"Workspace that scopes this operation. When omitted, the organization's active default workspace is used when one can be resolved.","uniqueKey":"","typeLabel":"string"},"description":"Workspace that scopes this operation. When omitted, the organization's active default workspace is used when one can be resolved."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"oneOf":[{"type":"boolean","description":"Pause or resume the whole alert rule. Set false to pause, true to resume; omission or null leaves the current value unchanged.","uniqueKey":"enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Pause or resume the whole alert rule. Set false to pause, true to resume; omission or null leaves the current value unchanged.","uniqueKey":"enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"enabled","typeLabel":"boolean | null"},"name":{"type":"string","maxLength":200,"uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","maxLength":2000,"uniqueKey":"description","typeLabel":"string"},"evaluation_type":{"type":"string","enum":["ON_RUN_COMPLETE"],"description":"When the alert evaluates","uniqueKey":"evaluation_type","typeLabel":"enum\u003cstring>"},"conversation_source":{"type":"string","enum":["ALL","UPLOADED","SIMULATED"],"description":"Which conversations the alert applies to","uniqueKey":"conversation_source","typeLabel":"enum\u003cstring>"},"match_mode":{"type":"string","enum":["ALL","ANY"],"description":"How multiple conditions are combined (AND vs OR)","uniqueKey":"match_mode","typeLabel":"enum\u003cstring>"},"cooldown_seconds":{"type":"integer","minimum":0,"maximum":86400,"uniqueKey":"cooldown_seconds","typeLabel":"integer"},"custom_message_template":{"oneOf":[{"type":"string","uniqueKey":"custom_message_template.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"custom_message_template.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_message_template","typeLabel":"string | null"},"agent_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agent_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"agent_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"agent_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_ids","typeLabel":"string[] | null"},"required_tags":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"required_tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"required_tags.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"required_tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"required_tags","typeLabel":"string[] | null"},"scheduled_run_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"scheduled_run_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"scheduled_run_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"scheduled_run_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"scheduled_run_ids","typeLabel":"string[] | null"},"customer_metadata":{"oneOf":[{"type":"object","maxProperties":20,"additionalProperties":{"oneOf":[{"type":"string","maxLength":1024,"minLength":1,"uniqueKey":"customer_metadata.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"uniqueKey":"customer_metadata.oneOf.0.additionalProperties.oneOf.1.items.[INDEX]","typeLabel":"string"},"maxItems":50,"minItems":1,"uniqueKey":"customer_metadata.oneOf.0.additionalProperties.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"customer_metadata.oneOf.0.additionalProperties","typeLabel":"string | string[]"},"description":"Exact scalar Run customer metadata filters, joined by AND. Literal keys are 1–256 characters; values are case-sensitive text. A list of values matches when the metadata equals any one of them. Numbers and booleans use JSON text; missing, null, array, and object values do not match. Omission or null leaves filters unchanged. An empty object clears filters only if at least one metric condition remains.","uniqueKey":"customer_metadata.oneOf.0","typeLabel":"object"},{"type":"null","maxProperties":20,"additionalProperties":{"oneOf":[{"type":"string","maxLength":1024,"minLength":1,"uniqueKey":"customer_metadata.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"uniqueKey":"customer_metadata.oneOf.1.additionalProperties.oneOf.1.items.[INDEX]","typeLabel":"string"},"maxItems":50,"minItems":1,"uniqueKey":"customer_metadata.oneOf.1.additionalProperties.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"customer_metadata.oneOf.1.additionalProperties","typeLabel":"string | string[]"},"description":"Exact scalar Run customer metadata filters, joined by AND. Literal keys are 1–256 characters; values are case-sensitive text. A list of values matches when the metadata equals any one of them. Numbers and booleans use JSON text; missing, null, array, and object values do not match. Omission or null leaves filters unchanged. An empty object clears filters only if at least one metric condition remains.","uniqueKey":"customer_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_metadata","typeLabel":"object | null"},"conditions":{"type":"array","items":{"type":"object","required":["aggregation","operator"],"properties":{"aggregation":{"type":"string","enum":["SINGLE","RUN_AVERAGE","RUN_FRACTION","JOB_SUCCESS","BASELINE_DEVIATION"],"description":"Aggregation mode for a condition.\n- SINGLE: Per-simulation value (average across sim outputs)\n- RUN_AVERAGE: Average from pre-computed run aggregate\n- RUN_FRACTION: Fraction matching a string value in the run\n- JOB_SUCCESS: Whether the run completed successfully\n- BASELINE_DEVIATION: Fraction of values that deviate from a metric baseline\n","isRequired":true,"uniqueKey":"conditions.items.[INDEX].aggregation","typeLabel":"enum\u003cstring>"},"operator":{"type":"string","enum":["GT","GTE","LT","LTE","EQ","NEQ"],"description":"Comparison operator","isRequired":true,"uniqueKey":"conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"metric_id":{"oneOf":[{"type":"string","description":"ULID of the metric to evaluate. Omit for JOB_SUCCESS conditions.","uniqueKey":"conditions.items.[INDEX].metric_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ULID of the metric to evaluate. Omit for JOB_SUCCESS conditions.","uniqueKey":"conditions.items.[INDEX].metric_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].metric_id","typeLabel":"string | null"},"threshold_float":{"oneOf":[{"type":"number","uniqueKey":"conditions.items.[INDEX].threshold_float.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"conditions.items.[INDEX].threshold_float.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].threshold_float","typeLabel":"number | null"},"threshold_string":{"oneOf":[{"type":"string","uniqueKey":"conditions.items.[INDEX].threshold_string.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conditions.items.[INDEX].threshold_string.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].threshold_string","typeLabel":"string | null"},"window_size_days":{"oneOf":[{"type":"integer","minimum":1,"maximum":365,"uniqueKey":"conditions.items.[INDEX].window_size_days.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":365,"uniqueKey":"conditions.items.[INDEX].window_size_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].window_size_days","typeLabel":"integer | null"},"window_size_runs":{"oneOf":[{"type":"integer","minimum":1,"maximum":10000,"uniqueKey":"conditions.items.[INDEX].window_size_runs.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":10000,"uniqueKey":"conditions.items.[INDEX].window_size_runs.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].window_size_runs","typeLabel":"integer | null"},"match_value":{"oneOf":[{"type":"string","uniqueKey":"conditions.items.[INDEX].match_value.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conditions.items.[INDEX].match_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].match_value","typeLabel":"string | null"},"match_mode":{"oneOf":[{"type":"string","enum":["exact","contains","contains_case_insensitive"],"uniqueKey":"conditions.items.[INDEX].match_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["exact","contains","contains_case_insensitive"],"uniqueKey":"conditions.items.[INDEX].match_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].match_mode","typeLabel":"enum\u003cstring> | null"},"baseline_id":{"oneOf":[{"type":"string","description":"ULID of the metric baseline to evaluate. Required for BASELINE_DEVIATION.","uniqueKey":"conditions.items.[INDEX].baseline_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ULID of the metric baseline to evaluate. Required for BASELINE_DEVIATION.","uniqueKey":"conditions.items.[INDEX].baseline_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].baseline_id","typeLabel":"string | null"},"sigma_threshold":{"oneOf":[{"type":"number","minimum":0,"exclusiveMinimum":true,"description":"Sigmas from the baseline that constitute an anomaly","uniqueKey":"conditions.items.[INDEX].sigma_threshold.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"exclusiveMinimum":true,"description":"Sigmas from the baseline that constitute an anomaly","uniqueKey":"conditions.items.[INDEX].sigma_threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].sigma_threshold","typeLabel":"number | null"},"direction":{"oneOf":[{"type":"string","description":"Which direction of deviation counts as anomalous","enum":["above","below","both"],"uniqueKey":"conditions.items.[INDEX].direction.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"conditions.items.[INDEX].direction.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].direction","typeLabel":"enum\u003cstring> | null"},"warm_up_count":{"oneOf":[{"type":"integer","minimum":0,"description":"Minimum baseline observations required before the alert can fire","uniqueKey":"conditions.items.[INDEX].warm_up_count.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Minimum baseline observations required before the alert can fire","uniqueKey":"conditions.items.[INDEX].warm_up_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].warm_up_count","typeLabel":"integer | null"}},"uniqueKey":"conditions.items.[INDEX]","typeLabel":"object"},"description":"Replaces all existing conditions. With ALL match mode, an empty list matches every conversation passing the remaining filters. ANY requires a metric condition or customer_metadata filter. Null or omission preserves conditions.","uniqueKey":"conditions","typeLabel":"object[]"},"channels":{"type":"array","items":{"type":"object","required":["channel_type","config"],"properties":{"channel_type":{"type":"string","enum":["SLACK","EMAIL","WEBHOOK","HUMAN_REVIEW"],"description":"Notification channel type","isRequired":true,"uniqueKey":"channels.items.[INDEX].channel_type","typeLabel":"enum\u003cstring>"},"config":{"type":"object","description":"Channel-specific configuration","isRequired":true,"uniqueKey":"channels.items.[INDEX].config","typeLabel":"object"}},"uniqueKey":"channels.items.[INDEX]","typeLabel":"object"},"description":"Replaces all channels; at most one HUMAN_REVIEW channel is allowed. Null or omission preserves channels.","uniqueKey":"channels","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"enabled":true,"name":"\u003cstring>","description":"\u003cstring>","evaluation_type":"ON_RUN_COMPLETE","cooldown_seconds":43200,"custom_message_template":"\u003cstring>","agent_ids":["\u003cstring>"],"required_tags":["\u003cstring>"],"scheduled_run_ids":["\u003cstring>"],"customer_metadata":{},"conditions":[{"metric_id":"\u003cstring>","threshold_float":123,"threshold_string":"\u003cstring>","window_size_days":183,"window_size_runs":5000,"match_value":"\u003cstring>","baseline_id":"\u003cstring>","sigma_threshold":1,"warm_up_count":1}],"channels":[{"config":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3fe61b1b-c0c3-45c4-a94e-9e0b1276b551":{"description":"Alert updated","content":{"application/json":{"schema":{"type":"object","required":["ulid","name","status","enabled","evaluation_type","conversation_source","match_mode","cooldown_seconds","create_time","update_time","created_at","created_by","updated_at","updated_by"],"properties":{"created_at":{"oneOf":[{"type":"string","readOnly":true,"format":"date-time","description":"Authoring timestamp; null when unknown.","isRequired":true,"uniqueKey":"created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","readOnly":true,"format":"date-time","description":"Authoring timestamp; null when unknown.","isRequired":true,"uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time> | null"},"created_by":{"oneOf":[{"type":"string","readOnly":true,"description":"Canonical author user ID; null when unknown.","isRequired":true,"uniqueKey":"created_by.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"description":"Canonical author user ID; null when unknown.","isRequired":true,"uniqueKey":"created_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"created_by","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","readOnly":true,"format":"date-time","description":"Authoring timestamp; null when unknown.","isRequired":true,"uniqueKey":"updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","readOnly":true,"format":"date-time","description":"Authoring timestamp; null when unknown.","isRequired":true,"uniqueKey":"updated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time> | null"},"updated_by":{"oneOf":[{"type":"string","readOnly":true,"description":"Canonical author user ID; null when unknown.","isRequired":true,"uniqueKey":"updated_by.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"description":"Canonical author user ID; null when unknown.","isRequired":true,"uniqueKey":"updated_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"updated_by","typeLabel":"string | null"},"ulid":{"type":"string","pattern":"^[0-9A-Z]{26}$","description":"Alert ULID","example":"01HZ0EXAMPLE00000000000000","isRequired":true,"uniqueKey":"ulid","typeLabel":"string"},"name":{"type":"string","maxLength":200,"description":"Human-readable alert name","example":"Latency SLA Alert","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"type":"string","enum":["ACTIVE","DELETED"],"description":"Alert status","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","default":true,"description":"Whether the alert evaluates and dispatches. Legacy alerts without this value are treated as enabled.","isRequired":true,"uniqueKey":"enabled","typeLabel":"boolean"},"evaluation_type":{"type":"string","enum":["ON_RUN_COMPLETE"],"description":"When the alert evaluates","isRequired":true,"uniqueKey":"evaluation_type","typeLabel":"enum\u003cstring>"},"conversation_source":{"type":"string","enum":["ALL","UPLOADED","SIMULATED"],"description":"Which conversations the alert applies to","isRequired":true,"uniqueKey":"conversation_source","typeLabel":"enum\u003cstring>"},"match_mode":{"type":"string","enum":["ALL","ANY"],"description":"How multiple conditions are combined (AND vs OR)","isRequired":true,"uniqueKey":"match_mode","typeLabel":"enum\u003cstring>"},"cooldown_seconds":{"type":"integer","minimum":0,"maximum":86400,"description":"Minimum seconds between triggers","isRequired":true,"uniqueKey":"cooldown_seconds","typeLabel":"integer"},"create_time":{"type":"string","format":"date-time","description":"Creation timestamp","isRequired":true,"uniqueKey":"create_time","typeLabel":"string\u003cdate-time>"},"update_time":{"type":"string","format":"date-time","description":"Last update timestamp","isRequired":true,"uniqueKey":"update_time","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","default":"","description":"Optional description","uniqueKey":"description","typeLabel":"string"},"custom_message_template":{"oneOf":[{"type":"string","maxLength":5000,"description":"Custom notification message template","uniqueKey":"custom_message_template.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":5000,"description":"Custom notification message template","uniqueKey":"custom_message_template.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_message_template","typeLabel":"string | null"},"agent_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agent_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Restrict to specific agent IDs","uniqueKey":"agent_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Restrict to specific agent IDs","uniqueKey":"agent_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_ids","typeLabel":"string[] | null"},"required_tags":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"required_tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Restrict to runs with these tags","uniqueKey":"required_tags.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Restrict to runs with these tags","uniqueKey":"required_tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"required_tags","typeLabel":"string[] | null"},"scheduled_run_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"scheduled_run_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Restrict to runs originating from these scheduled runs","uniqueKey":"scheduled_run_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Restrict to runs originating from these scheduled runs","uniqueKey":"scheduled_run_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"scheduled_run_ids","typeLabel":"string[] | null"},"customer_metadata":{"type":"object","maxProperties":20,"additionalProperties":{"oneOf":[{"type":"string","maxLength":1024,"minLength":1,"uniqueKey":"customer_metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"uniqueKey":"customer_metadata.additionalProperties.oneOf.1.items.[INDEX]","typeLabel":"string"},"maxItems":50,"minItems":1,"uniqueKey":"customer_metadata.additionalProperties.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"customer_metadata.additionalProperties","typeLabel":"string | string[]"},"description":"Exact scalar Run customer metadata filters, joined by AND. Literal keys are 1–256 characters; values are case-sensitive text. A list of values matches when the metadata equals any one of them. Numbers and booleans use JSON text; missing, null, array, and object values do not match. An empty object applies no metadata filter.","uniqueKey":"customer_metadata","typeLabel":"object"},"trigger_count":{"type":"integer","description":"Number of times this alert has triggered","uniqueKey":"trigger_count","typeLabel":"integer"},"last_triggered_at":{"oneOf":[{"type":"string","format":"date-time","description":"Last trigger timestamp","uniqueKey":"last_triggered_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Last trigger timestamp","uniqueKey":"last_triggered_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_triggered_at","typeLabel":"string\u003cdate-time> | null"},"conditions":{"type":"array","items":{"type":"object","required":["ulid","aggregation","operator"],"properties":{"ulid":{"type":"string","pattern":"^[0-9A-Z]{26}$","description":"Condition ULID","isRequired":true,"uniqueKey":"conditions.items.[INDEX].ulid","typeLabel":"string"},"aggregation":{"type":"string","enum":["SINGLE","RUN_AVERAGE","RUN_FRACTION","JOB_SUCCESS","BASELINE_DEVIATION"],"description":"Aggregation mode for a condition.\n- SINGLE: Per-simulation value (average across sim outputs)\n- RUN_AVERAGE: Average from pre-computed run aggregate\n- RUN_FRACTION: Fraction matching a string value in the run\n- JOB_SUCCESS: Whether the run completed successfully\n- BASELINE_DEVIATION: Fraction of values that deviate from a metric baseline\n","isRequired":true,"uniqueKey":"conditions.items.[INDEX].aggregation","typeLabel":"enum\u003cstring>"},"operator":{"type":"string","enum":["GT","GTE","LT","LTE","EQ","NEQ"],"description":"Comparison operator","isRequired":true,"uniqueKey":"conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"metric_id":{"oneOf":[{"type":"string","description":"ULID of the metric to evaluate. Null for JOB_SUCCESS conditions.","uniqueKey":"conditions.items.[INDEX].metric_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ULID of the metric to evaluate. Null for JOB_SUCCESS conditions.","uniqueKey":"conditions.items.[INDEX].metric_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].metric_id","typeLabel":"string | null"},"threshold_float":{"oneOf":[{"type":"number","description":"Numeric threshold","uniqueKey":"conditions.items.[INDEX].threshold_float.oneOf.0","typeLabel":"number"},{"type":"null","description":"Numeric threshold","uniqueKey":"conditions.items.[INDEX].threshold_float.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].threshold_float","typeLabel":"number | null"},"threshold_string":{"oneOf":[{"type":"string","description":"String threshold","uniqueKey":"conditions.items.[INDEX].threshold_string.oneOf.0","typeLabel":"string"},{"type":"null","description":"String threshold","uniqueKey":"conditions.items.[INDEX].threshold_string.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].threshold_string","typeLabel":"string | null"},"window_size_days":{"oneOf":[{"type":"integer","minimum":1,"maximum":365,"description":"Rolling window size in days","uniqueKey":"conditions.items.[INDEX].window_size_days.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":365,"description":"Rolling window size in days","uniqueKey":"conditions.items.[INDEX].window_size_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].window_size_days","typeLabel":"integer | null"},"window_size_runs":{"oneOf":[{"type":"integer","minimum":1,"maximum":10000,"description":"Rolling window size in runs","uniqueKey":"conditions.items.[INDEX].window_size_runs.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":10000,"description":"Rolling window size in runs","uniqueKey":"conditions.items.[INDEX].window_size_runs.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].window_size_runs","typeLabel":"integer | null"},"match_value":{"oneOf":[{"type":"string","description":"String match value for fraction conditions","uniqueKey":"conditions.items.[INDEX].match_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"String match value for fraction conditions","uniqueKey":"conditions.items.[INDEX].match_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].match_value","typeLabel":"string | null"},"match_mode":{"oneOf":[{"type":"string","enum":["exact","contains","contains_case_insensitive"],"description":"String match mode","uniqueKey":"conditions.items.[INDEX].match_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["exact","contains","contains_case_insensitive"],"description":"String match mode","uniqueKey":"conditions.items.[INDEX].match_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].match_mode","typeLabel":"enum\u003cstring> | null"},"baseline_id":{"oneOf":[{"type":"string","description":"ULID of the metric baseline used by a BASELINE_DEVIATION condition","uniqueKey":"conditions.items.[INDEX].baseline_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ULID of the metric baseline used by a BASELINE_DEVIATION condition","uniqueKey":"conditions.items.[INDEX].baseline_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].baseline_id","typeLabel":"string | null"},"sigma_threshold":{"oneOf":[{"type":"number","minimum":0,"exclusiveMinimum":true,"description":"Sigmas from the baseline that constitute an anomaly","uniqueKey":"conditions.items.[INDEX].sigma_threshold.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"exclusiveMinimum":true,"description":"Sigmas from the baseline that constitute an anomaly","uniqueKey":"conditions.items.[INDEX].sigma_threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].sigma_threshold","typeLabel":"number | null"},"direction":{"oneOf":[{"type":"string","description":"Which direction of deviation counts as anomalous","enum":["above","below","both"],"uniqueKey":"conditions.items.[INDEX].direction.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"conditions.items.[INDEX].direction.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].direction","typeLabel":"enum\u003cstring> | null"},"warm_up_count":{"oneOf":[{"type":"integer","minimum":0,"description":"Minimum baseline observations required before the alert can fire","uniqueKey":"conditions.items.[INDEX].warm_up_count.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Minimum baseline observations required before the alert can fire","uniqueKey":"conditions.items.[INDEX].warm_up_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"conditions.items.[INDEX].warm_up_count","typeLabel":"integer | null"}},"uniqueKey":"conditions.items.[INDEX]","typeLabel":"object"},"description":"Evaluation conditions","uniqueKey":"conditions","typeLabel":"object[]"},"channels":{"type":"array","items":{"type":"object","required":["ulid","channel_type","config"],"properties":{"ulid":{"type":"string","pattern":"^[0-9A-Z]{26}$","description":"Channel ULID","isRequired":true,"uniqueKey":"channels.items.[INDEX].ulid","typeLabel":"string"},"channel_type":{"type":"string","enum":["SLACK","EMAIL","WEBHOOK","HUMAN_REVIEW"],"description":"Notification channel type","isRequired":true,"uniqueKey":"channels.items.[INDEX].channel_type","typeLabel":"enum\u003cstring>"},"config":{"type":"object","description":"Channel-specific configuration.\n\n**SLACK**: `{\"channel_id\": \"C0123ABC\", \"channel_name\": \"#alerts\"}`\n\n**EMAIL**: `{\"recipients\": [\"team@company.com\"]}`\n**WEBHOOK**: `{\"url\": \"https://...\", \"method\": \"POST\", \"auth_token\": \"...\"}`\n**HUMAN_REVIEW**: `{\"project_id\": \"...\", \"sample_rate\": 0.1}`\n","isRequired":true,"uniqueKey":"channels.items.[INDEX].config","typeLabel":"object"}},"uniqueKey":"channels.items.[INDEX]","typeLabel":"object"},"description":"Notification channels","uniqueKey":"channels","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"created_at":"2023-11-07T05:31:56Z","created_by":"\u003cstring>","updated_at":"2023-11-07T05:31:56Z","updated_by":"\u003cstring>","ulid":"01HZ0EXAMPLE00000000000000","name":"Latency SLA Alert","status":"ACTIVE","enabled":true,"evaluation_type":"ON_RUN_COMPLETE","conversation_source":"ALL","match_mode":"ALL","cooldown_seconds":43200,"create_time":"2023-11-07T05:31:56Z","update_time":"2023-11-07T05:31:56Z","description":"","custom_message_template":"\u003cstring>","agent_ids":["\u003cstring>"],"required_tags":["\u003cstring>"],"scheduled_run_ids":["\u003cstring>"],"customer_metadata":{},"trigger_count":123,"last_triggered_at":"2023-11-07T05:31:56Z","conditions":[{"ulid":"\u003cstring>","aggregation":"SINGLE","operator":"GT","metric_id":"\u003cstring>","threshold_float":123,"threshold_string":"\u003cstring>","window_size_days":183,"window_size_runs":5000,"match_value":"\u003cstring>","match_mode":"exact","baseline_id":"\u003cstring>","sigma_threshold":1,"direction":"above","warm_up_count":1}],"channels":[{"ulid":"\u003cstring>","channel_type":"SLACK","config":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"b6dcf475-5119-42a7-bd35-85d0d072cce9":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details"],"properties":{"code":{"type":"string","enum":["INVALID_ARGUMENT","UNAUTHENTICATED","PERMISSION_DENIED","NOT_FOUND","ALREADY_EXISTS","INTERNAL"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"oneOf":[{"type":"string","uniqueKey":"error.details.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.details.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string | null"},"description":{"type":"string","uniqueKey":"error.details.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INVALID_ARGUMENT","message":"Invalid request body","details":[{"field":"conditions","description":"Value error, List should have at least 1 item after validation"}]}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_ARGUMENT","message":"Invalid request body","details":[{"field":"conditions","description":"Value error, List should have at least 1 item after validation"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"b8409a45-69dc-4025-99f1-cf473e388fcd":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details"],"properties":{"code":{"type":"string","enum":["INVALID_ARGUMENT","UNAUTHENTICATED","PERMISSION_DENIED","NOT_FOUND","ALREADY_EXISTS","INTERNAL"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"oneOf":[{"type":"string","uniqueKey":"error.details.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.details.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string | null"},"description":{"type":"string","uniqueKey":"error.details.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"UNAUTHENTICATED","message":"Authentication failed","details":[{"field":"X-API-Key","description":"Invalid or missing API key"}]}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"UNAUTHENTICATED","message":"Authentication failed","details":[{"field":"X-API-Key","description":"Invalid or missing API key"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"eab9bdc6-95ae-482d-8d44-e7b6a88c50e8":{"description":"Permission Denied","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details"],"properties":{"code":{"type":"string","enum":["INVALID_ARGUMENT","UNAUTHENTICATED","PERMISSION_DENIED","NOT_FOUND","ALREADY_EXISTS","INTERNAL"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"oneOf":[{"type":"string","uniqueKey":"error.details.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.details.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string | null"},"description":{"type":"string","uniqueKey":"error.details.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"PERMISSION_DENIED","message":"Insufficient permissions","details":[{"field":"permissions","description":"Required scope: alerts:read"}]}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"PERMISSION_DENIED","message":"Insufficient permissions","details":[{"field":"permissions","description":"Required scope: alerts:read"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"4f33a42e-4b88-4092-a01a-914f2905fb2d":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details"],"properties":{"code":{"type":"string","enum":["INVALID_ARGUMENT","UNAUTHENTICATED","PERMISSION_DENIED","NOT_FOUND","ALREADY_EXISTS","INTERNAL"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"oneOf":[{"type":"string","uniqueKey":"error.details.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.details.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string | null"},"description":{"type":"string","uniqueKey":"error.details.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"NOT_FOUND","message":"Alert not found","details":[{"field":"alert_id","description":"Alert '01HZ0EXAMPLE00000000000000' not found"}]}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"NOT_FOUND","message":"Alert not found","details":[{"field":"alert_id","description":"Alert '01HZ0EXAMPLE00000000000000' not found"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"e1716c56-11cb-499a-bcb7-fc1ff62d69b7":{"description":"Alert name conflict","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details"],"properties":{"code":{"type":"string","enum":["INVALID_ARGUMENT","UNAUTHENTICATED","PERMISSION_DENIED","NOT_FOUND","ALREADY_EXISTS","INTERNAL"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"oneOf":[{"type":"string","uniqueKey":"error.details.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.details.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string | null"},"description":{"type":"string","uniqueKey":"error.details.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_ARGUMENT","message":"\u003cstring>","details":[{"field":"\u003cstring>","description":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"96e5e3a1-c117-44da-8d82-59b582776885":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","details"],"properties":{"code":{"type":"string","enum":["INVALID_ARGUMENT","UNAUTHENTICATED","PERMISSION_DENIED","NOT_FOUND","ALREADY_EXISTS","INTERNAL"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"oneOf":[{"type":"string","uniqueKey":"error.details.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.details.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string | null"},"description":{"type":"string","uniqueKey":"error.details.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INTERNAL","message":"Internal server error","details":[{"description":"An unexpected error occurred"}]}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INTERNAL","message":"Internal server error","details":[{"description":"An unexpected error occurred"}]}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4b764687-2389-411c-80c4-77e8fc36d52a":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"a529af30-90b6-4e0d-9069-7cceb686fcd7":{"url":"https://api.coval.dev/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"API key for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/v1/alerts-v1.yaml"},"subdomain":"coval-2e18a559","siteName":"Coval Documentation","title":"Update an alert - Coval Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T17:40:11.004Z","originalFileLocation":"api-reference/alerts/update-an-alert.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"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=\"Partially updates an alert. All fields are optional; omitted fields retain their current values (PATCH semantics). When conditions or channels are provided, they replace the existing set atomically (delete old, create new).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Coval Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coval-2e18a559/vkF1RiAFS33s2q-K/_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/coval-2e18a559/vkF1RiAFS33s2q-K/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coval-2e18a559/vkF1RiAFS33s2q-K/_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/coval-2e18a559/vkF1RiAFS33s2q-K/_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/coval-2e18a559/vkF1RiAFS33s2q-K/_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/coval-2e18a559/vkF1RiAFS33s2q-K/_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/coval-2e18a559/vkF1RiAFS33s2q-K/_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/coval-2e18a559/vkF1RiAFS33s2q-K/_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/coval-2e18a559/vkF1RiAFS33s2q-K/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update an alert - Coval Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Partially updates an alert. All fields are optional; omitted fields retain their current values (PATCH semantics). When conditions or channels are provided, they replace the existing set atomically (delete old, create new).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Coval Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.coval.ai/api-reference/alerts/update-an-alert\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coval-2e18a559.mintlify.site/_mintlify/api/og/v2?division=Alerts\u0026amp;title=Update+an+alert\u0026amp;description=Partially+updates+an+alert.+All+fields+are+optional%3B+omitted+fields%0Aretain+their+current+values+%28PATCH+semantics%29.%0A%0AWhen+%60conditions%60+or+%60channels%60+are+provided\u0026amp;theme=6eac43fcf99f568552f38b9e\u0026amp;signature=3e360699c7b116f7b1b8edfaccc3604314f54f25a09f47193a9d69ce9dc6b118\">\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=\"Update an alert - Coval Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Partially updates an alert. All fields are optional; omitted fields retain their current values (PATCH semantics). When conditions or channels are provided, they replace the existing set atomically (delete old, create new).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coval-2e18a559.mintlify.site/_mintlify/api/og/v2?division=Alerts\u0026amp;title=Update+an+alert\u0026amp;description=Partially+updates+an+alert.+All+fields+are+optional%3B+omitted+fields%0Aretain+their+current+values+%28PATCH+semantics%29.%0A%0AWhen+%60conditions%60+or+%60channels%60+are+provided\u0026amp;theme=6eac43fcf99f568552f38b9e\u0026amp;signature=3e360699c7b116f7b1b8edfaccc3604314f54f25a09f47193a9d69ce9dc6b118\">\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/coval-2e18a559/vkF1RiAFS33s2q-K/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Coval Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.coval.ai/api-reference/alerts/update-an-alert\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/alerts/update-an-alert.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.coval.ai/#organization\",\"name\":\"Coval Documentation\",\"url\":\"https://docs.coval.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/coval-2e18a559/Notp6opJUCHArykW/logo/coval-logo-vector.svg?fit=max\u0026auto=format\u0026n=Notp6opJUCHArykW\u0026q=85\u0026s=f08474458e9c5bbff1e1d7119fdc8012\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.coval.ai#website\",\"name\":\"Coval Documentation\",\"url\":\"https://docs.coval.ai\",\"publisher\":{\"@id\":\"https://docs.coval.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.coval.ai/api-reference/alerts/update-an-alert#webpage\",\"url\":\"https://docs.coval.ai/api-reference/alerts/update-an-alert\",\"name\":\"Update an alert\",\"description\":\"Partially updates an alert. All fields are optional; omitted fields retain their current values (PATCH semantics). When conditions or channels are provided, they replace the existing set atomically (delete old, create new).\",\"dateModified\":\"2026-10-27T17:40:11.004Z\",\"isPartOf\":{\"@id\":\"https://docs.coval.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.coval.ai/api-reference/alerts/update-an-alert#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.coval.ai/api-reference/alerts/update-an-alert#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Alerts\",\"item\":\"https://docs.coval.ai/api-reference/alerts/list-alerts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update an alert\",\"item\":\"https://docs.coval.ai/api-reference/alerts/update-an-alert\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.coval.ai/api-reference/alerts/update-an-alert#apireference\",\"headline\":\"Update an alert\",\"name\":\"Update an alert\",\"description\":\"Partially updates an alert. All fields are optional; omitted fields retain their current values (PATCH semantics). When conditions or channels are provided, they replace the existing set atomically (delete old, create new).\",\"url\":\"https://docs.coval.ai/api-reference/alerts/update-an-alert\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coval.ai/api-reference/alerts/update-an-alert#webpage\"},\"dateModified\":\"2026-10-27T17:40:11.004Z\",\"publisher\":{\"@id\":\"https://docs.coval.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.coval.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Coval Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Coval Documentation","nav":{"global":null,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/welcome"}]},{"tab":"API","icon":"square-terminal","groups":[{"group":"API","pages":[{"sidebarTitle":"Introduction","title":"API Reference","href":"/api-reference/v1/introduction"},{"title":"Conversation API compatibility","sidebarTitle":"Conversation compatibility","href":"/api-reference/v1/conversations-compatibility"}]},{"group":"Runs","icon":"play","pages":[{"title":"List runs","deprecated":null,"version":null,"openapi":"/api-reference/v1/runs-v1.yaml get /runs","href":"/api-reference/runs/list-runs"},{"title":"Launch run","deprecated":null,"version":null,"openapi":"/api-reference/v1/runs-v1.yaml post /runs","href":"/api-reference/runs/launch-run"},{"title":"Get run","deprecated":null,"version":null,"openapi":"/api-reference/v1/runs-v1.yaml get /runs/{run_id}","href":"/api-reference/runs/get-run"},{"title":"Update run","deprecated":null,"version":null,"openapi":"/api-reference/v1/runs-v1.yaml patch /runs/{run_id}","href":"/api-reference/runs/update-run"},{"title":"Delete run","deprecated":null,"version":null,"openapi":"/api-reference/v1/runs-v1.yaml delete /runs/{run_id}","href":"/api-reference/runs/delete-run"},{"title":"List run tag values","deprecated":null,"version":null,"openapi":"/api-reference/v1/runs-v1.yaml get /runs/tags","href":"/api-reference/runs/list-run-tag-values"}]},{"group":"Simulated Conversations","icon":"rocket","pages":[{"title":"List simulations","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /conversations/simulated","href":"/api-reference/simulated-conversations/list-simulations"},{"title":"Get simulation","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /conversations/simulated/{simulation_id}","href":"/api-reference/simulated-conversations/get-simulation"},{"title":"Update simulation","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml patch /conversations/simulated/{simulation_id}","href":"/api-reference/simulated-conversations/update-simulation"},{"title":"Delete or cancel simulation","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml delete /conversations/simulated/{simulation_id}","href":"/api-reference/simulated-conversations/delete-or-cancel-simulation"},{"title":"Batch rerun metrics","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml post /conversations/simulated:rerunMetrics","href":"/api-reference/simulated-conversations/batch-rerun-metrics"},{"title":"Discover SDK WebSocket connection","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /simulations/{simulation_id}/connect","href":"/api-reference/simulated-conversations/discover-sdk-websocket-connection"},{"title":"Rerun a simulation","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml post /conversations/simulated/{simulation_id}/resimulate","href":"/api-reference/simulated-conversations/rerun-a-simulation"},{"title":"Get audio file URL","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /conversations/simulated/{simulation_id}/audio","href":"/api-reference/simulated-conversations/get-audio-file-url"},{"title":"Retrieve a named simulation attribute","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /simulations/{simulation_id}/attributes/{attribute_name}","href":"/api-reference/simulated-conversations/retrieve-a-named-simulation-attribute"},{"group":"Metric Outputs","pages":[{"title":"List metrics","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /conversations/simulated/{simulation_id}/metrics","href":"/api-reference/metric-outputs/list-metrics"},{"title":"Get simulation metric output(s)","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /conversations/simulated/{simulation_id}/metrics/{metric_output_id}","href":"/api-reference/metric-outputs/get-simulation-metric-outputs"}]},{"group":"Conversation Comments","pages":[{"title":"List simulated conversation comments","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /conversations/simulated/{conversation_id}/comments","href":"/api-reference/conversation-comments/list-simulated-conversation-comments"},{"title":"Get a simulated conversation comment","deprecated":null,"version":null,"openapi":"/api-reference/v1/simulations-v1.yaml get /conversations/simulated/{conversation_id}/comments/{comment_id}","href":"/api-reference/conversation-comments/get-a-simulated-conversation-comment"}]}]},{"group":"Uploaded Conversations","icon":"messages","pages":[{"title":"Upload audio","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml post /audio:upload","href":"/api-reference/audio/upload-audio"},{"title":"Submit conversation for evaluation","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml post /conversations/uploaded:submit","href":"/api-reference/uploaded-conversations/submit-conversation-for-evaluation"},{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml get /conversations/uploaded","href":"/api-reference/uploaded-conversations/list-conversations"},{"title":"Get conversation details","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml get /conversations/uploaded/{conversation_id}","href":"/api-reference/uploaded-conversations/get-conversation-details"},{"title":"Attach audio, add metadata, or assign an agent to a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml patch /conversations/uploaded/{conversation_id}","href":"/api-reference/uploaded-conversations/attach-audio-add-metadata-or-assign-an-agent-to-a-conversation"},{"title":"Delete or cancel conversation","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml delete /conversations/uploaded/{conversation_id}","href":"/api-reference/uploaded-conversations/delete-or-cancel-conversation"},{"title":"Get conversation audio","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml get /conversations/uploaded/{conversation_id}/audio","href":"/api-reference/audio/get-conversation-audio"},{"group":"Metrics","pages":[{"title":"List conversation metrics","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml get /conversations/uploaded/{conversation_id}/metrics","href":"/api-reference/uploaded-conversations/list-conversation-metrics"},{"title":"Get conversation metric output(s)","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml get /conversations/uploaded/{conversation_id}/metrics/{metric_output_id}","href":"/api-reference/uploaded-conversations/get-conversation-metric-outputs"}]},{"group":"Conversation Comments","pages":[{"title":"List uploaded conversation comments","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml get /conversations/uploaded/{conversation_id}/comments","href":"/api-reference/conversation-comments/list-uploaded-conversation-comments"},{"title":"Get a uploaded conversation comment","deprecated":null,"version":null,"openapi":"/api-reference/v1/conversations-v1.yaml get /conversations/uploaded/{conversation_id}/comments/{comment_id}","href":"/api-reference/conversation-comments/get-a-uploaded-conversation-comment"}]}]},{"group":"Agents","icon":"robot","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-reference/v1/agents-v1.yaml get /agents","href":"/api-reference/agents/list-agents"},{"title":"Connect an agent","deprecated":null,"version":null,"openapi":"/api-reference/v1/agents-v1.yaml post /agents","href":"/api-reference/agents/connect-an-agent"},{"title":"Get agent","deprecated":null,"version":null,"openapi":"/api-reference/v1/agents-v1.yaml get /agents/{agent_id}","href":"/api-reference/agents/get-agent"},{"title":"Update agent","deprecated":null,"version":null,"openapi":"/api-reference/v1/agents-v1.yaml patch /agents/{agent_id}","href":"/api-reference/agents/update-agent"},{"title":"Delete agent","deprecated":null,"version":null,"openapi":"/api-reference/v1/agents-v1.yaml delete /agents/{agent_id}","href":"/api-reference/agents/delete-agent"},{"title":"Duplicate an agent","deprecated":null,"version":null,"openapi":"/api-reference/v1/agents-v1.yaml post /agents/{agent_id}/duplicate","href":"/api-reference/agents/duplicate-an-agent"},{"group":"Versions","pages":[{"title":"List agent versions","deprecated":null,"version":null,"openapi":"/api-reference/v1/agents-v1.yaml get /agents/{agent_id}/versions","href":"/api-reference/agents/list-agent-versions"},{"title":"Revert agent version","deprecated":null,"version":null,"openapi":"/api-reference/v1/agents-v1.yaml post /agents/{agent_id}/versions/{version_id}/revert","href":"/api-reference/agents/revert-agent-version"}]}]},{"group":"Mutations","icon":"flask-vial","pages":[{"title":"List mutations","deprecated":null,"version":null,"openapi":"/api-reference/v1/mutations-v1.yaml get /agents/{agent_id}/mutations","href":"/api-reference/mutations/list-mutations"},{"title":"Create mutation","deprecated":null,"version":null,"openapi":"/api-reference/v1/mutations-v1.yaml post /agents/{agent_id}/mutations","href":"/api-reference/mutations/create-mutation"},{"title":"Get mutation","deprecated":null,"version":null,"openapi":"/api-reference/v1/mutations-v1.yaml get /agents/{agent_id}/mutations/{mutation_id}","href":"/api-reference/mutations/get-mutation"},{"title":"Update mutation","deprecated":null,"version":null,"openapi":"/api-reference/v1/mutations-v1.yaml patch /agents/{agent_id}/mutations/{mutation_id}","href":"/api-reference/mutations/update-mutation"},{"title":"Delete mutation","deprecated":null,"version":null,"openapi":"/api-reference/v1/mutations-v1.yaml delete /agents/{agent_id}/mutations/{mutation_id}","href":"/api-reference/mutations/delete-mutation"}]},{"group":"Test Sets","icon":"database","pages":[{"title":"List test sets","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml get /test-sets","href":"/api-reference/test-sets/list-test-sets"},{"title":"Create test set","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml post /test-sets","href":"/api-reference/test-sets/create-test-set"},{"title":"Get test set","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml get /test-sets/{test_set_id}","href":"/api-reference/test-sets/get-test-set"},{"title":"Update test set","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml patch /test-sets/{test_set_id}","href":"/api-reference/test-sets/update-test-set"},{"title":"Delete test set","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml delete /test-sets/{test_set_id}","href":"/api-reference/test-sets/delete-test-set"},{"title":"Duplicate a test set","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml post /test-sets/{test_set_id}/duplicate","href":"/api-reference/test-sets/duplicate-a-test-set"},{"title":"Associate agents with a test set","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml post /test-sets/{test_set_id}/agents:add","href":"/api-reference/test-sets/associate-agents-with-a-test-set"},{"title":"List test set records","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml get /test-sets/{test_set_id}/records","href":"/api-reference/test-sets/list-test-set-records"},{"group":"Versions","pages":[{"title":"List test set versions","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml get /test-sets/{test_set_id}/versions","href":"/api-reference/test-sets/list-test-set-versions"},{"title":"Revert test set version","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml post /test-sets/{test_set_id}/versions/{version_id}/revert","href":"/api-reference/test-sets/revert-test-set-version"}]},{"group":"Agents","pages":[{"title":"List associated agents","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml get /test-sets/{test_set_id}/agents","href":"/api-reference/test-sets/list-associated-agents"},{"title":"Remove an agent association","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-sets-v1.yaml delete /test-sets/{test_set_id}/agents/{agent_id}","href":"/api-reference/test-sets/remove-an-agent-association"}]}]},{"group":"Test Cases","icon":"flask","pages":[{"title":"List test cases","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-cases-v1.yaml get /test-cases","href":"/api-reference/test-cases/list-test-cases"},{"title":"Create test case","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-cases-v1.yaml post /test-cases","href":"/api-reference/test-cases/create-test-case"},{"title":"Get test case","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-cases-v1.yaml get /test-cases/{test_case_id}","href":"/api-reference/test-cases/get-test-case"},{"title":"Update test case","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-cases-v1.yaml patch /test-cases/{test_case_id}","href":"/api-reference/test-cases/update-test-case"},{"title":"Delete test case","deprecated":null,"version":null,"openapi":"/api-reference/v1/test-cases-v1.yaml delete /test-cases/{test_case_id}","href":"/api-reference/test-cases/delete-test-case"}]},{"group":"Personas","icon":"circle-user","pages":[{"title":"List personas","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml get /personas","href":"/api-reference/personas/list-personas"},{"title":"Create persona","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml post /personas","href":"/api-reference/personas/create-persona"},{"title":"Get persona","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml get /personas/{persona_id}","href":"/api-reference/personas/get-persona"},{"title":"Update persona","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml patch /personas/{persona_id}","href":"/api-reference/personas/update-persona"},{"title":"Delete persona","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml delete /personas/{persona_id}","href":"/api-reference/personas/delete-persona"},{"title":"List background sounds","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml get /personas/background-sounds","href":"/api-reference/personas/list-background-sounds"},{"title":"Create background sound upload","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml post /personas/background-sounds","href":"/api-reference/personas/create-background-sound-upload"},{"title":"Update background sound","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml patch /personas/background-sounds/{background_sound_id}","href":"/api-reference/personas/update-background-sound"},{"title":"List phone number mappings","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml get /personas/phone-numbers","href":"/api-reference/personas/list-phone-number-mappings"},{"title":"List available voices","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml get /personas/voices","href":"/api-reference/personas/list-available-voices"},{"title":"List persona tag values","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml get /personas/tags","href":"/api-reference/personas/list-persona-tag-values"},{"title":"Duplicate a persona","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml post /personas/{persona_id}/duplicate","href":"/api-reference/personas/duplicate-a-persona"},{"title":"Complete background sound upload","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml post /personas/background-sounds/{background_sound_id}/complete","href":"/api-reference/personas/complete-background-sound-upload"},{"group":"Versions","pages":[{"title":"List persona versions","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml get /personas/{persona_id}/versions","href":"/api-reference/personas/list-persona-versions"},{"title":"Revert persona version","deprecated":null,"version":null,"openapi":"/api-reference/v1/personas-v1.yaml post /personas/{persona_id}/versions/{version_id}/revert","href":"/api-reference/personas/revert-persona-version"}]}]},{"group":"Metrics","icon":"ballot-check","pages":[{"title":"List metrics","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics","href":"/api-reference/metrics/list-metrics"},{"title":"Create metric","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics","href":"/api-reference/metrics/create-metric"},{"title":"List metric template variables","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/template-variables","href":"/api-reference/metrics/list-metric-template-variables"},{"title":"Get metric","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/{metric_id}","href":"/api-reference/metrics/get-metric"},{"title":"Update metric","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml patch /metrics/{metric_id}","href":"/api-reference/metrics/update-metric"},{"title":"Delete metric","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml delete /metrics/{metric_id}","href":"/api-reference/metrics/delete-metric"},{"title":"List recently-deleted metrics","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/recently-deleted","href":"/api-reference/metrics/list-recently-deleted-metrics"},{"title":"List available metric models","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /models/metric","href":"/api-reference/metrics/list-available-metric-models"},{"title":"List metric flows","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/flows","href":"/api-reference/metrics/list-metric-flows"},{"title":"Create a metric flow","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/flows","href":"/api-reference/metrics/create-a-metric-flow"},{"title":"Update a metric flow","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml patch /metrics/flows/{flow_id}","href":"/api-reference/metrics/update-a-metric-flow"},{"title":"Delete a metric flow","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml delete /metrics/flows/{flow_id}","href":"/api-reference/metrics/delete-a-metric-flow"},{"title":"Test a draft SQL metric query","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/sql:test","href":"/api-reference/metrics/test-a-draft-sql-metric-query"},{"title":"Get the SQL metric schema","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/sql-schema","href":"/api-reference/metrics/get-the-sql-metric-schema"},{"title":"Batch-get metric outputs by ULID","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/outputs:batchGet","href":"/api-reference/metrics/batch-get-metric-outputs-by-ulid"},{"title":"List metric tag values","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/tags","href":"/api-reference/metrics/list-metric-tag-values"},{"title":"Duplicate a metric","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/{metric_id}/duplicate","href":"/api-reference/metrics/duplicate-a-metric"},{"title":"Restore a recently-deleted metric","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/{metric_id}/restore","href":"/api-reference/metrics/restore-a-recently-deleted-metric"},{"title":"Trigger test metric execution","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/{metric_id}/test","href":"/api-reference/metrics/trigger-test-metric-execution"},{"group":"Versions","pages":[{"title":"List metric versions","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/{metric_id}/versions","href":"/api-reference/metrics/list-metric-versions"},{"title":"Revert metric version","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/{metric_id}/versions/{version_id}/revert","href":"/api-reference/metrics/revert-metric-version"}]},{"group":"Thresholds","pages":[{"title":"List metric thresholds","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/{metric_id}/thresholds","href":"/api-reference/metrics/list-metric-thresholds"},{"title":"Create metric threshold","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/{metric_id}/thresholds","href":"/api-reference/metrics/create-metric-threshold"},{"title":"Get metric threshold","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/{metric_id}/threshold","href":"/api-reference/metrics/get-metric-threshold"},{"title":"Update metric threshold","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml patch /metrics/{metric_id}/threshold","href":"/api-reference/metrics/update-metric-threshold"},{"title":"Delete metric threshold","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml delete /metrics/{metric_id}/thresholds/{threshold_id}","href":"/api-reference/metrics/delete-metric-threshold"}]},{"group":"Baselines","pages":[{"title":"List metric baselines","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/{metric_id}/baselines","href":"/api-reference/metrics/list-metric-baselines"},{"title":"Create metric baseline","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml post /metrics/{metric_id}/baselines","href":"/api-reference/metrics/create-metric-baseline"},{"title":"Get metric baseline","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/{metric_id}/baselines/{baseline_id}","href":"/api-reference/metrics/get-metric-baseline"},{"title":"Update metric baseline","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml patch /metrics/{metric_id}/baselines/{baseline_id}","href":"/api-reference/metrics/update-metric-baseline"},{"title":"Delete metric baseline","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml delete /metrics/{metric_id}/baselines/{baseline_id}","href":"/api-reference/metrics/delete-metric-baseline"},{"title":"Get baseline history","deprecated":null,"version":null,"openapi":"/api-reference/v1/metrics-v1.yaml get /metrics/{metric_id}/baselines/{baseline_id}/history","href":"/api-reference/metrics/get-baseline-history"}]}]},{"group":"Run Templates","icon":"puzzle-piece","pages":[{"title":"List run templates","deprecated":null,"version":null,"openapi":"/api-reference/v1/run-templates-v1.yaml get /run-templates","href":"/api-reference/run-templates/list-run-templates"},{"title":"Create run template","deprecated":null,"version":null,"openapi":"/api-reference/v1/run-templates-v1.yaml post /run-templates","href":"/api-reference/run-templates/create-run-template"},{"title":"Get run template","deprecated":null,"version":null,"openapi":"/api-reference/v1/run-templates-v1.yaml get /run-templates/{run_template_id}","href":"/api-reference/run-templates/get-run-template"},{"title":"Update run template","deprecated":null,"version":null,"openapi":"/api-reference/v1/run-templates-v1.yaml patch /run-templates/{run_template_id}","href":"/api-reference/run-templates/update-run-template"},{"title":"Delete run template","deprecated":null,"version":null,"openapi":"/api-reference/v1/run-templates-v1.yaml delete /run-templates/{run_template_id}","href":"/api-reference/run-templates/delete-run-template"}]},{"group":"Scheduled Runs","icon":"clock","pages":[{"title":"List scheduled runs","deprecated":null,"version":null,"openapi":"/api-reference/v1/scheduled-runs-v1.yaml get /scheduled-runs","href":"/api-reference/scheduled-runs/list-scheduled-runs"},{"title":"Create scheduled run","deprecated":null,"version":null,"openapi":"/api-reference/v1/scheduled-runs-v1.yaml post /scheduled-runs","href":"/api-reference/scheduled-runs/create-scheduled-run"},{"title":"Get scheduled run","deprecated":null,"version":null,"openapi":"/api-reference/v1/scheduled-runs-v1.yaml get /scheduled-runs/{scheduled_run_id}","href":"/api-reference/scheduled-runs/get-scheduled-run"},{"title":"Update scheduled run","deprecated":null,"version":null,"openapi":"/api-reference/v1/scheduled-runs-v1.yaml patch /scheduled-runs/{scheduled_run_id}","href":"/api-reference/scheduled-runs/update-scheduled-run"},{"title":"Delete scheduled run","deprecated":null,"version":null,"openapi":"/api-reference/v1/scheduled-runs-v1.yaml delete /scheduled-runs/{scheduled_run_id}","href":"/api-reference/scheduled-runs/delete-scheduled-run"},{"title":"List a scheduled run's produced runs","deprecated":null,"version":null,"openapi":"/api-reference/v1/scheduled-runs-v1.yaml get /scheduled-runs/{scheduled_run_id}/runs","href":"/api-reference/scheduled-runs/list-a-scheduled-runs-produced-runs"}]},{"group":"Reviews","icon":"clipboard-check","pages":[{"title":"List review annotations","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml get /review-annotations","href":"/api-reference/review-annotations/list-review-annotations"},{"title":"Create review annotation","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml post /review-annotations","href":"/api-reference/review-annotations/create-review-annotation"},{"title":"Get review annotation","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml get /review-annotations/{annotation_id}","href":"/api-reference/review-annotations/get-review-annotation"},{"title":"Update review annotation","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml patch /review-annotations/{annotation_id}","href":"/api-reference/review-annotations/update-review-annotation"},{"title":"Delete review annotation","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml delete /review-annotations/{annotation_id}","href":"/api-reference/review-annotations/delete-review-annotation"},{"title":"List review projects","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml get /review-projects","href":"/api-reference/review-projects/list-review-projects"},{"title":"Create review project","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml post /review-projects","href":"/api-reference/review-projects/create-review-project"},{"title":"Get review project","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml get /review-projects/{project_id}","href":"/api-reference/review-projects/get-review-project"},{"title":"Update review project","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml patch /review-projects/{project_id}","href":"/api-reference/review-projects/update-review-project"},{"title":"Delete review project","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml delete /review-projects/{project_id}","href":"/api-reference/review-projects/delete-review-project"},{"title":"Get review disagreement state","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml post /review-projects/disagreement-state","href":"/api-reference/review-projects/get-review-disagreement-state"},{"title":"Get metric health stats","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml get /review-annotations/metric-health-stats","href":"/api-reference/review-annotations/get-metric-health-stats"},{"title":"Get annotations with metric outputs","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml post /review-annotations:withMetricOutputs","href":"/api-reference/review-annotations/get-annotations-with-metric-outputs"},{"title":"Get project metric agreement","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml get /review-projects/{project_id}/metric-agreement","href":"/api-reference/review-projects/get-project-metric-agreement"},{"title":"Get review project progress","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml get /review-projects/{project_id}/progress","href":"/api-reference/review-projects/get-review-project-progress"},{"title":"Get project insights","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml get /review-projects/{project_id}/insights","href":"/api-reference/review-projects/get-project-insights"},{"title":"Complete a review-project conversation","deprecated":null,"version":null,"openapi":"/api-reference/v1/reviews-v1.yaml post /review-projects/{project_id}/complete-conversation","href":"/api-reference/review-projects/complete-a-review-project-conversation"}]},{"group":"Dashboards","icon":"chart-line","pages":[{"title":"List dashboards","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml get /dashboards","href":"/api-reference/dashboards/list-dashboards"},{"title":"Create dashboard","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml post /dashboards","href":"/api-reference/dashboards/create-dashboard"},{"title":"Get dashboard","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml get /dashboards/{dashboard_id}","href":"/api-reference/dashboards/get-dashboard"},{"title":"Update dashboard","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml patch /dashboards/{dashboard_id}","href":"/api-reference/dashboards/update-dashboard"},{"title":"Delete dashboard","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml delete /dashboards/{dashboard_id}","href":"/api-reference/dashboards/delete-dashboard"},{"group":"Widgets","pages":[{"title":"List widgets","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml get /dashboards/{dashboard_id}/widgets","href":"/api-reference/widgets/list-widgets"},{"title":"Create widget","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml post /dashboards/{dashboard_id}/widgets","href":"/api-reference/widgets/create-widget"},{"title":"Get widget","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml get /dashboards/{dashboard_id}/widgets/{widget_id}","href":"/api-reference/widgets/get-widget"},{"title":"Update widget","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml patch /dashboards/{dashboard_id}/widgets/{widget_id}","href":"/api-reference/widgets/update-widget"},{"title":"Delete widget","deprecated":null,"version":null,"openapi":"/api-reference/v1/dashboards-v1.yaml delete /dashboards/{dashboard_id}/widgets/{widget_id}","href":"/api-reference/widgets/delete-widget"}]}]},{"group":"Alerts","icon":"bell","pages":[{"title":"List alerts","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml get /alerts","href":"/api-reference/alerts/list-alerts"},{"title":"Create an alert","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml post /alerts","href":"/api-reference/alerts/create-an-alert"},{"title":"Get an alert","description":"Returns a single alert with its conditions and channels.","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml get /alerts/{alert_id}","href":"/api-reference/alerts/get-an-alert"},{"title":"Update an alert","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml patch /alerts/{alert_id}","href":"/api-reference/alerts/update-an-alert"},{"title":"Delete an alert","description":"Soft-deletes an alert by setting its status to DELETED.\nThe alert and its channels are deactivated but retained for audit.\n","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml delete /alerts/{alert_id}","href":"/api-reference/alerts/delete-an-alert"},{"title":"List alert events","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml get /alerts/{alert_id}/events","href":"/api-reference/alert-events/list-alert-events"},{"title":"Test evaluate an alert","deprecated":null,"version":null,"openapi":"/api-reference/v1/alerts-v1.yaml post /alerts/{alert_id}/test-evaluate","href":"/api-reference/alerts/test-evaluate-an-alert"}]},{"group":"Reports","icon":"file-chart-column","pages":[{"title":"List reports","deprecated":null,"version":null,"openapi":"/api-reference/v1/reports-v1.yaml get /reports","href":"/api-reference/reports/list-reports"},{"title":"Create report","deprecated":null,"version":null,"openapi":"/api-reference/v1/reports-v1.yaml post /reports","href":"/api-reference/reports/create-report"},{"title":"Get report","deprecated":null,"version":null,"openapi":"/api-reference/v1/reports-v1.yaml get /reports/{report_id}","href":"/api-reference/reports/get-report"},{"title":"Update report","deprecated":null,"version":null,"openapi":"/api-reference/v1/reports-v1.yaml patch /reports/{report_id}","href":"/api-reference/reports/update-report"},{"title":"Delete report","deprecated":null,"version":null,"openapi":"/api-reference/v1/reports-v1.yaml delete /reports/{report_id}","href":"/api-reference/reports/delete-report"},{"title":"List report rows","deprecated":null,"version":null,"openapi":"/api-reference/v1/reports-v1.yaml get /reports/{report_id}/rows","href":"/api-reference/reports/list-report-rows"}]},{"group":"Tags","icon":"tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/api-reference/v1/tags-v1.yaml get /tags","href":"/api-reference/tags/list-tags"},{"title":"Create tag","deprecated":null,"version":null,"openapi":"/api-reference/v1/tags-v1.yaml post /tags","href":"/api-reference/tags/create-tag"},{"title":"Get tag","deprecated":null,"version":null,"openapi":"/api-reference/v1/tags-v1.yaml get /tags/{tag_id}","href":"/api-reference/tags/get-tag"},{"title":"Update tag","deprecated":null,"version":null,"openapi":"/api-reference/v1/tags-v1.yaml patch /tags/{tag_id}","href":"/api-reference/tags/update-tag"},{"title":"Delete tag","deprecated":null,"version":null,"openapi":"/api-reference/v1/tags-v1.yaml delete /tags/{tag_id}","href":"/api-reference/tags/delete-tag"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/api-reference/v1/webhooks-v1.yaml get /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/api-reference/v1/webhooks-v1.yaml post /webhooks","href":"/api-reference/webhooks/create-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api-reference/v1/webhooks-v1.yaml patch /webhooks/{webhook_id}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api-reference/v1/webhooks-v1.yaml delete /webhooks/{webhook_id}","href":"/api-reference/webhooks/delete-a-webhook"}]},{"group":"Traces","icon":"bezier-curve","pages":[{"title":"Ingest OTLP traces","deprecated":null,"version":null,"openapi":"/api-reference/v1/traces-v1.yaml post /traces","href":"/api-reference/traces/ingest-otlp-traces"},{"title":"Search trace-bearing calls","deprecated":null,"version":null,"openapi":"/api-reference/v1/traces-v1.yaml post /traces/search","href":"/api-reference/traces/search-trace-bearing-calls"},{"title":"Inspect trace quality and signal coverage","deprecated":null,"version":null,"openapi":"/api-reference/v1/traces-v1.yaml get /traces/summary","href":"/api-reference/traces/inspect-trace-quality-and-signal-coverage"},{"title":"List trace spans for a simulation output","deprecated":null,"version":null,"openapi":"/api-reference/v1/traces-v1.yaml get /traces/spans","href":"/api-reference/traces/list-trace-spans-for-a-simulation-output"}]},{"group":"Conversations Config","icon":"building","pages":[{"title":"List organization users","deprecated":null,"version":null,"openapi":"/api-reference/v1/organization-v1.yaml get /organization/users","href":"/api-reference/organization-users/list-organization-users"},{"title":"Get conversation metrics config","deprecated":null,"version":null,"openapi":"/api-reference/v1/organization-v1.yaml get /organization/conversation-metrics","href":"/api-reference/organization-conversations-config/get-conversation-metrics-config"},{"title":"Update conversation metrics config","deprecated":null,"version":null,"openapi":"/api-reference/v1/organization-v1.yaml patch /organization/conversation-metrics","href":"/api-reference/organization-conversations-config/update-conversation-metrics-config"},{"title":"Get conversation metrics config using the legacy path","deprecated":true,"version":null,"openapi":"/api-reference/v1/organization-v1.yaml get /organization/monitoring-metrics","href":"/api-reference/organization-conversations-config/get-conversation-metrics-config-using-the-legacy-path"},{"title":"Update conversation metrics config using the legacy path","deprecated":true,"version":null,"openapi":"/api-reference/v1/organization-v1.yaml patch /organization/monitoring-metrics","href":"/api-reference/organization-conversations-config/update-conversation-metrics-config-using-the-legacy-path"}]},{"group":"API Keys","icon":"key","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/api-reference/v1/api-keys-v1.yaml get /api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"openapi":"/api-reference/v1/api-keys-v1.yaml post /api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Update API key status","deprecated":null,"version":null,"openapi":"/api-reference/v1/api-keys-v1.yaml patch /api-keys/{api_key_id}","href":"/api-reference/api-keys/update-api-key-status"},{"title":"Delete API key","deprecated":null,"version":null,"openapi":"/api-reference/v1/api-keys-v1.yaml delete /api-keys/{api_key_id}","href":"/api-reference/api-keys/delete-api-key"}]},{"group":"Workspaces","icon":"layer-group","pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"/api-reference/v1/workspaces-v1.yaml get /workspaces","href":"/api-reference/workspaces/list-workspaces"},{"title":"Create workspace","deprecated":null,"version":null,"openapi":"/api-reference/v1/workspaces-v1.yaml post /workspaces","href":"/api-reference/workspaces/create-workspace"},{"title":"Get workspace","deprecated":null,"version":null,"openapi":"/api-reference/v1/workspaces-v1.yaml get /workspaces/{workspace_id}","href":"/api-reference/workspaces/get-workspace"},{"title":"Update workspace","deprecated":null,"version":null,"openapi":"/api-reference/v1/workspaces-v1.yaml patch /workspaces/{workspace_id}","href":"/api-reference/workspaces/update-workspace"},{"title":"Delete workspace","deprecated":null,"version":null,"openapi":"/api-reference/v1/workspaces-v1.yaml delete /workspaces/{workspace_id}","href":"/api-reference/workspaces/delete-workspace"},{"title":"Archive workspace","deprecated":null,"version":null,"openapi":"/api-reference/v1/workspaces-v1.yaml post /workspaces/{workspace_id}/archive","href":"/api-reference/workspaces/archive-workspace"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Get Slack integration status","deprecated":null,"version":null,"openapi":"/api-reference/v1/slack-v1.yaml get /integrations/slack","href":"/api-reference/integrations/get-slack-integration-status"},{"title":"Disconnect Slack integration","deprecated":null,"version":null,"openapi":"/api-reference/v1/slack-v1.yaml delete /integrations/slack","href":"/api-reference/integrations/disconnect-slack-integration"},{"title":"Connect a Slack workspace","deprecated":null,"version":null,"openapi":"/api-reference/v1/slack-v1.yaml post /integrations/slack/connect","href":"/api-reference/integrations/connect-a-slack-workspace"}]}]},{"tab":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"Developers","icon":"code","pages":[{"title":"Developers","href":"/sdks/overview"}]},{"tab":"Agents","icon":"microchip","pages":[{"title":"Agents","href":"/agents/overview"}]},{"tab":"Connectors","icon":"diagram-project","pages":[{"title":"Connectors","href":"/mcp/overview"}]}]},"basePath":"","title":"Update an alert - Coval Documentation","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}