POST
/
workflows
{
  "workflow_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "latest_version": "<string>",
  "versions": [
    "<string>"
  ],
  "status": "<string>",
  "name": "<string>",
  "description": "<string>",
  "shared": false,
  "reference_workflow_id": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
file
file
required
name
string | null
description
string | null
shared
boolean
default:false

Response

Successful Response

workflow_id
string
required

The ID of the workflow

created_at
string<date-time>
required

The creation time of the workflow

updated_at
string<date-time>
required

The last update time of the workflow

latest_version
string
required

The version of the workflow

versions
string[]
required

The versions of the workflow

status
string
required

The status of the workflow

name
string | null

The name of the workflow

description
string | null

The description of the workflow

shared
boolean
default:false

Whether the workflow is public and can beshared with other users

reference_workflow_id
string | null

The ID of the reference workflow (i.e wether the workflow was forked from another workflow or not)