Resource
dashboard_card
A card within a dashboard — one metric, chart, table, block of markdown, or embedded custom app. Cards display; they take no actions.
Configuration
dashboardIdDashboardID!RequiredSet on creationDashboard this card belongs to
References dashboard
set once, at creation
titleString!RequiredCard title
cardTypeDashboardCardType!RequiredWhat the card renders
Allowed values
CUSTOM_APP — Embeds a custom app
RESOURCE_TABLE — Displays a lightweight table of recent records
MARKDOWN — Displays rich text / markdown content
METRIC — Displays a single metric value with optional query
METRIC_CHART — Time-bucketed line/bar chart powered by aggregateMetricPoints
METRIC_HISTOGRAM — Value distribution histogram powered by metricHistogram
METRIC_GAUGE — Current value gauge with trend projection powered by metricProjection
METRIC_COMPARISON — Multi-metric overlay chart powered by compareMetrics
configJSON!RequiredCard configuration, shaped by cardType
positionDashboardCardPosition!OptionalGrid position and size
sortOrderInt!OptionalOrdering within the dashboard (defaults to 0)
Input types
Fields for the structured values used in this resource’s configuration.
DashboardCardPositionInput
Grid position input for a dashboard card
xInt!RequiredGrid column position
yInt!RequiredGrid row position
wInt!RequiredWidth in grid columns
hInt!RequiredHeight in grid rows
Read-only values
Lifecycle
The CLI can create this resource. The platform assigns its id.
When replacement is needed, the existing resource is removed before its replacement is created.