Browse developer docs

Rovers

Read rover status, mission details, individual runs, and actuator track data.

Integration workflow

Build an orchard or mowing job report. Use the mission ledger to identify a completed job, then join the individual runs and compare actuator-on portions of the track to the intended treatment area.

  1. R150 run list
  2. Device ID + run time rangeR150 track
  1. R-series mission list
  2. mission_guidMission runs
  3. sortie_idRun telemetry
The older R150 workflow and newer R-series mission workflow use different identifiers.

Compatibility. XAG lists R100, R200 and RM80 for the newer mission and run APIs. The older GET run list and track pages list R150 variants. Confirm each endpoint against the actual rover before choosing an adapter.

List R-series missions

POST /open/service

serviceName=car-mission-list

The date filters use seconds. Mission start_time and end_time in the response are documented in milliseconds. The example work_type 4 denotes mowing.

Set XAG_APP_UID and XAG_APP_SECRET in your server environment. Substitute the sample IDs with authorized values.

Request
# Requires curl 7.87+, Python 3 and OpenSSL.
: "${XAG_APP_UID:?Set XAG_APP_UID}"
: "${XAG_APP_SECRET:?Set XAG_APP_SECRET}"
timestamp=$(python3 -c 'import time; print(time.time_ns() // 1000000)')
token=$(printf "%s" "$XAG_APP_UID$timestamp$XAG_APP_SECRET" | openssl dgst -sha1 -r | cut -d " " -f 1)

curl --silent --show-error --fail-with-body --max-time 30 --request POST \
  'https://open.xa.com/open/service' \
  --url-query 'serviceName=car-mission-list' \
  --url-query "appUid=$XAG_APP_UID" \
  --url-query "timestamp=$timestamp" \
  --url-query "token=$token" \
  --header 'Content-Type: application/json' \
  --data '{
  "sn": "YOUR_ROVER_SN",
  "start_day": 1788134400,
  "end_day": 1788739200,
  "page_no": 1,
  "page_size": 20
}'
Illustrative response
{
  "status": 200,
  "success": true,
  "data": {
    "records": [
      {
        "mission_guid": "example-mission",
        "sn": "EXAMPLE-SN",
        "work_type": 4
      }
    ]
  }
}

Review request signing

Service reference

All services use /open/service with the common signed query parameters. Additional fields are listed below. Open an operation for its parameters, examples and response notes.

List legacy R150 runs

GETcar-sorties-list

Required service parameters
search, startTime, endTime

Set search to the serial number. Use milliseconds and a window of up to 60 days. The optional pagination fields are pageIndex and pageCount.

View operation

Read mission details

POSTcar-mission-detail

Required service parameters
sn, mission_guid

Optional user_guid. The documented mode field distinguishes autonomous, manual and SDK jobs.

View operation

Read run telemetry

POSTcar-sortie-detail

Required service parameters
sn, mission_guid, sortie_id

Confirm with XAG whether these parameters belong in the query or the body. Track timestamps are milliseconds and speed is m/s.

View operation
Location
Richmond Hill, Ontario, Canada