PostGrad

Understand the three search modes

Keyword, semantic, hybrid — what each one does, which tier unlocks it, and when to use one over another.

PostGrad's search endpoint takes a mode parameter with three values: keyword, semantic, and hybrid. They're not interchangeable — each matches different kinds of queries to different results. Picking the wrong one is the single most common source of "I got garbage back" tickets.

Before you start: you have an API key and you've made at least one call (Make your first API call).

Open the docs page on search modes

The PostGrad docs page describing the three search modes, with code samples and a comparison table.
The PostGrad docs page describing the three search modes, with code samples and a comparison table.

Keyword search: exact matches, Starter and up

A keyword search example request and response, showing exact-match hits for a specific phrase.
A keyword search example request and response, showing exact-match hits for a specific phrase.

Available on every tier starting with Starter. This is the mode that's always on.

Semantic search: intent matching, Pro and up

A semantic search example showing a query that matches entries with related meaning, not the exact same words.
A semantic search example showing a query that matches entries with related meaning, not the exact same words.

Available on every tier — semantic is a per-query choice, not a paid upgrade.

Hybrid search: both at once, every tier

A hybrid search example showing the combined ranked result set from keyword and semantic runs.
A hybrid search example showing the combined ranked result set from keyword and semantic runs.

Available on every tier. Hybrid does the most work (two searches per call), so it's the heaviest mode — but it's not tier-gated; use it whenever the query calls for it.

Which mode to pick, by use case

A decision chart showing which mode to pick for common use cases: agent chat, data lookup, fuzzy recall.
A decision chart showing which mode to pick for common use cases: agent chat, data lookup, fuzzy recall.

Inspect which mode your tier supports

The Billing page showing the current subscriber tier and its associated feature set, with the three search modes listed.
The Billing page showing the current subscriber tier and its associated feature set, with the three search modes listed.

What's next

Pick the right mode, build the right query:

On this page