Skip to content
Proud to collaborate with Microsoft for Startups

data.agriculture.field.upsert ​

Create or update an Orkestia field. Orkestia field under a farm. Boundary geometry is optional.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-agriculture
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
cloud_connection_uuiduuidNo—Optional Deere connection UUID to filter source_ref rows
workflow_run_idstringNo—Engine-stamped parent DAG run id
field_uuiduuidNo—Existing Orkestia field UUID to update
namestringYes—Display name
sourcestringNo—Vendor key (deere/cnh/caterpillar/agco) or orkestia
source_refstringNo—OEM id stored as source_ref, never as the public UUID
farm_uuiduuidYes—Parent Orkestia farm UUID
boundaryjsonNo—Optional GeoJSON boundary

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
cloud_connection_uuiduuidNo—Optional Deere connection UUID to filter source_ref rows
workflow_run_idstringNo—Engine-stamped parent DAG run id
field_uuiduuidYes—Persisted Orkestia field UUID
namestringYes—Display name
sourcestringNo—Vendor key (deere/cnh/caterpillar/agco) or orkestia
source_refstringNo—OEM id stored as source_ref, never as the public UUID
farm_uuiduuidYes—Parent Orkestia farm UUID
boundaryjsonNo—Optional GeoJSON boundary
persistedbooleanYes—Created or updated in this run
persisted_atstringYes—ISO-8601 persist timestamp
coveragejsonYes—Per-vendor coverage flags (deere/cnh/caterpillar/agco) for this payload
failure_reasonstringNo—Safe terminal failure reason
failure_typestringNo—Stable failure classification
failed_actionstringNo—Action that failed
failed_stepjsonNo—Failed DAG step envelope
failed_layerintegerNo—One-based failed DAG layer
failed_at_statestringNo—State where failure occurred
errorstringNo—Safe unexpected error
error_typestringNo—Unexpected exception class
failed_atstringNo—ISO-8601 failure timestamp
provider_request_refstringNo—Safe provider request reference
retryablebooleanNo—Whether the failure is retryable

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.agriculture.field.upsert",
  "initial_data": {
    "organization_uuid": "value",
    "name": "value",
    "farm_uuid": "value"
  }
}