Skip to main content
GET
Read a shared stack draft

Authorizations

ankra_session
string
cookie
required

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

Path Parameters

cluster_id
string<uuid>
required
draft_id
string<uuid>
required

Response

Draft read with optional writer evidence

draft_change_authors
object

Keys are kind:name. Legacy changes with no writer evidence are absent. Values changes are attributed to their add-on.

stack_settings_changed
enum<string>[]

The stack's own settings the draft changed against the deployed stack it was opened from, sorted, and empty when it changed none. The stack in this read holds the draft's copy of every setting; a setting not named here is that copy, and a setting the deployed stack changed after the draft opened is not named.

Available options:
backup,
deploy_wave,
description,
variables
held_by_ai_turn
object

Present only while an Ankra AI answer that holds this draft is still running: its status and when it started. The draft may then hold only part of the answer's change, so a deploy of it through the stack create or update routes is refused with 409 and code DRAFT_HELD_BY_AI_TURN until the answer has finished or been stopped. An answer waiting for the person (a question or a proposal card) does not hold the draft.