Skip to main content
PUT
Save your draft of a crew

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

key
string
required

A crew's id, or new for a crew not saved yet.

Pattern: ^(new|[0-9a-fA-F-]{36})$

Body

application/json

Request model for creating or updating a crew template.

name
string
required

Human-readable template name.

crew_config
CrewConfig · object
required

The full crew configuration to save.

description
string
default:""

Optional description.

tags
string[]

Tags for categorization.

variables
TemplateVariable · object[]

Declared inputs the template's tasks expect. Empty list preserves the legacy free-form task_input behavior.

is_shared
boolean
default:false

Whether this template is visible to all users.

change_note
string
default:""

What changed, recorded on the version this save creates.

Maximum string length: 500

Response

Successful Response

A person's unsaved working copy of a crew.

key
string
required

The crew's id, or new for one not saved yet.

spec
CrewTemplateRequest · object
required

The crew as it is being edited.

updated_at
string
required
base_version
integer
default:0

The crew version the draft started from.