Skip to main content
POST
Check a draft

Authorizations

Authorization
string
header
required

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

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

Whether a draft can be saved, and what to fix or look at.

valid
boolean
required
errors
DraftProblem · object[]

These stop a save.

warnings
DraftProblem · object[]

These do not, but are worth a look.