Performs a paging query on the history list of asset inventory tasks.
Operation description
Corresponds to the /knowledge/job/inventory/list console page. Performs a paging query on the history of asset inventory tasks for the current tenant and supports filtering by task ID, creator keyword, and status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListInventoryJobs |
none |
*All Resource
|
None | None |
Request syntax
GET / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Query |
string |
No |
The search keyword. Supports fuzzy match by task ID (numeric or with the task_ prefix) or creator name. |
task_1001 |
| Status |
integer |
No |
The task status filter. |
1 |
| Size |
integer |
No |
The number of entries to return per page. Default value: 20. Maximum value: 100. |
20 |
| Offset |
integer |
No |
The pagination offset. Default value: 0. |
0 |
| SortBy |
string |
No |
The sort field. |
confidence |
| SortOrder |
string |
No |
The sort order. Valid values:
|
desc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response content. |
||
| RequestId |
string |
Id of the request |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| Data |
object |
The paginated result of the inventory task list. |
|
| TotalCount |
integer |
The total number of entries. |
10 |
| Items |
array |
The inventory task list. |
|
| KnowledgeJobInfoVO |
The table name. You can call the ListTables operation to obtain this parameter. Note
This parameter is required when the ResourceType parameter is set to META_TABLE or LOGIC_TABLE. |
[] |
Examples
Success response
JSON format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"Data": {
"TotalCount": 10,
"Items": [
{
"JobId": 1,
"ShowJobId": "TASK_0001",
"Status": "SUCCESS",
"Progress": 100,
"TableCnt": 10,
"KnowledgeCnt": 25,
"Creator": "Sample user",
"Description": "Inventory the business knowledge of the order database",
"Supplement": "Focus on sorting out the relationship between order and payment data",
"CreateTime": "2026-10-22 10:00:00",
"EndTime": "2026-10-22 10:30:00"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.