Help Center/ ModelArts/ API Reference/ DevServer Management/ Obtaining the DevServer Job List
Updated on 2025-11-19 GMT+08:00

Obtaining the DevServer Job List

Function

This API is used to obtain the DevServer job list. The jobs can be filtered by status, ID, or other fields.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

URI

GET /v1/{project_id}/dev-servers/jobs

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition: Project ID. For details, see Obtaining a Project ID and Name.

Constraints: The value can contain 1 to 64 characters. Letters, digits, and hyphens (-) are allowed.

Range: N/A

Default Value: N/A

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

id

No

String

Definition: DevServer job ID.

Constraints: None

Range: 1 to 64 characters.

Default Value: N/A

name

No

String

Definition: DevServer job name.

Constraints: None

Range: N/A

Default Value: N/A

type

No

String

Definition: DevServer job type.

Constraints: None

Range: N/A

Default Value: N/A

status

No

String

Definition: DevServer job status.

Constraints: None

Range: N/A

Default Value: N/A

visible

No

Boolean

Definition: Visible or not.

Constraints: bool

Range: N/A

Default Value: N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

current

Integer

Definition: Current page number.

Range: N/A

data

Array of DevServerJobListResponse objects

Definition: Job instance list.

pages

Integer

Definition: Total number of pages.

Range: N/A

size

Integer

Definition: Number of records on each page.

Range: N/A

total

Long

Definition: Total number of records.

Range: N/A

Table 4 DevServerJobListResponse

Parameter

Type

Description

id

String

Task ID.

name

String

Task name.

user_name

String

Username.

description

String

Task description.

type

String

Task type.

status

String

Task status.

abnormal_count

Integer

Number of nodes where the task fails.

create_at

String

Creation time.

update_at

String

Update time.

Example Requests

GET https://{endpoint}/v1/{project_id}/dev-servers/jobs

{ }

Example Responses

Status code: 200

OK

{
  "current" : 1,
  "data" : [ {
    "create_at" : 1749536420547,
    "update_at" : 1749536603947,
    "id" : "03af7361-5cba-44d4-b29b-4dcc5d9dff51",
    "name" : "software-upgrade-792a",
    "user_name" : "modelarts_user",
    "type" : "ASCEND_SOFTWARE_UPGRADE",
    "status" : "FINISHED",
    "abnormal_count" : 0
  }, {
    "create_at" : 1749523685137,
    "update_at" : 1749523899848,
    "id" : "62c89f77-fc81-45a8-9647-d6e457e73954",
    "name" : "diagnosis-81ef",
    "user_name" : "modelarts_user",
    "description" : "POC",
    "type" : "ASCEND_DIAGNOSIS",
    "status" : "FINISHED",
    "abnormal_count" : 0
  } ],
  "pages" : 1,
  "size" : 2,
  "total" : 2
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.