V1
Content search across books
Changed onPerform a text or vector search across books. Optionally filter by specific book IDs and version IDs. Requires bearer token authentication.
get/v1/content-search
Request
- Base URLhttps://api.usul.ai
- URLhttps://api.usul.ai/v1/content-search
- AuthHTTP bearer
Query parameters
qstring required
Search query
type'text' | 'vector' required
Search type: 'text' for keyword search, 'vector' for semantic search
booksstring
Comma-separated list of bookId:versionId pairs to search within (e.g., 'book1:v1,book2:v2')
include_chapters'true' | 'false'
Whether to include chapter metadata in results
include_details'true' | 'false'
Whether to include book details in each result
pageinteger
Page number for pagination
limitinteger
Number of results per page
Response
Content search results retrieved successfully
Changes
- info
the endpoint scheme security
bearerAuthwas added to the API - info
added the non-success response with the status
- info