Skip to main content
GET
Get a workflow
Returns one workflow. Its lines are what you edit and send back with Replace a workflow’s steps, and its version (also the ETag header) is what you send back as If-Match.

Path parameters

string
required
The workflow’s id, like morning-report, from List workflows.

Response

string
The workflow’s id.
string | null
Its name.
boolean
true when its start runs it.
integer
The version. Send it as If-Match on a write.
string
The workflow, one JSON object per step, the start first. The format is at orgo.ai/workflows.md.
object
What it asks for once, name to value, like { "channel": "sales" }.
string[]
What still has to be done before it can run, in plain words. Empty when it is ready.
object[]
The same, each with the step it is on and say. A setting to fill in is on the start.

Example

Response

Errors

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Path Parameters

id
string
required
Pattern: ^[a-z0-9-]{1,60}$

Response

The workflow.

id
string
required
Pattern: ^[a-z0-9-]{1,60}$
name
string | null
required
on
boolean
required

Whether its start runs it. It is on only while it can run.

version
integer
required

Send it as If-Match on a write.

lines
string
required

The workflow, one JSON object per step, the start first (https://www.orgo.ai/workflows.md).

settings
object
required

What it asks for once, name to value.

to_fix
string[]
required

What still has to be done before it can run, in the person’s words. Empty: ready.

problems
object[]
required
turned_off
boolean

This write left it unable to run, so it was turned off.

dropped
string[]

What of the lines sent was left out or rewritten.