Skip to main content

Create a workflow

POST 

/workflows/definitions

Creates a workflow. The request body is the definition document itself, not wrapped in any envelope.

  • The workflow starts at revision 1, with the auto-maintained latest alias pointing at it.
  • Nothing runs yet: triggers only register when you activate an alias.
  • Referencing secrets or variables that have no value yet is fine: creation succeeds and the response lists them under warnings so you can set them afterwards.

Request

Responses

The workflow was created.