All Products
Search
Document Center

Quick BI:QueryDatasetDetailInfo

Last Updated:Nov 04, 2025

Queries the details of a specified dataset, including the data source, directory, and dataset model.

Operation description

The data source, directory, and dataset model (including dimensions, measures, physical fields, custom SQL text, and association relationships).

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
quickbi-public:QueryDatasetDetailInfoget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DatasetIdstringYes

The ID of the training dataset that you want to remove from the specified custom linguistic model.

5820f58c-c734-4d8a-baf1-7979af4f****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

DC4E1E63-B337-44F8-8C22-6F00DF67E2C3
Resultstring

Returns the dataset data in JSON format: { "cube": { "dimensions": [ { "caption": "customer name", "dataType": "string", "dimensionType": "standard_dimension", "factColumn": "customer_name", "uid": "N5820f5_customer_name" }, { "caption": "datastring", "" standard_dimension", "factColumn": "order_id", "uid": "N5820f5_order_id" }, ], "measures": [ { "caption": "order amount ", "dataType": "number", "factColumn": "order_amt", "measureType": "standard_measure ": " Nderamid " }, " { "customsql": false, "dsId": "261b252d-c3c3-498a-a0a7-5d1ec6cd****", "tableName": "company_sales_record_copy" } }, "datasetId": "5820f58c-c734-4d8a-baf1-7979af4f****", "datasetName": "company_sales_record_copy12", "datasource": { "dsId": "261b252d-c3c3-498a-a0a7-5d1ec6cd****", "dsName": "Self-use", "dsType": "mysql" }, "directory" { "id": "schemaad8aad00-9c55-4984-a767-b4e0ec60****", "name": "My dataset", "pathId": "schemaad8aad00-9c55-4984-a767-b4e0ec60****", "pathName": "My dataset" }, "ownerId": "13651626232****", "ownerName": "Zhang San", "rowLevel": false, "workspaceId": "95296e95-ca89-4c7d-8af9-dedf0ad0****", "workspaceName": "Test Workspace" }

A JSON dataset is returned. For more information, see the description on the left.
Successboolean

The execution result of the interface is returned. Valid values:

  • true: The request was successful.
  • false: The request fails.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
  "Result": "A JSON dataset is returned. For more information, see the description on the left.\n",
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400Cube.Not.ExistThe Cube does not exist.The Cube does not exist.
400Not.WorkspaceCube.ErrorYou can only use the %s dataset of the current workspace.You can only use the dataset of the current workspace.
400UserInfo.ErrorThe personal information is invalid.The personal information is invalid.
400DatasourceId.IsNull.ErrorYou must select a data source before selecting the table.You must select a data source before selecting the table.
400Datasource.UserPermission.ErrorYou do not have datasource authorization.You do not have datasource authorization.
400Internal.System.ErrorAn internal system error occurred.An internal system error occurred.
400Instance.ExpiredYour instance has expired.Your instance has expired.
400Instance.Not.ExistThe specified instance does not exist.The specified instance does not exist.
400Invalid.OrganizationThe specified organizational unit does not exist.The specified organizational unit does not exist.
400User.Not.In.OrganizationThe specified user is not in the organizational unit.The specified user is not in the organizational unit.
400Invalid.ParameterAn error occurred while verifying parameters.An error occurred while verifying parameters.
400Invalid.Parameter.ErrorThe parameter is invalid:%s.invalid parameter: ${0}.
400Invalid.Param.ErrorThe parameter is invalid.The parameter is invalid.
400Invalid.User.AdminYou are not an administrator of this organization.Only organization administrators can perform this operation.
400System.Param.EmptyYou must specify the %s parameter.You must specify the %s parameter.
400Access.ForbiddenYour instance version or access key is not allowed to call the API operation, only professional version supports calling.Your instance version or access key is not allowed to call the API operation, only professional version supports calling.
400ApiUser.Not.ExistsThe specified user does not exist.The specified user does not exist.

For a list of error codes, visit the Service error codes.