全部產品
Search
文件中心

MaxCompute:ListJobInfos

更新時間:Sep 11, 2026

檢視作業清單。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

odps:ListJobInfos

list

*All Resource

*

無 無

請求文法

POST /api/v1/jobs HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

tenantId

string

否

租戶 ID。

478403690625249

region

string

否

地域 ID。

cn-shanghai

orderColumn

string

否

排序欄位。

cuUsage

ascOrder

boolean

否

升序或降序。

true

pageNumber

integer

否

分頁頁碼。

1

pageSize

integer

否

每頁傳回數目。

10

body

object

否

請求主體參數。

extNodeIdList

array

否

上游節點 ID。

string

否

上游節點 ID。

76358164

extNodeNameList

array

否

上游節點名稱。

string

否

上游節點名稱。

ods_wfq_company_industry_di

from

integer

是

起始時間戳記。

1672112000

instanceIdList

array

否

作業執行個體(Instance)ID。

string

否

作業執行個體(Instance)ID。

20241028****jkl

jobOwnerList

array

否

作業擁有者。

string

否

作業擁有者。

ALIYUN$7632***@aliyun.com

priorityList

array

否

作業優先順序。

integer

否

作業優先順序。

0

projectList

array

否

專案名稱。

string

否

專案名稱。

projectA

quotaNickname

string

否

配額(Quota)暱稱。

quota_nickname

sceneTagList

array

否

智慧診斷標籤。

string

否

智慧診斷標籤。

SubscriptionLackResource

signatureList

array

否

作業簽章。

string

否

作業簽章。

signatureabc

sortByList

array

否

多欄排序欄位。

string

否

多欄排序欄位。

cuUsage

sortOrderList

array

否

多欄排序方式。

string

否

多欄排序方式。

desc

statusList

array

否

作業狀態。

string

否

作業狀態。

running

taskNameList

array

否

作業名稱。

string

否

作業名稱。

console_query_task_1788796813532

to

integer

是

截止時間戳記。

1672112130

typeList

array

否

作業類型。

string

否

作業類型。

SQL

返回參數

名稱

類型

描述

樣本值

object

PopResult

data

object

傳回結果。

jobInfoList

array<object>

作業資訊列表。

array<object>

作業資訊。

cluster

string

叢集 ID。

AY20A

cuSnapshot

number

作業的 CU 快照占比。

0.48

cuUsage

integer

CU 使用總量。

10

endAtTime

integer

執行結束時間。

0

extNodeId

string

DataWorks 節點 ID。

node_4

extNodeName

string

提交該作業的外部排程平台名稱。

ods_wfq_company_industry_di

extNodeOnDuty

string

執行負責人。

duty_2

extPlantFrom

string

上游平台。

platform_3

extPlatformId

string

提交該作業的外部排程平台識別碼。

dataworks

inputBytes

number

作業掃描量。單位 byte。

1234

instanceId

string

執行個體 ID。

20230410050036549gfmsdwf60gg

jobOwner

string

提交作業的帳號。

ALIYUN$xxx@test.aliyunid.com

jobType

string

作業類型。

SQL

memorySnapshot

number

作業的記憶體快照占比。

0.42

memoryUsage

integer

記憶體使用總量。

40

priority

integer

優先順序。

1

project

string

MaxCompute 專案名稱。

openrec_new

quotaNickname

string

作業使用的配額暱稱。

my_quota

quotaType

string

Quota 類型。

subscription

region

string

地域 ID。

cn-shanghai

roleSessionName

string

提交作業的角色扮演者。

aliyunservicerole

runningAtTime

integer

作業的開始執行時間。

1672112113

runningTime

integer

執行時間。

800

sceneResults

array<object>

智慧診斷結果。

array<object>

智慧診斷結果。

description

string

智慧診斷結果詳情。

This job uses annual and monthly computing resources. It may be that the job is waiting for resources due to the large amount of overall job running data, many resources requested, and low job priority. Please go to Resource Consumption to view the specific situation. You can also go to Cost Optimization to see if you need to adjust resource configuration.

params

object

資料傾斜、資料膨脹節點資訊。只有當診斷場景為資料傾斜、資料膨脹時傳回此參數。

string

資料傾斜、資料膨脹節點資訊。

"jobinsight_data_skew_node": "Worker M1#10000_0"

scene

string

智慧診斷結果場景。

LackResource

sceneTag

string

智慧診斷結果標籤。

SubscriptionLackResource

summary

string

智慧診斷結果簡述。

Insufficient computing resources available for the job. Click to view details.

type

string

智慧診斷結果類型。

warning

signature

string

SQL 簽章。

i094KijGrN3kOXZ74kbexB77XQY=

status

string

狀態。

running

statusSnapshot

string

作業快照狀態。

running

submittedAtTime

integer

作業的提交時間。

1672112013

tags

string

標籤。

[]

taskName

string

任務名稱。

console_query_task_1788796813532

tenantId

string

租戶 ID。

213065738244354

totalTime

integer

總執行時長。

900

waitingTime

integer

等待時間。

100

pageNumber

integer

目前頁碼。

2

pageSize

integer

每頁顯示筆數。

10

totalCount

integer

傳回結果的總數量。

64

httpCode

integer

業務成功與否。如果非空且不是 200,則表示業務處理失敗。

200

requestId

string

請求 ID。

0bc13a9516807484336515320e38f5

樣本

正常返回樣本

JSON格式

{
  "data": {
    "jobInfoList": [
      {
        "cluster": "AY20A",
        "cuSnapshot": 0.48,
        "cuUsage": 10,
        "endAtTime": 0,
        "extNodeId": "node_4",
        "extNodeName": "ods_wfq_company_industry_di",
        "extNodeOnDuty": "duty_2",
        "extPlantFrom": "platform_3",
        "extPlatformId": "dataworks",
        "inputBytes": 1234,
        "instanceId": "20230410050036549gfmsdwf60gg",
        "jobOwner": "ALIYUN$xxx@test.aliyunid.com",
        "jobType": "SQL",
        "memorySnapshot": 0.42,
        "memoryUsage": 40,
        "priority": 1,
        "project": "openrec_new",
        "quotaNickname": "my_quota",
        "quotaType": "subscription",
        "region": "cn-shanghai",
        "roleSessionName": "aliyunservicerole",
        "runningAtTime": 1672112113,
        "runningTime": 800,
        "sceneResults": [
          {
            "description": "This job uses annual and monthly computing resources. It may be that the job is waiting for resources due to the large amount of overall job running data, many resources requested, and low job priority. Please go to Resource Consumption to view the specific situation. You can also go to Cost Optimization to see if you need to adjust resource configuration.",
            "params": {
              "key": "\"jobinsight_data_skew_node\": \"Worker M1#10000_0\""
            },
            "scene": "LackResource",
            "sceneTag": "SubscriptionLackResource",
            "summary": "Insufficient computing resources available for the job. Click to view details.",
            "type": "warning"
          }
        ],
        "signature": "i094KijGrN3kOXZ74kbexB77XQY=",
        "status": "running",
        "statusSnapshot": "running",
        "submittedAtTime": 1672112013,
        "tags": "[]",
        "taskName": "console_query_task_1788796813532",
        "tenantId": "213065738244354",
        "totalTime": 900,
        "waitingTime": 100
      }
    ],
    "pageNumber": 2,
    "pageSize": 10,
    "totalCount": 64
  },
  "httpCode": 200,
  "requestId": "0bc13a9516807484336515320e38f5"
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。