Query for tasks by search criteria
POST/tasks/query
Query for tasks by search criteria
Request
- application/json
Body
required
If set, returns results starting from the given pageToken.
If present matches Tasks with this parent Task ID. Note: this is mutually exclusive with all other query parameters, i.e., either provide parent Task ID, or any of the remaining parameters, but not both.
statusFilter
object
Status of the Task to filter by, inclusive.
Possible values: [STATUS_INVALID
, STATUS_CREATED
, STATUS_SCHEDULED_IN_MANAGER
, STATUS_SENT
, STATUS_MACHINE_RECEIPT
, STATUS_ACK
, STATUS_WILCO
, STATUS_EXECUTING
, STATUS_WAITING_FOR_UPDATE
, STATUS_DONE_OK
, STATUS_DONE_NOT_OK
, STATUS_REPLACED
, STATUS_CANCEL_REQUESTED
, STATUS_COMPLETE_REQUESTED
, STATUS_VERSION_REJECTED
]
updateTimeRange
object
If provided, only provides Tasks updated within the time range.
Datetime string in ISO 8601 format.
Datetime string in ISO 8601 format.
Responses
- 200
- 400
- 401
- 404
Task query was successful
- application/json
- Schema
- Example (from schema)
Schema
Incomplete results can be detected by a non-empty nextPageToken field in the query results. In order to retrieve the next page, perform the exact same request as previously and append a pageToken field with the value of nextPageToken from the previous page. A new nextPageToken is provided on the following pages until all the results are retrieved.
{
"tasks": [
{
"version": {
"taskId": "string",
"definitionVersion": 0,
"statusVersion": 0
},
"displayName": "string",
"specification": {
"@type": "string"
},
"createdBy": {
"system": {
"serviceName": "string",
"entityId": "string",
"managesOwnScheduling": true
},
"user": {
"userId": "string"
},
"team": {
"entityId": "string",
"members": [
{
"entityId": "string"
}
]
}
},
"lastUpdatedBy": {
"system": {
"serviceName": "string",
"entityId": "string",
"managesOwnScheduling": true
},
"user": {
"userId": "string"
},
"team": {
"entityId": "string",
"members": [
{
"entityId": "string"
}
]
}
},
"lastUpdateTime": "2024-07-29T15:51:28.071Z",
"status": {
"status": "STATUS_INVALID",
"taskError": {
"code": "ERROR_CODE_INVALID",
"message": "string",
"errorDetails": {
"@type": "string"
}
},
"progress": {
"@type": "string"
},
"result": {
"@type": "string"
},
"startTime": "2024-07-29T15:51:28.071Z",
"estimate": {
"@type": "string"
},
"allocation": {
"activeAgents": [
{
"entityId": "string"
}
]
}
},
"scheduledTime": "2024-07-29T15:51:28.071Z",
"relations": {
"assignee": {
"system": {
"serviceName": "string",
"entityId": "string",
"managesOwnScheduling": true
},
"user": {
"userId": "string"
},
"team": {
"entityId": "string",
"members": [
{
"entityId": "string"
}
]
}
},
"parentTaskId": "string"
},
"description": "string",
"isExecutedElsewhere": true,
"createTime": "2024-07-29T15:51:28.071Z",
"replication": {
"staleTime": "2024-07-29T15:51:28.071Z"
},
"initialEntities": [
{
"entity": {
"entityId": "string",
"description": "string",
"isLive": true,
"createdTime": "2024-07-29T15:51:28.071Z",
"expiryTime": "2024-07-29T15:51:28.071Z",
"status": {
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
},
"location": {
"position": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"velocityEnu": {
"e": 0,
"n": 0,
"u": 0
},
"speedMps": 0,
"acceleration": {
"e": 0,
"n": 0,
"u": 0
},
"attitudeEnu": {
"x": 0,
"y": 0,
"z": 0,
"w": 0
}
},
"locationUncertainty": {
"positionEnuCov": {
"mxx": 0,
"mxy": 0,
"mxz": 0,
"myy": 0,
"myz": 0,
"mzz": 0
},
"velocityEnuCov": {
"mxx": 0,
"mxy": 0,
"mxz": 0,
"myy": 0,
"myz": 0,
"mzz": 0
},
"positionErrorEllipse": {
"probability": 0,
"semiMajorAxisM": 0,
"semiMinorAxisM": 0,
"orientationD": 0
}
},
"geoShape": {
"point": {
"position": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
}
},
"line": {
"positions": [
{
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
}
]
},
"polygon": {
"rings": [
{
"positions": [
{
"position": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"heightM": 0
}
]
}
],
"isRectangle": true
},
"ellipse": {
"semiMajorAxisM": 0,
"semiMinorAxisM": 0,
"orientationD": 0,
"heightM": 0
},
"ellipsoid": {
"forwardAxisM": 0,
"sideAxisM": 0,
"upAxisM": 0
}
},
"geoDetails": {
"type": "GEO_TYPE_INVALID"
},
"aliases": {
"alternateIds": [
{
"id": "string",
"type": "ALT_ID_TYPE_INVALID"
}
],
"name": "string"
},
"tracked": {
"trackQualityWrapper": 0,
"sensorHits": 0,
"numberOfObjects": {
"lowerBound": 0,
"upperBound": 0
},
"radarCrossSection": 0,
"lastMeasurementTime": "2024-07-29T15:51:28.071Z",
"lineOfBearing": {
"angleOfArrival": {
"relativePose": {
"pos": {
"lon": 0,
"lat": 0,
"alt": 0,
"is2d": true,
"altitudeReference": "ALTITUDE_REFERENCE_INVALID"
},
"attEnu": {
"x": 0,
"y": 0,
"z": 0,
"w": 0
}
},
"bearingElevationCovarianceRad2": {
"mxx": 0,
"mxy": 0,
"myy": 0
}
},
"rangeEstimateM": {
"value": 0,
"sigma": 0
},
"maxRangeM": {
"value": 0,
"sigma": 0
}
}
},
"correlation": {
"primary": {
"secondaryEntityIds": [
"string"
]
},
"secondary": {
"primaryEntityId": "string",
"metadata": {
"provenance": {
"integrationName": "string",
"dataType": "string",
"sourceId": "string",
"sourceUpdateTime": "2024-07-29T15:51:28.071Z",
"sourceDescription": "string"
},
"replicationMode": "CORRELATION_REPLICATION_MODE_INVALID",
"type": "CORRELATION_TYPE_INVALID"
}
},
"membership": {
"correlationSetId": "string",
"primary": {},
"nonPrimary": {},
"metadata": {
"provenance": {
"integrationName": "string",
"dataType": "string",
"sourceId": "string",
"sourceUpdateTime": "2024-07-29T15:51:28.071Z",
"sourceDescription": "string"
},
"replicationMode": "CORRELATION_REPLICATION_MODE_INVALID",
"type": "CORRELATION_TYPE_INVALID"
}
},
"decorrelation": {
"all": {
"metadata": {
"provenance": {
"integrationName": "string",
"dataType": "string",
"sourceId": "string",
"sourceUpdateTime": "2024-07-29T15:51:28.071Z",
"sourceDescription": "string"
},
"replicationMode": "CORRELATION_REPLICATION_MODE_INVALID",
"type": "CORRELATION_TYPE_INVALID"
}
},
"decorrelatedEntities": [
{
"entityId": "string",
"metadata": {
"provenance": {
"integrationName": "string",
"dataType": "string",
"sourceId": "string",
"sourceUpdateTime": "2024-07-29T15:51:28.071Z",
"sourceDescription": "string"
},
"replicationMode": "CORRELATION_REPLICATION_MODE_INVALID",
"type": "CORRELATION_TYPE_INVALID"
}
}
]
}
},
"milView": {
"disposition": "DISPOSITION_UNKNOWN",
"environment": "ENVIRONMENT_UNKNOWN",
"nationality": "NATIONALITY_INVALID"
},
"ontology": {
"platformType": "string",
"specificType": "string",
"template": "TEMPLATE_INVALID"
},
"sensors": {
"sensors": [
{
"sensorId": "string",
"operationalState": "OPERATIONAL_STATE_INVALID",
"sensorType": "SENSOR_TYPE_INVALID",
"sensorDescription": "string",
"rfConfiguraton": {
"frequencyRangeHz": [
{
"minimumFrequencyHz": {
"frequencyHz": {
"value": 0,
"sigma": 0
}
},
"maximumFrequencyHz": {
"frequencyHz": {
"value": 0,
"sigma": 0
}
}
}
],
"bandwidthRangeHz": [
{
"minimumBandwidth": {
"bandwidthHz": 0
},
"maximumBandwidth": {
"bandwidthHz": 0
}
}
]
},
"lastDetectionTimestamp": "2024-07-29T15:51:28.071Z",
"fieldsOfView": [
{
"fovId": 0,
"mountId": "string",
"projectedFrustum": {
"upperLeft": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"upperRight": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"bottomRight": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"bottomLeft": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
}
},
"projectedCenterRay": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"centerRayPose": {
"pos": {
"lon": 0,
"lat": 0,
"alt": 0,
"is2d": true,
"altitudeReference": "ALTITUDE_REFERENCE_INVALID"
},
"attEnu": {
"x": 0,
"y": 0,
"z": 0,
"w": 0
}
},
"horizontalFov": 0,
"verticalFov": 0,
"range": 0,
"mode": "SENSOR_MODE_INVALID"
}
]
}
]
},
"payloads": {
"payloadConfigurations": [
{
"config": {
"capabilityId": "string",
"quantity": 0,
"effectiveEnvironment": [
"ENVIRONMENT_UNKNOWN"
],
"payloadOperationalState": "PAYLOAD_OPERATIONAL_STATE_INVALID",
"payloadDescription": "string"
}
}
]
},
"powerState": {
"sourceIdToState": {}
},
"provenance": {
"integrationName": "string",
"dataType": "string",
"sourceId": "string",
"sourceUpdateTime": "2024-07-29T15:51:28.071Z",
"sourceDescription": "string"
},
"overrides": {
"override": [
{
"requestId": "string",
"fieldPath": "string",
"status": "OVERRIDE_STATUS_INVALID",
"provenance": {
"integrationName": "string",
"dataType": "string",
"sourceId": "string",
"sourceUpdateTime": "2024-07-29T15:51:28.071Z",
"sourceDescription": "string"
},
"type": "OVERRIDE_TYPE_INVALID",
"requestTimestamp": "2024-07-29T15:51:28.071Z"
}
]
},
"indicators": {
"simulated": true,
"exercise": true,
"emergency": true,
"c2": true,
"egressable": true,
"starred": true
},
"targetPriority": {
"highValueTarget": {
"isHighValueTarget": true,
"targetPriority": 0,
"targetMatches": [
{
"highValueTargetListId": "string",
"highValueTargetDescriptionId": "string"
}
],
"isHighPayoffTarget": true
},
"threat": {
"isThreat": true
}
},
"signal": {
"frequencyCenter": {
"frequencyHz": {
"value": 0,
"sigma": 0
}
},
"frequencyRange": {
"minimumFrequencyHz": {
"frequencyHz": {
"value": 0,
"sigma": 0
}
},
"maximumFrequencyHz": {
"frequencyHz": {
"value": 0,
"sigma": 0
}
}
},
"bandwidthHz": 0,
"signalToNoiseRatio": 0,
"lineOfBearing": {
"angleOfArrival": {
"relativePose": {
"pos": {
"lon": 0,
"lat": 0,
"alt": 0,
"is2d": true,
"altitudeReference": "ALTITUDE_REFERENCE_INVALID"
},
"attEnu": {
"x": 0,
"y": 0,
"z": 0,
"w": 0
}
},
"bearingElevationCovarianceRad2": {
"mxx": 0,
"mxy": 0,
"myy": 0
}
},
"rangeEstimateM": {
"value": 0,
"sigma": 0
},
"maxRangeM": {
"value": 0,
"sigma": 0
}
},
"fixed": {},
"emitterNotations": [
{
"emitterNotation": "string",
"confidence": 0
}
],
"pulseWidthS": 0,
"pulseRepetitionInterval": {
"pulseRepetitionIntervalS": {
"value": 0,
"sigma": 0
}
},
"scanCharacteristics": {
"scanType": "SCAN_TYPE_INVALID",
"scanPeriodS": 0
}
},
"transponderCodes": {
"mode1": 0,
"mode2": 0,
"mode3": 0,
"mode4InterrogationResponse": "INTERROGATION_RESPONSE_INVALID",
"mode5": {
"mode5InterrogationResponse": "INTERROGATION_RESPONSE_INVALID",
"mode5": 0,
"mode5PlatformId": 0
},
"modeS": {
"id": "string",
"address": 0
}
},
"dataClassification": {
"default": {
"level": "CLASSIFICATION_LEVELS_INVALID",
"caveats": [
"string"
]
},
"fields": [
{
"fieldPath": "string",
"classificationInformation": {
"level": "CLASSIFICATION_LEVELS_INVALID",
"caveats": [
"string"
]
}
}
]
},
"taskCatalog": {
"taskDefinitions": [
{
"taskSpecificationUrl": "string"
}
]
},
"relationships": {
"relationships": [
{
"relatedEntityId": "string",
"relationshipId": "string",
"relationshipType": {
"trackedBy": {
"activelyTrackingSensors": {
"sensors": [
{
"sensorId": "string",
"operationalState": "OPERATIONAL_STATE_INVALID",
"sensorType": "SENSOR_TYPE_INVALID",
"sensorDescription": "string",
"rfConfiguraton": {
"frequencyRangeHz": [
{
"minimumFrequencyHz": {
"frequencyHz": {
"value": 0,
"sigma": 0
}
},
"maximumFrequencyHz": {
"frequencyHz": {
"value": 0,
"sigma": 0
}
}
}
],
"bandwidthRangeHz": [
{
"minimumBandwidth": {
"bandwidthHz": 0
},
"maximumBandwidth": {
"bandwidthHz": 0
}
}
]
},
"lastDetectionTimestamp": "2024-07-29T15:51:28.071Z",
"fieldsOfView": [
{
"fovId": 0,
"mountId": "string",
"projectedFrustum": {
"upperLeft": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"upperRight": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"bottomRight": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"bottomLeft": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
}
},
"projectedCenterRay": {
"latitudeDegrees": 0,
"longitudeDegrees": 0,
"altitudeHaeMeters": 0,
"altitudeAglMeters": 0,
"altitudeAsfMeters": 0,
"pressureDepthMeters": 0
},
"centerRayPose": {
"pos": {
"lon": 0,
"lat": 0,
"alt": 0,
"is2d": true,
"altitudeReference": "ALTITUDE_REFERENCE_INVALID"
},
"attEnu": {
"x": 0,
"y": 0,
"z": 0,
"w": 0
}
},
"horizontalFov": 0,
"verticalFov": 0,
"range": 0,
"mode": "SENSOR_MODE_INVALID"
}
]
}
]
},
"lastMeasurementTimestamp": "2024-07-29T15:51:28.071Z"
},
"groupChild": {},
"groupParent": {},
"mergedFrom": {}
}
}
]
},
"visualDetails": {
"rangeRings": {
"minDistanceM": 0,
"maxDistanceM": 0,
"ringCount": 0,
"ringLineColor": {
"red": 0,
"green": 0,
"blue": 0,
"alpha": 0
}
}
},
"dimensions": {
"lengthM": 0
},
"routeDetails": {
"destinationName": "string",
"estimatedArrivalTime": "2024-07-29T15:51:28.071Z"
},
"schedules": {
"schedules": [
{
"windows": [
{
"cronExpression": "string",
"durationMillis": "string"
}
],
"scheduleId": "string",
"scheduleType": "SCHEDULE_TYPE_INVALID"
}
]
},
"health": {
"connectionStatus": "CONNECTION_STATUS_INVALID",
"healthStatus": "HEALTH_STATUS_INVALID",
"components": [
{
"id": "string",
"name": "string",
"health": "HEALTH_STATUS_INVALID",
"messages": [
{
"status": "HEALTH_STATUS_INVALID",
"message": "string"
}
],
"updateTime": "2024-07-29T15:51:28.071Z"
}
],
"updateTime": "2024-07-29T15:51:28.071Z",
"activeAlerts": [
{
"alertCode": "string",
"description": "string",
"level": "ALERT_LEVEL_INVALID",
"activatedTime": "2024-07-29T15:51:28.071Z",
"activeConditions": [
{
"conditionCode": "string",
"description": "string"
}
]
}
]
},
"groupDetails": {},
"supplies": {
"fuel": [
{
"fuelId": "string",
"name": "string",
"reportedDate": "2024-07-29T15:51:28.071Z",
"amountGallons": 0,
"maxAuthorizedCapacityGallons": 0,
"operationalRequirementGallons": 0,
"dataClassification": {
"default": {
"level": "CLASSIFICATION_LEVELS_INVALID",
"caveats": [
"string"
]
},
"fields": [
{
"fieldPath": "string",
"classificationInformation": {
"level": "CLASSIFICATION_LEVELS_INVALID",
"caveats": [
"string"
]
}
}
]
},
"dataSource": "string"
}
]
},
"orbit": {
"orbitMeanElements": {
"metadata": {
"creationDate": "2024-07-29T15:51:28.071Z",
"originator": "string",
"messageId": "string",
"refFrame": "ECI_REFERENCE_FRAME_INVALID",
"refFrameEpoch": "2024-07-29T15:51:28.071Z",
"meanElementTheory": "MEAN_ELEMENT_THEORY_INVALID"
},
"meanKeplerianElements": {
"epoch": "2024-07-29T15:51:28.071Z",
"semiMajorAxisKm": 0,
"meanMotion": 0,
"eccentricity": 0,
"inclinationDeg": 0,
"raOfAscNodeDeg": 0,
"argOfPericenterDeg": 0,
"meanAnomalyDeg": 0,
"gm": 0
},
"tleParameters": {
"ephemerisType": 0,
"classificationType": "string",
"noradCatId": 0,
"elementSetNo": 0,
"revAtEpoch": 0,
"bstar": 0,
"bterm": 0,
"meanMotionDot": 0,
"meanMotionDdot": 0,
"agom": 0
}
}
}
},
"snapshot": true
}
],
"owner": {
"entityId": "string"
}
}
],
"nextPageToken": "string"
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"message": "string"
}
Unauthorized to access resource
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"message": "string"
}
The specified resource was not found
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"message": "string"
}