Skip to navigation

Manually evaluate spans

View as Markdown
Manually trigger evaluation rules on selected spans. Bypasses sampling and enqueues all specified spans for evaluation.

Request

This endpoint expects an object.
project_idstringRequiredformat: "uuid"
Project ID
entity_idslist of stringsRequired

List of entity IDs (trace IDs or thread IDs) to evaluate

rule_idslist of stringsRequired
List of automation rule IDs to apply
entity_typeenumRequired

Type of entity to evaluate (trace or thread)

Allowed values:

Response

Accepted - Evaluation request queued successfully

entities_queuedintegerOptional
Number of entities queued for evaluation
rules_appliedintegerOptional
Number of rules that will be applied

Errors

400
Bad Request Error
404
Not Found Error