Get span field coverage
Given a filter over spans, return the union of span attribute keys and evaluator outputs that appear in the matching spans, along with a coverage count for each field.
Useful for schema discovery and data completeness analysis — e.g. before adding spans to an evaluation dataset, an agent or UI can call this endpoint to understand which attributes are present and how consistently they appear across the selected spans, without fetching full span payloads.
The query is bounded internally to the first 10,000 matching spans. When this cap is reached, sampled is set to true and counts are approximate.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
UUID of the GenAI application to query spans from
Start of the time range (inclusive, UTC).
End of the time range (exclusive, UTC).
Optional structured filter tree. Uses the same DSL as POST /spans/query. Maximum nesting depth is 3 levels and maximum total rule count is 10.