83. Query: Collect Platform Context
At a large number (hundreds or thousands) of processed datasets (like "SatelliteImage", "AsAppliedDataset", "YieldDataset", "SoilDataset", etc) there is always a demand to understand the status of the processing of every dataset and collect the processing summary. These details are provided using getPlatformContext
query.
The common cases:
Trace the processing progress
Collect processing summary and statistics
Observe errors and warnings during processing for further deeper investigation of affected datasets
Supported input filters:
dateFrom
as datetime in ISO 8601 format (ex:"2023-05-25T12:49:00.000Z"
)dateTo
as datetime in ISO 8601 format (ex:"2023-05-30T06:35:00.000Z"
)operationIds
as array of the operation identificators (Strings
)statuses
as array contained values fromContextEventStatus
enum with all processing statuses including intermediate, recommended to use the key ones[Start, Done, Warning, Error, Ignored]
subFieldTypes
as array had values ofTreeNodeEntity
enum with all GeoPard entitiessubFieldUuids
as array with UUIDs linked to the selected entities insubFieldTypes
userUuids
as array of "User" UUIDs to search
At least one of the following filters must be initialized: userUuids
, fieldUuids
, subFieldUuids
, or operationIds
.
If dateFrom
and dateTo
are not specified, the default query duration is set to 12 hours. The maximum recommended time span for data retrieval is 24 hours.
There is a limit of max 10,000 rows delivered.
To observe all available latest values of enums (like: TreeNodeEntity
, ContextEventStatus, ContextMessageKey
), it is recommended to use Altair.
The output object includes the following attributes:
fieldUuid
represents the UUID of the associated FieldsubFieldUuid
denotes the UUID of the linked processed dataset (like "SatelliteImage", "AsAppliedDataset", "YieldDataset", "SoilDataset", etc)subFieldType
as enum linked to theTreeNodeEntity
operationId
as string that holds the identifier of the operation, it remains consistent across all related processing chains, it's advisable to group by this identifier to trace all processing stagesstatus
as enum linked toContextEventStatus
executionDate
as string in the ISO 8601 format that indicates the moment of executionmessageKey
as enum linked toContextMessageKey
that describes the outcome of the executionoptional
as string that provides a technical description (if relevant), it is primarily used for debugging and bug reporting
Last updated