Get Trace Filter Schema
GET
/traces/filter-schemaReturns the available filterable fields, their types, valid operators, and enum values.
The frontend uses this to dynamically build the filter bar UI:
- Field dropdown populated from
fields[].key - Operator dropdown changes per field type
- Value input shows autocomplete for enum fields (e.g., status)
- Logical operators (AND, OR) for combining clauses
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl --request GET 'https://example.com/traces/filter-schema'{ "fields": [ { "key": "string", "label": "string", "type": "string", "operators": [ "string" ], "values": [ "string" ] } ], "logical_operators": [ "AND", "OR" ]}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}{ "detail": "string"}{ "detail": "string", "error_id": "string", "error_type": "string"}