Skip to main content
POST
Edit a tent

Authorizations

Authorization
string
header
required

Workspace API key, e.g. Authorization: Bearer tented_.... Create keys in Workspace Settings β†’ API Keys.

Path Parameters

tentId
string<uuid>
required

Tent ID.

Body

application/json
prompt
string
required

Describes the change to make.

Minimum string length: 1
include_brand
boolean

Pull workspace brand context into the edit.

auto_publish
boolean

Publish this generation automatically after success.

custom_page_alias
string

Custom published alias: max 100 characters; lowercase letters, numbers, hyphens, underscores, and dots; must start with a letter or number; must not be a UUID or a reserved word (api, admin, submit, assets, …). Use / to publish at the domain root. Requires auto_publish: true.

Maximum string length: 100
token_data
object

Structured personalization data made available to the generation as tokens.

input_data
object
deprecated

Deprecated alias of token_data.

asset_ids
string[]

Up to 5 asset IDs already attached to this tent.

Maximum array length: 5

Response

Edit accepted and queued.

id
string<uuid>
required

Tent ID.

generation_id
string
required

New generation ID.

status
string
required

Always pending on acceptance.

updated_at
string<date-time>
required

Update time.