v1

latestOpenAPI 3.0.32026-07-223120123.1 KB
Monitoring

Trigger test evaluation for custom timestamp range

Triggers one-off evaluation of a specific monitoring test for a custom timestamp range. This allows evaluating tests for historical data or custom time periods outside the regular evaluation window schedule. It also allows overwriting the existing test results.

post/tests/{testId}/evaluate

Path parameters

testIdstring uuid required

The test id.

Request body

startTimestampinteger required

Start timestamp in seconds (Unix epoch)

endTimestampinteger required

End timestamp in seconds (Unix epoch)

inferencePipelineIdstring uuid

ID of the inference pipeline to evaluate. If not provided, all inference pipelines the test applies to will be evaluated.

overwriteResultsboolean

Whether to overwrite existing test results

Example request

{
  "startTimestamp": 1699920000,
  "endTimestamp": 1700006400,
  "inferencePipelineId": "123e4567-e89b-12d3-a456-426614174000"
}

Response

Evaluation task queued successfully. Timestamps will be aligned to evaluation window boundaries during execution.

messagestring required
pipelineCountinteger required

Number of inference pipelines the test was queued for evaluation on

requestedStartTimestampinteger required

The start timestamp you requested (in seconds)

requestedEndTimestampinteger required

The end timestamp you requested (in seconds)

Example response

{
  "message": "Evaluation task queued successfully",
  "pipelineCount": 2,
  "requestedStartTimestamp": 1699920000,
  "requestedEndTimestamp": 1700006400
}