ListArtifacts
Performs a paging query on the list of analysis artifacts for the current account. You can filter the results by session and artifact type.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:ListArtifacts |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/ai/artifacts HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| conversationId |
string |
No |
Filters the results by conversation ID. Only artifacts generated in the specified conversation are returned. If you leave this parameter empty, all artifacts for the current account are returned. |
123456789012****#cn-shanghai#1ee04bea-0488-46b6-b85b-827e3cd37e55 |
| type |
string |
No |
Filters the results by artifact type. Valid values: dataset, table, chart, dashboard, report, sql, python, maxframe, and udf. If you leave this parameter empty, artifacts of all types are returned. |
report |
| nextToken |
string |
No |
The pagination token. Leave this parameter empty for the first query. For subsequent queries, pass the nextToken value returned in the previous response. If the returned nextToken is empty, no more data is available. |
eyJvZmZzZXQiOjUwfQ== |
| managedOnly |
boolean |
No |
Specifies whether to return only managed dashboards. Default value: |
|
| archived |
boolean |
No |
The archive filter condition for managed dashboards. This parameter requires |
|
| search |
string |
No |
Queries records whose artifact titles contain the specified text. The text can be up to 200 characters in length. When you paginate through the results, use the same filter conditions as the first query. |
Order dashboard |
| maxResults |
integer |
No |
The maximum number of artifacts to return in the current request. Valid values: 1 to 200. Default value: 50. |
50 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The request ID. This ID uniquely identifies the request and can be used for troubleshooting and log correlation. |
A3F5B7C9-1D2E-4F6A-8B9C-0D1E2F3A4B5C |
| httpCode |
integer |
The business status code. This field is not returned if the call is successful. If the call fails, the corresponding HTTP error code is returned, such as 400, 403, 404, or 500. |
400 |
| errorCode |
string |
The error code. This field is not returned if the call is successful. If the call fails, a specific error code is returned to help you identify the cause of the error. |
InvalidParameter |
| errorMsg |
string |
The error message. This field is not returned if the call is successful. If the call fails, a human-readable error description is returned. |
The specified parameter is invalid. |
| data |
object |
The artifact list and pagination information. |
|
| artifacts |
array<object> |
The list of artifacts. |
|
|
array<object> |
|||
| artifactId |
string |
The artifact ID. This ID uniquely identifies an analysis artifact. |
01J5ZKQ8M7N2P4R6T8V0W2X4Y6 |
| conversationId |
string |
The ID of the conversation in which the artifact was generated. |
123456789012****#cn-shanghai#1ee04bea-0488-46b6-b85b-827e3cd37e55 |
| type |
string |
The artifact type. Valid values: dataset, table, chart, dashboard, report, sql, python, maxframe, and udf. |
report |
| title |
string |
The title of the artifact. |
Sales trend analysis report for the last 30 days |
| path |
string |
The relative storage path of the artifact file, which is used to retrieve the artifact content. |
reports/sales-trend-analysis.md |
| contentType |
string |
The MIME type of the artifact content, such as text/markdown, text/csv, or application/json. |
text/markdown |
| metadata |
object |
The metadata of the artifact. The content varies based on the artifact type. |
{"bytes":20480,"sha256":"a1b2c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123456789abcdef0","verified":true,"runId":"9f8e7d6c5b4a39281706f5e4d3c2b1a0","projectName":"odps_project"} |
| createdAt |
string |
The time when the artifact was created. The time is displayed in UTC and follows the RFC 3339 format, such as 2026-08-27T08:53:38.000Z. |
2026-08-27T08:53:38.000Z |
| updatedAt |
string |
The time when the artifact was last updated. The time is displayed in UTC and follows the RFC 3339 format, such as 2026-08-27T08:53:38.000Z. |
2026-08-27T08:53:38.000Z |
| conversationTitle |
string |
The title of the conversation in which the artifact was generated. |
Sales trend analysis for the last 30 days |
| nextToken |
string |
The pagination token for the next page. An empty string indicates that no more data is available. |
eyJvZmZzZXQiOjUwfQ== |
| maxResults |
integer |
The maximum number of entries returned in the current request. |
50 |
Examples
Success response
JSON format
{
"requestId": "A3F5B7C9-1D2E-4F6A-8B9C-0D1E2F3A4B5C",
"httpCode": 400,
"errorCode": "InvalidParameter",
"errorMsg": "The specified parameter is invalid.",
"data": {
"artifacts": [
{
"artifactId": "01J5ZKQ8M7N2P4R6T8V0W2X4Y6",
"conversationId": "123456789012****#cn-shanghai#1ee04bea-0488-46b6-b85b-827e3cd37e55",
"type": "report",
"title": "Sales Trend Analysis Report for the Last 30 Days",
"path": "reports/sales-trend-analysis.md",
"contentType": "text/markdown",
"metadata": {
"bytes": 20480,
"sha256": "a1b2c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123456789abcdef0",
"verified": true,
"runId": "9f8e7d6c5b4a39281706f5e4d3c2b1a0",
"projectName": "odps_project"
},
"createdAt": "2026-08-27T08:53:38.000Z",
"updatedAt": "2026-08-27T08:53:38.000Z",
"conversationTitle": "Sales Trend Analysis for the Last 30 Days"
}
],
"nextToken": "eyJvZmZzZXQiOjUwfQ==",
"maxResults": 50
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.