Shared filters
The filter set that summarize_requests, top_values, list_requests and search_bodies share: time range, outcome, status, method, host, path, labels, durations, sizes and body search.
summarize_requests, top_values, list_requests, search_bodies take the same filters. The app uses the same names and rules for its filter panel and its shareable links.
Rules
- Several values of one filter are combined with OR. Different filters are combined with AND.
labelsentries arekey:valueor justkey(“the label exists”). Values of the same key are OR, different keys are AND. Split happens at the first:.sinceanduntilaccept a duration back from now (15s,15m,2h,7d,2w) or an ISO 8601 time. The default range is the last 24 hours. Times without a zone are UTC.status_class: "error"matches every request whose outcome iserror, including domain errors that returned HTTP 200. Requests without a response (network errors) are matched withoutcome: "network".methodis converted to upper case.textandregexcannot be combined.inonly applies together with one of them.textsearches the first 256 KB of each body. Binary bodies are not indexed.- Unknown filters are rejected with
unknown_filterand the valid names in the hint. Every result listsapplied_filters.
Filters
| Filter | Type | Description |
|---|---|---|
since | string | Start of the time range: a duration back from now (15m, 2h, 7d) or an ISO 8601 time. Default 24h. |
until | string | End of the time range: a duration back from now or an ISO 8601 time. Default now. |
outcome | array of "ok" | "error" | "network" | "pending" | "abandoned" | ok, error, network (no response), pending or abandoned (pending for over 10 minutes). |
status | array of integer (100 to 599) | Exact HTTP status codes, e.g. [502, 503]. |
status_class | array of "2xx" | "3xx" | "4xx" | "5xx" | "error" | 2xx, 3xx, 4xx, 5xx or error. error = outcome error, including domain errors that returned HTTP 200. |
error_name | array of string | Exact error name, e.g. RateLimitedError. |
retried | boolean | true = requests with more than one attempt, false = single attempt. |
method | array of string | HTTP methods; converted to upper case. |
host | array of string | Exact host names. |
path | array of string | Exact paths (no query string). |
path_prefix | string | Paths starting with this prefix, e.g. /v1/customers. |
path_template | array of string | Path templates, where id-like segments are :id, e.g. /v1/customers/:id/charges. |
labels | array of string | Label filters: “key:value”, or “key” for “the label exists”. Same key = OR, different keys = AND. |
service | array of string | Service names set in the SDK. |
duration_ms_min | integer | Minimum duration in milliseconds. |
duration_ms_max | integer | Maximum duration in milliseconds. |
size_min | integer | Minimum response size in bytes. |
size_max | integer | Maximum response size in bytes. |
text | string | Full-text search in request and response bodies (words, or a prefix like abc*). Only the first 256 KB of each body is indexed. |
regex | string | Regular expression matched against bodies. Slower than text; combine with other filters to narrow the range. |
in | "request" | "response" | "both" | Which bodies text or regex search: request, response or both (default). |
Listing parameters
Besides the filters, list_requests takes:
| Parameter | Type | Description |
|---|---|---|
order | "started_at_desc" | "started_at_asc" | "duration_ms_desc" | "duration_ms_asc" | Sort order. Default started_at_desc (newest first). |
limit | integer (1 to 200) | Number of rows. Default 20 (MCP) or 50 (app), maximum 200. |
cursor | string | Opaque cursor from next_cursor of the previous page. |
order is one of started_at_desc, started_at_asc, duration_ms_desc, duration_ms_asc. Paging uses an opaque cursor that is stable for rows with the same start time.
Dimensions
summarize_requests (group_by, at most two) and top_values (dimension) use these dimensions:
statusstatus_classoutcomemethodhostpathpath_templateerror_nameservicelabel:<key>: the values of one label keytime:<bucket>(group_byonly): time buckets5m,1h,1dlabel_keys(top_valuesonly): the label keys that exist
As a dimension, status_class is the HTTP class of the response (2xx to 5xx). Requests without a response (network errors) form a group with the value null, and a domain error that came back with HTTP 200 stays in 2xx. To count failures, group by outcome or filter with status_class: ["error"].
Metrics and fields
summarize_requestsmetrics:count,error_rate,p50,p95,p99,size.error_rateis a fraction from 0 to 1, durations are milliseconds andsizeis the total response size in bytes.list_requestsfields:id,started_at,method,host,path,status,outcome,duration_ms,attempts,error_name,url,error_message,service,size,path_template. The default fields areid,started_at,method,host,path,status,outcome,duration_ms,attempts,error_name.
Path templates
When a request is ingested its path is also stored as a template: segments that look like ids become :id. For example /v1/customers/cus_8fK2xQ9aLm/charges becomes /v1/customers/:id/charges. Numbers, UUIDs, hex strings of at least 8 characters and long token-like segments are replaced. Group and filter by path_template to treat all customers’ calls as one endpoint.