input (string): JSON-serialized representation of the span’s input dataoutput (string): JSON-serialized representation of the span’s output datalog_type (string): Type of span ("chat", "embedding", "workflow", etc.)scores (object): Map of evaluator scores { evaluator_id: score_data }
evaluator_name (string): Name of the evaluatorevaluator_slug (string): Slug identifier for the evaluatorscore_value (float): Numerical or boolean score value (booleans represented as 0.0 or 1.0)log_type="chat", "completion", "text", or "response":prompt_messages (array): Full input messages array (extracted from input)completion_message (object): Full output message object (extracted from output)log_type. See log types for details.Example
Example
-id (same as sort by -timestamp, but with better performance).
- is for descending order, if not provided, it will be in ascending order.Properties
scores__d4f46e95-73ff-4166-8581-928c1a1b1589Example
is_test parameter will override this parameter.
Options: true, false.all_envs parameter.
Options: true, false.true, false.Example
[value]: The filter value (required)[operator]: Comparison operator (optional, defaults to "" for equality)
"" (empty): Exact match (is)"not": Not equal (is not)[connector]: Logic connector (optional, defaults to "AND")
"AND": Combine with previous filter using AND"OR": Combine with previous filter using ORmetadata__ prefix:
customer_identifier, custom_identifier, thread_identifier, prompt_id, unique_idtrace_unique_id, span_name, span_workflow_namemodel, deployment_name, provider_idstatus_code, status, error_messageenvironment, log_type, stream, temperature, max_tokenscost, latency, tokens_per_second, time_to_first_token, prompt_tokens, completion_tokens, total_request_tokensmetadata__<key> - Filter on custom metadata propertiesscores__<evaluator_id> - Filter/sort by evaluation scores (see below)Filter by customer identifier
Filter with operator (status code not equal to 200)
Filter by custom metadata (auto-detected)
Explicit metadata filter
Multiple filters with OR logic
Mixed known and unknown fields
[connector] parameter for OR logic.
Example: Combined filters
?field=value syntax supports only equality ("") and not-equal ("not") operatorsgt, gte, lt, lte, contains, etc.), use the bracket syntax: ?field[value]=X&field[operator]=gtscores__ prefix pattern (consistent with metadata__ filtering).
evaluator_id is the key in the scores object returned in span responses"d4f46e95-73ff-4166-8581-928c1a1b1589": {...}, use sort_by=-scores__d4f46e95-73ff-4166-8581-928c1a1b1589Filter spans with score greater than 4.0
Filter spans with score less than or equal to 2.0
"" (empty): Equal to"gt": Greater than"gte": Greater than or equal"lt": Less than"lte": Less than or equal"not": Not equal tofetch_filters parameter.metadata__+ your custom property name. For example, if you want to filter your custom property my_custom_property, you should add metadata__my_custom_property to the filters.Example
Properties
Example