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,-3on 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 toupdate_agent_page. The reserved slug (profile/faq) is used automatically.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
syntheticId | integer | Yes | The agent ID to add the page to. |
type | "custom" | "profile" | "faq" | No | Page type. Defaults to custom. |
title | string (1–300) | Yes | Page title. Also drives the URL slug for custom pages. |
body | string (1–100000) | Yes | Page body as markdown. Wrapped in a hero + single section by the renderer. |
status | "draft" | "published" | No | Publication status. Defaults to draft. |
metaDescription | string (≤500) | No | Short 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.