Workflow API
List Workflow Versions
List the version history of a workflow. By default returns only published versions (newest first). Pass include_unpublished_drafts=true to also include unpublished drafts. Each version's id can be passed as workflow_version_id to StartWorkflowRun to run that specific version.
get/v2/workflows/{workflow_id}/versions
Request
- Base URLhttps://public.api.serval.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workflow_idstring required
The ID of the workflow whose versions to list.
Query parameters
includeUnpublishedDraftsboolean
If true, include unpublished draft versions alongside published ones. Default false (only the complete history of published versions).
pageSizeinteger
Maximum number of results to return. Default is 1000, maximum is 2000.
pageTokenstring
Token for pagination. Leave empty for the first request.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.