Automattic · OpenAPI Overlay 1.0.0

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

26 actions 26 updates phrasing extends openapi/automattic-analytics-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 26 · first 16 shown; the file carries all of them

$.info
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/options/campaigns'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/options/channels'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/options/channels-sources'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/options/sources'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/bookings/by-date'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/coupons'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/coupons/by-date'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/customers/by-date'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/customers/new-returning'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/forecast-with-narrative'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/log-diagnostics'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/order-attribution-by-product/{view}/summary'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/order-attribution/{view}/compare'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/order-attribution/{view}/items'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/order-attribution/{view}/summary'].get

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 Analytics API
  version: 1.0.0
extends: openapi/automattic-analytics-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: 25
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/options/campaigns'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's analytics campaigns
      effect: read
      questions:
      - Which campaigns are tracked for my site's analytics?
      - Can I search the analytics campaigns available to a site?
      instructions:
      - text: List analytics campaigns for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Find analytics campaigns on {wpcom_site} matching {search}.
        slots:
          wpcom_site: path.wpcom_site
          search: query.search
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/options/channels'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's analytics traffic channels
      effect: read
      questions:
      - What traffic channels does my site's analytics report?
      - Can I search the analytics channels available to a site?
      instructions:
      - text: List analytics channels for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Find analytics channels on {wpcom_site} matching {search}.
        slots:
          wpcom_site: path.wpcom_site
          search: query.search
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/options/channels-sources'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's analytics channel sources
      effect: read
      questions:
      - Which sources feed each traffic channel on my site?
      - Can I search the analytics channel sources available to a site?
      instructions:
      - text: List analytics channel sources for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Find analytics channel sources on {wpcom_site} matching {search}.
        slots:
          wpcom_site: path.wpcom_site
          search: query.search
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/options/sources'].get
  update:
    x-apievangelist-phrasing:
      intent: List available source options for a site
      effect: read
      questions:
      - Which traffic sources can I break down my site's analytics by?
      - Can I find out what source options a site offers for analytics?
      instructions:
      - text: List the source options available for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show analytics source options on site {wpcom_site} matching {search}.
        slots:
          wpcom_site: path.wpcom_site
          search: query.search
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/bookings/by-date'].get
  update:
    x-apievangelist-phrasing:
      intent: Report bookings over time
      effect: read
      questions:
      - How many bookings did my site get each day over a period?
      - Can I report bookings by date for a site?
      instructions:
      - text: Report bookings for site {wpcom_site} from {from} to {to} by {interval}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Show {date_type} bookings for {wpcom_site} between {from} and {to} by {interval}.
        slots:
          date_type: query.date_type
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/coupons'].get
  update:
    x-apievangelist-phrasing:
      intent: Report coupon usage over time
      effect: read
      questions:
      - How many coupons were used on my site over a period?
      - Can I report coupon usage by date for a site?
      instructions:
      - text: Report coupons for site {wpcom_site} from {from} to {to}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      - text: Show {date_type} coupon usage for {wpcom_site} between {from} and {to}.
        slots:
          date_type: query.date_type
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/coupons/by-date'].get
  update:
    x-apievangelist-phrasing:
      intent: Report coupon redemptions over time
      effect: read
      questions:
      - How many coupons did my site redeem each day or week?
      - Can I see coupon redemption trends on my site for a date range?
      instructions:
      - text: Report daily coupon redemption totals on site {wpcom_site} from {from} to {to} by {interval}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Show total coupons redeemed by {date_type} on site {wpcom_site} between {from} and {to} at {interval} intervals.
        slots:
          date_type: query.date_type
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/customers/by-date'].get
  update:
    x-apievangelist-phrasing:
      intent: Report new and returning customers over time
      effect: read
      questions:
      - How many new and returning customers did my site get each day?
      - Can I report customer growth by date for a site?
      instructions:
      - text: Report new and returning customers for site {wpcom_site} from {from} to {to} by {interval}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Show {date_type} customer growth for {wpcom_site} by {interval} between {from} and {to}.
        slots:
          date_type: query.date_type
          wpcom_site: path.wpcom_site
          interval: query.interval
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/customers/new-returning'].get
  update:
    x-apievangelist-phrasing:
      intent: Report new vs returning customers
      effect: read
      questions:
      - How many of my site's customers are new versus returning?
      - Can I compare new and returning customers for a site?
      instructions:
      - text: Report new versus returning customers for site {wpcom_site} from {from} to {to}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      - text: Compare new and returning customers on {wpcom_site} between {from} and {to}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/forecast-with-narrative'].post
  update:
    x-apievangelist-phrasing:
      intent: Forecast sales with a narrative
      effect: read
      questions:
      - Can I get a narrative forecast of my site's sales?
      - What does a sales forecast look like for a product on my site?
      instructions:
      - text: Forecast sales for product {product_id} on site {wpcom_site} from {from} to {to} over {prediction_periods} periods at {prediction_granularity}.
        slots:
          product_id: requestBody.product_id
          wpcom_site: path.wpcom_site
          from: requestBody.from
          to: requestBody.to
          prediction_periods: requestBody.prediction_periods
          prediction_granularity: requestBody.prediction_granularity
      - text: Narrate a forecast for {product_id} on {wpcom_site} from {from} to {to} over {prediction_periods} periods at {prediction_granularity}.
        slots:
          product_id: requestBody.product_id
          wpcom_site: path.wpcom_site
          from: requestBody.from
          to: requestBody.to
          prediction_periods: requestBody.prediction_periods
          prediction_granularity: requestBody.prediction_granularity
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/log-diagnostics'].post
  update:
    x-apievangelist-phrasing:
      intent: Log analytics diagnostics
      effect: write
      questions:
      - Can I send analytics diagnostics for a scan to my site?
      - What evidence can I log for a site's analytics scan?
      instructions:
      - text: Log analytics diagnostics for scan {scan_id} on site {wpcom_site} with evidence {local_evidence}.
        slots:
          scan_id: requestBody.scan_id
          wpcom_site: path.wpcom_site
          local_evidence: requestBody.local_evidence
      - text: Record scan {scan_id} diagnostics for {wpcom_site} using {local_evidence}.
        slots:
          scan_id: requestBody.scan_id
          wpcom_site: path.wpcom_site
          local_evidence: requestBody.local_evidence
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/order-attribution-by-product/{view}/summary'].get
  update:
    x-apievangelist-phrasing:
      intent: Summarize order attribution by product
      effect: read
      questions:
      - Which products drove the most orders attributing to the chosen view?
      - Can I get a quick summary of order attribution by product for a view?
      instructions:
      - text: Summarize order attribution by product on site {wpcom_site} for view {view} from {from} to {to}, {interval}.
        slots:
          wpcom_site: path.wpcom_site
          view: path.view
          from: query.from
          to: query.to
          interval: query.interval
      - text: Give me a total order-attribution-by-product summary for view {view} on site {wpcom_site} in {interval} intervals.
        slots:
          view: path.view
          wpcom_site: path.wpcom_site
          interval: query.interval
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/order-attribution/{view}/compare'].get
  update:
    x-apievangelist-phrasing:
      intent: Compare order attribution by view
      effect: read
      questions:
      - What did order attribution look like for a product in the previous period compared to this one?
      - Can I compare a single item's order attribution across views?
      instructions:
      - text: Compare order attribution for item {item} on site {wpcom_site} from {from} to {to} at {interval} intervals.
        slots:
          item: query.item
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Compare order attribution in view {view} for item {item} on site {wpcom_site} over {interval}, {from} to {to}.
        slots:
          view: path.view
          item: query.item
          wpcom_site: path.wpcom_site
          interval: query.interval
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/order-attribution/{view}/items'].get
  update:
    x-apievangelist-phrasing:
      intent: List order attribution items for a view
      effect: read
      questions:
      - Which items account for the most order attribution in a view on my site?
      - Can I page through and sort the order attribution items for a view?
      instructions:
      - text: List order attribution items in view {view} on site {wpcom_site} from {from} to {to}, filtered by {date_type}.
        slots:
          wpcom_site: path.wpcom_site
          view: path.view
          from: query.from
          to: query.to
          date_type: query.date_type
      - text: Show the first {limit} order attribution items in view {view} on site {wpcom_site} between {from} and {to}, sorted by {orderby}.
        slots:
          limit: query.limit
          view: path.view
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          orderby: query.orderby
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/order-attribution/{view}/summary'].get
  update:
    x-apievangelist-phrasing:
      intent: Compare order attribution totals across two periods
      effect: read
      questions:
      - How did order attribution in a view change between this period and an earlier one?
      - Can I see order attribution totals for two date ranges side by side, charted by interval?
      instructions:
      - text: Compare order attribution totals in view {view} on site {wpcom_site} for {from} to {to} against {compare_from} to {compare_to}, graphed by {interval}.
        slots:
          view: path.view
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          compare_from: query.compare_from
          compare_to: query.compare_to
          interval: query.interval
      - text: Show the period-over-period order attribution trend in view {view} on {wpcom_site}, {from} to {to} versus {compare_from} to {compare_to}, per {interval}, by {date_type}.
        slots:
          view: path.view
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          compare_from: query.compare_from
          compare_to: query.compare_to
          interval: query.interval
          date_type: query.date_type
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/orders-by-product-type/by-date'].get
  update:
    x-apievangelist-phrasing:
      intent: Report orders by product type over time
      effect: read
      questions:
      - How many orders did each product type get each day?
      - Can I report orders by product type for a site?
      instructions:
      - text: Report orders by product type for site {wpcom_site} from {from} to {to} by {interval}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Show {date_type} orders by product type for {wpcom_site} by {interval} between {from} and {to}.
        slots:
          date_type: query.date_type
          wpcom_site: path.wpcom_site
          interval: query.interval
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/orders/by-date'].get
  update:
    x-apievangelist-phrasing:
      intent: Report orders over time
      effect: read
      questions:
      - How many orders did my site get each day?
      - Can I report orders by date for a site?
      instructions:
      - text: Report orders for site {wpcom_site} from {from} to {to} by {interval}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Show {date_type} orders for {wpcom_site} by {interval} between {from} and {to}.
        slots:
          date_type: query.date_type
          wpcom_site: path.wpcom_site
          interval: query.interval
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/products'].get
  update:
    x-apievangelist-phrasing:
      intent: Report product performance over time
      effect: read
      questions:
      - Which products sold the most on my site over a period?
      - Can I report product performance by date for a site?
      instructions:
      - text: Report product performance for site {wpcom_site} from {from} to {to}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      - text: Show {date_type} product performance for {wpcom_site} between {from} and {to}.
        slots:
          date_type: query.date_type
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/segment-narrative'].post
  update:
    x-apievangelist-phrasing:
      intent: Summarize a customer segment with a narrative
      effect: read
      questions:
      - Can I get a narrative summary of a customer segment?
      - What does a segment narrative look like for a site?
      instructions:
      - text: Summarize segments {segments} on site {wpcom_site} with a narrative.
        slots:
          segments: requestBody.segments
          wpcom_site: path.wpcom_site
      - text: Narrate customer segment {segments} for {wpcom_site} using cohort {cohort}.
        slots:
          segments: requestBody.segments
          wpcom_site: path.wpcom_site
          cohort: requestBody.cohort
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/sessions/by-conversion-rate'].get
  update:
    x-apievangelist-phrasing:
      intent: Report session conversion rate over time
      effect: read
      questions:
      - How has my site's session-to-conversion rate changed over time?
      - What conversion rate trend can I see for sessions on my site?
      instructions:
      - text: Report the conversion rate per session on site {wpcom_site} from {from} to {to} by {interval}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Show the session conversion rate trend from {from} to {to} at {interval} on site {wpcom_site}.
        slots:
          from: query.from
          to: query.to
          interval: query.interval
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/sessions/by-date'].get
  update:
    x-apievangelist-phrasing:
      intent: Report daily site sessions
      effect: read
      questions:
      - How many sessions did my site get each day over a date range?
      - Can I break down daily site sessions by interval?
      instructions:
      - text: Report daily sessions for site {wpcom_site} from {from} to {to} by {interval}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Show daily session totals for site {wpcom_site} between {from} and {to}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/sessions/by-device'].get
  update:
    x-apievangelist-phrasing:
      intent: Report sessions by device type
      effect: read
      questions:
      - Which devices are my visitors using to view my site?
      - Can I see daily session counts split by desktop, mobile and tablet?
      instructions:
      - text: Report sessions for site {wpcom_site} from {from} to {to} by device.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      - text: Show daily device breakdown of site {wpcom_site} sessions between {from} and {to}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/sessions/by-location'].get
  update:
    x-apievangelist-phrasing:
      intent: Report sessions by country or region
      effect: read
      questions:
      - How many sessions came from each country on my site?
      - Can I break session geography down by region within a country?
      instructions:
      - text: Report session counts by {group_by} for site {wpcom_site} from {from} to {to}.
        slots:
          group_by: query.group_by
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      - text: Show sessions by country {country_code} on site {wpcom_site} between {from} and {to}, grouped {group_by}.
        slots:
          country_code: query.country_code
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          group_by: query.group_by
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/taxes/breakdown'].get
  update:
    x-apievangelist-phrasing:
      intent: Break down site taxes
      effect: read
      questions:
      - How much tax has my site collected broken down by tax type?
      - Can I sort the tax breakdown by a field?
      instructions:
      - text: Break down taxes for site {wpcom_site} from {from} to {to}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      - text: Show tax breakdown for site {wpcom_site} between {from} and {to}, sorted by {orderby}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          orderby: query.orderby
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/analytics/reports/taxes/by-date'].get
  update:
    x-apievangelist-phrasing:
      intent: Report site taxes over time
      effect: read
      questions:
      - How has my site's collected tax changed day by day?
      - Can I group site tax totals by week or month?
      instructions:
      - text: Report taxes for site {wpcom_site} from {from} to {to} by {interval}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
          interval: query.interval
      - text: Show daily tax totals for site {wpcom_site} between {from} and {to}.
        slots:
          wpcom_site: path.wpcom_site
          from: query.from
          to: query.to
      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-analytics-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.