Automattic Wcai Pa API

The wcai-pa API from Automattic — 6 operation(s) for wcai-pa.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/overview Get the WCAI content assistant overview · GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/overview #
Ask an LLM
“What does the WCAI content assistant see at a glance for my site?”
“Can I get a quick summary of WCAI content suggestions?”
Tell an agent
Show the WCAI content assistant overview for site {wpcom_site}.
Get the WCAI content assistant summary for {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions List WCAI content assistant suggestions · GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions #
Ask an LLM
“What content suggestions has the WCAI assistant made for my site?”
“Can I see all WCAI content assistant suggestions at once?”
Tell an agent
List WCAI content assistant suggestions for site {wpcom_site}.
Show every content suggestion WCAI made on {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions-reviewed List WCAI site suggestions reviewed · GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions-reviewed #
Ask an LLM
“What site suggestions has WCAI reviewed for my site?”
“Can I page through the reviewed WCAI suggestions on a site?”
Tell an agent
List reviewed WCAI suggestions for site {wpcom_site}.
Show {count} reviewed WCAI suggestions for site {wpcom_site}, offset {offset}.
GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions/{id} Get one WCAI content suggestion · GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions/{id} #
Ask an LLM
“What does a specific WCAI content suggestion say?”
“Can I look up one content assistant suggestion by ID?”
Tell an agent
Get WCAI content suggestion {id} for site {wpcom_site}.
Show the details of content suggestion {id} on {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions/{id} Approve or reject a WCAI content suggestion · POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions/{id} #
Ask an LLM
“How do I accept a WCAI content suggestion?”
“Can I approve only certain fields of a content suggestion?”
Tell an agent
Set WCAI content suggestion {id} on site {wpcom_site} to status {status}.
Approve fields {approved_fields} of content suggestion {id} on {wpcom_site} as {status}.
GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel Get the WCAI tone feel setting · GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel #
Ask an LLM
“What tone feel is the WCAI assistant set to for my site?”
“Can I check the current tone feel setting?”
Tell an agent
Show the WCAI tone feel setting for site {wpcom_site}.
Get the current tone feel on {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel Set the WCAI tone feel · POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel #
Ask an LLM
“How do I change the tone feel the WCAI assistant uses?”
“Can I set a specific tone feel for my site?”
Tell an agent
Set the WCAI tone feel on site {wpcom_site} to {tone}.
Change the tone feel of {wpcom_site} to {tone}.
POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel/analysis Analyze sample content for tone feel · POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel/analysis #
Ask an LLM
“How would the WCAI tone feel analyzer rate a sample of my content?”
“Can I test a sample text against the tone feel settings?”
Tell an agent
Analyze {sample_content} for tone feel on site {wpcom_site}.
Run a tone feel analysis of {sample_content} against {wpcom_site}'s settings.
GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel/analysis Get the WCAI tone feel analysis · GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel/analysis #
Ask an LLM
“What does the WCAI tone feel analysis say about my site?”
“Can I see the tone feel analysis results?”
Tell an agent
Show the WCAI tone feel analysis for site {wpcom_site}.
Get the tone feel analysis results on {wpcom_site}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/automattic:automattic-wcai-pa-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

automattic-wcai-pa-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Wcai Pa API
  version: v2
  description: Derived by API Evangelist from the WordPress.com REST API route index published at https://public-api.wordpress.com/wpcom/v2/. Paths, HTTP methods, and parameter names/types/descriptions/defaults are taken verbatim from that index. Response schemas are not published in the route index, so successful responses are described but not schematised; the error envelope was observed live on public-api.wordpress.com.
  contact:
    name: Automattic
    url: https://developer.wordpress.com/docs/api/
  x-derived-from: https://public-api.wordpress.com/wpcom/v2/
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:
- name: wcai-pa
paths:
  /wpcom/v2/sites/{wpcom_site}/wcai-pa/overview:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteWcaiPaOverview
      summary: GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/overview
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteWcaiPaSuggestions
      summary: GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions-reviewed:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteWcaiPaSuggestionsReviewed
      summary: GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions-reviewed
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: count
        in: query
        required: false
        schema:
          type: integer
          default: 20
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          default: 0
  /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions/{id}:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteWcaiPaSuggestionsbyId
      summary: GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions/{id}
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
    post:
      operationId: postWpcomV2SitesbyWpcomSiteWcaiPaSuggestionsbyId
      summary: POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/suggestions/{id}
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - approved
                  - rejected
                  - reverted
                approved_fields:
                  type: array
                  items:
                    type: object
              required:
              - status
  /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteWcaiPaToneFeel
      summary: GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
    post:
      operationId: postWpcomV2SitesbyWpcomSiteWcaiPaToneFeel
      summary: POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                tone:
                  type: object
              required:
              - tone
  /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel/analysis:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteWcaiPaToneFeelAnalysis
      summary: POST /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel/analysis
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                sample_content:
                  type: object
              required:
              - sample_content
    get:
      operationId: getWpcomV2SitesbyWpcomSiteWcaiPaToneFeelAnalysis
      summary: GET /wpcom/v2/sites/{wpcom_site}/wcai-pa/tone-feel/analysis
      tags:
      - wcai-pa
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
components:
  schemas:
    WPRestError:
      type: object
      description: WordPress REST API error envelope (observed on public-api.wordpress.com).
      properties:
        code:
          type: string
          example: rest_unauthorized
        message:
          type: string
          example: Authentication required.
        data:
          type: object
          properties:
            status:
              type: integer
              example: 401
  securitySchemes:
    oauth2:
      type: oauth2
      description: WordPress.com OAuth 2.1, per https://public-api.wordpress.com/.well-known/openid-configuration
      flows:
        authorizationCode:
          authorizationUrl: https://public-api.wordpress.com/oauth2-1/authorize
          tokenUrl: https://public-api.wordpress.com/oauth2-1/token
          refreshUrl: https://public-api.wordpress.com/oauth2-1/token
          scopes:
            global: ''
            auth: ''
            openid: ''
            profile: ''
            email: ''
            users: ''
            sites: ''
            posts: ''
            comments: ''
            taxonomy: ''
            follow: ''
            sharing: ''
            freshly-pressed: ''
            notifications: ''
            insights: ''
            read: ''
            stats: ''
            media: ''
            menus: ''
            batch: ''
            videos: ''
    bearerAuth:
      type: http
      scheme: bearer