View data dashboard details

Read the specified data dashboard and its data source and chart configuration.

HTTP
GET $CLOUDSIGMA_API_BASE/data-dashboards/{dashboard_id}

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. Select the ID of the required data dashboard from the list of Query Data Kanban List.

Request parameters

Replace $DASHBOARD_ID, $CLOUDSIGMA_API_KEY, $WORKSPACE_ID in the example with actual values.

Shell
curl -X GET "$CLOUDSIGMA_API_BASE/data-dashboards/$DASHBOARD_ID" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Parameter

Type

Required

Description

dashboard_id

string

Yes

Data dashboard ID.

Successful response

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {
    "ID": "0198ce73-3d20-7c12-9a11-1a2b3c4d5e6f",
    "Name": "销售概览",
    "Description": "按日查看销售数据",
    "CreatedByRoleID": "role-001",
    "CreatedAt": "2026-08-21T07:00:00Z",
    "UpdatedAt": "2026-08-21T07:00:00Z",
    "sources": [
      {
        "ID": "source-001",
        "DashboardID": "0198ce73-3d20-7c12-9a11-1a2b3c4d5e6f",
        "TableID": 1001,
        "DatabaseName": "analytics",
        "TableName": "daily_sales"
      }
    ],
    "charts": [],
    "alerts": [],
    "active_alert_count": 0
  }
}

Field

Type

Description

data.ID

string

Chart ID. Used for chart update, delete, run, and results read requests.

data.Name

string

Data dashboard name.

data.Description

string

Data dashboard description.

data.CreatedByRoleID

string

The role ID used when creating the data dashboard.

data.CreatedAt

string

The creation time of the data source associated record. RFC 3339 time.

data.UpdatedAt

string

Update time. RFC 3339 time.

data.sources

array of object

List of data sources.

data.sources[].ID

string

logo.

data.sources[].DashboardID

string

Data dashboard ID.

data.sources[].TableID

integer

Table ID.

data.sources[].DatabaseName

string

Database name.

data.sources[].TableName

string

Table name.

data.sources[].Status

string

status. Value: active, invalid.

data.sources[].AffectedCharts

array of object

Affected charts.

data.sources[].AffectedCharts[].ID

string

logo.

data.sources[].AffectedCharts[].Name

string

Name.

data.charts

array of object

Chart list. Details are returned in the response.

data.charts[].ID

string

logo.

data.charts[].DashboardID

string

Data dashboard ID.

data.charts[].Name

string

Name.

data.charts[].ChartType

string

Chart type.

data.charts[].SQLText

string

SQL text.

data.charts[].DatabaseName

string

Database name.

data.charts[].ChartConfig

string

Chart configuration JSON text.

data.charts[].LayoutConfig

string

Layout configuration JSON text.

data.charts[].RefreshInterval

string

Refresh interval.

data.charts[].SchedulerTaskID

string

Scheduled task ID.

data.charts[].ScheduleVersion

integer

Scheduling version.

data.charts[].ScheduleStatus

string

Scheduling status.

data.charts[].ScheduleError

string

Scheduling error.

data.charts[].AlertEnabled

boolean

Whether to enable alarms.

data.charts[].AlertConfig

string

Alert configuration JSON text.

data.charts[].SnapshotEpochAt

string

Snapshot starting time. RFC 3339 time.

data.charts[].CreatedAt

string

Creation time. RFC 3339 time.

data.charts[].UpdatedAt

string

Update time. RFC 3339 time.

data.alerts

array of object

Alarm record list.

data.alerts[].ID

string

logo.

data.alerts[].DashboardID

string

Data dashboard ID.

data.alerts[].ChartID

string

Chart ID.

data.alerts[].ChartName

string

Chart name.

data.alerts[].FieldName

string

Alarm field name.

data.alerts[].XFieldName

string

X-axis field name.

data.alerts[].Operator

string

Comparison operators.

data.alerts[].Threshold

number

threshold.

data.alerts[].XValue

string

X-axis value.

data.alerts[].TriggerValue

number

Alarm trigger value.

data.alerts[].Level

string

level.

data.alerts[].Status

string

status.

data.alerts[].OccurredAt

string

Occurrence time. RFC 3339 time.

data.alerts[].LastNotifiedAt

string

Last notification time. RFC 3339 time.

data.active_alert_count

integer

The number of charts currently in alarm status.

Error response

The following example corresponds to HTTP 404.

JSON
{
  "code": "ErrDataDashboardNotFound",
  "msg": "Not Found"
}

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