PendiumDocs

list_agent_pages

List every page on the brand's agent site, with each page's generation status.

List all pages on the brand's agent site, with each page's generation status. Use this to poll after generate_agent_page or generate_service_area_pages: a page with generating: true is still having its AI content filled in; generating: false means the content has landed. A page that's still generating cannot be published yet — publish_agent_page rejects it until generating: false.

Authentication: Required

Parameters

ParameterTypeRequiredDescription
syntheticIdintegerYesThe agent ID whose pages to list.

Returns

count and a pages array. Each page includes agentPageId, title, slug, status (draft / published / archived), pageType, category, and generating (whether its AI content is still being filled in).

On this page