POST
Create Task

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
config
TaskConfig · object
required

The task definition. One saved config — no versions, no publish step.

Response

Successful Response

What create and update return.

warnings is the half of validation that must not become a 400 — a prompt that never mentions submit_result, a credential built out of {{args.…}}. There is no publish screen to show them on, so they come back beside the saved task; dropping them would lose the one signal that catches a task which saves cleanly and then fails every run.

task
TaskResponse · object
required
warnings
string[]
required