Skip to main content

Overview

The search endpoint performs full-text search across articles, recitals, and requirements. Results include a match_context snippet showing where the query matched. Use filters to narrow by framework or content type.

Methods

query()

Run a full-text search and return a page of results.
Parameters Returns Page[SearchResult]
page.meta.pages is always 0 for search results. The search endpoint does not support traditional page-count pagination. Use the presence of page.links.next to detect whether more results exist.

Model

SearchResult


Examples

Search within a specific framework

Filter by result type

Search across multiple frameworks manually

Paginate through search results

Display results grouped by framework

Combine framework and result_type filters to narrow results significantly. For example, result_type="requirement" limits results to machine-readable obligations, which is useful when building compliance checkers.
Search queries are matched against parsed text content. Very short queries (one or two characters) may produce unexpected results. Use at least three characters for meaningful searches.