Skip to main content
POST
/
api
/
workflows
Create Workflow
curl --request POST \
  --url https://api.example.com/api/workflows/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "specification": {}
}
'
{
  "workflow_version_uuid": "<string>",
  "workflow_uuid": "<string>",
  "specification": "<unknown>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "version": 123,
  "is_current": true,
  "name": "<string>",
  "description": "<string>"
}

Headers

kinetic-api-key
string | null

Body

application/json
name
string
required
specification
Specification · object
required
description
string | null

Response

Successful Response

Backed by workflow_versions table (see kinetic/db/schema.sql).

Note: name/description are workflow-identity fields (from workflows) and may be included by some endpoints (e.g. create), but are not stored on the version row itself, so they must be optional.

workflow_version_uuid
string
required
workflow_uuid
string
required
specification
any
required
created_at
string<date-time> | null
updated_at
string<date-time> | null
version
integer | null
is_current
boolean | null
name
string | null
description
string | null