Skip to content
unlob

Documentation

content_type=docs

Official product, API and library documentation — reference material maintained by whoever built the thing.

The highest-signal content type for a coding agent. Documentation pages are structured, versioned and written to be correct rather than to rank, which makes them unusually reliable per token.

Restricting to `docs` removes the blog posts and tutorials that paraphrase documentation — often incorrectly, and usually against an older version.

What this covers

  • API reference pages
  • library guides
  • configuration references
  • SDK documentation

Example

content_type=docsbash
curl -H "x-api-key: $UNLOB_API_KEY" \
  "https://api.unlob.com/search?q=your+query&content_type[]=docs&limit=10"

Common questions

What is the docs content type?

Official product, API and library documentation — reference material maintained by whoever built the thing.

How do I search only documentation?

Set content_type[]=docs on any search request. Content type is assigned at index time from page structure and markup rather than guessed from the URL, so the filter is reliable.

When is the docs filter worth using?

Restricting to `docs` removes the blog posts and tutorials that paraphrase documentation — often incorrectly, and usually against an older version.

Filter by what a page is

Content type is assigned at index time from structure, not guessed from the URL — so the filter does what it says.