fields
string[]Projects only the fields you need onto each hit.
A full hit carries around twenty fields. If your agent only reads url, title and snippet, projecting to those three cuts the response size substantially — which matters when the response is going straight into a context window.
Example
curl -H "x-api-key: $UNLOB_API_KEY" \
"https://api.unlob.com/search?q=rust+async&fields[]=url&fields[]=title&fields[]=snippet"Common questions
What does the fields filter do?
Projects only the fields you need onto each hit.
When should I use fields?
High-volume calls, or when the response feeds a model directly.
Filters are free
Every filter is evaluated against a stored field, so it narrows the candidate set before scoring — a filtered query is often faster than an unfiltered one.