Automattic Wp Abilities API

The wp-abilities API from Automattic — 5 operation(s) for wp-abilities.

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 /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities List a site's abilities · GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities #
Ask an LLM
“What abilities does a WordPress.com site have available?”
“Can I list only the abilities in one category?”
Tell an agent
List the abilities of site {wpcom_site}.
Show abilities in category {category} for site {wpcom_site}.
GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name} Get one ability · GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name} #
Ask an LLM
“What does a specific ability on my site do?”
“Can I look up a single ability by name?”
Tell an agent
Get ability {name} on site {wpcom_site}.
Show the description of ability {name} for site {wpcom_site}.
GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run Preview running an ability · GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run #
Ask an LLM
“Can I preview what an ability would return before running it?”
“What does a dry-run of an ability show?”
Tell an agent
Preview running ability {name} on site {wpcom_site}.
Dry-run ability {name} for site {wpcom_site} with input {input}.
POST /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run Run an ability (POST) · POST /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run #
Ask an LLM
“Can I pass input to an ability when I run it?”
“What does a POST request to an ability return?”
Tell an agent
Run ability {name} on site {wpcom_site} with input {input}.
Execute ability {name} for site {wpcom_site} and return the result.
PUT /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run Run an ability (PUT) · PUT /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run #
Ask an LLM
“Can I run an ability with a PUT request?”
“Is there a PUT method for executing an ability?”
Tell an agent
Run ability {name} on site {wpcom_site} with PUT.
Execute ability {name} for site {wpcom_site} using the PUT method.
PATCH /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run Update an ability run · PATCH /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run #
Ask an LLM
“Can I change an ability run after it started?”
“Is there a PATCH for an ability run?”
Tell an agent
Update the running ability {name} on site {wpcom_site}.
Patch the in-progress ability run {name} for site {wpcom_site}.
DELETE /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run Cancel an ability run · DELETE /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run #
Ask an LLM
“Can I cancel an ability that is still running?”
“What happens when I delete an ability run?”
Tell an agent destructive · confirm first
Cancel the running ability {name} on site {wpcom_site}.
Delete the in-progress ability run {name} for site {wpcom_site}.
GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/categories List ability categories · GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/categories #
Ask an LLM
“What ability categories exist on my site?”
“Can I page through ability categories?”
Tell an agent
List ability categories for site {wpcom_site}.
Show the first {per_page} ability categories of site {wpcom_site}.
GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/categories/{slug} Get a WP Abilities category · GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/categories/{slug} #
Ask an LLM
“What does one WP Abilities category on a site contain?”
“Can I look up a site's ability category by slug?”
Tell an agent
Get the WP Abilities category {slug} on site {wpcom_site}.
Show ability category {slug} for site {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-wp-abilities-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-wp-abilities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wp/v2 namespace Wp Abilities API
  version: v2
  description: Derived by API Evangelist from the WordPress.com REST API route index published at https://public-api.wordpress.com/wp/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/wp/v2/
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:
- name: wp-abilities
paths:
  /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities:
    get:
      operationId: getWpV2SitesbyWpcomSiteWpAbilitiesV1Abilities
      summary: GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities
      tags:
      - wp-abilities
      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: context
        in: query
        required: false
        schema:
          type: string
          enum:
          - view
          - embed
          - edit
          default: view
        description: Scope under which the request is made; determines fields present in response.
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
        description: Current page of the collection.
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          default: 50
        description: Maximum number of items to be returned in result set.
      - name: category
        in: query
        required: false
        schema:
          type: string
        description: Limit results to abilities in specific ability category.
  /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}:
    get:
      operationId: getWpV2SitesbyWpcomSiteWpAbilitiesV1AbilitiesbyName
      summary: GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}
      tags:
      - wp-abilities
      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: name
        in: path
        required: true
        schema:
          type: string
  /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run:
    get:
      operationId: getWpV2SitesbyWpcomSiteWpAbilitiesV1AbilitiesbyNameRun
      summary: GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run
      tags:
      - wp-abilities
      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: name
        in: path
        required: true
        schema:
          type: string
      - name: input
        in: query
        required: false
        schema:
          type: string
        description: Input parameters for the ability execution.
    post:
      operationId: postWpV2SitesbyWpcomSiteWpAbilitiesV1AbilitiesbyNameRun
      summary: POST /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run
      tags:
      - wp-abilities
      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: name
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                input:
                  type: string
                  description: Input parameters for the ability execution.
    put:
      operationId: putWpV2SitesbyWpcomSiteWpAbilitiesV1AbilitiesbyNameRun
      summary: PUT /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run
      tags:
      - wp-abilities
      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: name
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                input:
                  type: string
                  description: Input parameters for the ability execution.
    patch:
      operationId: patchWpV2SitesbyWpcomSiteWpAbilitiesV1AbilitiesbyNameRun
      summary: PATCH /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run
      tags:
      - wp-abilities
      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: name
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                input:
                  type: string
                  description: Input parameters for the ability execution.
    delete:
      operationId: deleteWpV2SitesbyWpcomSiteWpAbilitiesV1AbilitiesbyNameRun
      summary: DELETE /wp/v2/sites/{wpcom_site}/wp-abilities/v1/abilities/{name}/run
      tags:
      - wp-abilities
      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: name
        in: path
        required: true
        schema:
          type: string
      - name: input
        in: query
        required: false
        schema:
          type: string
        description: Input parameters for the ability execution.
  /wp/v2/sites/{wpcom_site}/wp-abilities/v1/categories:
    get:
      operationId: getWpV2SitesbyWpcomSiteWpAbilitiesV1Categories
      summary: GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/categories
      tags:
      - wp-abilities
      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: context
        in: query
        required: false
        schema:
          type: string
          enum:
          - view
          - embed
          - edit
          default: view
        description: Scope under which the request is made; determines fields present in response.
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
        description: Current page of the collection.
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          default: 50
        description: Maximum number of items to be returned in result set.
  /wp/v2/sites/{wpcom_site}/wp-abilities/v1/categories/{slug}:
    get:
      operationId: getWpV2SitesbyWpcomSiteWpAbilitiesV1CategoriesbySlug
      summary: GET /wp/v2/sites/{wpcom_site}/wp-abilities/v1/categories/{slug}
      tags:
      - wp-abilities
      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: slug
        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