← API reference
CANONICAL TYPE REFERENCE

DashboardCardState

A card within a dashboard — one metric, chart, table, block of markdown, or embedded custom app. Cards display; they take no actions.

Unique identifier

Parent dashboard ID

titleString!

Card display title

Card type determining renderer

Card-type-specific configuration (JSON)

Grid layout position and size

Sort order for card display

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""
A card within a dashboard — one metric, chart, table, block of markdown, or embedded custom app. Cards display; they take no actions.
"""
type DashboardCardState @iac_resource(name: "dashboard_card") @iac_ops(create: "createDashboardCard", read: "getDashboardCard", update: "updateDashboardCard", delete: "deleteDashboardCard") {
  """Unique identifier"""
  id: DashboardCardID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Parent dashboard ID"""
  dashboardId: DashboardID! @iac_ref(resource: "dashboard") @iac_createOnly
  """Card display title"""
  title: String!
  """Card type determining renderer"""
  cardType: DashboardCardType!
  """Card-type-specific configuration (JSON)"""
  config: JSON!
  """Grid layout position and size"""
  position: DashboardCardPosition!
  """Sort order for card display"""
  sortOrder: Int!
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.