Pages
Landing pages as data — indexed from your site or built from typed blocks, born sandbox, served on your project's pages host, scored by real signups.
A page is a first-class record: a document of typed blocks (hero, feature
carousel, social proof, pricing, an email-capture door) that Moab can build,
serve, and score like any other supply. Your existing site is indexed at setup
(origin: "indexed"); built pages (origin: "built") are composed from your
own harvested sections plus the seeded block kit, and go live only when you
approve them.
Create a page
Create a page — POST /api/v1/pages
curl -X POST "https://moabcrm.com/api/v1/pages" \
-H "Authorization: Bearer $DASH_API_KEY" \
-H "Project-ID: pr_zest" \
-H "Content-Type: application/json" \
-d '{"name":"Spring Launch","origin":"built","agent_id":"agent-yc-ctos","slug":"spring-launch","hypothesis":"urgency framing beats social proof","blocks":{"version":1,"root":{"props":{"seo":{"title":"Spring Launch","og_image":"auto"}}},"content":[{"type":"Hero","props":{"id":"hero-1","headline":"Ship health you can see","variant":"capture-first","capture":{"button_label":"Try for free"}}},{"type":"Footer","props":{"id":"footer-1","brand_name":"Acme"}}]}}'Build a landing page for the YC campaigndata_set {
"collection": "pages",
"object_id": "draft-001",
"data": {
"name": "Spring Launch",
"origin": "built",
"agent_id": "agent-yc-ctos",
"slug": "spring-launch",
"hypothesis": "urgency framing beats social proof",
"blocks": {
"version": 1,
"root": {
"props": {
"seo": {
"title": "Spring Launch",
"og_image": "auto"
}
}
},
"content": [
{
"type": "Hero",
"props": {
"id": "hero-1",
"headline": "Ship health you can see",
"variant": "capture-first",
"capture": {
"button_label": "Try for free"
}
}
},
{
"type": "Footer",
"props": {
"id": "footer-1",
"brand_name": "Acme"
}
}
]
}
}
}{
"object": "page",
"id": "obj_123",
"name": "Spring Launch",
"status": "live",
"slug": "spring-launch",
"origin": "built",
"source_url": "source url",
"blocks": {
"version": 1,
"root": {
"props": {
"seo": {
"title": "Spring Launch",
"og_image": "auto"
}
}
},
"content": [
{
"type": "Hero",
"props": {
"id": "hero-1",
"headline": "Ship health you can see",
"variant": "capture-first",
"capture": {
"button_label": "Try for free"
}
}
},
{
"type": "Footer",
"props": {
"id": "footer-1",
"brand_name": "Acme"
}
}
]
},
"page_url": "https://zest.pages.moabcrm.com/spring-launch",
"score": {
"total": 8,
"components": [
{
"id": "best_practices",
"kind": "best_practices",
"points": 3,
"note": "+ one-clear-cta, capture-above-fold, headline-matches-promise"
},
{
"id": "engagement",
"kind": "engagement",
"points": 5,
"note": "0 opened · 0 clicked · 1 signups"
}
]
},
"created_at": "2026-07-25T12:00:00.000Z",
"updated_at": "2026-07-25T12:00:00.000Z"
}The resources
pages— the page rows: slug, status ladder (sandbox → live → archived), theblocksdocument, lineage (template_id/variant_of/hypothesis), and the score.link_codes— the funnel evidence pages plug into: a coded visit stampsfirst_visited_at/visit_count, a capture-door signup stampsconverted_at.
Worth knowing
- Born sandbox, never self-publishing. Every built page starts
status: "sandbox"and is not publicly served; one Approve flips it live and the autohost serves it at{project}.pages.moabcrm.com/{slug}.page_urlis stamped only after the host actually serves — served truth, never a claim. - The block registry is closed.
blocksvalidates whole at the write door (page_blocks_invalidnames the first offending block); the signup door's endpoint is injected by the platform and is never a block prop. - One slug, one page —
page_slug_existsrefuses a duplicate by name. Slugs are kebab-case; audience campaign pages usefor-<audience>. - Pages never block a run. Campaign runs pick the best LIVE page as a link destination and degrade to your indexed homepage or product URL — "waiting for a page" is not a state that exists.
- The score is the same two components as content:
best_practices(graded) +engagement(server-stamped from visits ×1 · link clicks ×2 · signups ×5). A model write carryingengagementis refused.
Let the agent do it
Press Optimize pages on the Pages list (or let the daily planner run it):
plan-new-page reads the funnel evidence per campaign, decides
create / update / leave-alone, and spawns build-landing-page children —
one sandbox page awaiting your Approve at a time.
tasks_create { "project_id": "pr_zest", "skill_id": "plan-new-page", "run": true,
"prompt": "Plan this project's landing pages from the funnel evidence." }
tasks_status { "task_id": "ts_…" } // → per-campaign verdicts + spawned build childrenNext: Outbox routes clicks to your best page; Analytics shows what converted.