Search project content
GET/api/v2/projects/:slug/search/
Search indexed content without generating an answer. The default is keyword search over web-page snippets. Set search_type=hybrid to combine keyword and semantic search.
Use source_types=all, or a comma-separated list of page, file, repository, openapi, video, and qa, to retrieve document text with source types, document IDs, and available page or worksheet references. Sources without a public URL return url: null.
Pass a result's document_id to Get indexed document text to read the complete document. Search again after refreshing sources to get current document IDs.
- This endpoint does not accept a
limitparameter. filter_titleapplies URL filters and excludes sources without a matching URL.- Hybrid search requires an index configured for semantic search. A failed hybrid search returns an error instead of falling back to keyword results.
Each successful search uses one interaction. See extra usage for allowances and charges.
Required permission: search (private projects only).
Request
Responses
- 200
- 400
- 403
- 404
Search results
Bad request. Invalid or missing data.
Access denied. Check the API key, permissions, project access, and allowed domains.
Resource not found.