Skip to main content
POST
Create workflow

Headers

X-Workspace-Id
string

Workspace ID

Body

application/json
name
string
required

Name of the workflow

Example:

"Group Workflow"

content
object
required

Content of the workflow in JSON format

filePath
string

File path for the workflow

Example:

"workflows/vulnerability-scan.yaml"

Response

200 - application/json

Created workflow object

id
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
content
object
required
isCanDelete
boolean
required
isCanEdit
boolean
required