Skip to main content
POST
Seed a session's draft with pages

Body

application/json
session
string

Editor session key. Scoped with siteId into the key the state store uses.

siteId
string

Site this session belongs to, when the orchestrator hosts more than one.

pages
object[]

PageDoc objects. Each is parsed leniently; the ones that fail validation are dropped.

overwrite
boolean

Replace pages that share a slug with a source page. Draft-only pages always survive.

Response

status is bootstrapped or skipped, with the resulting slugs and the new previewVersion.