Skip to main content
POST
Start a private workspace conversation

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string
required

UUIDv7 of the workspace.

Body

application/json

Atomically create a private draft and optional first message.

authoring_model_ref
string
required

Explicit workspace-owner model reference.

operation_id
string
required

Required body UUIDv7 operation identity.

source
object
required

Exact native source to capture.

message
string

Optional initial user text; 1..32768 UTF-8 bytes when present.

Response

Created or exact replay

Atomic draft creation response.

authoring_model_ref
string
required

Explicit model for future messages.

cancelled_through
string
required

Decimal standing cancellation watermark.

etag
string
required

Strong version for idle edits.

id
string
required

Private draft identity.

state
string
required

editing, saving or closed.

title
string
required

Human display title.

candidate
null | object

Latest accepted setup, absent before the first candidate.

closed_at
integer<int64> | null

Closing time in Unix milliseconds.

expires_at
integer<int64> | null

Private retention deadline in Unix milliseconds.

linked_fleet_id
string | null

Related fleet, when this draft targets or created one.

publication
null | object

Explicit publication receipt, never synthesized by Save.

review
object | null

Complete effective setup, immutable requirements and live readiness.

accepted
null | object

Present only when creation accepted an initial message.