DocsFilter language

Inspect

Filter language

The Traffic filter bar, akev capture --filter, akev export --filter, the API and the MCP tools all share one query language. Press Ctrl/⌘ F (or /) to focus the filter; suggestions appear as you type.

Basics

  • Terms separated by spaces must all match: method:post host:api.example.com
  • OR (or |) matches either side: status:500 OR status:503
  • Prefix - (or !, NOT) negates: -host:*.google-analytics.com
  • Parentheses group: (method:put OR method:patch) status:4xx
  • A bare word searches the URL: checkout matches any URL containing "checkout"
  • Quote values with spaces: header.user-agent:"Mozilla/5.0 (X11"
  • Several values with commas: method:get,head

Operators

Operator Meaning Example
: contains (glob if value has *, regex if /…/) path:/api/ · host:*.example.com · url:/v[0-9]+/
= / != exactly equals / not equal method=DELETE
^= / $= / *= starts / ends with / contains path^=/admin
~ regular expression path~^/users/\d+$
> >= < <= numeric comparison status:>=400 · size:>1mb · duration:>500ms

Fields

Field Matches
method HTTP method
status status code — also 2xx…5xx classes and ranges 400-499
host (domain) · port · path · url · query · scheme (protocol) URL parts
version h1, h2
type (content-type) content kind (json, html, image, js, css, font, media, ws, grpc…) or MIME substring
size · reqsize response / request body size (b, kb, mb, gb)
duration (time) total time (ms, s)
header · reqheader · resheader header present (header:x-trace-id) or value (header.content-type:json)
cookie cookie name/value
body · reqbody · resbody decoded body contains text
source process or interceptor (source:chrome, source:python3)
rule · id · note · color · error · ip rule that handled it, exchange id, note text, highlight colour, error kind, client IP
model model of an LLM API call (contains; model:claude*, model:gpt-4.1)
provider (vendor) LLM provider, whole id: openai, anthropic, google, vertex-ai, azure-openai, openrouter, ollama, lmstudio, aws-bedrock, openai-compatible… (provider:*openai* for every OpenAI flavour)

Flags

is:pending is:complete is:error is:aborted is:paused is:pinned is:mocked is:modified is:websocket is:sse is:tls-failure is:tunnel is:http is:https is:highlighted is:llm (alias is:ai: a recognised LLM API call) · has:note has:body has:reqbody has:resbody has:cookie has:auth

Examples

status:>=500 OR is:error                 # anything that failed
host:*.stripe.com method:post            # Stripe writes
type:json size:>100kb                    # big JSON payloads
-type:image,font,css,js                  # hide static assets
header.authorization:bearer -is:mocked   # authenticated, real traffic
body:"invalid_grant"                     # search inside bodies
is:llm status:>=400                      # failed LLM calls (rate limits, overloads…)
is:llm duration:>10s                     # slow generations
provider:anthropic model:*sonnet*        # one model family

Type to search guides, the CLI and the API.