Skip to main content

List a workflow template's saved versions.

GET/api/v1/workflow-templates/{workflow_template_id}/versionsworkflows:read

Every saved version of the template, newest first. Each save in the builder adds a version, and the highest ID is the one that runs.

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflow_template_versions
Portal permissionsview_workflow_template_versions
Pagingkeyset
Default order-workflow_template_version_id
Sort fieldsworkflow_template_version_id

Parameters​

NameInTypeRequiredDescription
workflow_template_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of WorkflowTemplateVersionRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired

WorkflowTemplateVersion​

FieldTypeRequiredDescription
created_atstring (date-time) or nullRequired
created_byUserRefRequired
is_currentbooleanRequiredtrue for the version that runs now.
node_countintegerRequired≥ -2147483648; ≤ 2147483647
parent_workflow_template_version_idstring or nullRequiredThe version this one was saved on top of; null for the first.
workflow_template_idstringRequired
workflow_template_version_idstringRequired