Automattic · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for WordPress.com REST API — wp/v2 namespace Knowledge API
15 actions
15 updates
phrasing
extends
openapi/automattic-knowledge-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.
What the actions change
x-apievangelist-phrasing
Targets 15
$.info
$.paths['/wp/v2/sites/{wpcom_site}/knowledge'].get
$.paths['/wp/v2/sites/{wpcom_site}/knowledge'].post
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/guideline-scopes'].get
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].put
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].post
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].delete
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].patch
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}/autosaves'].get
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}/autosaves'].post
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{parent}/autosaves/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{parent}/revisions'].get
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{parent}/revisions/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/knowledge/{parent}/revisions/{id}'].delete
OpenAPI Overlay
# 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 — wp/v2 namespace Knowledge API
version: 1.0.0
extends: openapi/automattic-knowledge-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: 14
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge'].get
update:
x-apievangelist-phrasing:
intent: List knowledge articles on a site
effect: read
questions:
- How do I list the knowledge articles on a WordPress.com site?
- Can I search a site's knowledge articles by keyword?
instructions:
- text: List knowledge articles on site {wpcom_site}.
slots:
wpcom_site: path.wpcom_site
- text: Find knowledge articles on {wpcom_site} matching {search}.
slots:
wpcom_site: path.wpcom_site
search: query.search
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge'].post
update:
x-apievangelist-phrasing:
intent: Create a knowledge article
effect: write
questions:
- How do I add a new knowledge article to a site?
- Can I set the knowledge type when creating a knowledge article?
instructions:
- text: Create a knowledge article on {wpcom_site} titled {title}.
slots:
wpcom_site: path.wpcom_site
title: requestBody.title
- text: Add a {wp_knowledge_type} knowledge article {title} to site {wpcom_site}.
slots:
wp_knowledge_type: requestBody.wp_knowledge_type
title: requestBody.title
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/guideline-scopes'].get
update:
x-apievangelist-phrasing:
intent: List knowledge guideline scopes
effect: read
questions:
- What guideline scopes exist for a site's knowledge articles?
- Which knowledge guideline scopes can I assign to articles?
instructions:
- text: List knowledge guideline scopes for site {wpcom_site}.
slots:
wpcom_site: path.wpcom_site
- text: Show the knowledge guideline scopes available on {wpcom_site}.
slots:
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a knowledge article
effect: read
questions:
- How do I read one knowledge article by ID?
- Can I fetch a knowledge article with its excerpt?
instructions:
- text: Get knowledge article {id} on site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Show knowledge article {id} from {wpcom_site} with excerpt length {excerpt_length}.
slots:
id: path.id
wpcom_site: path.wpcom_site
excerpt_length: query.excerpt_length
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].put
update:
x-apievangelist-phrasing:
intent: Replace a knowledge article
effect: write
questions:
- How do I overwrite a knowledge article's content?
- Can I change the knowledge type of an existing article?
instructions:
- text: Replace knowledge article {id} on {wpcom_site} with {title}.
slots:
id: path.id
wpcom_site: path.wpcom_site
title: requestBody.title
- text: Overwrite knowledge article {id} on {wpcom_site} as type {wp_knowledge_type}.
slots:
id: path.id
wpcom_site: path.wpcom_site
wp_knowledge_type: requestBody.wp_knowledge_type
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].post
update:
x-apievangelist-phrasing:
intent: Replace a knowledge article by ID
effect: write
questions:
- Is there a POST method to replace a knowledge article by its ID?
- Can I POST a full knowledge article replacement by ID?
instructions:
- text: POST a full replacement of knowledge article {id} on {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: POST knowledge article {id} on {wpcom_site} with title {title} and content {content}.
slots:
id: path.id
wpcom_site: path.wpcom_site
title: requestBody.title
content: requestBody.content
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a knowledge article
effect: destructive
questions:
- How do I delete a knowledge article from a site?
- Can I force-delete a knowledge article instead of trashing it?
instructions:
- text: Delete knowledge article {id} from site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Force-delete knowledge article {id} on {wpcom_site} with force {force}.
slots:
id: path.id
wpcom_site: path.wpcom_site
force: query.force
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a knowledge article
effect: write
questions:
- How do I change the status of a knowledge article?
- Can I edit just the excerpt of an existing knowledge article?
instructions:
- text: Set the status of knowledge article {id} on {wpcom_site} to {status}.
slots:
id: path.id
wpcom_site: path.wpcom_site
status: requestBody.status
- text: Update the excerpt of knowledge article {id} on {wpcom_site} to {excerpt}.
slots:
id: path.id
wpcom_site: path.wpcom_site
excerpt: requestBody.excerpt
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}/autosaves'].get
update:
x-apievangelist-phrasing:
intent: List autosaves of a knowledge article
effect: read
questions:
- What autosaves exist for a knowledge article?
- Can I list only the autosaves of one article?
instructions:
- text: List autosaves of knowledge article {id} on site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Show autosaves of knowledge article {id} on {wpcom_site} under parent {parent}.
slots:
id: path.id
wpcom_site: path.wpcom_site
parent: query.parent
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{id}/autosaves'].post
update:
x-apievangelist-phrasing:
intent: Save an autosave of a knowledge article
effect: write
questions:
- How do I save an autosave of a knowledge article?
- Can I create a new autosave of an article by its parent ID?
instructions:
- text: Save an autosave of knowledge article {id} on {wpcom_site} with title {title}.
slots:
id: path.id
wpcom_site: path.wpcom_site
title: requestBody.title
- text: Create a new autosave of knowledge article {id} on {wpcom_site} under parent {parent}.
slots:
id: path.id
wpcom_site: path.wpcom_site
parent: requestBody.parent
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{parent}/autosaves/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get one autosave of a knowledge article
effect: read
questions:
- How do I read a single autosave of a knowledge article?
- Can I fetch an autosave by its ID?
instructions:
- text: Get autosave {id} of knowledge article {parent} on {wpcom_site}.
slots:
id: path.id
parent: path.parent
wpcom_site: path.wpcom_site
- text: Show autosave {id} of knowledge article {parent} on {wpcom_site} with context {context}.
slots:
id: path.id
parent: path.parent
wpcom_site: path.wpcom_site
context: query.context
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{parent}/revisions'].get
update:
x-apievangelist-phrasing:
intent: List revisions of a knowledge article
effect: read
questions:
- What revisions exist for a knowledge article?
- Can I list revisions of an article by page?
instructions:
- text: List revisions of knowledge article {parent} on site {wpcom_site}.
slots:
parent: path.parent
wpcom_site: path.wpcom_site
- text: Show page {page} of revisions for knowledge article {parent} on {wpcom_site}.
slots:
page: query.page
parent: path.parent
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{parent}/revisions/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get one revision of a knowledge article
effect: read
questions:
- How do I read a single revision of a knowledge article?
- Can I fetch a knowledge article revision by ID?
instructions:
- text: Get revision {id} of knowledge article {parent} on {wpcom_site}.
slots:
id: path.id
parent: path.parent
wpcom_site: path.wpcom_site
- text: Show knowledge article {parent} revision {id} on {wpcom_site} with context {context}.
slots:
parent: path.parent
id: path.id
wpcom_site: path.wpcom_site
context: query.context
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/knowledge/{parent}/revisions/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Permanently delete a knowledge article revision
effect: destructive
questions:
- Can I delete an outdated revision of a knowledge article?
- Does deleting a knowledge revision support trashing?
instructions:
- text: Permanently delete revision {id} of knowledge article {parent} on site {wpcom_site}.
slots:
id: path.id
parent: path.parent
wpcom_site: path.wpcom_site
- text: Delete knowledge revision {id} of {parent} on {wpcom_site}, force {force}.
slots:
id: path.id
parent: path.parent
wpcom_site: path.wpcom_site
force: query.force
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/automattic-knowledge-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.