Skip to main content
POST
Create a workflow

Authorizations

Authorization
string
header
required

API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_API_KEY

Body

application/json

Request body for creating a new workflow

name
string
required

Unique workflow name/slug within the user's namespace

Maximum string length: 128
Pattern: ^[a-zA-Z0-9_-]+$
Example:

"my-image-workflow"

title
string
required

Human-readable workflow title

Required string length: 1 - 256
Example:

"My Image Generation Workflow"

contents
object
required

The workflow definition/configuration object

Example:
is_public
boolean
default:false

Whether the workflow is publicly visible

Example:

false

Response

Successfully created workflow

Response containing a single workflow's details

workflow
object
required

The workflow details

Example: