All Products
Search
Document Center

Quick BI:QueryDashboardNl2sql

Last Updated:Nov 04, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Query Dashboard's Question Resource Information

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
UserIdstringYes

User ID.

3d7ebb8***********500078f4
WorkspaceIdstringYes

Workspace ID.

3d7ebb8***********500078f4

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Request ID.

46e537a5****,3dadsu****
Resultarray<object>

Result of the API execution. Possible values:

  • true: Request succeeded
  • false: Request failed
Dataobject

Returns the result of the API execution.

DashboardNamestring

Dashboard name

612b
DashboardNl2sqlIdstring

Dashboard question resource ID

sasdas****sawdau
OwnerIdstring

UserID of the dashboard creator

46e5374665ba4b679ee22e2a2927****
Authoritiesarray

If this parameter has a value and includes "READ", it indicates that the user has read permission for the dashboard question resource.

Authoritiesstring

If this parameter has a value and includes "READ", it indicates that the user has read permission for the dashboard question resource.

READ
Successboolean

Indicates whether the request was successful. Possible values:

  • true: Request succeeded
  • false: Request failed
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "46e537a5****,3dadsu****",
  "Result": [
    {
      "DashboardName": "612b",
      "DashboardNl2sqlId": "sasdas****sawdau",
      "OwnerId": "46e5374665ba4b679ee22e2a2927****",
      "Authorities": [
        "READ"
      ]
    }
  ],
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400Internal.System.ErrorAn internal system error occurred.An internal system error occurred.
400User.Not.In.OrganizationThe specified user is not in the organizational unit.The specified user is not in the organizational unit.
400Workspace.Not.ExistThe group workspace does not exist.The group workspace does not exist.
400Workspace.NotIn.OrganizationThe workspace is not owned by the organization.The workspace is not owned by the organization.
400UserRoleConfig.NotContain.FunctionThe user %s does not have permission to operate.The user %s does not have permission to operate.
400User.NotIn.WorkspaceThe user is not a member of the group workspace.The user is not a member of the group workspace.

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