Space Docs
Domain Model

Sync State

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
workspaceIdstring.uuidYes—ID of the associated workspace
externalConnectionIdstring.uuidYes—ID of the associated external connection
localRecordTypestringYes—Local record type
localRecordIdstring.uuidYes—ID of the associated local record
externalRecordTypestringYes—External record type
externalRecordIdstringYes—ID of the associated external record
syncDirectionenum(bidirectional, push, pull, ignore)Yes—Sync direction
fieldSnapshotJsonobjectYes—Field snapshot json
lastSyncedAtunknownYes—Last synced at
lastSyncOriginenum(local, external)Yes—Last sync origin
syncStatusenum(synced, pending, error, conflict)Yes—Sync status
errorMessagestring,nullYes—Error message

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstring.uuidYes—ID of the associated workspace
externalConnectionIdstring.uuidYes—ID of the associated external connection
localRecordTypestringYes—Local record type
localRecordIdstring.uuidYes—ID of the associated local record
externalRecordTypestringYes—External record type
externalRecordIdstringYes—ID of the associated external record
syncDirectionenum(bidirectional, push, pull, ignore)Yes"bidirectional"Sync direction

On this page