← API reference
CANONICAL TYPE REFERENCE

UpsertSubstratePayload

Result of creating or updating a substrate

The substrate as stored after the upsert (with its sub_… id, newly minted on create). Null when validation failed and nothing was written.

Field-level validation errors keyed by input path. Empty on success.

View exact SDL
"""Result of creating or updating a substrate"""
type UpsertSubstratePayload {
  """
  The substrate as stored after the upsert (with its `sub_…` id, newly minted on create). Null when validation failed and nothing was written.
  """
  substrate: SubstrateState
  """Field-level validation errors keyed by input path. Empty on success."""
  errors: [FieldError!]!
}

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