Help Center/ Data Security Center/ API Reference/ API Description/ Sensitive Data Identification/ Querying the List of Buckets Available for Exporting Sensitive Data Results
Updated on 2026-01-13 GMT+08:00

Querying the List of Buckets Available for Exporting Sensitive Data Results

Function

This API is used to query the list of buckets available for exporting sensitive data classification results.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/scan-jobs/buckets-for-export

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which is used to identify a specific project.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

buckets

Array of Bucket objects

Storage bucket object list, including details about all storage buckets.

total

Integer

Total number of returned storage buckets.

Table 3 Bucket

Parameter

Type

Description

asset_name

String

Asset name, which is used to identify and manage OBS bucket assets.

bind_task

Integer

Number of tasks associated with the OBS bucket.

bucket_location

String

Region or path where the OBS bucket is located.

bucket_name

String

Bucket name, which is used to identify and manage storage buckets.

bucket_policy

String

Storage bucket policy, which defines the access control rules to it.

create_time

Long

Timestamp when an OBS bucket is created.

enable_audit_status

Boolean

Whether the audit function is enabled for the OBS bucket.

id

String

Unique identifier of the OBS bucket.

is_deleted

Boolean

Whether the OBS bucket has been marked as deleted.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

If the request is successful, the available bucket list is returned.

401

Unauthorized. The user is not logged in or the token is invalid.

403

Unauthorized to access the resource.

404

The specified project is not found.

Error Codes

See Error Codes.