Skip to main content

ListDataPermissions

Permission to list datasets

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.

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

WorkspaceId

string

Yes

The unique ID of the Alibaba Cloud Model Studio workspace. For more information, see Get a workspaceId.

llm-xx

DataType

string

No

The data type.

  • dataset: a dataset

dataset

DataId

string

No

The unique ID of the data.

  • Example for a dataset: SystemSearch.QuarkCommonNews

SystemSearch.QuarkCommonNews

PageSize

integer

No

The number of entries on each page.

10

PageNumber

integer

No

The page number. Default value: 1.

1

Response elements

Element

Type

Description

Example

object

The response.

Data

array<object>

The returned data.

object

The returned data.

Id

integer

The primary key ID.

1

CreateUser

string

The creator.

xxx

CreateTime

string

The creation time.

2024-11-12 21:46:24

UserId

string

The unique ID of the user with the permission.

CustomSemanticSearch

Username

string

The name of the user with the permission.

xxx

DataType

string

The data type.

  • dataset: a dataset

xxx

DataId

string

The unique ID of the data.

  • Example for a dataset: SystemSearch.QuarkCommonNews

SystemSearch.QuarkCommonNews

Permission

string

The permission type. The default value is `read`, which means read-only.

read

PageNumber

integer

The page number.

1

RequestId

string

The unique ID of the request.

1813ceee-7fe5-41b4-87e5-982a4d18cca5

Success

boolean

Indicates whether the request was successful. `true` indicates success and `false` indicates failure.

true

Code

string

The status code.

NoData

Message

string

The error message.

success

HttpStatusCode

integer

The HTTP status code.

200

TotalCount

integer

The total number of entries.

100

PageSize

integer

The number of entries on each page.

10

Examples

Success response JSON format
{
  "Data": [
    {
      "Id": 1,
      "CreateUser": "xxx",
      "CreateTime": "2024-11-12 21:46:24",
      "UserId": "CustomSemanticSearch",
      "Username": "xxx",
      "DataType": "xxx",
      "DataId": "SystemSearch.QuarkCommonNews\n",
      "Permission": "read"
    }
  ],
  "PageNumber": 1,
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true,
  "Code": "NoData",
  "Message": "success",
  "HttpStatusCode": 200,
  "TotalCount": 100,
  "PageSize": 10
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.
Token Plan
Model Playground
  • 3D model generation
  • Audio generation
Fine-tuning
Model Compression
Statistics and Monitoring
Support