Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Activity API

10 actions 10 updates phrasing extends openapi/automattic-activity-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/wpcom/v2/sites/{wpcom_site}/activity'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/activity'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/activity/actors'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/activity/count'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/activity/count/group'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/activity/rewindable'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/activity/rewindable/count/group'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/activity/{rewind_id}'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/activity/{rewind_id}/share'].post

OpenAPI Overlay

Raw ↑
# 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 Activity API
  version: 1.0.0
extends: openapi/automattic-activity-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: 9
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's activity stream
      effect: read
      questions:
      - What has happened on my site recently?
      - Can I filter a site's activity by action type or date range?
      instructions:
      - text: List the activity on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show {action} activity on site {wpcom_site} since {after}.
        slots:
          action: query.action
          wpcom_site: path.wpcom_site
          after: query.after
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity'].post
  update:
    x-apievangelist-phrasing:
      intent: Record an action on a site
      effect: write
      questions:
      - Can I log a custom action on my site through the API?
      - What arguments does a site action need?
      instructions:
      - text: Record action {action_type} on site {wpcom_site}.
        slots:
          action_type: requestBody.action_type
          wpcom_site: path.wpcom_site
      - text: Log action {action_type} on site {wpcom_site} with arguments {args}.
        slots:
          action_type: requestBody.action_type
          wpcom_site: path.wpcom_site
          args: requestBody.args
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity/actors'].get
  update:
    x-apievangelist-phrasing:
      intent: List actors in a site's activity
      effect: read
      questions:
      - Who has been active on my site?
      - Can I get the activity actors for a date range?
      instructions:
      - text: List the actors on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show activity actors on site {wpcom_site} for {date_range}.
        slots:
          wpcom_site: path.wpcom_site
          date_range: query.date_range
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count a site's activity
      effect: read
      questions:
      - How many actions have happened on my site?
      - Can I count site activity for a single action type?
      instructions:
      - text: Count the activity on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Count {action} activity on site {wpcom_site}.
        slots:
          action: query.action
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity/count/group'].get
  update:
    x-apievangelist-phrasing:
      intent: Count a site's activity by group
      effect: read
      questions:
      - How is my site's activity grouped by action type?
      - Can I get grouped counts of site activity?
      instructions:
      - text: Count site {wpcom_site} activity grouped by {group}.
        slots:
          wpcom_site: path.wpcom_site
          group: query.group
      - text: Show grouped counts of activity on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity/rewindable'].get
  update:
    x-apievangelist-phrasing:
      intent: List rewindable changes on a site
      effect: read
      questions:
      - Which changes on my site can be undone?
      - Can I see the rewindable changes for a date range?
      instructions:
      - text: List rewindable changes on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show rewindable changes on site {wpcom_site} for {date_range}.
        slots:
          wpcom_site: path.wpcom_site
          date_range: query.date_range
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity/rewindable/count/group'].get
  update:
    x-apievangelist-phrasing:
      intent: Count rewindable changes by group
      effect: read
      questions:
      - How are the rewindable changes on my site grouped?
      - Can I get grouped counts of undoable changes?
      instructions:
      - text: Count rewindable changes on site {wpcom_site} grouped by {group}.
        slots:
          wpcom_site: path.wpcom_site
          group: query.group
      - text: Show grouped counts of undoable changes on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity/{rewind_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a rewindable change
      effect: read
      questions:
      - Can I read one undoable change on my site?
      - What does a specific rewindable change contain?
      instructions:
      - text: Get rewindable change {rewind_id} on site {wpcom_site}.
        slots:
          rewind_id: path.rewind_id
          wpcom_site: path.wpcom_site
      - text: Show undoable change {rewind_id} on site {wpcom_site}.
        slots:
          rewind_id: path.rewind_id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/activity/{rewind_id}/share'].post
  update:
    x-apievangelist-phrasing:
      intent: Share a rewindable change
      effect: write
      questions:
      - Can I email a specific undoable change to someone?
      - How do I share a rewindable change on my site?
      instructions:
      - text: Share rewindable change {rewind_id} on site {wpcom_site} with {email}.
        slots:
          rewind_id: path.rewind_id
          wpcom_site: path.wpcom_site
          email: requestBody.email
      - text: Email undoable change {rewind_id} on site {wpcom_site} to {email}.
        slots:
          rewind_id: path.rewind_id
          wpcom_site: path.wpcom_site
          email: requestBody.email
      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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/automattic-activity-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.