Create a workflow

Creates a workflow and its version 1 from a graph. The server assigns the workflow id and the version number, so the graph need not carry them; whatever it carries is replaced. The workflow is not pinned to any environment. The caller needs the workflow_graph create ability on the company, and the abilities the graph's nodes use (a 403 otherwise). The graph is validated as a proposal is: every problem is listed in the 400. A live workflow of the company with the same name is a 409.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Trimmed; 1 to 200 characters. Unique among the company's live workflows.

string
string

The company; default the caller's own company.

graph
object
required

The workflow graph (schema_version 1).

string

The note of version 1: why it was saved. At most 128 KiB (131072 bytes, not characters). Stored with the version in the same field a deploy fills from CHANGE.md, and returned as change_note by the workflow and by the version routes. Optional; empty when absent.

Responses

400

The request was malformed or contained invalid parameters.

401

You are not authorized

403

You are forbidden from accessing this resource

409

A live workflow of the company has this name, or the graph's store nodes conflict with the company's datasets.

413

The request body is larger than 1 MiB.

500

An unexpected error was encountered.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json