Skip to main content
POST
DeployPageAPI mirrors the erdo_deploy_page MCP tool. clone_from_page_id in

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Body

application/json
clone_from_page_id
string

byte-identical server-side copy of the named page rather than content the caller supplies. It is a parameter here, not a separate endpoint/tool, for the same reason a WHERE-clause variant is a parameter: cloning is deploying a page whose content comes from another page.

css
string
dataset_slugs
string[]
html
string
js
string
kv_slugs
string[]
meta_description
string
meta_icon_asset_id
string

knowledge attachment ids (from the org's Brand Style record) the public shell renders as the browser-tab icon and the share-card image. The page itself is an iframe, so this is the only way its tab/preview can carry the customer's brand. Optional; unset falls back to Erdo's icon and card.

meta_image_asset_id
string
meta_title
string

title + description shown when the page is shared or crawled) — distinct from Title, the internal library name. Mirrors the create_html_artifact convention in backend/agent/agents/helpers.go.

public
boolean
runtime
string
title
string

required — in clone mode both must be absent. Content mode still requires them; deployPageLogic enforces it with a clear error.

writable_dataset_slugs
string[]

named-KV-store access that erdo.insertRows and erdo.kv.set need. Without them those writes 403 ("this page has no write access"). dataset_slugs is read-only; these are the write side.

writable_kv_slugs
string[]

Response

Success response

cloned_pipelines
ClonedPipelineSummary reports one lead-capture event pipeline duplicated onto · object[]
id
string
meta_description
string
meta_icon_asset_id
string

ids (favicon / share image), nil when unset.

meta_image_asset_id
string
meta_title
string

(nil when unset), so a caller can confirm what it just deployed/updated without a separate read.

notes
string[]
public
boolean
public_url
string
review
AgentArtifactReview is what an agent gets back when it asks for a review with · object

request_review. Structured rather than prose so the tool result can carry it without a second formatting layer inventing its own vocabulary.

rewrites
object
source_page_id
string

clone_from_page_id deploy: the page the copy was made from, the lead-capture pipelines duplicated onto it, every id substitution applied to the copied content, and anything the caller still has to act on.

thread_id
string
title
string
url
string

share link and is only present while the page is public. Use these values verbatim — hosts differ across prod/staging/local.

validation
ArtifactValidationResult lives in this package so both the private API layer and · object

action callers can reference it without importing the validator implementation.

warning
string

successful content deploy/update). The page exists and is usable; the calling agent should surface this to the user and retry the failing op.