Skip to content

List a workflow's versions

GET
/api/v1/automations/workflows/{workflowId}/versions
curl --request GET \
--url https://digize.com/api/v1/automations/workflows/example/versions \
--header 'x-api-key: <x-api-key>'

Each version a workflow was published as, the newest first, with how many of its runs are kept and which one runs now.

Needs the automations:read permission.

workflowId
required
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
rows
required
Array<object>
object
version
required
number
name
required

The workflow’s name when it was published.

string
publishedAt
required
string format: date-time
publishedBy
required
string
nodeCount
required
number
runs
required

Runs of this version the workspace still keeps.

number
current
required

Whether runs start from it now.

boolean
total
required
number

Example generated

{
"rows": [
{
"version": 1,
"name": "example",
"publishedAt": "2026-04-15T12:00:00Z",
"publishedBy": "example",
"nodeCount": 1,
"runs": 1,
"current": true
}
],
"total": 1
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}