Help Center/ Workspace/ API Reference/ Workspace APIs/ Images/ Exporting the Image List
Updated on 2026-11-20 GMT+08:00

Exporting the Image List

Function

Exports the image list to an Excel file based on the filter criteria and returns the export task ID. Filtering by agent_version is supported.

Debugging

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

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    workspace:images:export

    List

    -

    -

    -

    -

URI

GET /v3/{project_id}/images/export

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Unique ID of a project.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

os_type

No

String

OS of the product image, for example, Windows.

os_version

No

String

OS version of the product image, for example, Windows 11.

image_type

Yes

String

Image type.

  • public: public image.

  • private: private image.

business_type

No

String

Image usage.

  • CloudApps: cloud application.

  • Desktop: cloud desktop.

  • Both: cloud application and cloud desktop.

platform

No

String

Image OS, for example, Windows.

architecture

No

String

Image architecture: x86.

package_type

No

String

Package series.

name

No

String

Image name.

id

No

String

Image ID.

image_group_id

No

String

Image group ID.

image_ids

No

String

List of image IDs.

status

No

String

Image status.

enterprise_project_id

No

String

Enterprise project.

period_type

No

Integer

Period type.

is_gpu

No

Boolean

Whether the specifications are of the GPU type.

support_gpu_type

No

String

Supported GPU types.

is_vdi

No

Boolean

Whether the VDI mode is used.

product_id

No

String

Product ID of the marketplace image.

product_code

No

String

Product code of the marketplace image.

flavor_id

No

String

Specification ID.

limit

No

Integer

Number of records per page. The value ranges from 0 to 100. The default value is 100.

offset

No

Integer

Offset. The default value is 0.

agent_version

No

String

Agent version. Images can be filtered by agent version.

sort_field

No

String

Field used for sorting the query results. The value is the image attribute field name or created_at. The default value is name.

sort_type

No

String

Whether the query results are sorted in ascending or descending order. Its value can be desc or asc. This parameter is used together with sort_field. The default value is asc.

language

No

String

Language type.

  • zh-cn - Chinese.

  • en-us - English.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

task_id

String

Export task ID.

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 401

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 403

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 404

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 405

Table 8 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 500

Table 9 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 503

Table 10 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

Method Not Allowed

500

Internal Server Error. For details, see the error code description.

503

Service Unavailable

Error Codes

See Error Codes.