Skip to main content

Request options

A request is one JSON object with a required version and query. Everything else is optional and passes straight through to the router.

The fields​

fieldvalue
version1, required.
queryThe search, required, not blank.
objectiveExperimental and optional. One sentence on what you are trying to find out, at most 4096 bytes. The router passes it to the indexes that accept a goal and keeps it on the trace; how it is used is still being tested, so the skill no longer asks for it.
tier"fast", "balanced" or "max". Absent, the request carries your tier (agents tier, then [router] tier), or none and the router applies your key's default.
recency"day", "week", "month" or "year". A filter, reported in result.filters_applied.
as_ofFrom v0.9.0. An RFC 3339 time with a zone, such as "2026-11-02T00:00:00Z": a dated search, the web as it was saved at or before then, up to 365 days back. Not with recency or search_queries. Absent, the search is live.
domain_filterUp to 16 bare hostnames, no scheme or path. A filter, reported like recency.
max_results1 to 25. A cap per arm.
search_queries1 to 4 more wordings of query, searched in the same call and merged into the same list. Each costs about as much as another search.
merged_limit1 to 50: how many pages the merged list holds.
max_charsThe characters of page text across the whole merged list, spent in list order.
page_chars200 to 4000: the characters of text each page keeps. An agent's search that sizes nothing gets 500.
cache"default" or "refresh", which runs the search live instead of serving the router's result from the last 15 minutes, and is billed as live.
providersUp to 16 provider names: restrict the fan-out, or reach an arm that runs only when named. Needs balanced or max.
view"merged" (default) or "full", which adds the per-provider candidates and each page's excerpts and canonical_url.

A malformed value in any of them answers fix_input before the request reaches the router. Each key is spelled exactly as above: a key in another case, such as QUERY, or a VERSION key, is unknown_field, exit 2, fix_input, and the router is never called.

Examples​

A plain search, with the one sentence the skill asks for on every search. The tier you set with /jevlin tier, if any, applies:

{"version":1,"query":"array flatten method","objective":"Find the standard JavaScript method that flattens nested arrays."}

Several sources, each attributed:

{"version":1,"query":"compare agent frameworks","tier":"balanced"}

Anything time-bound: a release, a price, the news:

{"version":1,"query":"latest stable Kubernetes release","recency":"month"}

When the answer lives on known sites: documentation, a standard, a vendor:

{"version":1,"query":"array flatten method","domain_filter":["developer.mozilla.org"]}

To read less:

{"version":1,"query":"quick fact check","max_results":3}

To restrict the fan-out to named arms, or to reach one that fires only when named:

{"version":1,"query":"compare agent frameworks","providers":["exa","brave"]}

When the first search came back thin, or the thing has several names, more wordings in the same call, with a longer list:

{"version":1,"query":"proof of authority consensus","search_queries":["PoA blockchain validators"],"merged_limit":16}

To run it live rather than from the router's cache:

{"version":1,"query":"latest stable Kubernetes release","cache":"refresh"}

To see each provider's own list as well as the merged one:

{"version":1,"query":"what is proof of authority consensus","view":"full"}

Filters and caps​

recency and domain_filter are sent to every arm that takes them, and the router drops pages that do not match. result.filters_applied reports each filter the request carried: where it was sent, where not, and what was dropped. Present, every page was held to the filter. Absent on a request that carried one, the router predates the report and the results may be unfiltered; if the answer must come from one host or one period, check each page's url host or published date. A page with no date is kept, so the skill tells the agent to check published itself when the date matters.

max_results is a cap per arm and is applied. merged_limit, page_chars and max_chars size what comes back; without them an agent's search gets 500 characters per page and at most 16 pages where the router's window would be larger. See The stdin request.

Naming one provider makes Jevlin a web search router: the query goes to that engine alone. That page compares routing with SuperSearch on 485 questions.

providers needs tier set to balanced or max; on fast the router answers 400 invalid_request, because the fast set is its own to choose. A named set is recorded as decision.requested and draws on the account's credit. The list is the router's: an unknown name is its call, not refused by the client. The core and named-only arms are listed under Providers and tiers.

A router that predates objective and search_queries, or whose body limit they push past, answers malformed_json: the search is then sent again without them, and result.forms_dropped is true.

Either view, the router is asked for its merged view, and result.merged is that view, in the router's order, never re-merged by the client. The human form's -view merged with -format json adds the router's merged view to its raw bytes.

Where the request goes​

The agent pipes the object to jevlin search --stdin and reads one envelope back. See Search from a shell for the heredoc and PowerShell forms, The stdin request for the contract, and Choosing a tier for how a request's own tier interacts with the one you set.