Create an alert in a project. The project is identified by the project_id path parameter
alone; the x-hh-project-id header does not participate. The alert’s filters and
projections (metrics) are mapped against the project’s logged-event schema; if no schema
data matches them — e.g. no events have been logged to the project yet — the request fails
with a 400.
A fine-grained control-plane API key (values begin with hh_fgcp_). Project API keys used with the Data Plane API will not work here. Create one in the HoneyHive app under an organization's or workspace's Settings → API Keys.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"HoneyHive AI Docs","description":"AI observability and evaluation platform. Trace, evaluate, monitor, and improve AI agents and LLM applications.","colors":{"primary":"#A56311","light":"#E8A23D","dark":"#A56311"},"logo":{"light":"https://mintcdn.com/honeyhiveai/lWy7JAPdMsmL06l1/logo/light.svg?fit=max\u0026auto=format\u0026n=lWy7JAPdMsmL06l1\u0026q=85\u0026s=419c99bb22ce1e89ae8fb4a87c589528","dark":"https://mintcdn.com/honeyhiveai/lWy7JAPdMsmL06l1/logo/dark.svg?fit=max\u0026auto=format\u0026n=lWy7JAPdMsmL06l1\u0026q=85\u0026s=2cee835bc5438cd29005218a18e0168b"},"favicon":{"light":"https://mintcdn.com/honeyhiveai/W7aN2oGPMTbOQxZv/images/favicon.svg?fit=max\u0026auto=format\u0026n=W7aN2oGPMTbOQxZv\u0026q=85\u0026s=1c201da27b06120f1c630bf53ad1a831","dark":"https://mintcdn.com/honeyhiveai/W7aN2oGPMTbOQxZv/images/favicon-dark.svg?fit=max\u0026auto=format\u0026n=W7aN2oGPMTbOQxZv\u0026q=85\u0026s=01cb0bffc66454f0e19853e701832110"},"api":{"openapi":["output.yaml","https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml","https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml"],"mdx":{"auth":{"method":"key","name":"key"},"server":"https://api.dp1.us.honeyhive.ai"}},"appearance":{"default":"light"},"background":{"color":{"light":"#ffffff","dark":"#101010"}},"navbar":{"links":[{"href":"https://discord.gg/vqctGpqA97","label":"Community"}],"primary":{"type":"button","label":"Log In","href":"https://app.us.honeyhive.ai"}},"footer":{"socials":{"x":"https://x.com/honeyhiveai","linkedin":"https://www.linkedin.com/company/honeyhive-ai","github":"https://github.com/honeyhiveai"},"links":[{"header":"Resources","items":[{"label":"Quickstart","href":"https://docs.honeyhive.ai/v2/introduction/tracing-quickstart"},{"label":"SDK Reference","href":"https://docs.honeyhive.ai/v2/sdk-reference/overview"},{"label":"API Reference","href":"https://docs.honeyhive.ai/v2/api-reference-autogen/sessions/start-a-new-session"},{"label":"Integrations","href":"https://docs.honeyhive.ai/v2/integrations/openai"},{"label":"Changelog","href":"https://docs.honeyhive.ai/v2/changelog/product"}]},{"header":"Explore","items":[{"label":"Sign Up","href":"https://app.us.honeyhive.ai"},{"label":"Pricing","href":"https://www.honeyhive.ai/pricing"},{"label":"Blog","href":"https://honeyhive.ai/blog"}]},{"header":"Platform","items":[{"label":"Observability","href":"https://honeyhive.ai/observability"},{"label":"Evaluation","href":"https://honeyhive.ai/evaluation"},{"label":"Prompt Management","href":"https://honeyhive.ai/playground"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://honeyhive.ai/terms"},{"label":"Privacy Policy","href":"https://honeyhive.ai/privacy"}]}]},"search":{"prompt":"Search or ask AI..."},"seo":{"metatags":{"og:site_name":"HoneyHive AI Docs"},"indexing":"navigable"},"integrations":{"posthog":{"apiKey":"phc_CtmMXHNhIs1Iem8viAsXYH7lB0aaj4X2nCrCunPqDbF","sessionRecording":false},"telemetry":{"enabled":true}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode",{"title":"Join Discord","description":"Get help from the HoneyHive community","icon":"discord","href":"https://discord.gg/vqctGpqA97"}],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"honeyhiveai","hasAudioNarration":false,"actualSubdomain":"honeyhiveai","customDomains":["docs.honeyhive.ai"],"gitSource":{"type":"github","owner":"honeyhiveai","repo":"honeyhive-ai-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"issues":false,"edits":false,"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aee1313a829c37e3ffc25d8","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"v2","count":395},{"language":"default","tag":"SDK Reference","count":175},{"language":"default","tag":"Reference","count":172},{"language":"default","tag":"TypeScript API SDK","count":114},{"language":"default","tag":"Documentation","count":91},{"language":"default","tag":"API Reference","count":71},{"language":"default","tag":"Data Plane API","count":51},{"language":"default","tag":"TypeScript Control Plane SDK","count":50},{"language":"default","tag":"Experiments","count":40},{"language":"default","tag":"Integrations","count":34}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@honeyhive.ai"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".update-container .hh-update-entry:first-child>h2{margin-top:0}"}],"page":{"pagePath":"v2/control-plane-api-reference-autogen/alerts/create-an-alert","slug":"/v2/control-plane-api-reference-autogen/alerts/create-an-alert","pageMetadata":{"title":"Create an alert","description":"Create an alert in a project. The project is identified by the `project_id` path parameter\nalone; the `x-hh-project-id` header does not participate. The alert's `filters` and\n`projections` (metrics) are mapped against the project's logged-event schema; if no schema\ndata matches them — e.g. no events have been logged to the project yet — the request fails\nwith a 400.\n","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml post /v1/projects/{project_id}/alerts","href":"/v2/control-plane-api-reference-autogen/alerts/create-an-alert","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create an alert in a project. The project is identified by the \", _jsx(_components.code, {\n children: \"project_id\"\n }), \" path parameter\\nalone; the \", _jsx(_components.code, {\n children: \"x-hh-project-id\"\n }), \" header does not participate. The alert’s \", _jsx(_components.code, {\n children: \"filters\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"projections\"\n }), \" (metrics) are mapped against the project’s logged-event schema; if no schema\\ndata matches them — e.g. no events have been logged to the project yet — the request fails\\nwith a 400.\"]\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":"Create an alert","description":"Create an alert in a project. The project is identified by the `project_id` path parameter\nalone; the `x-hh-project-id` header does not participate. The alert's `filters` and\n`projections` (metrics) are mapped against the project's logged-event schema; if no schema\ndata matches them — e.g. no events have been logged to the project yet — the request fails\nwith a 400.\n","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml post /v1/projects/{project_id}/alerts","href":"/v2/control-plane-api-reference-autogen/alerts/create-an-alert","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/honeyhiveai/295d4d275d20dba2/leadfeeder.js"],"openApiReferenceData":{"operation":{"tags":["Alerts"],"operationId":"createAlert","security":["a44d1ad2-1170-4f9c-bf69-e6d53af24f45"],"x-cli-name":"create","x-ts-sdk-name":"create","summary":"Create an alert","description":"Create an alert in a project. The project is identified by the `project_id` path parameter\nalone; the `x-hh-project-id` header does not participate. The alert's `filters` and\n`projections` (metrics) are mapped against the project's logged-event schema; if no schema\ndata matches them — e.g. no events have been logged to the project yet — the request fails\nwith a 400.\n","parameters":["0a2a8a67-242d-4fb0-8cfa-cf28e8f3e0dc"],"requestBody":"69526eed-1366-4bbb-b572-5c89d9d40f83","responses":{"200":"6cb5630f-0573-4a34-86e2-bcfd787c89b1","400":"4dff86f5-605f-40f0-b798-ee2f5e77d636","404":"333347fb-1d13-44f3-9f11-fa9872f293c1"},"method":"post","type":"path","servers":["f1f50832-1fde-4ab2-b225-29e59df07c0f"],"path":"/v1/projects/{project_id}/alerts","baseUrlOptions":["https://api.cp.us.honeyhive.ai"],"title":"Create an alert","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0a2a8a67-242d-4fb0-8cfa-cf28e8f3e0dc":{"in":"path","name":"project_id","required":true,"schema":{"type":"string","isRequired":true,"description":"The unique identifier of the project the alert is created in","uniqueKey":"","typeLabel":"string"},"description":"The unique identifier of the project the alert is created in"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"frequency":{"type":"string","enum":["HOURLY","DAILY","WEEKLY","MONTHLY"],"isRequired":true,"uniqueKey":"frequency","typeLabel":"enum\u003cstring>"},"thresholds":{"type":"object","properties":{"critical":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"thresholds.critical.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"thresholds.critical.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"thresholds.critical","typeLabel":"object"},"resolved":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"thresholds.resolved.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"thresholds.resolved.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"thresholds.resolved","typeLabel":"object"}},"required":["critical","resolved"],"additionalProperties":false,"isRequired":true,"uniqueKey":"thresholds","typeLabel":"object"},"filters":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"filters.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["exists","not exists","is","is not","contains","not contains","greater than","less than","after","before"],"isRequired":true,"uniqueKey":"filters.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"filters.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","isRequired":true,"uniqueKey":"filters.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"boolean","isRequired":true,"uniqueKey":"filters.items.[INDEX].value.oneOf.2","typeLabel":"boolean"},{"type":"null","isRequired":true,"uniqueKey":"filters.items.[INDEX].value.oneOf.3","typeLabel":"null"}],"isRequired":true,"uniqueKey":"filters.items.[INDEX].value","typeLabel":"string | number | boolean | null"},"type":{"type":"string","enum":["string","number","boolean","datetime"],"isRequired":true,"uniqueKey":"filters.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["field","operator","value","type"],"uniqueKey":"filters.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"filters","typeLabel":"object[]"},"projections":{"type":"array","items":{"type":"string","uniqueKey":"projections.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"projections","typeLabel":"string[]"},"notification_details":{"type":"object","properties":{"critical":{"type":"object","properties":{"channel":{"type":"string","enum":["EMAIL","SLACK","WEBHOOK"],"isRequired":true,"uniqueKey":"notification_details.critical.channel","typeLabel":"enum\u003cstring>"},"scope":{"type":"string","enum":["ALL_PROJECT_MEMBERS","SPECIFIC_MEMBER"],"isRequired":true,"uniqueKey":"notification_details.critical.scope","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"notification_details.critical.metadata.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"notification_details.critical.metadata","typeLabel":"object"},"user_ids":{"type":"array","items":{"type":"string","uniqueKey":"notification_details.critical.user_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification_details.critical.user_ids","typeLabel":"string[]"}},"required":["channel","scope","metadata"],"additionalProperties":false,"isRequired":true,"uniqueKey":"notification_details.critical","typeLabel":"object"},"resolved":{"type":"object","properties":{"channel":{"type":"string","enum":["EMAIL","SLACK","WEBHOOK"],"isRequired":true,"uniqueKey":"notification_details.resolved.channel","typeLabel":"enum\u003cstring>"},"scope":{"type":"string","enum":["ALL_PROJECT_MEMBERS","SPECIFIC_MEMBER"],"isRequired":true,"uniqueKey":"notification_details.resolved.scope","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"notification_details.resolved.metadata.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"notification_details.resolved.metadata","typeLabel":"object"},"user_ids":{"type":"array","items":{"type":"string","uniqueKey":"notification_details.resolved.user_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification_details.resolved.user_ids","typeLabel":"string[]"}},"required":["channel","scope","metadata"],"additionalProperties":false,"isRequired":true,"uniqueKey":"notification_details.resolved","typeLabel":"object"}},"required":["critical","resolved"],"additionalProperties":false,"isRequired":true,"uniqueKey":"notification_details","typeLabel":"object"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"minimum_sample_size":{"type":"integer","default":0,"uniqueKey":"minimum_sample_size","typeLabel":"integer"},"alert_type":{"type":"string","enum":["DRIFT","AGGREGATE","PER_EVENT"],"default":"AGGREGATE","uniqueKey":"alert_type","typeLabel":"enum\u003cstring>"},"aggregation":{"type":"string","enum":["AVERAGE","COUNT","SUM","MIN","MAX","P90","P95","P99","MEDIAN"],"default":"AVERAGE","uniqueKey":"aggregation","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["ACTIVE","TRIGGERED","PAUSED","RESOLVED"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"required":["name","frequency","thresholds","filters","projections","notification_details"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","thresholds":{"critical":{"value":123},"resolved":{"value":123}},"filters":[{"field":"\u003cstring>","value":"\u003cstring>"}],"projections":["\u003cstring>"],"notification_details":{"critical":{"metadata":{},"user_ids":["\u003cstring>"]},"resolved":{"metadata":{},"user_ids":["\u003cstring>"]}},"description":"\u003cstring>","minimum_sample_size":0,"alert_type":"AGGREGATE","aggregation":"AVERAGE"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"6cb5630f-0573-4a34-86e2-bcfd787c89b1":{"description":"Alert created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"status":{"type":"string","enum":["ACTIVE","TRIGGERED","PAUSED","RESOLVED"],"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"frequency":{"type":"string","enum":["HOURLY","DAILY","WEEKLY","MONTHLY"],"isRequired":true,"uniqueKey":"data.frequency","typeLabel":"enum\u003cstring>"},"minimum_sample_size":{"type":"integer","isRequired":true,"uniqueKey":"data.minimum_sample_size","typeLabel":"integer"},"alert_type":{"type":"string","enum":["DRIFT","AGGREGATE","PER_EVENT"],"isRequired":true,"uniqueKey":"data.alert_type","typeLabel":"enum\u003cstring>"},"aggregation":{"type":"string","isRequired":true,"uniqueKey":"data.aggregation","typeLabel":"string"},"event_filters":{"type":"array","items":{"type":"object","properties":{"filter":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter.field","typeLabel":"string"},"operator":{"type":"string","enum":["exists","not exists","is","is not","contains","not contains","greater than","less than","after","before"],"isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter.operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter.value.oneOf.0","typeLabel":"string"},{"type":"number","isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter.value.oneOf.1","typeLabel":"number"},{"type":"boolean","isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter.value.oneOf.2","typeLabel":"boolean"},{"type":"null","isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter.value.oneOf.3","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter.value","typeLabel":"string | number | boolean | null"},"type":{"type":"string","enum":["string","number","boolean","datetime"],"isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter.type","typeLabel":"enum\u003cstring>"}},"required":["field","operator","value","type"],"isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].filter","typeLabel":"object"},"type":{"type":"string","enum":["float","numeric","boolean","string","null"],"isRequired":true,"uniqueKey":"data.event_filters.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["filter","type"],"additionalProperties":false,"uniqueKey":"data.event_filters.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.event_filters","typeLabel":"object[]"},"event_metrics":{"type":"array","items":{"type":"object","properties":{"projection":{"type":"string","description":"Projected field or metric for this entry","isRequired":true,"uniqueKey":"data.event_metrics.items.[INDEX].projection","typeLabel":"string"},"type":{"type":"string","enum":["float","numeric","boolean","string","null"],"isRequired":true,"uniqueKey":"data.event_metrics.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["projection","type"],"additionalProperties":false,"uniqueKey":"data.event_metrics.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.event_metrics","typeLabel":"object[]"},"thresholds":{"type":"object","properties":{"critical":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"data.thresholds.critical.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.thresholds.critical.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.thresholds.critical","typeLabel":"object"},"resolved":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"data.thresholds.resolved.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.thresholds.resolved.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.thresholds.resolved","typeLabel":"object"}},"required":["critical","resolved"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.thresholds","typeLabel":"object"},"is_active":{"type":"boolean","isRequired":true,"uniqueKey":"data.is_active","typeLabel":"boolean"},"is_muted":{"type":"boolean","isRequired":true,"uniqueKey":"data.is_muted","typeLabel":"boolean"},"created_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.created_at.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time> | string"},"scope_type":{"type":"string","isRequired":true,"uniqueKey":"data.scope_type","typeLabel":"string"},"scope_id":{"type":"string","isRequired":true,"uniqueKey":"data.scope_id","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.description","typeLabel":"string | null"},"last_run_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.last_run_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","uniqueKey":"data.last_run_at.oneOf.1","typeLabel":"string"},{"type":"null","uniqueKey":"data.last_run_at.oneOf.2","typeLabel":"null"}],"uniqueKey":"data.last_run_at","typeLabel":"string\u003cdate-time> | string | null"},"last_result":{"oneOf":[{"type":"object","properties":{"current_bucket_score":{"oneOf":[{"type":"number","uniqueKey":"data.last_result.oneOf.0.current_bucket_score.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.last_result.oneOf.0.current_bucket_score.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.last_result.oneOf.0.current_bucket_score","typeLabel":"number | boolean"},"previous_bucket_score":{"oneOf":[{"type":"number","uniqueKey":"data.last_result.oneOf.0.previous_bucket_score.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.last_result.oneOf.0.previous_bucket_score.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.last_result.oneOf.0.previous_bucket_score","typeLabel":"number | boolean"},"last_triggered_baseline":{"oneOf":[{"type":"number","uniqueKey":"data.last_result.oneOf.0.last_triggered_baseline.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.last_result.oneOf.0.last_triggered_baseline.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.last_result.oneOf.0.last_triggered_baseline","typeLabel":"number | boolean"},"drift_percentage":{"type":"number","uniqueKey":"data.last_result.oneOf.0.drift_percentage","typeLabel":"number"},"thresholds":{"type":"object","properties":{"critical":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"data.last_result.oneOf.0.thresholds.critical.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.last_result.oneOf.0.thresholds.critical.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.last_result.oneOf.0.thresholds.critical","typeLabel":"object"},"resolved":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"data.last_result.oneOf.0.thresholds.resolved.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.last_result.oneOf.0.thresholds.resolved.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.last_result.oneOf.0.thresholds.resolved","typeLabel":"object"}},"required":["critical","resolved"],"additionalProperties":false,"uniqueKey":"data.last_result.oneOf.0.thresholds","typeLabel":"object"},"event_filters":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"data.last_result.oneOf.0.event_filters.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data.last_result.oneOf.0.event_filters","typeLabel":"any[]"},"event_metrics":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"data.last_result.oneOf.0.event_metrics.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data.last_result.oneOf.0.event_metrics","typeLabel":"any[]"},"aggregation":{"type":"string","uniqueKey":"data.last_result.oneOf.0.aggregation","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"data.last_result.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"data.last_result.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"current_bucket_score":{"oneOf":[{"type":"number"},{"type":"boolean"}]},"previous_bucket_score":{"oneOf":[{"type":"number"},{"type":"boolean"}]},"last_triggered_baseline":{"oneOf":[{"type":"number"},{"type":"boolean"}]},"drift_percentage":{"type":"number"},"thresholds":{"type":"object","properties":{"critical":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"]},"value":{"type":"number"}},"required":["operator","value"],"additionalProperties":false},"resolved":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"]},"value":{"type":"number"}},"required":["operator","value"],"additionalProperties":false}},"required":["critical","resolved"],"additionalProperties":false},"event_filters":{"type":"array","items":{"oneOf":[{}]}},"event_metrics":{"type":"array","items":{"oneOf":[{}]}},"aggregation":{"type":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"data.last_result.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"data.last_result.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_result","typeLabel":"object | null"},"trigger_error":{"oneOf":[{"type":"string","uniqueKey":"data.trigger_error.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.trigger_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.trigger_error","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","uniqueKey":"data.updated_at.oneOf.1","typeLabel":"string"},{"type":"null","uniqueKey":"data.updated_at.oneOf.2","typeLabel":"null"}],"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time> | string | null"},"last_trigger_id":{"oneOf":[{"type":"string","uniqueKey":"data.last_trigger_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.last_trigger_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_trigger_id","typeLabel":"string | null"},"created_by":{"oneOf":[{"type":"string","uniqueKey":"data.created_by.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.created_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.created_by","typeLabel":"string | null"},"last_trigger":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.last_trigger.id","typeLabel":"string"},"alert_id":{"type":"string","isRequired":true,"uniqueKey":"data.last_trigger.alert_id","typeLabel":"string"},"result":{"type":"object","properties":{"current_bucket_score":{"oneOf":[{"type":"number","uniqueKey":"data.last_trigger.result.current_bucket_score.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.last_trigger.result.current_bucket_score.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.last_trigger.result.current_bucket_score","typeLabel":"number | boolean"},"previous_bucket_score":{"oneOf":[{"type":"number","uniqueKey":"data.last_trigger.result.previous_bucket_score.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.last_trigger.result.previous_bucket_score.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.last_trigger.result.previous_bucket_score","typeLabel":"number | boolean"},"last_triggered_baseline":{"oneOf":[{"type":"number","uniqueKey":"data.last_trigger.result.last_triggered_baseline.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.last_trigger.result.last_triggered_baseline.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.last_trigger.result.last_triggered_baseline","typeLabel":"number | boolean"},"drift_percentage":{"type":"number","uniqueKey":"data.last_trigger.result.drift_percentage","typeLabel":"number"},"thresholds":{"type":"object","properties":{"critical":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"data.last_trigger.result.thresholds.critical.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.last_trigger.result.thresholds.critical.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.last_trigger.result.thresholds.critical","typeLabel":"object"},"resolved":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"data.last_trigger.result.thresholds.resolved.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.last_trigger.result.thresholds.resolved.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.last_trigger.result.thresholds.resolved","typeLabel":"object"}},"required":["critical","resolved"],"additionalProperties":false,"uniqueKey":"data.last_trigger.result.thresholds","typeLabel":"object"},"event_filters":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"data.last_trigger.result.event_filters.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data.last_trigger.result.event_filters","typeLabel":"any[]"},"event_metrics":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"data.last_trigger.result.event_metrics.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data.last_trigger.result.event_metrics","typeLabel":"any[]"},"aggregation":{"type":"string","uniqueKey":"data.last_trigger.result.aggregation","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"data.last_trigger.result.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"data.last_trigger.result","typeLabel":"object"},"muted":{"type":"boolean","isRequired":true,"uniqueKey":"data.last_trigger.muted","typeLabel":"boolean"},"notification_sent":{"type":"boolean","isRequired":true,"uniqueKey":"data.last_trigger.notification_sent","typeLabel":"boolean"},"triggered_time":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.last_trigger.triggered_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.last_trigger.triggered_time.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"data.last_trigger.triggered_time","typeLabel":"string\u003cdate-time> | string"},"resolved_time":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.last_trigger.resolved_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.last_trigger.resolved_time.oneOf.1","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.last_trigger.resolved_time.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.last_trigger.resolved_time","typeLabel":"string\u003cdate-time> | string | null"},"resolved_by":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.last_trigger.resolved_by.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.last_trigger.resolved_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.last_trigger.resolved_by","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.last_trigger.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.last_trigger.created_at.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"data.last_trigger.created_at","typeLabel":"string\u003cdate-time> | string"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.last_trigger.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.last_trigger.updated_at.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"data.last_trigger.updated_at","typeLabel":"string\u003cdate-time> | string"}},"required":["id","alert_id","result","muted","notification_sent","triggered_time","resolved_time","resolved_by","created_at","updated_at"],"additionalProperties":false,"uniqueKey":"data.last_trigger","typeLabel":"object"},"triggers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].id","typeLabel":"string"},"alert_id":{"type":"string","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].alert_id","typeLabel":"string"},"result":{"type":"object","properties":{"current_bucket_score":{"oneOf":[{"type":"number","uniqueKey":"data.triggers.items.[INDEX].result.current_bucket_score.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.triggers.items.[INDEX].result.current_bucket_score.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.triggers.items.[INDEX].result.current_bucket_score","typeLabel":"number | boolean"},"previous_bucket_score":{"oneOf":[{"type":"number","uniqueKey":"data.triggers.items.[INDEX].result.previous_bucket_score.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.triggers.items.[INDEX].result.previous_bucket_score.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.triggers.items.[INDEX].result.previous_bucket_score","typeLabel":"number | boolean"},"last_triggered_baseline":{"oneOf":[{"type":"number","uniqueKey":"data.triggers.items.[INDEX].result.last_triggered_baseline.oneOf.0","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.triggers.items.[INDEX].result.last_triggered_baseline.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"data.triggers.items.[INDEX].result.last_triggered_baseline","typeLabel":"number | boolean"},"drift_percentage":{"type":"number","uniqueKey":"data.triggers.items.[INDEX].result.drift_percentage","typeLabel":"number"},"thresholds":{"type":"object","properties":{"critical":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].result.thresholds.critical.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].result.thresholds.critical.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].result.thresholds.critical","typeLabel":"object"},"resolved":{"type":"object","properties":{"operator":{"type":"string","enum":["greater_than","less_than","equal_to"],"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].result.thresholds.resolved.operator","typeLabel":"enum\u003cstring>"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].result.thresholds.resolved.value","typeLabel":"number"}},"required":["operator","value"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].result.thresholds.resolved","typeLabel":"object"}},"required":["critical","resolved"],"additionalProperties":false,"uniqueKey":"data.triggers.items.[INDEX].result.thresholds","typeLabel":"object"},"event_filters":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"data.triggers.items.[INDEX].result.event_filters.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data.triggers.items.[INDEX].result.event_filters","typeLabel":"any[]"},"event_metrics":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"data.triggers.items.[INDEX].result.event_metrics.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data.triggers.items.[INDEX].result.event_metrics","typeLabel":"any[]"},"aggregation":{"type":"string","uniqueKey":"data.triggers.items.[INDEX].result.aggregation","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"data.triggers.items.[INDEX].result.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].result","typeLabel":"object"},"muted":{"type":"boolean","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].muted","typeLabel":"boolean"},"notification_sent":{"type":"boolean","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].notification_sent","typeLabel":"boolean"},"triggered_time":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].triggered_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].triggered_time.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].triggered_time","typeLabel":"string\u003cdate-time> | string"},"resolved_time":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].resolved_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].resolved_time.oneOf.1","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].resolved_time.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].resolved_time","typeLabel":"string\u003cdate-time> | string | null"},"resolved_by":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].resolved_by.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].resolved_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].resolved_by","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].created_at.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].created_at","typeLabel":"string\u003cdate-time> | string"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].updated_at.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"data.triggers.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | string"}},"required":["id","alert_id","result","muted","notification_sent","triggered_time","resolved_time","resolved_by","created_at","updated_at"],"additionalProperties":false,"uniqueKey":"data.triggers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.triggers","typeLabel":"object[]"},"notifications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].id","typeLabel":"string"},"alert_id":{"type":"string","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].alert_id","typeLabel":"string"},"stage":{"type":"string","enum":["CRITICAL","RESOLUTION"],"isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].stage","typeLabel":"enum\u003cstring>"},"channel":{"type":"string","enum":["EMAIL","SLACK","WEBHOOK"],"isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].channel","typeLabel":"enum\u003cstring>"},"scope":{"type":"string","enum":["ALL_PROJECT_MEMBERS","SPECIFIC_MEMBER"],"isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].scope","typeLabel":"enum\u003cstring>"},"created_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].created_at.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].created_at","typeLabel":"string\u003cdate-time> | string"},"membership_id":{"oneOf":[{"type":"string","uniqueKey":"data.notifications.items.[INDEX].membership_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notifications.items.[INDEX].membership_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notifications.items.[INDEX].membership_id","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.notifications.items.[INDEX].metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"data.notifications.items.[INDEX].metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.notifications.items.[INDEX].metadata.oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"data.notifications.items.[INDEX].metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notifications.items.[INDEX].metadata","typeLabel":"object | null"},"last_sent_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.notifications.items.[INDEX].last_sent_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"string","uniqueKey":"data.notifications.items.[INDEX].last_sent_at.oneOf.1","typeLabel":"string"},{"type":"null","uniqueKey":"data.notifications.items.[INDEX].last_sent_at.oneOf.2","typeLabel":"null"}],"uniqueKey":"data.notifications.items.[INDEX].last_sent_at","typeLabel":"string\u003cdate-time> | string | null"},"membership":{"oneOf":[{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].membership.oneOf.0.user.id","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].membership.oneOf.0.user","typeLabel":"object"}},"required":["user"],"additionalProperties":false,"uniqueKey":"data.notifications.items.[INDEX].membership.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"user":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["user"],"additionalProperties":false,"uniqueKey":"data.notifications.items.[INDEX].membership.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notifications.items.[INDEX].membership","typeLabel":"object | null"}},"required":["id","alert_id","stage","channel","scope","created_at"],"additionalProperties":false,"uniqueKey":"data.notifications.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.notifications","typeLabel":"object[]"}},"required":["id","name","status","frequency","minimum_sample_size","alert_type","aggregation","event_filters","event_metrics","thresholds","is_active","is_muted","created_at","scope_type","scope_id"],"additionalProperties":false,"description":"Alert object","isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["success","data"],"additionalProperties":false,"description":"The created alert","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":"\u003cstring>","name":"\u003cstring>","status":"ACTIVE","frequency":"HOURLY","minimum_sample_size":123,"alert_type":"DRIFT","aggregation":"\u003cstring>","event_filters":[{"filter":{"field":"\u003cstring>","operator":"exists","value":"\u003cstring>","type":"string"},"type":"float"}],"event_metrics":[{"projection":"\u003cstring>","type":"float"}],"thresholds":{"critical":{"operator":"greater_than","value":123},"resolved":{"operator":"greater_than","value":123}},"is_active":true,"is_muted":true,"created_at":"2023-11-07T05:31:56Z","scope_type":"\u003cstring>","scope_id":"\u003cstring>","description":"\u003cstring>","last_run_at":"2023-11-07T05:31:56Z","last_result":{"current_bucket_score":123,"previous_bucket_score":123,"last_triggered_baseline":123,"drift_percentage":123,"thresholds":{"critical":{"operator":"greater_than","value":123},"resolved":{"operator":"greater_than","value":123}},"event_filters":["\u003cunknown>"],"event_metrics":["\u003cunknown>"],"aggregation":"\u003cstring>"},"trigger_error":"\u003cstring>","updated_at":"2023-11-07T05:31:56Z","last_trigger_id":"\u003cstring>","created_by":"\u003cstring>","last_trigger":{"id":"\u003cstring>","alert_id":"\u003cstring>","result":{"current_bucket_score":123,"previous_bucket_score":123,"last_triggered_baseline":123,"drift_percentage":123,"thresholds":{"critical":{"operator":"greater_than","value":123},"resolved":{"operator":"greater_than","value":123}},"event_filters":["\u003cunknown>"],"event_metrics":["\u003cunknown>"],"aggregation":"\u003cstring>"},"muted":true,"notification_sent":true,"triggered_time":"2023-11-07T05:31:56Z","resolved_time":"2023-11-07T05:31:56Z","resolved_by":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"},"triggers":[{"id":"\u003cstring>","alert_id":"\u003cstring>","result":{"current_bucket_score":123,"previous_bucket_score":123,"last_triggered_baseline":123,"drift_percentage":123,"thresholds":{"critical":{"operator":"greater_than","value":123},"resolved":{"operator":"greater_than","value":123}},"event_filters":["\u003cunknown>"],"event_metrics":["\u003cunknown>"],"aggregation":"\u003cstring>"},"muted":true,"notification_sent":true,"triggered_time":"2023-11-07T05:31:56Z","resolved_time":"2023-11-07T05:31:56Z","resolved_by":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}],"notifications":[{"id":"\u003cstring>","alert_id":"\u003cstring>","stage":"CRITICAL","channel":"EMAIL","scope":"ALL_PROJECT_MEMBERS","created_at":"2023-11-07T05:31:56Z","membership_id":"\u003cstring>","metadata":{},"last_sent_at":"2023-11-07T05:31:56Z","membership":{"user":{"id":"\u003cstring>"}}}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"4dff86f5-605f-40f0-b798-ee2f5e77d636":{"description":"Invalid request body, or no schema data matches the selected filters/metrics","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"333347fb-1d13-44f3-9f11-fa9872f293c1":{"description":"Project not found","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"a44d1ad2-1170-4f9c-bf69-e6d53af24f45":{"ControlPlaneApiKey":{"type":"http","scheme":"bearer","description":"A fine-grained control-plane API key (values begin with `hh_fgcp_`). Project API keys used with the Data Plane API will not work here. Create one in the HoneyHive app under an organization's or workspace's **Settings → API Keys**.","scopes":[],"schemeName":"ControlPlaneApiKey"}}},"servers":{"f1f50832-1fde-4ab2-b225-29e59df07c0f":{"url":"https://api.cp.us.honeyhive.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A fine-grained control-plane API key (values begin with `hh_fgcp_`). Project API keys used with the Data Plane API will not work here. Create one in the HoneyHive app under an organization's or workspace's **Settings → API Keys**.","scopes":[],"schemeName":"ControlPlaneApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A fine-grained control-plane API key (values begin with `hh_fgcp_`). Project API keys used with the Data Plane API will not work here. Create one in the HoneyHive app under an organization's or workspace's **Settings → API Keys**.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ControlPlaneApiKey","name":"Authorization"}],"title":"ControlPlaneApiKey"}]},"originalFileLocation":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml"},"subdomain":"honeyhiveai","siteName":"HoneyHive AI Docs","title":"Create an alert - HoneyHive AI Docs","relatedPagesConfig":{"enabled":true,"limit":3,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T00:28:24.142Z","originalFileLocation":"v2/control-plane-api-reference-autogen/alerts/create-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=\"Create an alert in a project. The project is identified by the project_id path parameter alone; the x-hh-project-id header does not participate. The alert\u0026#x27;s filters and projections (metrics) are mapped against the project\u0026#x27;s logged-event schema; if no schema data matches them — e.g. no events have been logged to the project yet — the request fails with a 400.\">\u003cmeta data-mint-head name=\"application-name\" content=\"HoneyHive AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_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/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/honeyhiveai/XiZ-DZ6IaFrWYjlm/_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/honeyhiveai/XiZ-DZ6IaFrWYjlm/_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/honeyhiveai/XiZ-DZ6IaFrWYjlm/_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/honeyhiveai/XiZ-DZ6IaFrWYjlm/_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/honeyhiveai/XiZ-DZ6IaFrWYjlm/_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/honeyhiveai/XiZ-DZ6IaFrWYjlm/_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/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an alert - HoneyHive AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an alert in a project. The project is identified by the project_id path parameter alone; the x-hh-project-id header does not participate. The alert\u0026#x27;s filters and projections (metrics) are mapped against the project\u0026#x27;s logged-event schema; if no schema data matches them — e.g. no events have been logged to the project yet — the request fails with a 400.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"HoneyHive AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://honeyhiveai.mintlify.site/_mintlify/api/og/v2?division=Alerts\u0026amp;title=Create+an+alert\u0026amp;description=Create+an+alert+in+a+project.+The+project+is+identified+by+the+%60project_id%60+path+parameter%0Aalone%3B+the+%60x-hh-project-id%60+header+does+not+participate.+The+alert%27s\u0026amp;theme=5d33c6c4b6bf57211dea5b47\u0026amp;signature=6cfe7bc2d6235712caf9143d5d14b1119231fcc077db4d85c09f291cd3f769ef\">\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=\"Create an alert - HoneyHive AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an alert in a project. The project is identified by the project_id path parameter alone; the x-hh-project-id header does not participate. The alert\u0026#x27;s filters and projections (metrics) are mapped against the project\u0026#x27;s logged-event schema; if no schema data matches them — e.g. no events have been logged to the project yet — the request fails with a 400.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://honeyhiveai.mintlify.site/_mintlify/api/og/v2?division=Alerts\u0026amp;title=Create+an+alert\u0026amp;description=Create+an+alert+in+a+project.+The+project+is+identified+by+the+%60project_id%60+path+parameter%0Aalone%3B+the+%60x-hh-project-id%60+header+does+not+participate.+The+alert%27s\u0026amp;theme=5d33c6c4b6bf57211dea5b47\u0026amp;signature=6cfe7bc2d6235712caf9143d5d14b1119231fcc077db4d85c09f291cd3f769ef\">\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/honeyhiveai/XiZ-DZ6IaFrWYjlm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"HoneyHive AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#A56311\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2/control-plane-api-reference-autogen/alerts/create-an-alert.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.honeyhive.ai/#organization\",\"name\":\"HoneyHive AI Docs\",\"url\":\"https://docs.honeyhive.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/honeyhiveai/lWy7JAPdMsmL06l1/logo/light.svg?fit=max\u0026auto=format\u0026n=lWy7JAPdMsmL06l1\u0026q=85\u0026s=419c99bb22ce1e89ae8fb4a87c589528\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.honeyhive.ai#website\",\"name\":\"HoneyHive AI Docs\",\"url\":\"https://docs.honeyhive.ai\",\"publisher\":{\"@id\":\"https://docs.honeyhive.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert#webpage\",\"url\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert\",\"name\":\"Create an alert\",\"description\":\"Create an alert in a project. The project is identified by the project_id path parameter alone; the x-hh-project-id header does not participate. The alert's filters and projections (metrics) are mapped against the project's logged-event schema; if no schema data matches them — e.g. no events have been logged to the project yet — the request fails with a 400.\",\"dateModified\":\"2026-11-06T00:28:24.142Z\",\"isPartOf\":{\"@id\":\"https://docs.honeyhive.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Control Plane API\",\"item\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/list-alerts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alerts\",\"item\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/list-alerts\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create an alert\",\"item\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert#apireference\",\"headline\":\"Create an alert\",\"name\":\"Create an alert\",\"description\":\"Create an alert in a project. The project is identified by the project_id path parameter alone; the x-hh-project-id header does not participate. The alert's filters and projections (metrics) are mapped against the project's logged-event schema; if no schema data matches them — e.g. no events have been logged to the project yet — the request fails with a 400.\",\"url\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert\",\"mainEntityOfPage\":{\"@id\":\"https://docs.honeyhive.ai/v2/control-plane-api-reference-autogen/alerts/create-an-alert#webpage\"},\"dateModified\":\"2026-11-06T00:28:24.142Z\",\"publisher\":{\"@id\":\"https://docs.honeyhive.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.honeyhive.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"HoneyHive AI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"HoneyHive AI Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v2/control-plane-api-reference-autogen/alerts/create-an-alert.md","siteName":"HoneyHive AI Docs","nav":{"global":{},"products":[{"product":"v2","icon":"hive","description":"The next generation of HoneyHive.","tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/v2/introduction/what-is-hhai"}]},{"tab":"SDK Reference","icon":"layer-group","pages":[{"title":"SDK Reference","href":"/v2/sdk-reference/overview"}]},{"tab":"CLI Reference","icon":"terminal","pages":[{"title":"CLI Reference","href":"/v2/cli-reference/getting-started"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Data Plane API","pages":[{"group":"Sessions","pages":[{"title":"Start a new session","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/sessions","href":"/v2/api-reference-autogen/sessions/start-a-new-session"},{"title":"Add a batch of events to a session","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/sessions/{session_id}/events/batch","href":"/v2/api-reference-autogen/sessions/add-a-batch-of-events-to-a-session"}]},{"group":"Events","pages":[{"title":"Create a new event","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/events","href":"/v2/api-reference-autogen/events/create-a-new-event"},{"title":"Update an event","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml put /v1/events/{event_id}","href":"/v2/api-reference-autogen/events/update-an-event"},{"title":"Get an event by ID","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/events/{event_id}","href":"/v2/api-reference-autogen/events/get-an-event-by-id"},{"title":"Retrieve events based on filters","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/events/search","href":"/v2/api-reference-autogen/events/retrieve-events-based-on-filters"},{"title":"Create a batch of events","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/events/batch","href":"/v2/api-reference-autogen/events/create-a-batch-of-events"}]},{"group":"Charts","pages":[{"title":"List charts","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/charts","href":"/v2/api-reference-autogen/charts/list-charts"},{"title":"Create a new chart","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/charts","href":"/v2/api-reference-autogen/charts/create-a-new-chart"},{"title":"Run a chart query","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/charts/query","href":"/v2/api-reference-autogen/charts/run-a-chart-query"},{"title":"Get a chart","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/charts/{chart_id}","href":"/v2/api-reference-autogen/charts/get-a-chart"},{"title":"Delete a chart","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml delete /v1/projects/{project_id}/charts/{chart_id}","href":"/v2/api-reference-autogen/charts/delete-a-chart"},{"title":"Update a chart","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml patch /v1/projects/{project_id}/charts/{chart_id}","href":"/v2/api-reference-autogen/charts/update-a-chart"}]},{"group":"Data Plane Api Keys","pages":[{"title":"Create a data plane API key","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/fine_grained_api_keys","href":"/v2/api-reference-autogen/data-plane-api-keys/create-a-data-plane-api-key"}]},{"group":"Ingestion Api Keys","pages":[{"title":"Create an ingestion API key","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/ingestion_api_keys","href":"/v2/api-reference-autogen/ingestion-api-keys/create-an-ingestion-api-key"}]},{"group":"Metrics","pages":[{"title":"List all metrics","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/metrics","href":"/v2/api-reference-autogen/metrics/list-all-metrics"},{"title":"Create a new metric","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/metrics","href":"/v2/api-reference-autogen/metrics/create-a-new-metric"},{"title":"Update an existing metric","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml put /v1/metrics/{metric_id}","href":"/v2/api-reference-autogen/metrics/update-an-existing-metric"},{"title":"Delete a metric","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml delete /v1/metrics/{metric_id}","href":"/v2/api-reference-autogen/metrics/delete-a-metric"},{"title":"Run a metric evaluation","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/metrics/run","href":"/v2/api-reference-autogen/metrics/run-a-metric-evaluation"}]},{"group":"Metric Versions","pages":[{"title":"List versions for a metric","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/metrics/{metric_id}/versions","href":"/v2/api-reference-autogen/metric-versions/list-versions-for-a-metric"},{"title":"Create a new metric version","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/metrics/{metric_id}/versions","href":"/v2/api-reference-autogen/metric-versions/create-a-new-metric-version"},{"title":"Deploy a specific metric version","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/metrics/{metric_id}/versions/{version_name}/deploy","href":"/v2/api-reference-autogen/metric-versions/deploy-a-specific-metric-version"}]},{"group":"Datapoints","pages":[{"title":"Retrieve a list of datapoints","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/datapoints","href":"/v2/api-reference-autogen/datapoints/retrieve-a-list-of-datapoints"},{"title":"Create a new datapoint","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/datapoints","href":"/v2/api-reference-autogen/datapoints/create-a-new-datapoint"},{"title":"Create multiple datapoints in batch","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/datapoints/batch","href":"/v2/api-reference-autogen/datapoints/create-multiple-datapoints-in-batch"},{"title":"Retrieve a specific datapoint","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/datapoints/{datapoint_id}","href":"/v2/api-reference-autogen/datapoints/retrieve-a-specific-datapoint"},{"title":"Delete a specific datapoint","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml delete /v1/projects/{project_id}/datapoints/{datapoint_id}","href":"/v2/api-reference-autogen/datapoints/delete-a-specific-datapoint"},{"title":"Update a specific datapoint","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml patch /v1/projects/{project_id}/datapoints/{datapoint_id}","href":"/v2/api-reference-autogen/datapoints/update-a-specific-datapoint"}]},{"group":"Datasets","pages":[{"title":"Get datasets","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/datasets","href":"/v2/api-reference-autogen/datasets/get-datasets"},{"title":"Create a dataset","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/datasets","href":"/v2/api-reference-autogen/datasets/create-a-dataset"},{"title":"Delete a dataset","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml delete /v1/projects/{project_id}/datasets/{dataset_id}","href":"/v2/api-reference-autogen/datasets/delete-a-dataset"},{"title":"Update a dataset","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml patch /v1/projects/{project_id}/datasets/{dataset_id}","href":"/v2/api-reference-autogen/datasets/update-a-dataset"},{"title":"Add datapoints to a dataset","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/datasets/{dataset_id}/datapoints","href":"/v2/api-reference-autogen/datasets/add-datapoints-to-a-dataset"},{"title":"Remove a datapoint from a dataset","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml delete /v1/projects/{project_id}/datasets/{dataset_id}/datapoints/{datapoint_id}","href":"/v2/api-reference-autogen/datasets/remove-a-datapoint-from-a-dataset"}]},{"group":"Experiments","pages":[{"title":"Retrieve experiment comparison","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/runs/{new_run_id}/compare/{old_run_id}","href":"/v2/api-reference-autogen/experiments/retrieve-experiment-comparison"},{"title":"Get a list of evaluation runs","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/runs","href":"/v2/api-reference-autogen/experiments/get-a-list-of-evaluation-runs"},{"title":"Create a new evaluation run","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/runs","href":"/v2/api-reference-autogen/experiments/create-a-new-evaluation-run"},{"title":"Get events schema across all experiment runs in a project","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/runs/schema","href":"/v2/api-reference-autogen/experiments/get-events-schema-across-all-experiment-runs-in-a-project"},{"title":"Get details of an evaluation run","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/runs/{run_id}","href":"/v2/api-reference-autogen/experiments/get-details-of-an-evaluation-run"},{"title":"Delete an evaluation run","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml delete /v1/projects/{project_id}/runs/{run_id}","href":"/v2/api-reference-autogen/experiments/delete-an-evaluation-run"},{"title":"Update an evaluation run","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml patch /v1/projects/{project_id}/runs/{run_id}","href":"/v2/api-reference-autogen/experiments/update-an-evaluation-run"},{"title":"Get events schema for a single experiment run","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/runs/{run_id}/schema","href":"/v2/api-reference-autogen/experiments/get-events-schema-for-a-single-experiment-run"},{"title":"Retrieve experiment summary","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/runs/{run_id}/summary","href":"/v2/api-reference-autogen/experiments/retrieve-experiment-summary"},{"title":"Get event metrics for an experiment run","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/runs/{run_id}/metrics","href":"/v2/api-reference-autogen/experiments/get-event-metrics-for-an-experiment-run"},{"title":"Compare events between two experiment runs","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/runs/{new_run_id}/compare/{old_run_id}/events","href":"/v2/api-reference-autogen/experiments/compare-events-between-two-experiment-runs"}]},{"group":"Queues","pages":[{"title":"List annotation queues","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/queues","href":"/v2/api-reference-autogen/queues/list-annotation-queues"},{"title":"Create an annotation queue","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml post /v1/projects/{project_id}/queues","href":"/v2/api-reference-autogen/queues/create-an-annotation-queue"},{"title":"Get an annotation queue","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/queues/{queue_id}","href":"/v2/api-reference-autogen/queues/get-an-annotation-queue"},{"title":"Delete an annotation queue","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml delete /v1/projects/{project_id}/queues/{queue_id}","href":"/v2/api-reference-autogen/queues/delete-an-annotation-queue"},{"title":"Update an annotation queue","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml patch /v1/projects/{project_id}/queues/{queue_id}","href":"/v2/api-reference-autogen/queues/update-an-annotation-queue"}]},{"group":"Configurations","pages":[]}]},{"group":"Control Plane API","pages":[{"group":"Alerts","pages":[{"title":"List alerts","description":"List the alerts in a project. The project is identified by the `project_id` path parameter\nalone; the `x-hh-project-id` header does not participate. Supports offset pagination, an\noptional status filter, and sorting (defaults to most recently created first).\n","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml get /v1/projects/{project_id}/alerts","href":"/v2/control-plane-api-reference-autogen/alerts/list-alerts"},{"title":"Create an alert","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml post /v1/projects/{project_id}/alerts","href":"/v2/control-plane-api-reference-autogen/alerts/create-an-alert"},{"title":"Get an alert","description":"Retrieve a single alert by id, including its thresholds, triggers, and notification\nconfiguration. The alert's project is identified by the `project_id` path parameter alone;\nthe `x-hh-project-id` header does not participate.\n","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml get /v1/projects/{project_id}/alerts/{alert_id}","href":"/v2/control-plane-api-reference-autogen/alerts/get-an-alert"}]},{"group":"Workspaces","pages":[{"title":"Create a workspace","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml post /v1/virtual_dataplanes/{virtual_dataplane_id}/workspaces","href":"/v2/control-plane-api-reference-autogen/workspaces/create-a-workspace"},{"title":"Get a workspace","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml get /v1/workspaces/{workspace_id}","href":"/v2/control-plane-api-reference-autogen/workspaces/get-a-workspace"},{"title":"Update a workspace","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml put /v1/workspaces/{workspace_id}","href":"/v2/control-plane-api-reference-autogen/workspaces/update-a-workspace"},{"title":"Delete a workspace","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml delete /v1/workspaces/{workspace_id}","href":"/v2/control-plane-api-reference-autogen/workspaces/delete-a-workspace"}]},{"group":"Projects","pages":[{"title":"Create a project","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml post /v1/workspaces/{workspace_id}/projects","href":"/v2/control-plane-api-reference-autogen/projects/create-a-project"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml get /v1/projects/{project_id}","href":"/v2/control-plane-api-reference-autogen/projects/get-a-project"},{"title":"Update a project","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml put /v1/projects/{project_id}","href":"/v2/control-plane-api-reference-autogen/projects/update-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml delete /v1/projects/{project_id}","href":"/v2/control-plane-api-reference-autogen/projects/delete-a-project"}]},{"group":"Orgs","pages":[{"title":"Get an organization","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml get /v1/orgs/{org_id}","href":"/v2/control-plane-api-reference-autogen/orgs/get-an-organization"},{"title":"Update an organization","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml patch /v1/orgs/{org_id}","href":"/v2/control-plane-api-reference-autogen/orgs/update-an-organization"}]},{"group":"Virtual Dataplanes","pages":[{"title":"Create a virtual data plane","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml post /v1/orgs/{org_id}/virtual_dataplanes","href":"/v2/control-plane-api-reference-autogen/virtual-dataplanes/create-a-virtual-data-plane"},{"title":"Get a virtual data plane","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml get /v1/virtual_dataplanes/{virtual_dataplane_id}","href":"/v2/control-plane-api-reference-autogen/virtual-dataplanes/get-a-virtual-data-plane"},{"title":"Update a virtual data plane","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml put /v1/virtual_dataplanes/{virtual_dataplane_id}","href":"/v2/control-plane-api-reference-autogen/virtual-dataplanes/update-a-virtual-data-plane"},{"title":"Delete a virtual data plane","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml delete /v1/virtual_dataplanes/{virtual_dataplane_id}","href":"/v2/control-plane-api-reference-autogen/virtual-dataplanes/delete-a-virtual-data-plane"}]},{"group":"Usage","pages":[{"title":"Get usage for a date range","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml get /v1/orgs/{org_id}/usage","href":"/v2/control-plane-api-reference-autogen/usage/get-usage-for-a-date-range"},{"title":"Get current usage counts","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/control_plane_openapi.yaml get /v1/orgs/{org_id}/usage/current","href":"/v2/control-plane-api-reference-autogen/usage/get-current-usage-counts"}]}]},{"group":"Deprecated","hidden":true,"searchable":true,"pages":[{"title":"Deprecated API routes","href":"/v2/api-reference/deprecated-routes"}]}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/v2/integrations/overview"}]},{"tab":"Cookbooks","icon":"utensils","href":"https://github.com/honeyhiveai/cookbook"},{"tab":"Changelog","icon":"megaphone","pages":[{"title":"Changelog","href":"/v2/changelog/product"}]}]},{"product":"v1 (legacy)","icon":"server","description":"Deprecating Nov 5, 2026.","pages":[{"title":"v1 (legacy)","href":"/introduction/what-is-hhai"}]}]},"basePath":"","title":"Create an alert - HoneyHive AI Docs","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}