List pages ability
The site's pages this account can edit, newest change first: id, title, status, address, whether it is built with Kindly Edit and whether it has an unpublished draft. Use a page's id with get-page.
What it does#
The site's pages this account can edit, newest change first: id, title, status, address, whether it is built with Kindly Edit and whether it has an unpublished draft. Use a page's id with get-page.
Access and execution#
This WordPress Ability runs as the authenticated caller. Site AI access, relevant content permissions, and feature-specific code or design gates still apply. See Automation access for authentication and transport setup. Discover the ability through the installed WordPress Abilities interface rather than guessing a different REST path.
Input schema#
{
"type": "object",
"properties": {
"search": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"any",
"publish",
"draft",
"private",
"pending",
"future"
],
"default": "any"
},
"parent": {
"type": "integer"
},
"built_only": {
"type": "boolean",
"default": false
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
},
"offset": {
"type": "integer",
"minimum": 0,
"default": 0
}
},
"additionalProperties": false
}
Output schema#
{
"type": "object",
"properties": {
"pages": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer"
}
}
}
Integration behavior#
Required fields and additionalProperties restrictions are part of the contract. Preserve returned revision tokens as opaque values. If a write reports a conflict, fetch the current source and reconcile before retrying. Draft and publication are separate operations unless this ability explicitly publishes. A successful schema match does not bypass content validation.
Errors use WordPress error responses; inspect their code, message, and status rather than assuming every non-success is retryable. Do not include credentials in diagnostic logs.