PendiumDocs

publish_agent_page

Make an agent-site page live and ping search engines to re-crawl it.

Publish an agent-site page so it goes live at /{username}/{slug}, and ping IndexNow (Bing/Yandex) to re-crawl the newly-visible URL. Synchronous, no LLM call. The page must have finished generating its content first — publishing a page that's still generating is rejected (it would otherwise go live as an empty placeholder shell). Poll list_agent_pages until it reports generating: false, then publish.

Note: a published page is only publicly reachable if the agent site itself is public. Use set_agent_site_public to turn the whole site on.

Authentication: Required. The agent must belong to the authenticated account (owner, admin, or a group-shared member).

Parameters

ParameterTypeRequiredDescription
agentPageIdstringYesThe page to publish (from list_agent_pages).

Returns

success, the syntheticId, and the agentPageId. A page belonging to a different agent returns a generic not-found error.

On this page