Skip to main content
POST
Generate an onboarding website

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Body

application/json

A prompt alone writes the site, starting from the starter it plainly asks for when there is one. A template serves that starter; with a prompt the starter is personalised, without one it is served as it is and needs no AI.

cluster_id
string<uuid>
required
target
OnboardingWebsiteTarget · object
required

starter serves the site from a stack on the cluster; repository commits it to a new GitHub repository (credential_id, owner and repository_name required) and deploys it as an application.

prompt
string

Required without a template; optional and may be blank with one.

Required string length: 3 - 2000
template
string

A starter key from GET /org/onboarding/website-templates.

theme
string

A theme key from GET /org/onboarding/website-templates.

Response

The generation is queued.

id
string<uuid>
required
state
string
required