Last updated: 2019-07-08 20:38:16

1. API Description

API request domain name:

This API used to query the overview information of several jobs

Default API request frequency limit: 2 times/second.

2. Input Parameters

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

Parameter name Required Type Description
Action Yes String Common parameter; the value for this API: DescribeJobs
Version Yes String Common parameter; the value for this API: 2017-03-12
Region Yes String Common parameters; for details, see the Region List supported by the product.
JobIds.N No Array of String Job ID
Filters.N No Array of Filter Filter
Offset No Integer Offset
Limit No Integer Number of returns

3. Output Parameters

Parameter name Type Description
JobSet JobView Job list
TotalCount Integer Number of eligible jobs
RequestId String The unique request ID which is returned for each request. The RequestId for the current request needs to be provided when troubleshooting.

4. Examples

Example 1. Querying Job Information

&<Common request parameter>


  "Response": {
    "JobSet": [
        "CreateTime": "2018-02-07T09:29:09Z",
        "EndTime": "2018-02-07T09:33:01Z",
        "JobId": "job-97zcl3wt",
        "JobName": "test job",
        "JobState": "SUCCEED",
        "Placement": {
          "Zone": "ap-guangzhou-2"
        "Priority": 1,
        "TaskMetrics": {
          "FailedCount": 0,
          "FailedInterruptedCount": 0,
          "PendingCount": 0,
          "RunnableCount": 0,
          "RunningCount": 0,
          "StartingCount": 0,
          "SubmittedCount": 0,
          "SucceedCount": 4
    "RequestId": "c76c5368-6e2d-46bc-9867-5a3019510b76",
    "TotalCount": 1

5. Developer Resources

It is recommended to use API 3.0 Explorer. This tool provides various capabilities such as online debugging, signature verification, SDK code generation and quick API retrieval that significantly reduce the difficulty of using cloud APIs.

Cloud API 3.0 comes with a set of complementary development tools that make it easier to call the API.

6. Error Codes

Only the error codes related to this API are listed below. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error
InvalidParameter.JobIdMalformed Invalid job ID format.
InvalidParameterValue Invalid parameter value.
InvalidZone.MismatchRegion The specified zone does not exist.
UnknownParameter Unknown parameter error