Get book with metadata
Retrieve a single book with its complete metadata.Input
Book UUID
Response
Internal book ID
Book UUID
Original filename
File size in kilobytes
Book title
Romanized title (for Japanese books)
Book subtitle
Book description
Publication date
ISO language code (e.g., “en”, “ja”)
Number of pages
Character count (for text-based formats)
ISBN-10 identifier
ISBN-13 identifier
Amazon ASIN
Cover image URL
Dominant cover color (hex format)
Signed download URL
ISO timestamp when book was added
Last modification timestamp
List recent books
Get recently added books, scoped to the user’s active organization.Input
Maximum number of books to return (1-50)
Response
Array of book objects with the same structure asgetBookWithMetadata.
List random books
Get random books from the library.Input
Maximum number of books to return (1-50)
Response
Array of book objects with the same structure asgetBookWithMetadata.
Search books
Search books using Elasticsearch with support for filters, sorting, and pagination.Input
Search query. Supports Japanese text with Sudachi tokenizer.
Whether to perform exact phrase matching
Search filters
Filter by language codes
Filter by author names
Filter by series names
Filter by publisher names
Sort order:
relevance, newest, oldest, title_asc, title_descResults per page (1-50)
Pagination cursor from previous response
Response
Array of book objects matching the search criteria
Cursor for fetching the next page, or null if no more results
Total number of matching books
Reindex books
Trigger a full reindex of all books into Elasticsearch. This is useful after Elasticsearch schema changes or data corruption.Response
BullMQ job ID for tracking the reindex operation
Book metadata schema
Book metadata is extracted from ebook files using various providers (local extraction from EPUB/PDF metadata). The metadata schema is defined inpackages/api/src/routers/books/metadata/book.metadata.model.ts: