UpsertDashboardCardInput
Input for creating or updating a dashboard card
Fields
ID for update; omit for create
Parent dashboard ID (required)
Card title (required)
Card type (required)
Possible values (8)
CUSTOM_APPEmbeds a custom app
RESOURCE_TABLEDisplays a lightweight table of recent records
MARKDOWNDisplays rich text / markdown content
METRICDisplays a single metric value with optional query
METRIC_CHARTTime-bucketed line/bar chart powered by aggregateMetricPoints
METRIC_HISTOGRAMValue distribution histogram powered by metricHistogram
METRIC_GAUGECurrent value gauge with trend projection powered by metricProjection
METRIC_COMPARISONMulti-metric overlay chart powered by compareMetrics
Card-type-specific configuration JSON
Grid position (defaults to 0,0,4,3)
Sort order (defaults to 0)
Referenced by (1)
Exact type SDL
"""Input for creating or updating a dashboard card"""
input UpsertDashboardCardInput {
"""ID for update; omit for create"""
id: DashboardCardID
"""Parent dashboard ID (required)"""
dashboardId: DashboardID!
"""Card title (required)"""
title: String!
"""Card type (required)"""
cardType: DashboardCardType!
"""Card-type-specific configuration JSON"""
config: JSON!
"""Grid position (defaults to 0,0,4,3)"""
position: DashboardCardPositionInput
"""Sort order (defaults to 0)"""
sortOrder: Int
}