One turn of designing the site by conversation
post/hosting/sites/{id}/design/turn
One turn of designing the site by conversation: describe it, answer the (at most two) questions, refine the plan, approve it to build the pages, then refine at site, page or block scope. Changes go through the patch API, so locks, undo and approval of changes to live pages hold.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Mcp
rivier_site_design_turn- Graphql
Mutation.hostingDesignTurn- Sdk
hosting.design.turn- Cli
hosting design turn
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- messagestringAt most 4000 characters.
- answersobject
- scopeobject
- approvePlanboolean
- turnIdstringAt most 80 characters.
- dryRunboolean
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring