PendiumDocs

create_agent_page

Create a page on the brand's agent site by providing the content yourself — no LLM call.

Create a new page on the brand's Pendium-hosted agent site (served at /{username}) by providing the content yourself. No LLM call, no credits. Pass body as markdown — it's wrapped in a hero (headline = title) plus a single section. To have AI write the content instead, use generate_agent_page.

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

Page types

  • custom (default): a branded page whose slug is derived from the title (auto-suffixed -2, -3 on collision).
  • profile / faq: the brand's typed profile or FAQ page. Only one of each per agent — if it already exists this returns an error pointing you to update_agent_page. The reserved slug (profile / faq) is used automatically.

Parameters

ParameterTypeRequiredDescription
syntheticIdintegerYesThe agent ID to add the page to.
type"custom" | "profile" | "faq"NoPage type. Defaults to custom.
titlestring (1–300)YesPage title. Also drives the URL slug for custom pages.
bodystring (1–100000)YesPage body as markdown. Wrapped in a hero + single section by the renderer.
status"draft" | "published"NoPublication status. Defaults to draft.
metaDescriptionstring (≤500)NoShort SEO meta description.

Returns

success, the syntheticId, the new agentPageId, plus the type, title, slug, and status. A published page is only publicly reachable if the agent site itself is public — see set_agent_site_public.

On this page