List inspection-flight jobs
POSTflyins-task
Required service parametersuavsn
Optional type includes auto, manual and favoritePoint. Flight time filters are in milliseconds. Extent is a WKT polygon.
View operationFind inspection flights, survey jobs, and original photos for mapping or crop review.
Create an imagery intake queue. Watch authorized survey jobs for a completed deliverable, capture the task and imagery references, and send approved datasets to your mapping pipeline.
Compatibility. Designed for XAG M-series aircraft. Confirm the account, aircraft, mapping service and download support for your region. The inspection and aerial-survey status schemes are different.
POST /open/service
serviceName=aerial-task
Survey date filters, when supplied, are milliseconds. Review the original documentation for the survey status codes, coverage geometry and deliverables.
Set XAG_APP_UID and XAG_APP_SECRET in your server environment. Substitute the sample IDs with authorized values.
# 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=aerial-task' \
--url-query "appUid=$XAG_APP_UID" \
--url-query "timestamp=$timestamp" \
--url-query "token=$token" \
--header 'Content-Type: application/json' \
--data '{
"uavsn": "YOUR_SCOUTING_DRONE_SN",
"pageNo": 1
}'{
"status": 200,
"data": {
"page": {
"total": 1,
"pageNo": 1
},
"tasks": [
{
"name": "Example survey",
"area": 60000
}
]
}
}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.
POSTflyins-task
Required service parametersuavsn
Optional type includes auto, manual and favoritePoint. Flight time filters are in milliseconds. Extent is a WKT polygon.
View operationPOSTraw-data
Required service parametersuavsn, workUuid, workType
workType is flyins or aerial. Follow the marker cursor for additional pages.
View operationPOSTaerial-task
Required service parametersuavsn
Optional filters include pageNo, WKT extent and millisecond time bounds.
View operationRequired service parametersuavsn, user_guid, name, planning_type, inputs for selected plan
Survey boundaries and point-of-interest plans use different inputs. Confirm planning type, geometry and units, and use an operator review step before submission.
View operation