All Products
Search
Document Center

Alibaba Cloud Linux:ListAifgJobs

Last Updated:Sep 15, 2026

Retrieves a list of diagnostic tasks.

Operation description

This operation retrieves the list of regions where the current user has machines managed by SysOM. If the user has ECS instances in a region but those instances are not managed by SysOM, that region does not appear in the results.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /api/v1/aifg/listAifgJobs HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

current

integer

Yes

The current page number.

1

pageSize

integer

Yes

The number of entries per page.

10

serviceName

string

Yes

The service name of the diagnostic service.

slowNode

nextToken

string

No

The pagination token.

Note

A non-empty value indicates that more data is available.

c2f78a783f49457caba6bace6f6f79e4

maxResults

integer

No

The maximum number of records to retrieve in a single request.

20

region

string

No

The region ID.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

The response data.

code

string

The status code.

200

data

array<object>

The data under the root node.

object

The first element of the root data list.

command

any

The first command in the data list.

start

id

integer

The ID of the first element in the data list.

123456

params

any

The first parameter in the root data.

{'key1': 'value1'}

result

any

The first result in the root data.

success

serviceName

string

The service name.

user-service

status

string

The status of the data item.

active

subStatus

string

The sub-status of the data item.

processing

submitTime

string

The time when the data was submitted.

2023-09-01 12:00:00

taskId

string

The task ID.

123456

traceTaskId

string

The unique identifier of the trace task.

T123456789

maxResults

integer

The maximum number of records to retrieve in a single request.

20

message

string

Indicates the position read by the current call. An empty value indicates that all data has been read.

Hello, World!

nextToken

string

The pagination token.

Note

A non-empty value indicates that more data is available.

U+w1wv2R4ZWR5oZLXD0+Dp4dD+2BRJj42DLT6GrZysw=

requestId

string

The unique identifier of the request.

1234567890

total

integer

The total number of entries.

100

Examples

Success response

JSON format

{
  "code": "200",
  "data": [
    {
      "command": "start",
      "id": 123456,
      "params": "{'key1': 'value1'}",
      "result": "success",
      "serviceName": "user-service",
      "status": "active",
      "subStatus": "processing",
      "submitTime": "2023-09-01 12:00:00",
      "taskId": "123456",
      "traceTaskId": "T123456789"
    }
  ],
  "maxResults": 20,
  "message": "你好,世界!",
  "nextToken": "U+w1wv2R4ZWR5oZLXD0+Dp4dD+2BRJj42DLT6GrZysw=\n",
  "requestId": "1234567890",
  "total": 100
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.