Retrieves a flow version.
Operation description
-
You can call this operation to query a flow version. You can also click a flow name on the flow editor page to go to the canvas orchestration page and view the flow version.
-
Before calling this operation, make sure that you have successfully created a flow.
-
If you do not have a successfully created flow, you can manually create a flow on the flow editor page or create a flow by calling CreateChatFlow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:ReadFlowVersion |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowCode |
string |
No |
The flow code. You can view the flow code on the flow editor page. |
9ccc41************************** |
| FlowVersion |
string |
No |
The flow version. You can click a flow name on the flow editor page to go to the canvas orchestration page and view the flow version, or call ListFlowVersion to retrieve the flow version. |
1 |
| Status |
string |
No |
The flow version status. Valid values:
Valid values:
|
DRAFT |
| BizCode |
string |
No |
The business tenant code. Default value: ALICOM_OPAAS. |
ALICOM_OPAAS |
| BizExtend |
object |
No |
The business extension information. Default value: an empty collection. |
{} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Response |
object |
The response content. |
|
| AccessDeniedDetail |
string |
The access denied details. |
None |
| RequestId |
string |
The request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Message |
string |
The error message. |
None |
| Code |
string |
The error code. For more information, see Error codes. |
OK |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Response": {
"test": "test",
"test2": 1
},
"AccessDeniedDetail": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Message": "None",
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.