ListArtifacts

Updated at:

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

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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: false. If you set this parameter to true, you can use the archived parameter to filter dashboards by archive status.

archived

boolean

No

The archive filter condition for managed dashboards. This parameter requires managedOnly=true. Set this parameter to true to query archived dashboards, or false to query unarchived dashboards. If you omit this parameter, dashboards in both states are returned.

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.