Queries the status information of an asynchronous task. After you call an asynchronous operation, an asynchronous task is generated. You can call the GetJobStatus operation to query the status of the asynchronous task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:GetJobStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The ID of the asynchronous task that is generated after you call an asynchronous operation. |
70ecdaec-bf21-4c11-8ecb-4f77453ceea8 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
5E2BFE96-C0E0-5A98-85C8-633EC803198D |
| JobStatus |
object |
The real-time status information of the asynchronous task. |
|
| JobId |
string |
The ID of the asynchronous task. |
C664CDE3-9C0B-5792-B17F-6C543783BBBC |
| JobType |
string |
The type of the asynchronous task. Valid values:
|
Create |
| Completed |
string |
Indicates whether the asynchronous task is complete. Valid values: True False |
False |
| Status |
string |
The status of the asynchronous task. Valid values:
|
Success |
| Error |
string |
The error message returned if the asynchronous task fails. |
Not Found |
| CreateTime |
string |
The time when the asynchronous task was created. |
1729063449802 |
Examples
Success response
JSON format
{
"RequestId": "5E2BFE96-C0E0-5A98-85C8-633EC803198D",
"JobStatus": {
"JobId": "C664CDE3-9C0B-5792-B17F-6C543783BBBC",
"JobType": "Create",
"Completed": "False",
"Status": "Success",
"Error": "Not Found",
"CreateTime": "1729063449802"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.