PostHog · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for PostHog Alerts API
15 actions
15 updates
phrasing
extends
openapi/posthog-alerts-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for PostHog's API. It is a proposal applied on top of the contract, not a document PostHog publishes.
What the actions change
x-apievangelist-phrasing
Targets 15
$.info
$.paths['/api/environments/{environment_id}/alerts/'].get
$.paths['/api/environments/{environment_id}/alerts/'].post
$.paths['/api/environments/{environment_id}/alerts/{id}/'].get
$.paths['/api/environments/{environment_id}/alerts/{id}/'].put
$.paths['/api/environments/{environment_id}/alerts/{id}/'].delete
$.paths['/api/environments/{environment_id}/alerts/{id}/'].patch
$.paths['/api/environments/{environment_id}/alerts/simulate/'].post
$.paths['/api/projects/{project_id}/alerts/'].get
$.paths['/api/projects/{project_id}/alerts/'].post
$.paths['/api/projects/{project_id}/alerts/{id}/'].get
$.paths['/api/projects/{project_id}/alerts/{id}/'].put
$.paths['/api/projects/{project_id}/alerts/{id}/'].delete
$.paths['/api/projects/{project_id}/alerts/{id}/'].patch
$.paths['/api/projects/{project_id}/alerts/simulate/'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for PostHog Alerts API
version: 1.0.0
extends: openapi/posthog-alerts-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 14
- target: $.paths['/api/environments/{environment_id}/alerts/'].get
update:
x-apievangelist-phrasing:
intent: List legacy environment alerts
effect: read
questions:
- How do I list the alerts configured in a legacy environment?
- Can I page through environment-level alerts with offset and limit?
instructions:
- text: List the alerts in legacy environment {environment_id}.
slots:
environment_id: path.environment_id
- text: Show {limit} alerts from environment {environment_id} starting at offset {offset}.
slots:
limit: query.limit
environment_id: path.environment_id
offset: query.offset
method: generated
generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/alerts/'].post
update:
x-apievangelist-phrasing:
intent: Create an environment-level alert
effect: write
questions:
- How do I create an alert on a legacy environment that watches an insight?
- Can I snooze an environment alert until a certain time?
instructions:
- text: Create an alert in legacy environment {environment_id} on insight {insight} with threshold {threshold} and subscribers {subscribed_users}.
slots:
environment_id: path.environment_id
insight: requestBody.insight
threshold: requestBody.threshold
subscribed_users: requestBody.subscribed_users
- text: Snooze environment {environment_id} alert {id} until {snoozed_until}.
slots:
environment_id: path.environment_id
id: requestBody.id
snoozed_until: requestBody.snoozed_until
method: generated
generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/alerts/{id}/'].get
update:
x-apievangelist-phrasing:
intent: Get a legacy environment alert
effect: read
questions:
- How do I look up one alert in a legacy environment?
- Can I see the check history of an environment alert?
instructions:
- text: Get alert {id} in legacy environment {environment_id}.
slots:
id: path.id
environment_id: path.environment_id
- text: Show checks for environment {environment_id} alert {id} from {checks_date_from} to {checks_date_to}.
slots:
environment_id: path.environment_id
id: path.id
checks_date_from: query.checks_date_from
checks_date_to: query.checks_date_to
method: generated
generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/alerts/{id}/'].put
update:
x-apievangelist-phrasing:
intent: Replace an environment-level alert
effect: write
questions:
- How do I fully replace an alert on a legacy environment?
- Can I change the threshold and condition of an environment alert?
instructions:
- text: Replace alert {id} in legacy environment {environment_id} with insight {insight}, threshold {threshold} and condition {condition}.
slots:
id: path.id
environment_id: path.environment_id
insight: requestBody.insight
threshold: requestBody.threshold
condition: requestBody.condition
- text: Fully update environment {environment_id} alert {id} to state {state}.
slots:
environment_id: path.environment_id
id: path.id
state: requestBody.state
method: generated
generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/alerts/{id}/'].delete
update:
x-apievangelist-phrasing:
intent: Delete an environment-level alert
effect: destructive
questions:
- How do I delete an alert from a legacy environment?
- Can I remove an environment alert by its ID?
instructions:
- text: Delete alert {id} from legacy environment {environment_id}.
slots:
id: path.id
environment_id: path.environment_id
- text: Remove environment {environment_id} alert {id}.
slots:
environment_id: path.environment_id
id: path.id
method: generated
generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/alerts/{id}/'].patch
update:
x-apievangelist-phrasing:
intent: Update an old-environment alert
effect: write
questions:
- How do I rename an alert through the deprecated environment endpoint?
- Can I snooze a legacy environment alert?
instructions:
- text: Rename environment alert {id} in env {environment_id}.
slots:
id: path.id
environment_id: path.environment_id
- text: Snooze the legacy environment alert {id} until {snoozed_until}.
slots:
id: path.id
snoozed_until: requestBody.snoozed_until
method: generated
generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/alerts/simulate/'].post
update:
x-apievangelist-phrasing:
intent: Simulate an environment detector
effect: read
questions:
- How do I test a detector on an insight's data in a legacy environment?
- Can I simulate an environment alert without creating any checks?
instructions:
- text: Simulate detector {detector_config} on insight {insight} in legacy environment {environment_id}.
slots:
detector_config: requestBody.detector_config
insight: requestBody.insight
environment_id: path.environment_id
- text: Run a detector simulation on environment {environment_id} insight {insight} from {date_from}.
slots:
environment_id: path.environment_id
insight: requestBody.insight
date_from: requestBody.date_from
method: generated
generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/alerts/'].get
update:
x-apievangelist-phrasing:
intent: List project alerts
effect: read
questions:
- How do I list the alerts in a project?
- Can I page through project-level alerts?
instructions:
- text: List the alerts in project {project_id}.
slots:
project_id: path.project_id
- text: Show {limit} alerts from project {project_id} starting at offset {offset}.
slots:
limit: query.limit
project_id: path.project_id
offset: query.offset
method: generated
generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/alerts/'].post
update:
x-apievangelist-phrasing:
intent: Create a project alert
effect: write
questions:
- How do I create an alert on a project that watches an insight?
- Can I snooze a project alert until a certain time?
instructions:
- text: Create an alert in project {project_id} on insight {insight} with threshold {threshold} and subscribers {subscribed_users}.
slots:
project_id: path.project_id
insight: requestBody.insight
threshold: requestBody.threshold
subscribed_users: requestBody.subscribed_users
- text: Snooze project {project_id} alert {id} until {snoozed_until}.
slots:
project_id: path.project_id
id: requestBody.id
snoozed_until: requestBody.snoozed_until
method: generated
generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/alerts/{id}/'].get
update:
x-apievangelist-phrasing:
intent: Get a project alert
effect: read
questions:
- How do I look up one alert in a project?
- Can I see the check history of a project alert?
instructions:
- text: Get alert {id} in project {project_id}.
slots:
id: path.id
project_id: path.project_id
- text: Show checks for project {project_id} alert {id} from {checks_date_from} to {checks_date_to}.
slots:
project_id: path.project_id
id: path.id
checks_date_from: query.checks_date_from
checks_date_to: query.checks_date_to
method: generated
generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/alerts/{id}/'].put
update:
x-apievangelist-phrasing:
intent: Replace a project alert
effect: write
questions:
- How do I fully replace an alert on a project?
- Can I change the threshold and condition of a project alert?
instructions:
- text: Replace alert {id} in project {project_id} with insight {insight}, threshold {threshold} and condition {condition}.
slots:
id: path.id
project_id: path.project_id
insight: requestBody.insight
threshold: requestBody.threshold
condition: requestBody.condition
- text: Fully update project {project_id} alert {id} to state {state}.
slots:
project_id: path.project_id
id: path.id
state: requestBody.state
method: generated
generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/alerts/{id}/'].delete
update:
x-apievangelist-phrasing:
intent: Delete a project alert
effect: destructive
questions:
- How do I delete an alert from a project?
- Can I remove a project alert by its ID?
instructions:
- text: Delete alert {id} from project {project_id}.
slots:
id: path.id
project_id: path.project_id
- text: Remove project {project_id} alert {id}.
slots:
project_id: path.project_id
id: path.id
method: generated
generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/alerts/{id}/'].patch
update:
x-apievangelist-phrasing:
intent: Update a project alert
effect: write
questions:
- How do I change the threshold of an insight alert?
- Can I schedule a project alert to fire only on weekdays?
- Which alert condition types exist?
instructions:
- text: Update project alert {id} in project {project_id}.
slots:
id: path.id
project_id: path.project_id
- text: Set the condition of project alert {id} to {condition}.
slots:
id: path.id
condition: requestBody.condition
- text: Snooze project alert {id} in project {project_id} until {snoozed_until}.
slots:
id: path.id
project_id: path.project_id
snoozed_until: requestBody.snoozed_until
method: generated
generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/alerts/simulate/'].post
update:
x-apievangelist-phrasing:
intent: Simulate a detector on a project insight
effect: read
questions:
- How do I test a detector on an insight's data in a project?
- Can I simulate a project alert without creating any checks?
instructions:
- text: Simulate detector {detector_config} on insight {insight} in project {project_id}.
slots:
detector_config: requestBody.detector_config
insight: requestBody.insight
project_id: path.project_id
- text: Run a detector simulation on project {project_id} insight {insight} from {date_from}.
slots:
project_id: path.project_id
insight: requestBody.insight
date_from: requestBody.date_from
method: generated
generated: '2026-11-16'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/posthog-alerts-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.