This API is used to view running status of a real-time job.
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain a project ID, see Project ID and Account ID. |
job_name |
Yes |
String |
Job name. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
workspace |
No |
String |
Workspace ID.
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
name |
Yes |
String |
Name of a solution. |
nodes |
No |
List |
Node status list. |
status |
No |
String |
Job status.
|
startTime |
Yes |
Date |
Start time. |
endTime |
No |
Date |
End time. |
lastUpdateTime |
No |
Date |
Last update time. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
name |
Yes |
String |
Node name. |
status |
No |
String |
Node status.
|
logPath |
No |
String |
Path for storing node run logs. |
type |
Yes |
String |
Node type.
|
View running status of real-time job job_sms and the running status of each node in the job. job_sms has seven nodes, as shown in the following figure:

GET /v1/b384b9e9ab9b4ee8994c8633aabc9505/jobs/job_sms/status
{
"lastUpdateTime": 1682582558000,
"name": "job_sms",
"nodes": [
{
"logPath": "obs://dlf-test-log/job_sms/2023-04-27_16_03_31.000/MRS_Flink_Job_8635/MRS_Flink_Job_8635.job",
"name": "MRS_Flink_Job_8635",
"status": "NORMAL",
"type": "MRS Flink Job"
}
],
"startTime": 1682582619000,
"status": "NORMAL"
}
{
"error_code":"DLF.0100",
"error_msg":"The job does not exists."
}