Retrieve a workflow version

Retrieve a version of a given workflow.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
path Parameters
workflowExternalId
required
string (WorkflowExternalId) <= 255 characters

Identifier for a workflow. Must be unique for the project. No trailing or leading whitespace and no null characters allowed.

version
required
string (Version) <= 255 characters

Identifier for a version. Must be unique for the workflow. No trailing or leading whitespace and no null characters allowed.

Responses
200

Specific version of a workflow

404

The response for a failed request.

get/workflows/{workflowExternalId}/versions/{version}
Request samples
res = client.workflows.versions.retrieve("my workflow", "1")
Response samples
application/json
{
  • "workflowExternalId": "string",
  • "version": "string",
  • "workflowDefinition": {
    • "hash": "string",
    • "description": "string",
    • "tasks": [
      ]
    },
  • "createdTime": 1730204346000,
  • "lastUpdatedTime": 1730204346000
}