You can call this operation to query all versions of a workflow.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListVersions

The operation that you want to perform. Set the value to ListVersions.

FlowId String Yes lc-abcdefg

The ID of the workflow to query.

PageNumber Integer No 1

The number of the page to return.

PageSize Integer No 10

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
RequestId String D264C934-2DA8-44B4-B034-C659A63AC659

The ID of the request.

TotalCount Integer 1

The total number of versions in the workflow.


The version list.

CreateTime String 2018-12-12T07:36:22.992Z

The time when the version was created.

FlowId String lc-abcdefg

The ID of the workflow to which the version belongs.

UpdateTime String 2018-12-12T07:36:22.992Z

The time when the version was last updated.

VersionId String lcv-abcdefg

The ID of the version.

VersionNumber Integer 10

The number of the version.

VersionStatus String Enabled

The status of the version. A value of Enabled indicates that the version was enabled.


Sample requests

http(s)://[Endpoint]/? Action=ListVersions
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.