Automattic · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Alerts API
13 actions
13 updates
phrasing
extends
openapi/automattic-alerts-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Automattic's API. It is a proposal applied on top of the contract, not a document Automattic publishes.
What the actions change
x-apievangelist-phrasing
Targets 13
$.info
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts'].put
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts'].patch
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts/fix'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts/fix'].put
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts/fix'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts/fix'].patch
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts/{id}'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts/{id}'].put
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts/{id}'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/alerts/{id}'].patch
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 WordPress.com REST API — wpcom/v2 namespace Alerts API
version: 1.0.0
extends: openapi/automattic-alerts-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-12-02'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 12
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts'].get
update:
x-apievangelist-phrasing:
intent: List security alerts for a site
effect: read
questions:
- What security alerts are raised on my site?
- Which threats are currently active for a WordPress.com site?
instructions:
- text: List the security alerts for site {wpcom_site}.
slots:
wpcom_site: path.wpcom_site
- text: Show every alert raised on {wpcom_site}.
slots:
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts'].put
update:
x-apievangelist-phrasing:
intent: Replace a site's security alerts
effect: write
questions:
- How do I overwrite all security alerts on a site in one request?
- Can I set a site's alert list to a known type and slug?
instructions:
- text: Replace the security alerts on {wpcom_site} with type {type}.
slots:
wpcom_site: path.wpcom_site
type: requestBody.type
- text: Overwrite {wpcom_site}'s alerts with type {type} and slug {slug}.
slots:
wpcom_site: path.wpcom_site
type: requestBody.type
slug: requestBody.slug
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts'].post
update:
x-apievangelist-phrasing:
intent: Create a site security alert
effect: write
questions:
- How do I add a new security alert to a site?
- Can I create a site alert with a specific slug and version?
instructions:
- text: Create a {type} alert on {wpcom_site}.
slots:
type: requestBody.type
wpcom_site: path.wpcom_site
- text: Add a {type} alert with slug {slug} to {wpcom_site}.
slots:
type: requestBody.type
slug: requestBody.slug
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts'].patch
update:
x-apievangelist-phrasing:
intent: Update a site's security alerts
effect: write
questions:
- How do I change the type of a site's existing security alerts?
- Can I update a site's alert list without replacing it?
instructions:
- text: Update the security alerts on {wpcom_site} to type {type}.
slots:
wpcom_site: path.wpcom_site
type: requestBody.type
- text: Patch {wpcom_site}'s alert list to type {type} and version {version}.
slots:
wpcom_site: path.wpcom_site
type: requestBody.type
version: requestBody.version
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts/fix'].get
update:
x-apievangelist-phrasing:
intent: Get fix suggestions for threats
effect: read
questions:
- What fixes are suggested for a list of threats?
- Can I get remediation steps for several threats at once?
instructions:
- text: Get fix suggestions for threats {threat_ids} on {wpcom_site}.
slots:
threat_ids: query.threat_ids
wpcom_site: path.wpcom_site
- text: Show remediation fixes for threat {threat_ids} on {wpcom_site}.
slots:
threat_ids: query.threat_ids
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts/fix'].put
update:
x-apievangelist-phrasing:
intent: Apply fixes to threats
effect: write
questions:
- How do I apply a batch of fixes to threats on a site?
- Can I overwrite a site's threat fixes in one request?
instructions:
- text: Apply fixes {threat_ids} to {wpcom_site}.
slots:
threat_ids: requestBody.threat_ids
wpcom_site: path.wpcom_site
- text: Overwrite {wpcom_site}'s threat fixes with {threat_ids}.
slots:
wpcom_site: path.wpcom_site
threat_ids: requestBody.threat_ids
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts/fix'].post
update:
x-apievangelist-phrasing:
intent: Mark security threats as fixed on a site
effect: write
questions:
- How do I mark a list of security threats on my site as fixed?
- Can I tell WordPress.com a threat is fixed by its threat ID?
instructions:
- text: Mark threats {threat_ids} as fixed on site {wpcom_site}.
slots:
threat_ids: requestBody.threat_ids
wpcom_site: path.wpcom_site
- text: Fix the security threats {threat_ids} on site {wpcom_site}.
slots:
threat_ids: requestBody.threat_ids
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts/fix'].patch
update:
x-apievangelist-phrasing:
intent: Patch fixes for threats on a site
effect: write
questions:
- Can I submit a partial update to the fixes recorded for several threats on my WordPress.com site?
- What happens when I send a PATCH with a list of threat IDs to a site's alerts fix endpoint?
instructions:
- text: Patch the fix status for threat IDs {threat_ids} on site {wpcom_site}.
slots:
threat_ids: requestBody.threat_ids
wpcom_site: path.wpcom_site
- text: Send a PATCH to the alerts fix endpoint of {wpcom_site} with threat IDs {threat_ids}.
slots:
wpcom_site: path.wpcom_site
threat_ids: requestBody.threat_ids
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a site security alert
effect: read
questions:
- What is the status of one security alert on a site?
- Can I fetch a single site alert by ID?
instructions:
- text: Get alert {id} on {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Show the details of site {wpcom_site} alert {id}.
slots:
wpcom_site: path.wpcom_site
id: path.id
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts/{id}'].put
update:
x-apievangelist-phrasing:
intent: Acknowledge or fix a site alert
effect: write
questions:
- How do I acknowledge a security alert on a site?
- Can I mark a site alert as fixed?
instructions:
- text: Mark alert {id} on {wpcom_site} as ignored.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Set alert {id} on {wpcom_site} to ignore {ignore} and fix {fix}.
slots:
id: path.id
wpcom_site: path.wpcom_site
ignore: requestBody.ignore
fix: requestBody.fix
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts/{id}'].post
update:
x-apievangelist-phrasing:
intent: Acknowledge or fix a single security alert
effect: write
questions:
- Can I acknowledge a specific security alert on my site?
- Is there a way to fix one security alert by its ID?
instructions:
- text: Acknowledge alert {id} on site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Mark alert {id} on site {wpcom_site} as fixed with a fix.
slots:
id: path.id
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/alerts/{id}'].patch
update:
x-apievangelist-phrasing:
intent: Ignore or unignore a single security alert
effect: write
questions:
- Can I ignore a specific security alert on my site?
- How do I stop ignoring one alert I already ignored?
instructions:
- text: Ignore alert {id} on site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Unignore alert {id} on site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
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/automattic-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.