CreateDashboardCardInput
Fields for creating a dashboard card
Fields
Dashboard this card belongs to
Card title
What the card renders
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 configuration, shaped by cardType
Grid position and size
Ordering within the dashboard (defaults to 0)
Referenced by (1)
Exact type SDL
"""Fields for creating a dashboard card"""
input CreateDashboardCardInput {
"""Dashboard this card belongs to"""
dashboardId: DashboardID!
"""Card title"""
title: String!
"""What the card renders"""
cardType: DashboardCardType!
"""Card configuration, shaped by cardType"""
config: JSON!
"""Grid position and size"""
position: DashboardCardPositionInput
"""Ordering within the dashboard (defaults to 0)"""
sortOrder: Int
}