← All types
In Input object

UpdateDashboardCardInput

Fields for updating a dashboard card — only provided fields are changed

Fields

title

StringOptional

Card title

What the card renders

Possible values (8)
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

config

JSONOptional

Card configuration, shaped by cardType

Grid position and size

sortOrder

IntOptional

Ordering within the dashboard

Referenced by (1)
Exact type SDL
"""
Fields for updating a dashboard card — only provided fields are changed
"""
input UpdateDashboardCardInput {
  """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"""
  sortOrder: Int
}