Skip to main content
POST

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Unique within the collection

collection
string
required

Collection subject: ms.hub.config.collection.workflow.{collection_id} (from listCollections)

Pattern: ^ms\.hub\.config\.collection\.workflow\.
description
string
config
object

The execution graph. Must be acyclic (not server-checked). Nodes run in topological order; condition nodes can alter the path.

secrets
string[]

Secret identifiers used by this workflow

Response

Workflow created successfully

subject
string

Subject identifier for the workflow

name
string

Name of the workflow

collection
string

Subject of the collection this workflow belongs to

description
string

Description of the workflow

config
object

The execution graph. Must be acyclic (not server-checked). Nodes run in topological order; condition nodes can alter the path.

modified
integer

Timestamp of last modification