Automattic · OpenAPI Overlay 1.0.0

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

9 actions 9 updates phrasing extends openapi/automattic-segmentation-survey-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 9

$.info
$.paths['/wpcom/v2/segmentation-survey/answer'].put
$.paths['/wpcom/v2/segmentation-survey/answer'].post
$.paths['/wpcom/v2/segmentation-survey/answer'].patch
$.paths['/wpcom/v2/segmentation-survey/answers'].get
$.paths['/wpcom/v2/segmentation-survey/answers/link'].put
$.paths['/wpcom/v2/segmentation-survey/answers/link'].post
$.paths['/wpcom/v2/segmentation-survey/answers/link'].patch
$.paths['/wpcom/v2/segmentation-survey/{survey_key}'].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 Segmentation…
  version: 1.0.0
extends: openapi/automattic-segmentation-survey-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: 8
- target: $.paths['/wpcom/v2/segmentation-survey/answer'].put
  update:
    x-apievangelist-phrasing:
      intent: Answer a segmentation survey question
      effect: write
      questions:
      - How do I record a reader's answers to a segmentation survey question?
      - Can I answer one question on a survey in a single call?
      instructions:
      - text: Answer {question_key} on survey {survey_key} with {answers}.
        slots:
          question_key: requestBody.question_key
          survey_key: requestBody.survey_key
          answers: requestBody.answers
      - text: Record segmentation survey {survey_key} answers {answers} for question {question_key}.
        slots:
          survey_key: requestBody.survey_key
          answers: requestBody.answers
          question_key: requestBody.question_key
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/segmentation-survey/answer'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit a segmentation survey answer
      effect: write
      questions:
      - How do I submit a reader's answers to a segmentation survey?
      - Can I post answers to a survey question for a blog?
      instructions:
      - text: Submit answers {answers} to question {question_key} on survey {survey_key}.
        slots:
          answers: requestBody.answers
          question_key: requestBody.question_key
          survey_key: requestBody.survey_key
      - text: Post segmentation survey {survey_key} answers {answers} for blog {blog_id}.
        slots:
          survey_key: requestBody.survey_key
          answers: requestBody.answers
          blog_id: requestBody.blog_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/segmentation-survey/answer'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a segmentation survey answer
      effect: write
      questions:
      - Can I change a reader's answer to a segmentation survey question?
      - How do I edit an existing survey answer?
      instructions:
      - text: Update answer {answers} to question {question_key} on survey {survey_key}.
        slots:
          answers: requestBody.answers
          question_key: requestBody.question_key
          survey_key: requestBody.survey_key
      - text: Patch existing segmentation survey {survey_key} answers {answers} for blog {blog_id}.
        slots:
          survey_key: requestBody.survey_key
          answers: requestBody.answers
          blog_id: requestBody.blog_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/segmentation-survey/answers'].get
  update:
    x-apievangelist-phrasing:
      intent: List answers to a segmentation survey
      effect: read
      questions:
      - What answers have been given to a segmentation survey?
      - Can I see all answers for one survey?
      instructions:
      - text: List answers to segmentation survey {survey_key}.
        slots:
          survey_key: query.survey_key
      - text: Show every answer given on survey {survey_key}.
        slots:
          survey_key: query.survey_key
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/segmentation-survey/answers/link'].put
  update:
    x-apievangelist-phrasing:
      intent: Link a survey to a blog's answers
      effect: write
      questions:
      - How do I attach a segmentation survey to a blog's answers?
      - Can I link a survey to a blog in one call?
      instructions:
      - text: Link survey {survey_key} to answers for blog {blog_id}.
        slots:
          survey_key: requestBody.survey_key
          blog_id: requestBody.blog_id
      - text: Attach segmentation survey {survey_key} to blog {blog_id}'s answers.
        slots:
          survey_key: requestBody.survey_key
          blog_id: requestBody.blog_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/segmentation-survey/answers/link'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a survey answers link
      effect: write
      questions:
      - How do I create a link between a survey and a blog's answers?
      - Can I add a new answers link for a survey?
      instructions:
      - text: Create an answers link for survey {survey_key} on blog {blog_id}.
        slots:
          survey_key: requestBody.survey_key
          blog_id: requestBody.blog_id
      - text: Add a new answers link to survey {survey_key} for blog {blog_id}.
        slots:
          survey_key: requestBody.survey_key
          blog_id: requestBody.blog_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/segmentation-survey/answers/link'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a survey answers link
      effect: write
      questions:
      - Can I change an existing survey answers link?
      - How do I edit a survey-to-blog answers link?
      instructions:
      - text: Update the answers link for survey {survey_key} on blog {blog_id}.
        slots:
          survey_key: requestBody.survey_key
          blog_id: requestBody.blog_id
      - text: Patch existing answers link on survey {survey_key} for blog {blog_id}.
        slots:
          survey_key: requestBody.survey_key
          blog_id: requestBody.blog_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/segmentation-survey/{survey_key}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a segmentation survey
      effect: read
      questions:
      - What questions does a segmentation survey ask?
      - Can I fetch a survey by its key?
      instructions:
      - text: Get segmentation survey {survey_key}.
        slots:
          survey_key: path.survey_key
      - text: Show the questions in survey {survey_key}.
        slots:
          survey_key: path.survey_key
      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-segmentation-survey-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.