Skip to main content
POST
Save Activity As Workflow

Authorizations

Authorization
string
header
required

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

Headers

X-Organization-Id
string | null

Path Parameters

catalog_id
string
required
activity_id
string
required

Body

application/json
workflow_name
string
required

Workflow name

workflow_description
string | null

Workflow description

python_code
string | null

Optional custom Python code override for custom_code node

attachments
Attachments · object[] | null

Optional attachment metadata to persist on workflow/nodes

timeout_seconds
integer
default:120

Execution timeout for custom code node

Required range: 1 <= x <= 1800

Response

Successful Response