Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.
You can create an alert two ways: point-and-click in the platform dashboard, or programmatically through the API. Both produce the same resource and both are covered below.
Plan — Alerts require a Team, Business, or Enterprise plan. On a plan that doesn’t include them, the create call returns plan_does_not_support_alerts.
API key — Alerts CRUD works with a standard X-API-Key. Create one on the API keys page. Your key is bound to a project, and the create endpoint is project-scoped — pass that same project’s ID in the path.
A notification email — Matches are delivered by email to a verified address. Auto-verification works for dashboard users; API-key callers must use an address that’s already verified for the organization. See Notification emails.
Go to Alerts in the project sidebar and click Create Alert.
The Alerts list. The counter top-right shows alerts used against your plan's allowance.
2
Choose what triggers the alert
Pick Any mention — notify whenever the entity is mentioned — or Speaker appearance — notify only when the entity is themself a speaker on the episode (guest, panelist, correspondent, or audience, or in an excerpted soundbite of them). The trigger is fixed once the alert is created.
Step 1: pick the trigger.
3
Pick the entity and delivery frequency
Search for the entity to watch — the field is labelled Person to watch for a speaker-appearance alert — and choose a Delivery frequency: As it happens, Daily digest, or Weekly digest.
Any mention: search the knowledge graph for the entity to watch.
Speaker appearance: a person to watch, set to a daily digest.
4
Name it and set the recipient
Give the alert a Title and a Send to email address, then create it. The alert’s detail page shows its configuration, an Active/paused badge, and a recent-deliveries log.
An alert's detail page, with edit, deactivate, and delete actions and the deliveries log.
An alert watches entities by canonical ID, not by name. Resolve the entity first, then use its id as the entity_id. entity_type is one of PERSON, COMPANY, or KNOWLEDGE_GRAPH_ENTITY:
the entity’s id (people, organizations, places, and topics in the knowledge graph)
PERSON
a Particle person record, e.g. a resolved podcast guest
the person’s id
# Resolve a companycurl "https://api.particle.pro/v1/companies/nvidia" \ -H "X-API-Key: $PARTICLE_API_KEY"# → "id": "3CensCwu5G2oKCFgPrNf89"# Resolve a knowledge-graph entity (a person, here)curl "https://api.particle.pro/v1/entities/sam-altman" \ -H "X-API-Key: $PARTICLE_API_KEY"# → "id": "17PzxG1t12xzno"
# Resolve a companyparticle company nvidia# → "id": "3CensCwu5G2oKCFgPrNf89"# Resolve a knowledge-graph entity (a person, here)particle entity sam-altman# → "id": "17PzxG1t12xzno"
Use the canonical id, not the slug. For PERSON and COMPANY, entity_id must decode to a valid UUID — a slug like nvidia is rejected with a 422. A well-formed id that doesn’t match a real entity is accepted, but the alert is created without the enriched name/image_url and won’t match anything, so confirm the ID resolves first.
Before you commit, run a preview to see how often the alert would have fired over the past window_days days (default 7, max 30). The sweep is asynchronous, and the POST returns only status fields (preview_id, status, window_days) — never the counts. A fresh sweep returns 202 Accepted with status: "in_progress"; poll GET /v1/alerts/preview/{previewId} until status is terminal (completed or failed), then read total_matches, by_day, and sample from that GET response. If an identical preview ran within the past hour, the POST returns 200 OK with status: "completed" instead — the result is ready, so a single GET retrieves it without a polling loop.
total_matches is the count over the whole window; by_day is the per-day histogram (empty days included so a chart has no gaps); sample is the few most-recent matches with full payload so you can show “here’s what it would have caught.” Preview IDs are deterministic — repeating the same body within the hour returns the same preview_id and a cached result, so polling is cheap.If the sweep errors, the same endpoint returns status: "failed" with a human-readable error string instead of counts — treat failed as terminal alongside completed and stop polling. Previews are retained for one hour; an expired preview_id returns 404.
POST the configuration to the project-scoped endpoint. The body sets the title, kind, delivery cadence, the entity to watch, and one or more email channels. To retry a create that timed out without risking a second alert, send an Idempotency-Key and resend the same key.
The created_by field is omitted here because the request authenticated with an API key; it’s populated with the creating user only for alerts created by a signed-in dashboard user.To alert on a person’s appearances rather than mentions, set kind to PODCAST_SPEAKER and watch a person entity — either a PERSON record or the person’s knowledge-graph entity. This fires only when the person is an identified speaker on the episode — by default a guest, panelist, correspondent, or audience member, or in an excerpted soundbite (SOUNDBITE_SPEAKER) — not when they’re merely talked about. speaker_roles replaces that default set.
To alert on a keyword instead of an entity, set kind to KEYWORD_MENTION and send keyword in place of entities. Use it when the name you care about has no entity to resolve, or its entity has no podcast coverage — a startup whose brand differs from its legal name, a product, a drug, or a code name. The phrase matches the way a double-quoted phrase in keyword search does — its words adjacent and in order — in topic-discussion and interview segments only. Set description to say what the phrase means: it is how the relevance check drops mentions of an unrelated thing with the same name, such as the physics term “light field” for an alert on the Lightfield CRM.
Preview a keyword first with the same body on the preview endpoint. A phrase that matched more than 700 podcast episodes in the past week is too broad to alert on: create, edit, and preview all reject it with a 422 asking for a more specific phrase.A few rules worth knowing:
kind is fixed at creation. Switching between kinds later would invalidate the match history, so create a new alert instead. A keyword alert’s keyword can be edited with PATCH; matches already recorded keep the phrase they fired on.
delivery_cadence defaults to REALTIME. Use DAILY or WEEKLY for bundled digest emails — see Delivery frequency.
is_active defaults to true. Pass false to create the alert paused: it won’t match new episodes or send email going forward, and it doesn’t count against your plan’s allowance until enabled. The one-time creation backfill still runs, so a paused alert can still show up to 7 days of historical (backfilled) matches.
A new alert is backfilled. Right after creation — even if you create it paused — Particle sweeps the past 7 days so the alert isn’t empty. Backfilled matches never send email — see Alert results → Backfill.
filters is optional. Omit to surface every detected match. Set any of languages, relevance, source_popularity, speaker_roles, or speaker_statement_characteristics to narrow what’s delivered — the same filter shape applies on PATCH /v1/alerts/{id}. See Filtering matches for the full spec.
A second example shows the four filter axes in action — an English-language PODCAST_SPEAKER alert that fires only when Sam Altman appears as a guest on a top-5% show:
particle alert create sam-altman \ --speaker \ --role guest \ --language en \ --relevant \ --popular \ --email you@example.com \ --title 'Sam Altman — guest spots on top podcasts'
Each axis defaults to “no filter”, so you only need the ones that narrow the way you want — sending { "source_popularity": "POPULAR" } alone is a complete filter set. On PATCH /v1/alerts/{id}, omitting filters leaves the existing filter set unchanged; pass "filters": {} to clear every axis back to its default.
speaker_statement_characteristics makes an ENTITY_MENTION alert fire only on mentions said a certain way. It takes the same object as search and mentions: each key is an axis and each value its labels, comma-separated. This alert catches negative mentions of a company:
Other recipes: {"specificity": "specific", "temporal_orientation": "future"} for predictions about the entity, and {"certainty": "confident"} for confident claims. A match fires when at least one mention line carries labels the filter accepts. Only those lines are marked is_mention, each with its speaker_statement_characteristics. Preview with the same filters to see how often it would fire. The filter applies to ENTITY_MENTION alerts only; on PODCAST_SPEAKER or KEYWORD_MENTION it returns 422.
Email isn’t the only destination. Add a SLACK channel to post matches to a Slack channel ({ "type": "SLACK", "slack_connection_id": "…", "slack_channel_id": "…" }), or a WEBHOOK channel to POST them to your own service ({ "type": "WEBHOOK", "webhook_connection_id": "…" }). See Slack and Webhooks for setup.
Every email channel must be verified for your organization before it receives mail. What gets verified automatically depends on how you authenticate:
Dashboard / logged-in users — your own address and any address belonging to a member of your organization are verified automatically the first time you use them.
API-key callers — an API key carries no user identity, so nothing is auto-verified. The address must already be verified for the organization (verify it once from the dashboard, or through the verification-link flow); otherwise the create or update call returns email_verification_required.
Any third-party address must confirm a one-time verification link before it receives mail.
Deleting a verified notification email that is still referenced by an alert returns notification_email_in_use — remove it from the alert’s notifications first.
PATCH /v1/alerts/{id} applies a partial update. Only the fields you send change — but entities and notifications, when present, replace the whole set (they aren’t merged).
# Pause an alert without losing its historycurl -X PATCH "https://api.particle.pro/v1/alerts/8Qw2mRk7Tf9LpZ" \ -H "X-API-Key: $PARTICLE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "is_active": false }'
# Pause an alert without losing its historyparticle alert update 8Qw2mRk7Tf9LpZ --no-is-active
# Delete it (soft delete — existing matches and deliveries are retained for audit)curl -X DELETE "https://api.particle.pro/v1/alerts/8Qw2mRk7Tf9LpZ" \ -H "X-API-Key: $PARTICLE_API_KEY"
# Delete it (soft delete — existing matches and deliveries are retained for audit)particle alert delete 8Qw2mRk7Tf9LpZ
Recipients can also turn an alert off without an account: every alert email has a Disable this alert link in its footer that flips the alert to inactive in one click. See Alert results → Stop delivery.
Malformed entity_id (e.g. a slug where a canonical PERSON/COMPANY ID is required), unknown kind, a watch target that doesn’t match the kind (keyword on an entity alert, entities on a keyword alert, or neither), or an EMAIL channel with no address.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Particle API","colors":{"primary":"#0369a1","light":"#0369a1","dark":"#0369a1"},"logo":{"light":"https://mintcdn.com/particle-c40da4e2/tk5mmLn_iJIxNhbI/logo/light.svg?fit=max\u0026auto=format\u0026n=tk5mmLn_iJIxNhbI\u0026q=85\u0026s=a659784e597694177292b154cc1808f4","dark":"https://mintcdn.com/particle-c40da4e2/i9nEIhB1W5dtahvW/logo/dark.svg?fit=max\u0026auto=format\u0026n=i9nEIhB1W5dtahvW\u0026q=85\u0026s=53bcea9f9026f0bf0083447adbc1d006"},"favicon":"https://mintcdn.com/particle-c40da4e2/tk5mmLn_iJIxNhbI/favicon.png?fit=max\u0026auto=format\u0026n=tk5mmLn_iJIxNhbI\u0026q=85\u0026s=f4b42e6e90da406c6f1e6b4b8615113c","api":{"examples":{"languages":["curl","bash"],"autogenerate":false}},"appearance":{"default":"dark","strict":true},"background":{"color":{"dark":"#0C0D0D"}},"navbar":{"links":[{"href":"https://status.particle.pro","label":"Status"},{"href":"mailto:api@particle.pro","label":"Support"}],"primary":{"type":"button","label":"API Dashboard","href":"https://platform.particle.pro"}},"footer":{"socials":{"x":"https://x.com/particle_news","github":"https://github.com/particlepro","linkedin":"https://linkedin.com/company/particle-news"}},"fonts":{"family":"Geist","weight":400},"styling":{"codeblocks":"dark","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor","vscode",{"title":"Connect Particle Pro MCP","description":"Install the Particle Pro MCP server in your AI client","icon":"plug","href":"/mcp/quickstart"},{"title":"Set up an AI agent","description":"Hand your agent agents.md and it connects itself","icon":"robot","href":"https://api.particle.pro/agents.md"}],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"particle-c40da4e2","hasAudioNarration":false,"actualSubdomain":"particle-c40da4e2","customDomains":["docs.particle.pro"],"gitSource":{"type":"github","owner":"mongoosehq","repo":"api","deployBranch":"main","contentDirectory":"server/particlepro/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae50444bbaf7eb08d127dd1","collectionId":"a4bcb438-95e1-4f42-a5b0-5c37fe24cb33","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae50444bbaf7eb08d127dd1"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae50444bbaf7eb08d127dd1","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API reference","count":169},{"language":"default","tag":"Guides","count":126},{"language":"default","tag":"Errors","count":70},{"language":"default","tag":"MCP server","count":58},{"language":"default","tag":"Podcasts","count":58},{"language":"default","tag":"Tools","count":51},{"language":"default","tag":"Billing \u0026 subscription","count":30},{"language":"default","tag":"Alerts","count":27},{"language":"default","tag":"People","count":21},{"language":"default","tag":"Companies","count":17}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"api@particle.news","showHelpButton":true}},"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":"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":"byok-sep-25","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":"billing-updated-9-15","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}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html.dark #mdx-content,html.dark #page-title,html.dark h1,html.dark h2,html.dark h3{color:rgba(255,255,255,.9)}html.dark #sidebar a,html.dark .accordion,html.dark [class*=tooltip]{color:rgba(255,255,255,.6)}html.dark .method-pill,html.dark [class*=admonition] p,html.dark [class*=breadcrumb],html.dark [class*=callout] p,html.dark [class*=eyebrow]{color:rgba(255,255,255,.5)}html.dark footer,html.dark footer *{color:rgba(255,255,255,.2)}html.dark .accordion,html.dark .card,html.dark .code-block,html.dark .steps,html.dark .tabs{border-color:rgba(255,255,255,.15)}html.dark .card{border-radius:.75rem}html.dark .code-block{border-radius:.5rem}html.dark .code-block pre{background-color:#1a1b1b}.dark\\:border-white\\/\\[0\\.07\\]:is(.dark *){border-color:rgba(255,255,255,.15)}html.dark #sidebar{background-color:#0c0d0d;border-color:rgba(255,255,255,.15)}html.dark,html.dark *{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.15) transparent}html.dark ::-webkit-scrollbar,html.dark::-webkit-scrollbar{width:6px;height:6px}html.dark ::-webkit-scrollbar-track,html.dark::-webkit-scrollbar-track{background:0 0}html.dark ::-webkit-scrollbar-thumb,html.dark::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15);border-radius:3px}html.dark ::-webkit-scrollbar-thumb:hover,html.dark::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3)}"}],"page":{"pagePath":"alerts/create","slug":"/alerts/create","pageMetadata":{"title":"Create and manage alerts","description":"Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.","icon":"plus","href":"/alerts/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const APIKeysLink=({children})=>{return _jsx(`a`,{href:`https://platform.particle.pro/tokens`,children})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Frame,Heading,OptimizedImage,Step,Steps,Table,Tip,Visibility,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Visibility)_missingMdxReference(`Visibility`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`You can create an alert two ways: point-and-click in the platform dashboard, or programmatically through the API. Both produce the same resource and both are covered below.`}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Plan`}),` — Alerts require a `,_jsx(_components.strong,{children:`Team`}),`, `,_jsx(_components.strong,{children:`Business`}),`, or `,_jsx(_components.strong,{children:`Enterprise`}),` plan. On a plan that doesn’t include them, the create call returns `,_jsx(_components.a,{href:`/errors/plan_does_not_support_alerts`,children:_jsx(_components.code,{children:`plan_does_not_support_alerts`})}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API key`}),` — Alerts CRUD works with a standard `,_jsx(_components.code,{children:`X-API-Key`}),`. Create one on the `,_jsx(_MdxComponentBoundary,{name:`APIKeysLink`,children:_jsx(APIKeysLink,{children:`API keys page`})}),`. Your key is bound to a project, and the create endpoint is project-scoped — pass that same project’s ID in the path.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A notification email`}),` — Matches are delivered by email to a verified address. Auto-verification works for dashboard users; API-key callers must use an address that’s already verified for the organization. See `,_jsx(_components.a,{href:`#notification-emails`,children:`Notification emails`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-from-the-dashboard`,children:`Create from the dashboard`}),`\n`,_jsx(Visibility,{for:`agents`,children:_jsxs(_components.p,{children:[`Creating alerts programmatically? The dashboard flow is for humans — skip to `,_jsx(_components.a,{href:`#create-with-the-api`,children:`Create with the API`}),`.`]})}),`\n`,_jsx(Visibility,{for:`humans`,children:_jsxs(Steps,{children:[_jsxs(Step,{title:`Open Alerts and start a new one`,children:[_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Alerts`}),` in the project sidebar and click `,_jsx(_components.strong,{children:`Create Alert`}),`.`]}),_jsx(Frame,{caption:`The Alerts list. The counter top-right shows alerts used against your plan's allowance.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alerts-list.png?fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=0446e5fd144ef6c5012c487787b45095`,alt:`Alerts list with the Create Alert button and allowance counter`,\"data-og-width\":`2812`,width:`2812`,\"data-og-height\":`680`,height:`680`,\"data-path\":`images/alerts/alerts-list.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alerts-list.png?w=280\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=87500889559382ed52c5f59268badd59 280w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alerts-list.png?w=560\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=51411c6c580d4d44c62f945ee0ef23fb 560w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alerts-list.png?w=840\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=357075584a8c599ceccec4e1b261377f 840w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alerts-list.png?w=1100\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=a5bd9c078a8dbb69c18dfc90a7c7dcf5 1100w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alerts-list.png?w=1650\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=3a04a17c1b8153574ff9c93ec6257232 1650w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alerts-list.png?w=2500\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=0dc95eaa4e51aa47414e86ee6f44c7e3 2500w`})})]}),_jsxs(Step,{title:`Choose what triggers the alert`,children:[_jsxs(_components.p,{children:[`Pick `,_jsx(_components.strong,{children:`Any mention`}),` — notify whenever the entity is mentioned — or `,_jsx(_components.strong,{children:`Speaker appearance`}),` — notify only when the entity is themself a speaker on the episode (guest, panelist, correspondent, or audience, or in an excerpted soundbite of them). The trigger is fixed once the alert is created.`]}),_jsx(Frame,{caption:`Step 1: pick the trigger.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-trigger.png?fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=d8a92c64ba5d36de3a587c7a5a764cb1`,alt:`Create alert trigger picker with Any mention and Speaker appearance`,\"data-og-width\":`1356`,width:`1356`,\"data-og-height\":`858`,height:`858`,\"data-path\":`images/alerts/create-trigger.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-trigger.png?w=280\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=8e44e25611a74d614a74df1a28264902 280w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-trigger.png?w=560\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=f5d5921504b0486a7092dac76da0bdee 560w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-trigger.png?w=840\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=b8ec7c9a17944d8a515ef0e96afbea14 840w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-trigger.png?w=1100\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=2c47ffc12fc7a0240ac3361994940c79 1100w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-trigger.png?w=1650\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=08ee740724cb86a415272c9e0ae73acd 1650w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-trigger.png?w=2500\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=b22b305302a65e92e04e58f6aae72f2e 2500w`})})]}),_jsxs(Step,{title:`Pick the entity and delivery frequency`,children:[_jsxs(_components.p,{children:[`Search for the entity to watch — the field is labelled `,_jsx(_components.strong,{children:`Person to watch`}),` for a speaker-appearance alert — and choose a `,_jsx(_components.strong,{children:`Delivery frequency`}),`: `,_jsx(_components.strong,{children:`As it happens`}),`, `,_jsx(_components.strong,{children:`Daily digest`}),`, or `,_jsx(_components.strong,{children:`Weekly digest`}),`.`]}),_jsx(Frame,{caption:`Any mention: search the knowledge graph for the entity to watch.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/entity-search.png?fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=e9cae9766b5c5f9811ee4a5e9396c9b0`,alt:`Entity search autocomplete showing companies, people, and concepts`,\"data-og-width\":`1358`,width:`1358`,\"data-og-height\":`1372`,height:`1372`,\"data-path\":`images/alerts/entity-search.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/entity-search.png?w=280\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=8df70457fdb65a678af32dce3065f4b3 280w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/entity-search.png?w=560\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=6995bd190ad31320a0431938171687b8 560w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/entity-search.png?w=840\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=9c865fbbfad7e9a08e9cc672e58b5d75 840w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/entity-search.png?w=1100\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=42f47f0d6afd28a6f86ef57bef16651b 1100w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/entity-search.png?w=1650\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=8e5a31535aa0afb3f11157cfe7fed785 1650w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/entity-search.png?w=2500\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=8e343ddd15405b1f0493d6c781cf4bf1 2500w`})}),_jsx(Frame,{caption:`Speaker appearance: a person to watch, set to a daily digest.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-form-speaker.png?fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=ea10ca8987c4b85fe849016db9c32e1b`,alt:`Create alert form watching Sam Altman with Daily digest selected`,\"data-og-width\":`1348`,width:`1348`,\"data-og-height\":`1090`,height:`1090`,\"data-path\":`images/alerts/create-form-speaker.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-form-speaker.png?w=280\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=1a855e84ca547cd6cb1b1eb6314a6f9b 280w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-form-speaker.png?w=560\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=edda261d466bc6903b6c6bceeb7892ec 560w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-form-speaker.png?w=840\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=45c3e824fcd069766dcb116a496b10ca 840w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-form-speaker.png?w=1100\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=4543c20212a4809faaf5f22967f6b30b 1100w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-form-speaker.png?w=1650\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=a1a319ac2a57ee7151391197c5c4d493 1650w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/create-form-speaker.png?w=2500\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=64e1eda83cb45d89aeaae5519e97f8ca 2500w`})})]}),_jsxs(Step,{title:`Name it and set the recipient`,children:[_jsxs(_components.p,{children:[`Give the alert a `,_jsx(_components.strong,{children:`Title`}),` and a `,_jsx(_components.strong,{children:`Send to`}),` email address, then create it. The alert’s detail page shows its configuration, an Active/paused badge, and a recent-deliveries log.`]}),_jsx(Frame,{caption:`An alert's detail page, with edit, deactivate, and delete actions and the deliveries log.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alert-detail.png?fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=4f6a233eeb1e39708fd3789ef8c4490f`,alt:`Alert detail page showing the watched entity, trigger, recipient, frequency, and deliveries`,\"data-og-width\":`2772`,width:`2772`,\"data-og-height\":`1548`,height:`1548`,\"data-path\":`images/alerts/alert-detail.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alert-detail.png?w=280\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=e5200a20cde3b5614bee369e8ebad30c 280w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alert-detail.png?w=560\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=1df914475c9075b1027ad742267a4540 560w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alert-detail.png?w=840\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=9cfefca7bb3cf113d3c7d9613da558eb 840w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alert-detail.png?w=1100\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=8e66d1e52b30abb5a9c448d4456234ff 1100w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alert-detail.png?w=1650\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=1295014bbad581eb74efb49ea48e69b2 1650w, https://mintcdn.com/particle-c40da4e2/2C1JX_xWfe5UswpN/images/alerts/alert-detail.png?w=2500\u0026fit=max\u0026auto=format\u0026n=2C1JX_xWfe5UswpN\u0026q=85\u0026s=88d5a5562f5ad201ed840931a8c0a602 2500w`})})]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`create-with-the-api`,children:`Create with the API`}),`\n`,_jsx(Heading,{level:`3`,id:`1-resolve-the-entity`,children:`1. Resolve the entity`}),`\n`,_jsxs(_components.p,{children:[`An alert watches entities by canonical ID, not by name. Resolve the entity first, then use its `,_jsx(_components.code,{children:`id`}),` as the `,_jsx(_components.code,{children:`entity_id`}),`. `,_jsx(_components.code,{children:`entity_type`}),` is one of `,_jsx(_components.code,{children:`PERSON`}),`, `,_jsx(_components.code,{children:`COMPANY`}),`, or `,_jsx(_components.code,{children:`KNOWLEDGE_GRAPH_ENTITY`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`entity_type`})}),_jsx(_components.th,{children:`Resolve with`}),_jsxs(_components.th,{children:[`Use as `,_jsx(_components.code,{children:`entity_id`})]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`COMPANY`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/companies/overview`,children:_jsx(_components.code,{children:`GET /v1/companies/{id}`})})}),_jsxs(_components.td,{children:[`the company’s `,_jsx(_components.code,{children:`id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`KNOWLEDGE_GRAPH_ENTITY`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/knowledge-graph/entities`,children:_jsx(_components.code,{children:`GET /v1/entities/{id}`})})}),_jsxs(_components.td,{children:[`the entity’s `,_jsx(_components.code,{children:`id`}),` (people, organizations, places, and topics in the knowledge graph)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PERSON`})}),_jsxs(_components.td,{children:[`a Particle person record, e.g. a resolved `,_jsx(_components.a,{href:`/podcasts/guests`,children:`podcast guest`})]}),_jsxs(_components.td,{children:[`the person’s `,_jsx(_components.code,{children:`id`})]})]})]})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Resolve a company`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/companies/nvidia\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# → \"id\": \"3CensCwu5G2oKCFgPrNf89\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Resolve a knowledge-graph entity (a person, here)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/entities/sam-altman\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# → \"id\": \"17PzxG1t12xzno\"`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Resolve a company`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` company`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` nvidia`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# → \"id\": \"3CensCwu5G2oKCFgPrNf89\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Resolve a knowledge-graph entity (a person, here)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` entity`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` sam-altman`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# → \"id\": \"17PzxG1t12xzno\"`})}),`\n`]})})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Use the canonical `,_jsx(_components.code,{children:`id`}),`, not the slug. For `,_jsx(_components.code,{children:`PERSON`}),` and `,_jsx(_components.code,{children:`COMPANY`}),`, `,_jsx(_components.code,{children:`entity_id`}),` must decode to a valid UUID — a slug like `,_jsx(_components.code,{children:`nvidia`}),` is rejected with a `,_jsx(_components.code,{children:`422`}),`. A well-formed `,_jsx(_components.code,{children:`id`}),` that doesn’t match a real entity is `,_jsx(_components.strong,{children:`accepted`}),`, but the alert is created without the enriched `,_jsx(_components.code,{children:`name`}),`/`,_jsx(_components.code,{children:`image_url`}),` and won’t match anything, so confirm the ID resolves first.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`2-preview-match-frequency-optional`,children:`2. Preview match frequency (optional)`}),`\n`,_jsxs(_components.p,{children:[`Before you commit, run a preview to see how often the alert would have fired over the past `,_jsx(_components.code,{children:`window_days`}),` days (default 7, max 30). The sweep is asynchronous, and the `,_jsx(_components.code,{children:`POST`}),` returns only status fields (`,_jsx(_components.code,{children:`preview_id`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`window_days`}),`) — never the counts. A fresh sweep returns `,_jsx(_components.code,{children:`202 Accepted`}),` with `,_jsx(_components.code,{children:`status: \"in_progress\"`}),`; poll `,_jsx(_components.code,{children:`GET /v1/alerts/preview/{previewId}`}),` until `,_jsx(_components.code,{children:`status`}),` is terminal (`,_jsx(_components.code,{children:`completed`}),` or `,_jsx(_components.code,{children:`failed`}),`), then read `,_jsx(_components.code,{children:`total_matches`}),`, `,_jsx(_components.code,{children:`by_day`}),`, and `,_jsx(_components.code,{children:`sample`}),` from that `,_jsx(_components.code,{children:`GET`}),` response. If an identical preview ran within the past hour, the `,_jsx(_components.code,{children:`POST`}),` returns `,_jsx(_components.code,{children:`200 OK`}),` with `,_jsx(_components.code,{children:`status: \"completed\"`}),` instead — the result is ready, so a single `,_jsx(_components.code,{children:`GET`}),` retrieves it without a polling loop.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Kick off the sweep`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/projects/`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_PROJECT_ID`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`/alerts/preview?window_days=7\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"kind\": \"ENTITY_MENTION\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"entities\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"entity_type\": \"COMPANY\", \"entity_id\": \"3CensCwu5G2oKCFgPrNf89\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Kick off the sweep`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` preview`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` nvidia`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --days`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 7`})]}),`\n`]})})})]}),`\n`,_jsx(CodeBlock,{filename:`Response (202 Accepted)`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"preview_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"9f1c2a7b8e3d4f60\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"in_progress\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"window_days\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`7`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Poll until status is completed or failed`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/alerts/preview/9f1c2a7b8e3d4f60\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Poll until status is completed or failed`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` preview-result`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 9f1c2a7b8e3d4f60`})]}),`\n`]})})})]}),`\n`,_jsx(CodeBlock,{filename:`Response (200 OK)`,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"window_days\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`7`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"started_at\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-16T15:04:00Z\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"completed_at\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-16T15:04:06Z\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_matches\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`42`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"by_day\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"date\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-10\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"count\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"date\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-11\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"count\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`9`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"sample\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ENTITY_MENTION\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity_type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"COMPANY\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"3CensCwu5G2oKCFgPrNf89\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"mention_count\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"episode\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"title\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"podcast_title\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`total_matches`}),` is the count over the whole window; `,_jsx(_components.code,{children:`by_day`}),` is the per-day histogram (empty days included so a chart has no gaps); `,_jsx(_components.code,{children:`sample`}),` is the few most-recent matches with full payload so you can show “here’s what it would have caught.” Preview IDs are deterministic — repeating the same body within the hour returns the same `,_jsx(_components.code,{children:`preview_id`}),` and a cached result, so polling is cheap.`]}),`\n`,_jsxs(_components.p,{children:[`If the sweep errors, the same endpoint returns `,_jsx(_components.code,{children:`status: \"failed\"`}),` with a human-readable `,_jsx(_components.code,{children:`error`}),` string instead of counts — treat `,_jsx(_components.code,{children:`failed`}),` as terminal alongside `,_jsx(_components.code,{children:`completed`}),` and stop polling. Previews are retained for one hour; an expired `,_jsx(_components.code,{children:`preview_id`}),` returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-create-the-alert`,children:`3. Create the alert`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST`}),` the configuration to the project-scoped endpoint. The body sets the title, kind, delivery cadence, the entity to watch, and one or more email channels. To retry a create that timed out without risking a second alert, send an `,_jsx(_components.a,{href:`/idempotency`,children:_jsx(_components.code,{children:`Idempotency-Key`})}),` and resend the same key.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/projects/`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_PROJECT_ID`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`/alerts\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Nvidia mentions on podcasts\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"kind\": \"ENTITY_MENTION\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"delivery_cadence\": \"REALTIME\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"entities\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"entity_type\": \"COMPANY\", \"entity_id\": \"3CensCwu5G2oKCFgPrNf89\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"notifications\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"type\": \"EMAIL\", \"email\": \"you@example.com\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` nvidia`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --email`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` you@example.com`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --title`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'Nvidia mentions on podcasts'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`20`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:\" `https://api.particle.pro/v1/projects/\"}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:`PARTICLE_PROJECT_ID`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:\"/alerts`\"}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key\"`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:`PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` title:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Nvidia mentions on podcasts\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` kind:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"ENTITY_MENTION\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` delivery_cadence:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"REALTIME\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` entities:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`entity_type:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"COMPANY\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`entity_id:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"3CensCwu5G2oKCFgPrNf89\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` notifications:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` [{ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`type:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"EMAIL\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`email:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"you@example.com\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` alert`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})})]}),`\n`,_jsx(CodeBlock,{filename:`Response (200)`,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"8Qw2mRk7Tf9LpZ\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"project_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Vb3xN1aPq8\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Nvidia mentions on podcasts\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ENTITY_MENTION\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"delivery_cadence\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"REALTIME\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_active\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"entities\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity_type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"COMPANY\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"entity_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"3CensCwu5G2oKCFgPrNf89\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Nvidia\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_url\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.particle.pro/…\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"notifications\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Nk4d…\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"EMAIL\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"you@example.com\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-16T15:10:00Z\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-16T15:10:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`created_by`}),` field is omitted here because the request authenticated with an API key; it’s populated with the creating user only for alerts created by a signed-in dashboard user.`]}),`\n`,_jsxs(_components.p,{children:[`To alert on a person’s `,_jsx(_components.strong,{children:`appearances`}),` rather than mentions, set `,_jsx(_components.code,{children:`kind`}),` to `,_jsx(_components.code,{children:`PODCAST_SPEAKER`}),` and watch a person entity — either a `,_jsx(_components.code,{children:`PERSON`}),` record or the person’s knowledge-graph entity. This fires only when the person is an identified speaker on the episode — by default a guest, panelist, correspondent, or audience member, or in an excerpted soundbite (`,_jsx(_components.code,{children:`SOUNDBITE_SPEAKER`}),`) — not when they’re merely talked about. `,_jsx(_components.code,{children:`speaker_roles`}),` replaces that default set.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/projects/`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_PROJECT_ID`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`/alerts\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Sam Altman podcast appearances\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"kind\": \"PODCAST_SPEAKER\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"delivery_cadence\": \"REALTIME\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"entities\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"entity_type\": \"KNOWLEDGE_GRAPH_ENTITY\", \"entity_id\": \"17PzxG1t12xzno\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"notifications\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"type\": \"EMAIL\", \"email\": \"you@example.com\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` sam-altman`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --role`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` guest,panelist,correspondent,audience,soundbite_speaker`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --email`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` you@example.com`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --title`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'Sam Altman podcast appearances'`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`To alert on a `,_jsx(_components.strong,{children:`keyword`}),` instead of an entity, set `,_jsx(_components.code,{children:`kind`}),` to `,_jsx(_components.code,{children:`KEYWORD_MENTION`}),` and send `,_jsx(_components.code,{children:`keyword`}),` in place of `,_jsx(_components.code,{children:`entities`}),`. Use it when the name you care about has no entity to resolve, or its entity has no podcast coverage — a startup whose brand differs from its legal name, a product, a drug, or a code name. The phrase matches the way a double-quoted phrase in `,_jsx(_components.a,{href:`/podcasts/episode-search`,children:`keyword search`}),` does — its words adjacent and in order — in topic-discussion and interview segments only. Set `,_jsx(_components.code,{children:`description`}),` to say what the phrase means: it is how the relevance check drops mentions of an unrelated thing with the same name, such as the physics term “light field” for an alert on the Lightfield CRM.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`13`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/projects/`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_PROJECT_ID`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`/alerts\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Lightfield mentions\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Lightfield, the AI-native CRM (lightfield.app)\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"kind\": \"KEYWORD_MENTION\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"keyword\": \"Lightfield\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"delivery_cadence\": \"DAILY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"notifications\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"type\": \"EMAIL\", \"email\": \"you@example.com\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --keyword`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` Lightfield`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --description`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'Lightfield, the AI-native CRM (lightfield.app)'`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --cadence`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` DAILY`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --email`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` you@example.com`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --title`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'Lightfield mentions'`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Preview a keyword first with the same body on the preview endpoint. A phrase that matched more than 700 podcast episodes in the past week is too broad to alert on: create, edit, and preview all reject it with a `,_jsx(_components.code,{children:`422`}),` asking for a more specific phrase.`]}),`\n`,_jsx(_components.p,{children:`A few rules worth knowing:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`kind`}),` is fixed at creation.`]}),` Switching between kinds later would invalidate the match history, so create a new alert instead. A keyword alert’s `,_jsx(_components.code,{children:`keyword`}),` can be edited with `,_jsx(_components.code,{children:`PATCH`}),`; matches already recorded keep the phrase they fired on.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`delivery_cadence`}),` defaults to `,_jsx(_components.code,{children:`REALTIME`}),`.`]}),` Use `,_jsx(_components.code,{children:`DAILY`}),` or `,_jsx(_components.code,{children:`WEEKLY`}),` for bundled digest emails — see `,_jsx(_components.a,{href:`/alerts/overview#delivery-frequency`,children:`Delivery frequency`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`is_active`}),` defaults to `,_jsx(_components.code,{children:`true`}),`.`]}),` Pass `,_jsx(_components.code,{children:`false`}),` to create the alert paused: it won’t match new episodes or send email going forward, and it doesn’t count against your plan’s allowance until enabled. The one-time creation backfill still runs, so a paused alert can still show up to 7 days of historical (backfilled) matches.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A new alert is backfilled.`}),` Right after creation — even if you create it paused — Particle sweeps the past 7 days so the alert isn’t empty. Backfilled matches never send email — see `,_jsx(_components.a,{href:`/alerts/results#backfill`,children:`Alert results → Backfill`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`filters`}),` is optional.`]}),` Omit to surface every detected match. Set any of `,_jsx(_components.code,{children:`languages`}),`, `,_jsx(_components.code,{children:`relevance`}),`, `,_jsx(_components.code,{children:`source_popularity`}),`, `,_jsx(_components.code,{children:`speaker_roles`}),`, or `,_jsx(_components.code,{children:`speaker_statement_characteristics`}),` to narrow what’s delivered — the same filter shape applies on `,_jsx(_components.code,{children:`PATCH /v1/alerts/{id}`}),`. See `,_jsx(_components.a,{href:`/alerts/overview#filtering-matches`,children:`Filtering matches`}),` for the full spec.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`narrow-an-alert-with-filters`,children:`Narrow an alert with filters`}),`\n`,_jsxs(_components.p,{children:[`A second example shows the four filter axes in action — an English-language `,_jsx(_components.code,{children:`PODCAST_SPEAKER`}),` alert that fires only when Sam Altman appears as a guest on a top-5% show:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`20`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/projects/`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_PROJECT_ID`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`/alerts\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Sam Altman — guest spots on top podcasts\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"kind\": \"PODCAST_SPEAKER\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"delivery_cadence\": \"REALTIME\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"entities\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"entity_type\": \"KNOWLEDGE_GRAPH_ENTITY\", \"entity_id\": \"17PzxG1t12xzno\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"filters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"languages\": [\"en\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"relevance\": \"RELEVANT\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"source_popularity\": \"POPULAR\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"speaker_roles\": [\"GUEST\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"notifications\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"type\": \"EMAIL\", \"email\": \"you@example.com\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` sam-altman`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --speaker`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --role`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` guest`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --language`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` en`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --relevant`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --popular`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --email`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` you@example.com`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --title`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'Sam Altman — guest spots on top podcasts'`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Each axis defaults to “no filter”, so you only need the ones that narrow the way you want — sending `,_jsx(_components.code,{children:`{ \"source_popularity\": \"POPULAR\" }`}),` alone is a complete filter set. On `,_jsx(_components.code,{children:`PATCH /v1/alerts/{id}`}),`, omitting `,_jsx(_components.code,{children:`filters`}),` leaves the existing filter set unchanged; pass `,_jsx(_components.code,{children:`\"filters\": {}`}),` to clear every axis back to its default.`]}),`\n`,_jsx(Heading,{level:`3`,id:`alert-on-how-an-entity-is-talked-about`,children:`Alert on how an entity is talked about`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`speaker_statement_characteristics`}),` makes an `,_jsx(_components.code,{children:`ENTITY_MENTION`}),` alert fire only on mentions said a certain way. It takes the same object as `,_jsx(_components.a,{href:`/podcasts/speaker-statement-characteristics`,children:`search and mentions`}),`: each key is an axis and each value its labels, comma-separated. This alert catches negative mentions of a company:`]}),`\n`,_jsx(CodeBlock,{filename:`curl`,numberOfLines:`16`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/projects/`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_PROJECT_ID`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`/alerts\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"NVIDIA — criticism\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"kind\": \"ENTITY_MENTION\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"entities\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"entity_type\": \"COMPANY\", \"entity_id\": \"3CensCwu5G2oKCFgPrNf89\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"filters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"speaker_statement_characteristics\": { \"sentiment\": \"negative\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"notifications\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` { \"type\": \"EMAIL\", \"email\": \"you@example.com\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Other recipes: `,_jsx(_components.code,{children:`{\"specificity\": \"specific\", \"temporal_orientation\": \"future\"}`}),` for predictions about the entity, and `,_jsx(_components.code,{children:`{\"certainty\": \"confident\"}`}),` for confident claims. A match fires when at least one mention line carries labels the filter accepts. Only those lines are marked `,_jsx(_components.code,{children:`is_mention`}),`, each with its `,_jsx(_components.code,{children:`speaker_statement_characteristics`}),`. Preview with the same `,_jsx(_components.code,{children:`filters`}),` to see how often it would fire. The filter applies to `,_jsx(_components.code,{children:`ENTITY_MENTION`}),` alerts only; on `,_jsx(_components.code,{children:`PODCAST_SPEAKER`}),` or `,_jsx(_components.code,{children:`KEYWORD_MENTION`}),` it returns `,_jsx(_components.code,{children:`422`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Email isn’t the only destination. Add a `,_jsx(_components.code,{children:`SLACK`}),` channel to post matches to a Slack channel (`,_jsx(_components.code,{children:`{ \"type\": \"SLACK\", \"slack_connection_id\": \"…\", \"slack_channel_id\": \"…\" }`}),`), or a `,_jsx(_components.code,{children:`WEBHOOK`}),` channel to POST them to your own service (`,_jsx(_components.code,{children:`{ \"type\": \"WEBHOOK\", \"webhook_connection_id\": \"…\" }`}),`). See `,_jsx(_components.a,{href:`/alerts/slack`,children:`Slack`}),` and `,_jsx(_components.a,{href:`/alerts/webhooks`,children:`Webhooks`}),` for setup.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`notification-emails`,children:`Notification emails`}),`\n`,_jsx(_components.p,{children:`Every email channel must be verified for your organization before it receives mail. What gets verified automatically depends on how you authenticate:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dashboard / logged-in users`}),` — your own address and any address belonging to a `,_jsx(_components.strong,{children:`member of your organization`}),` are verified automatically the first time you use them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API-key callers`}),` — an API key carries no user identity, so nothing is auto-verified. The address must already be verified for the organization (verify it once from the dashboard, or through the verification-link flow); otherwise the create or update call returns `,_jsx(_components.a,{href:`/errors/email_verification_required`,children:_jsx(_components.code,{children:`email_verification_required`})}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Any third-party address`}),` must confirm a one-time verification link before it receives mail.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Deleting a verified notification email that is still referenced by an alert returns `,_jsx(_components.a,{href:`/errors/notification_email_in_use`,children:_jsx(_components.code,{children:`notification_email_in_use`})}),` — remove it from the alert’s `,_jsx(_components.code,{children:`notifications`}),` first.`]}),`\n`,_jsx(Heading,{level:`2`,id:`update-pause-and-delete`,children:`Update, pause, and delete`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PATCH /v1/alerts/{id}`}),` applies a partial update. Only the fields you send change — but `,_jsx(_components.code,{children:`entities`}),` and `,_jsx(_components.code,{children:`notifications`}),`, when present, `,_jsx(_components.strong,{children:`replace the whole set`}),` (they aren’t merged).`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Pause an alert without losing its history`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/alerts/8Qw2mRk7Tf9LpZ\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{ \"is_active\": false }'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Pause an alert without losing its history`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 8Qw2mRk7Tf9LpZ`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --no-is-active`})]}),`\n`]})})})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Resume it`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/alerts/8Qw2mRk7Tf9LpZ\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '{ \"is_active\": true }'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Resume it`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 8Qw2mRk7Tf9LpZ`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --is-active`})]}),`\n`]})})})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Delete it (soft delete — existing matches and deliveries are retained for audit)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.particle.pro/v1/alerts/8Qw2mRk7Tf9LpZ\"`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`$PARTICLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Delete it (soft delete — existing matches and deliveries are retained for audit)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`particle`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` alert`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 8Qw2mRk7Tf9LpZ`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Recipients can also turn an alert off without an account: every alert email has a `,_jsx(_components.strong,{children:`Disable this alert`}),` link in its footer that flips the alert to inactive in one click. See `,_jsx(_components.a,{href:`/alerts/results#stop-delivery`,children:`Alert results → Stop delivery`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors/plan_does_not_support_alerts`,children:_jsx(_components.code,{children:`plan_does_not_support_alerts`})})}),_jsx(_components.td,{children:`The organization’s plan doesn’t include alerts.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors/add_on_required`,children:_jsx(_components.code,{children:`add_on_required`})})}),_jsx(_components.td,{children:`Plan’s included alert allowance is reached. Buy an Alerts Pack.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors/email_verification_required`,children:_jsx(_components.code,{children:`email_verification_required`})})}),_jsx(_components.td,{children:`A third-party notification email hasn’t confirmed its link.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/errors/validation_error`,children:_jsx(_components.code,{children:`validation_error`})})}),_jsxs(_components.td,{children:[`Malformed `,_jsx(_components.code,{children:`entity_id`}),` (e.g. a slug where a canonical `,_jsx(_components.code,{children:`PERSON`}),`/`,_jsx(_components.code,{children:`COMPANY`}),` ID is required), unknown `,_jsx(_components.code,{children:`kind`}),`, a watch target that doesn’t match the kind (`,_jsx(_components.code,{children:`keyword`}),` on an entity alert, `,_jsx(_components.code,{children:`entities`}),` on a keyword alert, or neither), or an `,_jsx(_components.code,{children:`EMAIL`}),` channel with no address.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/alerts/overview`,children:`Alerts overview`}),` — concepts, alert kinds, and the plan requirement`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/alerts/results`,children:`Alert results`}),` — read the matches and deliveries an alert produces`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/alerts/slack`,children:`Slack`}),` — post matches to a Slack channel`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/alerts/webhooks`,children:`Webhooks`}),` — deliver matches to your own endpoint as a signed JSON POST`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/knowledge-graph/entities`,children:`Knowledge graph → entities`}),` — resolve people, companies, and topics to watch`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{APIKeysLink,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Create and manage alerts","description":"Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.","icon":"plus","href":"/alerts/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Create from the dashboard","slug":"create-from-the-dashboard","depth":2,"children":[]},{"title":"Create with the API","slug":"create-with-the-api","depth":2,"children":[{"title":"1. Resolve the entity","slug":"1-resolve-the-entity","depth":3,"children":[]},{"title":"2. Preview match frequency (optional)","slug":"2-preview-match-frequency-optional","depth":3,"children":[]},{"title":"3. Create the alert","slug":"3-create-the-alert","depth":3,"children":[]},{"title":"Narrow an alert with filters","slug":"narrow-an-alert-with-filters","depth":3,"children":[]},{"title":"Alert on how an entity is talked about","slug":"alert-on-how-an-entity-is-talked-about","depth":3,"children":[]}]},{"title":"Notification emails","slug":"notification-emails","depth":2,"children":[]},{"title":"Update, pause, and delete","slug":"update-pause-and-delete","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"particle-c40da4e2","siteName":"Particle API","title":"Create and manage alerts - Particle API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T17:26:19.000Z","originalFileLocation":"alerts/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Particle API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/particle-c40da4e2/Uccj8-qi0DrvBDRY/_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/particle-c40da4e2/Uccj8-qi0DrvBDRY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/particle-c40da4e2/Uccj8-qi0DrvBDRY/_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/particle-c40da4e2/Uccj8-qi0DrvBDRY/_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/particle-c40da4e2/Uccj8-qi0DrvBDRY/_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/particle-c40da4e2/Uccj8-qi0DrvBDRY/_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/particle-c40da4e2/Uccj8-qi0DrvBDRY/_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/particle-c40da4e2/Uccj8-qi0DrvBDRY/_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/particle-c40da4e2/Uccj8-qi0DrvBDRY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create and manage alerts - Particle API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Particle API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.particle.pro/alerts/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://particle-c40da4e2.mintlify.app/_mintlify/api/og/v2?division=Alerts\u0026amp;title=Create+and+manage+alerts\u0026amp;description=Resolve+an+entity%2C+preview+how+often+an+alert+would+fire%2C+create+it%2C+and+update+or+pause+it+later+%E2%80%94+from+the+dashboard+or+the+API.\u0026amp;theme=cc76b59effb7ea31e0037892\u0026amp;signature=556efdbb10a478b8bf85df80c0f8985abd6fabfde7bc4cc91dd4640c1bd3e52b\">\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 and manage alerts - Particle API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://particle-c40da4e2.mintlify.app/_mintlify/api/og/v2?division=Alerts\u0026amp;title=Create+and+manage+alerts\u0026amp;description=Resolve+an+entity%2C+preview+how+often+an+alert+would+fire%2C+create+it%2C+and+update+or+pause+it+later+%E2%80%94+from+the+dashboard+or+the+API.\u0026amp;theme=cc76b59effb7ea31e0037892\u0026amp;signature=556efdbb10a478b8bf85df80c0f8985abd6fabfde7bc4cc91dd4640c1bd3e52b\">\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/particle-c40da4e2/Uccj8-qi0DrvBDRY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Particle API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0369a1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.particle.pro/alerts/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/alerts/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.particle.pro/#organization\",\"name\":\"Particle API\",\"url\":\"https://docs.particle.pro\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/particle-c40da4e2/tk5mmLn_iJIxNhbI/logo/light.svg?fit=max\u0026auto=format\u0026n=tk5mmLn_iJIxNhbI\u0026q=85\u0026s=a659784e597694177292b154cc1808f4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.particle.pro#website\",\"name\":\"Particle API\",\"url\":\"https://docs.particle.pro\",\"publisher\":{\"@id\":\"https://docs.particle.pro/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.particle.pro/alerts/create#webpage\",\"url\":\"https://docs.particle.pro/alerts/create\",\"name\":\"Create and manage alerts\",\"description\":\"Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.\",\"dateModified\":\"2026-10-27T17:26:19.000Z\",\"isPartOf\":{\"@id\":\"https://docs.particle.pro#website\"},\"breadcrumb\":{\"@id\":\"https://docs.particle.pro/alerts/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.particle.pro/alerts/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Alerts\",\"item\":\"https://docs.particle.pro/alerts/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create and manage alerts\",\"item\":\"https://docs.particle.pro/alerts/create\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.particle.pro/alerts/create#article\",\"headline\":\"Create and manage alerts\",\"name\":\"Create and manage alerts\",\"description\":\"Resolve an entity, preview how often an alert would fire, create it, and update or pause it later — from the dashboard or the API.\",\"url\":\"https://docs.particle.pro/alerts/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.particle.pro/alerts/create#webpage\"},\"dateModified\":\"2026-10-27T17:26:19.000Z\",\"publisher\":{\"@id\":\"https://docs.particle.pro/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.particle.pro#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Particle API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Particle API","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Particle API","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Agent onboarding","icon":"robot","href":"/agents"},{"title":"Concepts","href":"/concepts"},{"title":"Idempotent requests","icon":"rotate","href":"/idempotency"},{"title":"Coverage","icon":"map","href":"/coverage"},{"title":"Agent authentication","icon":"robot","href":"/auth"},{"title":"Pay per request with x402","icon":"coins","href":"/x402"},{"title":"Pay per request with MPP","icon":"coins","href":"/mpp"},{"title":"Changelog","icon":"clock-rotate-left","href":"/changelog"}]},{"group":"Recipes","pages":[{"title":"Paginate through everything","sidebarTitle":"Pagination","icon":"arrow-right","href":"/recipes/pagination"},{"title":"Track a company across podcasts","sidebarTitle":"Track a company","icon":"building","href":"/recipes/track-a-company"},{"title":"Find the most quotable moments on a topic","sidebarTitle":"Quotable moments","icon":"scissors","href":"/recipes/quotable-moments"},{"title":"From an empty page to the data","sidebarTitle":"Empty results","icon":"magnifying-glass-minus","href":"/recipes/empty-results"},{"title":"Handle errors and retries","sidebarTitle":"Errors and retries","icon":"rotate-left","href":"/recipes/handle-errors"}]},{"group":"Podcasts","pages":[{"title":"Podcasts","icon":"microphone","href":"/podcasts/overview"},{"title":"Search","icon":"magnifying-glass","href":"/podcasts/search"},{"title":"Episode search","icon":"waveform-lines","href":"/podcasts/episode-search"},{"title":"Mentions","icon":"at","href":"/podcasts/mentions"},{"title":"Speaker statement characteristics","icon":"comment-dots","href":"/podcasts/speaker-statement-characteristics"},{"title":"Entity Charts","icon":"ranking-star","href":"/podcasts/entity-charts"},{"title":"Guests","icon":"user-group","href":"/podcasts/guests"},{"title":"Related Podcasts","icon":"diagram-project","href":"/podcasts/related"},{"title":"Related Episodes","icon":"link","href":"/podcasts/related-episodes"},{"title":"Format Profile","icon":"sliders","href":"/podcasts/format"},{"title":"Episodes","icon":"play","href":"/podcasts/episodes"},{"title":"Transcription requests","icon":"wand-magic-sparkles","href":"/podcasts/transcription"},{"title":"Episode feed (polling)","icon":"arrows-rotate","href":"/podcasts/feed"},{"title":"Episode stream (firehose)","icon":"signal-stream","href":"/podcasts/stream"},{"title":"Episode archive","icon":"box-archive","href":"/podcasts/archive"},{"title":"Transcripts","icon":"closed-captioning","href":"/podcasts/transcripts"},{"title":"Segments \u0026 clips","icon":"scissors","href":"/podcasts/segments-and-clips"},{"title":"Advertising","icon":"bullhorn","href":"/podcasts/advertising"},{"title":"Brand Suitability","icon":"shield-check","href":"/podcasts/suitability"},{"title":"External links","icon":"link","href":"/podcasts/external-links"},{"title":"Lookup by external identifier","icon":"magnifying-glass-arrows-rotate","href":"/podcasts/lookup"},{"title":"Request a podcast","icon":"square-plus","href":"/podcasts/requests"},{"title":"Publishers","icon":"building","href":"/podcasts/publishers"},{"title":"Publisher advertising","icon":"building-columns","href":"/podcasts/publishers-advertising"},{"title":"Podcast Publisher Bias","icon":"scale-balanced","href":"/podcasts/publishers-bias"},{"title":"Publisher Brand Suitability","icon":"building-shield","href":"/podcasts/publisher-suitability"},{"title":"Rankings","icon":"chart-line","href":"/podcasts/rankings"},{"title":"Ratings \u0026 reviews","icon":"star","href":"/podcasts/ratings"}]},{"group":"People","pages":[{"title":"Speaker expertise","icon":"user-graduate","href":"/people/expertise"}]},{"group":"Companies","pages":[{"title":"Companies","icon":"building","href":"/companies/overview"},{"title":"External links","icon":"link","href":"/companies/external-links"},{"title":"Products","icon":"box","href":"/companies/products"}]},{"group":"Knowledge graph","pages":[{"title":"Entities","icon":"users","href":"/knowledge-graph/entities"},{"title":"Look up people and companies by identifier","icon":"magnifying-glass-arrows-rotate","href":"/entities/lookup"},{"title":"Topics","icon":"tags","href":"/knowledge-graph/topics"}]},{"group":"Alerts","pages":[{"title":"Alerts","description":"Get notified whenever a person, company, topic, or keyword you care about is mentioned — or shows up as a speaker — on a podcast.","icon":"bell","href":"/alerts/overview"},{"title":"Create and manage alerts","icon":"plus","href":"/alerts/create"},{"title":"Alert results","description":"Read the matches an alert detects, the emails it sends, and the shareable pages behind every result.","icon":"inbox","href":"/alerts/results"},{"title":"Deliver alerts to Slack","sidebarTitle":"Slack","icon":"slack","href":"/alerts/slack"},{"title":"Deliver alerts to a webhook","sidebarTitle":"Webhooks","icon":"webhook","href":"/alerts/webhooks"}]},{"group":"Account","pages":[{"title":"Zero data retention","icon":"shield-check","href":"/account/data-retention"}]},{"group":"Errors","pages":[{"title":"Error reference","icon":"triangle-exclamation","href":"/errors/overview"},{"group":"Billing \u0026 subscription","pages":[{"title":"no_active_plan","href":"/errors/no_active_plan"},{"title":"billing_info_required","href":"/errors/billing_info_required"},{"title":"plan_required","href":"/errors/plan_required"},{"title":"payment_past_due","href":"/errors/payment_past_due"},{"title":"payment_delinquent","href":"/errors/payment_delinquent"},{"title":"subscription_suspended","href":"/errors/subscription_suspended"},{"title":"subscription_inactive","href":"/errors/subscription_inactive"},{"title":"subscription_not_found","href":"/errors/subscription_not_found"},{"title":"no_active_subscription","href":"/errors/no_active_subscription"},{"title":"billing_unavailable","href":"/errors/billing_unavailable"},{"title":"plan_not_selected","href":"/errors/plan_not_selected"},{"title":"plan_not_available","href":"/errors/plan_not_available"},{"title":"plan_does_not_support_overage_usage","href":"/errors/plan_does_not_support_overage_usage"},{"title":"subscription_canceled","href":"/errors/subscription_canceled"},{"title":"subscription_already_canceled","href":"/errors/subscription_already_canceled"},{"title":"trial_ended","href":"/errors/trial_ended"},{"title":"endpoint_not_in_plan","href":"/errors/endpoint_not_in_plan"},{"title":"subscription_not_canceled","href":"/errors/subscription_not_canceled"},{"title":"cancellation_revertable","href":"/errors/cancellation_revertable"},{"title":"cancellation_effective","href":"/errors/cancellation_effective"},{"title":"plan_change_blocked","href":"/errors/plan_change_blocked"},{"title":"pending_plan_change_exists","href":"/errors/pending_plan_change_exists"},{"title":"promo_code_invalid","href":"/errors/promo_code_invalid"},{"title":"promo_code_already_redeemed","href":"/errors/promo_code_already_redeemed"},{"title":"promo_code_already_active","href":"/errors/promo_code_already_active"},{"title":"promo_code_not_valid_for_plan","href":"/errors/promo_code_not_valid_for_plan"},{"title":"promo_code_requires_paid_plan","href":"/errors/promo_code_requires_paid_plan"},{"title":"promo_code_exhausted","href":"/errors/promo_code_exhausted"},{"title":"promo_code_signup_only","href":"/errors/promo_code_signup_only"},{"title":"paid_plan_confirmation_required","href":"/errors/paid_plan_confirmation_required"}]},{"group":"Usage limits","pages":[{"title":"spend_limit_exceeded","href":"/errors/spend_limit_exceeded"},{"title":"credits_depleted","href":"/errors/credits_depleted"},{"title":"overage_required","href":"/errors/overage_required"},{"title":"rate_limit_exceeded","href":"/errors/rate_limit_exceeded"},{"title":"seat_limit_exceeded","href":"/errors/seat_limit_exceeded"},{"title":"chat_usage_limit_exceeded","href":"/errors/chat_usage_limit_exceeded"},{"title":"add_on_required","href":"/errors/add_on_required"},{"title":"plan_does_not_support_alerts","href":"/errors/plan_does_not_support_alerts"}]},{"group":"Authentication \u0026 authorization","pages":[{"title":"auth_required","href":"/errors/auth_required"},{"title":"api_key_required","href":"/errors/api_key_required"},{"title":"payment_required","href":"/errors/payment_required"},{"title":"pro_required","href":"/errors/pro_required"},{"title":"premium_required","href":"/errors/premium_required"},{"title":"enterprise_required","href":"/errors/enterprise_required"},{"title":"episode_archive_not_enabled","href":"/errors/episode_archive_not_enabled"},{"title":"not_a_member","href":"/errors/not_a_member"},{"title":"chat_not_enabled","href":"/errors/chat_not_enabled"},{"title":"chat_public_share_not_allowed","href":"/errors/chat_public_share_not_allowed"}]},{"group":"Account","pages":[{"title":"email_exists","href":"/errors/email_exists"},{"title":"token_invalid","href":"/errors/token_invalid"},{"title":"token_expired","href":"/errors/token_expired"},{"title":"social_login_only","href":"/errors/social_login_only"},{"title":"invite_expired","href":"/errors/invite_expired"},{"title":"email_verification_required","href":"/errors/email_verification_required"},{"title":"account_sole_owner_with_members","href":"/errors/account_sole_owner_with_members"}]},{"group":"Podcast transcription","pages":[{"title":"transcript_not_available","href":"/errors/transcript_not_available"},{"title":"episode_audio_unavailable","href":"/errors/episode_audio_unavailable"}]},{"group":"Alert notifications","pages":[{"title":"notification_email_in_use","href":"/errors/notification_email_in_use"}]},{"group":"Generic","pages":[{"title":"bad_request","href":"/errors/bad_request"},{"title":"validation_error","href":"/errors/validation_error"},{"title":"unresolved_reference","href":"/errors/unresolved_reference"},{"title":"not_found","href":"/errors/not_found"},{"title":"conflict","href":"/errors/conflict"},{"title":"idempotency_key_in_use","href":"/errors/idempotency_key_in_use"},{"title":"idempotency_key_reused","href":"/errors/idempotency_key_reused"},{"title":"forbidden","href":"/errors/forbidden"},{"title":"internal_error","href":"/errors/internal_error"},{"title":"request_timeout","href":"/errors/request_timeout"}]},{"group":"Internal","pages":[{"title":"feature_check_failed","href":"/errors/feature_check_failed"}]}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"tab":"MCP server","pages":[{"title":"MCP server","href":"/mcp/overview"}]}]},"basePath":"","title":"Create and manage alerts - Particle API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DXXFP6nH.js","DynamicMarkdown-B54_zNBF.js","zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}