← API reference
CANONICAL TYPE REFERENCE

UpsertDataRecordInput

Input for creating or updating a data record

ID for update; omit for create

ID of the data schema (required)

nameString

Optional record label

JSON data payload (required)

Optional reference to a taggable entity

View exact SDL
"""Input for creating or updating a data record"""
input UpsertDataRecordInput {
  """ID for update; omit for create"""
  id: DataRecordID
  """ID of the data schema (required)"""
  schemaId: DataSchemaID!
  """Optional record label"""
  name: String
  """JSON data payload (required)"""
  data: JSON!
  """Optional reference to a taggable entity"""
  taggableId: TaggableIDInput
}

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