Skip to main content

Workflows Commands

See Workflows module docs for permissions and data model.

soat list-workflows

List workflows

  • Method: GET
  • Path: /api/v1/workflows

Usage

soat list-workflows

Options

--project-id

  • Source: query
  • Required: no
  • Type: string
--limit

Maximum number of results to return

  • Source: query
  • Required: no
  • Type: integer
  • Default: 50
--offset

Number of results to skip

  • Source: query
  • Required: no
  • Type: integer
  • Default: 0

soat create-workflow

Create a workflow

  • Method: POST
  • Path: /api/v1/workflows

Usage

soat create-workflow --name <string> --states <array<object<string, unknown>>> --transitions <array<object<string, unknown>>>

Options

--project-id

  • Source: body
  • Required: no
  • Type: string
--name

  • Source: body
  • Required: yes
  • Type: string
--description

  • Source: body
  • Required: no
  • Type: string \| null
--states

  • Source: body
  • Required: yes
  • Type: array<object<string, unknown>>
--transitions

  • Source: body
  • Required: yes
  • Type: array<object<string, unknown>>
--payload-schema

  • Source: body
  • Required: no
  • Type: object

soat get-workflow

Get a workflow

  • Method: GET
  • Path: /api/v1/workflows/{workflow_id}

Usage

soat get-workflow --workflow-id <string>

Options

--workflow-id

  • Source: path
  • Required: yes
  • Type: string

soat update-workflow

Update a workflow

  • Method: PATCH
  • Path: /api/v1/workflows/{workflow_id}

Usage

soat update-workflow --workflow-id <string>

Options

--workflow-id

  • Source: path
  • Required: yes
  • Type: string
--name

  • Source: body
  • Required: no
  • Type: string
--description

  • Source: body
  • Required: no
  • Type: string \| null
--states

  • Source: body
  • Required: no
  • Type: array<object<string, unknown>>
--transitions

  • Source: body
  • Required: no
  • Type: array<object<string, unknown>>
--payload-schema

  • Source: body
  • Required: no
  • Type: object

soat delete-workflow

Delete a workflow

  • Method: DELETE
  • Path: /api/v1/workflows/{workflow_id}

Usage

soat delete-workflow --workflow-id <string>

Options

--workflow-id

  • Source: path
  • Required: yes
  • Type: string