Automattic · OpenAPI Overlay 1.0.0

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

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

$.info
$.paths['/wpcom/v2/ai/agent/{agent_id}'].post
$.paths['/wpcom/v2/ai/agent/{agent_id}/sites'].get
$.paths['/wpcom/v2/ai/bots'].get
$.paths['/wpcom/v2/ai/bots'].post
$.paths['/wpcom/v2/ai/bots/{slug}'].get
$.paths['/wpcom/v2/ai/bots/{slug}/versions'].get
$.paths['/wpcom/v2/ai/bots/{slug}/versions'].post
$.paths['/wpcom/v2/ai/bots/{slug}/versions/{version}'].get
$.paths['/wpcom/v2/ai/bots/{slug}/versions/{version}/status'].post
$.paths['/wpcom/v2/ai/chat/{bot_id}/{chat_id}'].get
$.paths['/wpcom/v2/ai/chats/{bot_ids}'].get
$.paths['/wpcom/v2/ai/chats/{bot_id}'].get
$.paths['/wpcom/v2/ai/dai/workspaces'].get
$.paths['/wpcom/v2/ai/feedback/{session_uuid}/rate'].post
$.paths['/wpcom/v2/ai/feedback/{session_uuid}/text'].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 AI API
  version: 1.0.0
extends: openapi/automattic-ai-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: 19
- target: $.paths['/wpcom/v2/ai/agent/{agent_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an AI agent
      effect: write
      questions:
      - Can I create a new AI agent for my site?
      - What do I need to set up an agent?
      instructions:
      - text: Create an AI agent {agent_id}.
        slots:
          agent_id: path.agent_id
      - text: Set up agent {agent_id} with its configuration.
        slots:
          agent_id: path.agent_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/agent/{agent_id}/sites'].get
  update:
    x-apievangelist-phrasing:
      intent: List sites an AI agent is on
      effect: read
      questions:
      - Which sites has a particular AI agent been added to?
      - Can I see every site an agent is connected to?
      instructions:
      - text: List the sites that agent {agent_id} is on.
        slots:
          agent_id: path.agent_id
      - text: Show which sites agent {agent_id} has been added to.
        slots:
          agent_id: path.agent_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/bots'].get
  update:
    x-apievangelist-phrasing:
      intent: List AI bots
      effect: read
      questions:
      - What AI bots are available?
      - Can I search bots by slug or description?
      instructions:
      - text: List all AI bots.
      - text: Find bots whose slug or description contains {search}.
        slots:
          search: query.search
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/bots'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an AI bot from YAML
      effect: write
      questions:
      - How do I create an AI bot from a YAML configuration?
      - Can I set a bot's visibility and status when creating it?
      instructions:
      - text: Create an AI bot {slug_suffix} in {product} with YAML {yaml} and status {status}.
        slots:
          slug_suffix: requestBody.slug_suffix
          product: requestBody.product
          yaml: requestBody.yaml
          status: requestBody.status
      - text: Add a new bot {slug_suffix} owned by {team} with visibility {visibility}.
        slots:
          slug_suffix: requestBody.slug_suffix
          team: requestBody.team
          visibility: requestBody.visibility
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/bots/{slug}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an AI bot's default version
      effect: read
      questions:
      - What does a specific AI bot's default version contain?
      - Can I fetch one bot's active version by slug?
      instructions:
      - text: Get the default version of bot {slug}.
        slots:
          slug: path.slug
      - text: Show the active version of bot {slug}.
        slots:
          slug: path.slug
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/bots/{slug}/versions'].get
  update:
    x-apievangelist-phrasing:
      intent: List an AI bot's versions
      effect: read
      questions:
      - Which versions exist for a given AI bot?
      - Can I include archived bot versions in the list?
      instructions:
      - text: List all versions of bot {slug}.
        slots:
          slug: path.slug
      - text: Show bot {slug} versions, including archived ones ({include_archived}).
        slots:
          slug: path.slug
          include_archived: query.include_archived
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/bots/{slug}/versions'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a new version of an AI bot
      effect: write
      questions:
      - How do I add a new version to an existing AI bot?
      - Can I describe a bot version and set its status?
      instructions:
      - text: Create version {new_version} of bot {slug} with YAML {yaml} and status {status}.
        slots:
          new_version: requestBody.new_version
          slug: path.slug
          yaml: requestBody.yaml
          status: requestBody.status
      - text: Add bot {slug} version {new_version} described as {description}.
        slots:
          slug: path.slug
          new_version: requestBody.new_version
          description: requestBody.description
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/bots/{slug}/versions/{version}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a specific AI bot version
      effect: read
      questions:
      - What does a particular version of an AI bot contain?
      - Can I fetch one bot version by its number?
      instructions:
      - text: Get version {version} of bot {slug}.
        slots:
          version: path.version
          slug: path.slug
      - text: Show the {version} configuration of bot {slug}.
        slots:
          version: path.version
          slug: path.slug
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/bots/{slug}/versions/{version}/status'].post
  update:
    x-apievangelist-phrasing:
      intent: Change a bot version's status
      effect: write
      questions:
      - How do I archive or activate a bot version?
      - Can I record a reason when changing a bot version's status?
      instructions:
      - text: Set bot {slug} version {version} status to {new_status} because {reason}.
        slots:
          slug: path.slug
          version: path.version
          new_status: requestBody.new_status
          reason: requestBody.reason
      - text: Archive bot {slug} version {version} with reason {reason}.
        slots:
          slug: path.slug
          version: path.version
          reason: requestBody.reason
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/chat/{bot_id}/{chat_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an AI chat session
      effect: read
      questions:
      - What did a specific AI chat session contain?
      - Can I include feedback ratings in an AI chat response?
      instructions:
      - text: Get chat {chat_id} with bot {bot_id}.
        slots:
          chat_id: path.chat_id
          bot_id: path.bot_id
      - text: Show chat {chat_id} for bot {bot_id} with {items_per_page} items per page.
        slots:
          chat_id: path.chat_id
          bot_id: path.bot_id
          items_per_page: query.items_per_page
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/chats/{bot_ids}'].get
  update:
    x-apievangelist-phrasing:
      intent: List AI chat sessions across bots
      effect: read
      questions:
      - Which AI chat sessions exist across several bots?
      - Can I truncate conversations to the first or last message?
      instructions:
      - text: List AI chat sessions for bots {bot_ids}.
        slots:
          bot_ids: path.bot_ids
      - text: Show chats for bots {bot_ids} truncated by {truncation_method}.
        slots:
          bot_ids: path.bot_ids
          truncation_method: query.truncation_method
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/chats/{bot_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: List AI chat sessions for one bot
      effect: read
      questions:
      - What AI chat sessions has one bot had?
      - Can I page through a single bot's chat history?
      instructions:
      - text: List AI chat sessions for bot {bot_id}.
        slots:
          bot_id: path.bot_id
      - text: Show page {page_number} of bot {bot_id}'s chats.
        slots:
          page_number: query.page_number
          bot_id: path.bot_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/dai/workspaces'].get
  update:
    x-apievangelist-phrasing:
      intent: List DALL·E AI workspaces
      effect: read
      questions:
      - Which DALL·E workspaces are available?
      - Can I see the AI workspaces for image generation?
      instructions:
      - text: List my DALL·E AI workspaces.
      - text: Show the available DALL·E workspaces.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/feedback/{session_uuid}/rate'].post
  update:
    x-apievangelist-phrasing:
      intent: Rate an AI session
      effect: write
      questions:
      - How do I rate an AI session's output?
      - Can I leave a rating for a specific message in an AI session?
      instructions:
      - text: Rate AI session {session_uuid} with {rating}.
        slots:
          session_uuid: path.session_uuid
          rating: requestBody.rating
      - text: Give session {session_uuid} a {rating} rating for message {message_id}.
        slots:
          session_uuid: path.session_uuid
          rating: requestBody.rating
          message_id: requestBody.message_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/feedback/{session_uuid}/text'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit text feedback on an AI session
      effect: write
      questions:
      - How do I give written feedback on an AI session?
      - Can I include previous messages when submitting AI feedback?
      instructions:
      - text: Submit feedback {feedback} on session {session_uuid} for message {message_id}.
        slots:
          feedback: requestBody.feedback
          session_uuid: path.session_uuid
          message_id: requestBody.message_id
      - text: Send text feedback {feedback} on session {session_uuid} from page {page_url}.
        slots:
          feedback: requestBody.feedback
          session_uuid: path.session_uuid
          page_url: requestBody.page_url
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/ai/jwt'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a JWT for an AI agent
      effect: write
      questions:
      - How do I get a JWT to authenticate an AI agent?
      - Can I get an agent token for a specific site?
      instructions:
      - text: Get an AI JWT for site {blog_id}.
        slots:
          blog_id: requestBody.blog_id
      - text: Generate a JWT for agent authentication on site {blog_id}.
        slots:
          blog_id: requestBody.blog_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{site_id}/ai/agent/{agent_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an AI agent to a site
      effect: write
      questions:
      - How do I attach an AI agent to a site?
      - Can I add an agent to a specific WordPress.com site?
      instructions:
      - text: Add agent {agent_id} to site {site_id}.
        slots:
          agent_id: path.agent_id
          site_id: path.site_id
      - text: Attach AI agent {agent_id} to site {site_id}.
        slots:
          agent_id: path.agent_id
          site_id: path.site_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/ai/asset/{jwt}/download'].get
  update:
    x-apievangelist-phrasing:
      intent: Download an AI asset from a site
      effect: read
      questions:
      - How do I download an AI asset from a site using a JWT?
      - Can I fetch a site's AI asset with a download link?
      instructions:
      - text: Download the AI asset for site {wpcom_site} using JWT {jwt}.
        slots:
          wpcom_site: path.wpcom_site
          jwt: path.jwt
      - text: Fetch site {wpcom_site}'s AI asset with download token {jwt}.
        slots:
          wpcom_site: path.wpcom_site
          jwt: path.jwt
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/ai/transcription'].post
  update:
    x-apievangelist-phrasing:
      intent: Transcribe audio on a site
      effect: write
      questions:
      - How do I transcribe an audio file on a site?
      - Can I save a transcription as a private post?
      instructions:
      - text: Transcribe audio {audio_file} on site {wpcom_site}.
        slots:
          audio_file: requestBody.audio_file
          wpcom_site: path.wpcom_site
      - text: Transcribe site {wpcom_site} audio {audio_file} with intent {intent} and save as {save_artifact}.
        slots:
          wpcom_site: path.wpcom_site
          audio_file: requestBody.audio_file
          intent: requestBody.intent
          save_artifact: requestBody.save_artifact
      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-ai-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.