View data dashboard list

View the data dashboard visible in the current workspace by paging according to conditions.

HTTP
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.

Shell
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

search

string

No

Filter by name or description.

page_size

integer

No

Return quantity per page.

page_token

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

JSON
{
  "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

data.items

array of object

Data dashboard list.

data.items[].ID

string

logo.

data.items[].Name

string

Name.

data.items[].Description

string

Description.

data.items[].CreatedByRoleID

string

The role ID used when creating it.

data.items[].CreatedAt

string

Creation time. RFC 3339 time.

data.items[].UpdatedAt

string

Update time. RFC 3339 time.

data.items[].sources

array of object

Data source.

data.items[].sources[].ID

string

logo.

data.items[].sources[].DashboardID

string

Data dashboard ID.

data.items[].sources[].TableID

integer

Table ID.

data.items[].sources[].DatabaseName

string

Database name.

data.items[].sources[].TableName

string

Table name.

data.items[].sources[].Status

string

status. Value: active, invalid.

data.items[].sources[].AffectedCharts

array of object

Affected charts.

data.items[].sources[].AffectedCharts[].ID

string

logo.

data.items[].sources[].AffectedCharts[].Name

string

Name.

data.items[].charts

array of object

Chart list.

data.items[].charts[].ID

string

logo.

data.items[].charts[].DashboardID

string

Data dashboard ID.

data.items[].charts[].Name

string

Name.

data.items[].charts[].ChartType

string

Chart type.

data.items[].charts[].SQLText

string

SQL text.

data.items[].charts[].DatabaseName

string

Database name.

data.items[].charts[].ChartConfig

string

Chart configuration JSON text.

data.items[].charts[].LayoutConfig

string

Layout configuration JSON text.

data.items[].charts[].RefreshInterval

string

Refresh interval.

data.items[].charts[].SchedulerTaskID

string

Scheduled task ID.

data.items[].charts[].ScheduleVersion

integer

Scheduling version.

data.items[].charts[].ScheduleStatus

string

Scheduling status.

data.items[].charts[].ScheduleError

string

Scheduling error.

data.items[].charts[].AlertEnabled

boolean

Whether to enable alarms.

data.items[].charts[].AlertConfig

string

Alert configuration JSON text.

data.items[].charts[].SnapshotEpochAt

string

Snapshot starting time. RFC 3339 time.

data.items[].charts[].CreatedAt

string

Creation time. RFC 3339 time.

data.items[].charts[].UpdatedAt

string

Update time. RFC 3339 time.

data.items[].alerts

array of object

Alarm records.

data.items[].alerts[].ID

string

logo.

data.items[].alerts[].DashboardID

string

Data dashboard ID.

data.items[].alerts[].ChartID

string

Chart ID.

data.items[].alerts[].ChartName

string

Chart name.

data.items[].alerts[].FieldName

string

Alarm field name.

data.items[].alerts[].XFieldName

string

X-axis field name.

data.items[].alerts[].Operator

string

Comparison operators.

data.items[].alerts[].Threshold

number

threshold.

data.items[].alerts[].XValue

string

X-axis value.

data.items[].alerts[].TriggerValue

number

Alarm trigger value.

data.items[].alerts[].Level

string

level.

data.items[].alerts[].Status

string

status.

data.items[].alerts[].OccurredAt

string

Occurrence time. RFC 3339 time.

data.items[].alerts[].LastNotifiedAt

string

Last notification time. RFC 3339 time.

data.items[].active_alert_count

integer

The current number of alarm charts.

data.total

integer

The total number of matching data dashboards.

data.has_more

boolean

Is there a next page?

data.next_page_token

string

Next page token. Empty string if there is no next page.

Error response

The following example corresponds to HTTP 400.

JSON
{
  "code": "ErrParamInvalid",
  "msg": "Bad Request"
}

Field

Type

Description

code

string

Error code, such as ErrParamInvalid or ErrDataDashboardNotFound.

msg

string

HTTP status description, such as Bad Request or Not Found.

Last updated on