List a workflow's versions
GET
/api/v1/automations/workflows/{workflowId}/versions
const url = 'https://digize.com/api/v1/automations/workflows/example/versions';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workflowId
required
string
Responses
Section titled “Responses”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
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
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
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
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
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}