Overview
Menu

DescribeWorkflows

Last updated: 2026-10-26 17:33:57Download PDF

1. API Description

Domain name for API request: mps.intl.tencentcloudapi.com.

Based on the workflow ID, get the workflow details list.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter NameRequiredTypeDescription
ActionYesStringCommon Params. The value used for this API: DescribeWorkflows.
VersionYesStringCommon Params. The value used for this API: 2019-06-12.
RegionNoStringCommon Params. This parameter is not required for this API.
WorkflowIds.NNoArray of Integer

Workflow ID filter condition, with an array length limit of 100.

StatusNoString

Workflow status. Value range:

  • Enabled: on,
  • Disabled: off.
  • If this parameter is not specified, workflow status is not distinguished.
    OffsetNoInteger

    Paging offset. Default value: 0.

    LimitNoInteger

    Number of returned entries. Default value: 10. Maximum value: 100.

    3. Output Parameters

    Parameter NameTypeDescription
    TotalCountInteger

    Total number of records that meet filter conditions.

    WorkflowInfoSetArray of WorkflowInfo

    Workflow information array.

    RequestIdStringThe unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Querying a Specific Workflow

    This example shows you how to query the workflow with ID 10001.

    Input Example

    https://mps.intl.tencentcloudapi.com/?Action=DescribeWorkflows
    &WorkflowIds.0=10001
    &<Common request parameters>

    Output Example

    {
        "Response": {
            "TotalCount": 1,
            "WorkflowInfoSet": [
                {
                    "AiAnalysisTask": null,
                    "AiContentReviewTask": {
                        "Definition": 10
                    },
                    "AiRecognitionTask": null,
                    "CreateTime": "2024-04-03T08:29:26Z",
                    "MediaProcessTask": {
                        "AdaptiveDynamicStreamingTaskSet": [],
                        "AnimatedGraphicTaskSet": [],
                        "ImageSpriteTaskSet": [],
                        "SampleSnapshotTaskSet": [],
                        "SnapshotByTimeOffsetTaskSet": [],
                        "TranscodeTaskSet": []
                    },
                    "OutputDir": "",
                    "OutputStorage": {
                        "CosOutputStorage": {
                            "Bucket": "mpstest-12345567",
                            "Region": "ap-nanjing"
                        },
                        "S3OutputStorage": null,
                        "Type": "COS"
                    },
                    "Status": "Enabled",
                    "TaskNotifyConfig": null,
                    "TaskPriority": -10,
                    "Trigger": {
                        "AwsS3FileUploadTrigger": null,
                        "CosFileUploadTrigger": {
                            "Bucket": "mpstest-12345567",
                            "Dir": "/mps/",
                            "Formats": [
                                ""
                            ],
                            "Region": "ap-nanjing"
                        },
                        "Type": "CosFileUpload"
                    },
                    "UpdateTime": "2024-08-05T07:04:30Z",
                    "WorkflowId": 10001,
                    "WorkflowName": "Workflow test"
                }
            ],
            "RequestId": "73054d13-abcdef1-8c28-7ce8698ef8b9"
        }
    }

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error CodeDescription
    FailedOperation.InvalidMpsUserOperation failed: illegal mps user.
    InternalErrorInternal error.
    InvalidParameterValueParameter value error.