Skip to main content
POST
Create an immutable Workflow version using the immediately preceding matching test receipt and unchanged draft

Path Parameters

configObjectId
string
required

Body

application/json
name
string
required
Required string length: 1 - 255
code
string
required
Required string length: 1 - 200000
requiredCapabilities
object[]
required
Maximum array length: 100
receiptId
string
required

Copy receiptId from the immediately preceding successful draft test. Submit the exact same name, description, code, exampleInput, inputSchema, outputSchema, and requiredCapabilities used by that test.

Required string length: 1 - 160
description
string
Maximum string length: 4000
exampleInput
any
inputSchema
any
outputSchema
any

Optional JSON Schema for the value returned by this Workflow.

Response

Workflow version created.

pluginId
string
required
Required string length: 1 - 160
configObjectId
string
required
Required string length: 1 - 160
title
string
required
Required string length: 1 - 255
description
string | null
required
canRun
boolean
required
canManage
boolean
required
currentVersion
object
required
versions
object[]
required
latestSnapshot
object | null
required
latestSuccessfulSnapshot
object | null
required
freshness
object
required