Path parameters
- job_id
string Required Identifier for the anomaly detection job.
Query parameters
- desc
boolean If true, the results are sorted in descending order.
- end
string | number Returns records with timestamps earlier than this time. The default value means results are not limited to specific timestamps.
- exclude_interim
boolean If
true
, the output excludes interim results. - from
number Skips the specified number of records.
- record_score
number Returns records with anomaly scores greater or equal than this value.
- size
number Specifies the maximum number of records to obtain.
- sort
string Specifies the sort field for the requested records.
- start
string | number Returns records with timestamps after this time. The default value means results are not limited to specific timestamps.
Body
- desc
boolean Refer to the description for the
desc
query parameter. - exclude_interim
boolean Refer to the description for the
exclude_interim
query parameter. - page
object - record_score
number Refer to the description for the
record_score
query parameter. - sort
string Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.
curl \
--request GET 'http://api.example.com/_ml/anomaly_detectors/{job_id}/results/records' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"desc":true,"":"string","exclude_interim":true,"page":{"from":42.0,"size":42.0},"record_score":42.0,"sort":"string"}'