Skip to main content
POST
Save workflow code
Minimum role required: Member

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Path Parameters

workflow_id
string<uuid>
required

workflow identifier

Body

application/json

-- code workflow source endpoints ----------------------------------------- SaveCodeRequest is the body for POST /workflows/:id/code.

source
string
required

Python source the user typed.

message
string

Optional commit-style note.

Response

OK

Returned from POST /workflows/:id/code.

no_op
boolean
required

True when the submitted source's sha256 matched the prior current revision; no new row was inserted, no pointer was changed.

revision
integer<int64>
required

Per-workflow monotonic revision number.

revision_id
string
required

Workflow_revisions.id of the active revision after the save.