get https://staging.uniti.thread.one/api/entries:latestMLResults
Get the latest ML results for the provided assets.
The steps for determining the latest ML results for each asset are as follows:
- Get the most recent task that has a status of
complete
orneeds_review
, where the
entries that relate to the task are ML-complete. To determine the most recent task, we
compare the tasks' actions'end_time
s. - Get all ML-complete entries for each latest task. We can determine if an entry is
ML-complete by checking the entry'sml_job_status
metadata field. A value of
completed
indicates that the entry is ML-complete. - Get the maximum
detection_severity
for the asset, by looking at all ML-complete
entries' annotations.