View data dashboard list¶
View the data dashboard visible in the current workspace by paging according to conditions.
POST $CLOUDSIGMA_API_BASE/data-dashboards/list
Before you call¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. Prepare personal access token and target workspace ID that can access the target workspace. The paging token is not required for the first read. The next page uses the token returned from the previous response.
Request body¶
Replace $CLOUDSIGMA_API_KEY, $WORKSPACE_ID in the example with actual values.
curl -X POST "$CLOUDSIGMA_API_BASE/data-dashboards/list" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID" \
-H "Content-Type: application/json" \
-d '{
"search": "销售",
"page_size": 20
}'
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
Filter by name or description. |
|
integer |
No |
Return quantity per page. |
|
string |
No |
Next page token. |
When page_size is less than or equal to 0, use 20, and when it is greater than 100, use 100. Search supports LIKE wildcards % and _. total is the number of all records that meet the filtering conditions.
Pass the returned next_page_token as it is to the next page request. Results are sorted by creation time and ID in descending order, with tokens omitted when there is no next page. The token is not bound to a workspace or search criteria, nor does it replace authorization credentials.
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"items": [
{
"ID": "0198ce73-3d20-7c12-9a11-1a2b3c4d5e6f",
"Name": "销售概览",
"Description": "按日查看销售数据",
"CreatedByRoleID": "role-001",
"CreatedAt": "2026-08-21T07:00:00Z",
"UpdatedAt": "2026-08-21T07:00:00Z"
}
],
"total": 21,
"has_more": true,
"next_page_token": "eyJvZmZzZXQiOjIwfQ"
}
}
Field |
Type |
Description |
|---|---|---|
|
array of object |
Data dashboard list. |
|
string |
logo. |
|
string |
Name. |
|
string |
Description. |
|
string |
The role ID used when creating it. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
array of object |
Data source. |
|
string |
logo. |
|
string |
Data dashboard ID. |
|
integer |
Table ID. |
|
string |
Database name. |
|
string |
Table name. |
|
string |
status. Value: |
|
array of object |
Affected charts. |
|
string |
logo. |
|
string |
Name. |
|
array of object |
Chart list. |
|
string |
logo. |
|
string |
Data dashboard ID. |
|
string |
Name. |
|
string |
Chart type. |
|
string |
SQL text. |
|
string |
Database name. |
|
string |
Chart configuration JSON text. |
|
string |
Layout configuration JSON text. |
|
string |
Refresh interval. |
|
string |
Scheduled task ID. |
|
integer |
Scheduling version. |
|
string |
Scheduling status. |
|
string |
Scheduling error. |
|
boolean |
Whether to enable alarms. |
|
string |
Alert configuration JSON text. |
|
string |
Snapshot starting time. RFC 3339 time. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
array of object |
Alarm records. |
|
string |
logo. |
|
string |
Data dashboard ID. |
|
string |
Chart ID. |
|
string |
Chart name. |
|
string |
Alarm field name. |
|
string |
X-axis field name. |
|
string |
Comparison operators. |
|
number |
threshold. |
|
string |
X-axis value. |
|
number |
Alarm trigger value. |
|
string |
level. |
|
string |
status. |
|
string |
Occurrence time. RFC 3339 time. |
|
string |
Last notification time. RFC 3339 time. |
|
integer |
The current number of alarm charts. |
|
integer |
The total number of matching data dashboards. |
|
boolean |
Is there a next page? |
|
string |
Next page token. Empty string if there is no next page. |
Error response¶
The following example corresponds to HTTP 400.
{
"code": "ErrParamInvalid",
"msg": "Bad Request"
}
Field |
Type |
Description |
|---|---|---|
|
string |
Error code, such as |
|
string |
HTTP status description, such as |