GET
/v1/workflows/{id}/versionsEvery publish of one workflow
Every version one workflow has published, newest first: what each publish froze, when, and which version a rollback republished. A version is immutable and a run points at one, so this is the history that reads FORWARDS — a rollback publishes an old version's words as a new version rather than restoring it. The draft being edited is in get_workflows_id.
Access class: workspace.
Send request
Use the documented inputs to call this endpoint directly.
API serverbase URL
Bearer tokensessionoptional
Stored only in this browser for the session security scheme and reused on every API page in this group.
Parameters
Values are applied to the request and the example on the right.
idpath · stringrequired
bodyquery · nulloptional
paramsquery · objectoptional
:idstringoptional
queryquery · objectoptional
Responses
200application/json
the action's answer
{
"data": {
"versions": [
{
"createdAt": "string",
"definition": "string",
"id": 1,
"publishedByUserId": 1,
"rolledBackFrom": 1,
"runAsAccountId": "",
"version": 1,
"workflowId": 1
}
]
}
}dataoptional
defaultapplication/json
a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}errorstringrequired