agriculture.fleet.snapshot ​
Vendor-neutral mixed-fleet AEMP snapshot over connected OEMs.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-agriculture |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization UUID |
cloud_connection_uuid | uuid | No | — | Optional Deere connection UUID to filter source_ref rows |
workflow_run_id | string | No | — | Engine-stamped parent DAG run id |
page | integer | No | — | One-based page; default 1 |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization UUID |
cloud_connection_uuid | uuid | No | — | Optional Deere connection UUID to filter source_ref rows |
workflow_run_id | string | No | — | Engine-stamped parent DAG run id |
page | integer | No | — | Page echoed |
assets | list | Yes | — | Normalized assets (machine_uuid when known, make, model, serial_ref, location, hours, fuel) |
record_count | integer | Yes | — | Assets in this page |
read_at | string | Yes | — | ISO-8601 read timestamp |
coverage | json | Yes | — | Per-vendor coverage flags (deere/cnh/caterpillar/agco) for this payload |
failure_reason | string | No | — | Safe terminal failure reason |
failure_type | string | No | — | Stable failure classification |
failed_action | string | No | — | Action that failed |
failed_step | json | No | — | Failed DAG step envelope |
failed_layer | integer | No | — | One-based failed DAG layer |
failed_at_state | string | No | — | State where failure occurred |
error | string | No | — | Safe unexpected error |
error_type | string | No | — | Unexpected exception class |
failed_at | string | No | — | ISO-8601 failure timestamp |
provider_request_ref | string | No | — | Safe provider request reference |
retryable | boolean | No | — | Whether the failure is retryable |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "agriculture.fleet.snapshot",
"initial_data": {
"organization_uuid": "value"
}
}