List books over gRPC
Searches and lists Catalog books with full metadata through the book.v1 gRPC contract.
ListBooksGrpc invokes the internal book.v1.BookGrpcService/ListBooks gRPC unary RPC on Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid
discovery, and authoritative book metadata.
PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs to search and list books with full metadata (descriptions, images, pricing, stock status, relationships, and rating summaries). MCP ServerServicev1.0.0MCP ServerInternal stateless Streamable HTTP MCP service that exposes read-only
Catalog lookup tools and reusable AI prompts.
PublishesListBooksGrpc, GetBookDetailsGrpc +2Ownerai-capabilities-teamDiagramRepositoryOpen docs calls this RPC to power its search_catalog tool.
Overview
| Property | Value |
|---|---|
| Bounded Context | Catalog |
| Owner Service | Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs |
| Protocol / Format | gRPC unary RPC (book.v1.BookGrpcService/ListBooks), Protobuf edition = "2023" |
| Gateway Endpoint | Internal gRPC RPC book.v1.BookGrpcService/ListBooks (not exposed via API Gateway) |
| Authentication & Authorization | Internal service-to-service anonymous read |
| Idempotency / Concurrency | Read-only and naturally idempotent |
| Rate Limit / Caching | Hybrid vector search (cached 5 min) when search is non-empty; filtered page cached 60s |
| Contract Version | 1.0.0 |
This RPC uses fixed defaults (pageIndex = 1, pageSize = 20, orderBy = "Name", isDescending = false) and does not expose paging parameters. Callers requiring multi-page traversal or price/relationship filters must use HTTP List booksQueryv1.0.0List booksReturns a filterable collection of books with pricing, availability, relationships, and rating summaries.Ownercatalog-experience-teamSchemaDiagramOpen docs.
Request & Response Contract
Request Message (ListBooksRequest)
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
search | string | No | Tag 1; blank/whitespace treated as null | Free-text search term executed via hybrid vector search |
Success Response (ListBooksResponse)
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
books | BookItem[] | Yes | Tag 1 (repeated); max 20 items | Matching books with full metadata (empty collection if zero matches). See Get book details over gRPCQueryv1.0.0Get book details over gRPCReturns full Catalog book details by identifier through the book.v1 gRPC contract.Ownercatalog-experience-teamSchemaDiagramOpen docs for BookItem fields. |
Behavior & Side Effects
- Hybrid search & caching: When
searchis non-empty, executes hybrid vector search against Qdrant and filters matching books from PostgreSQL. - No state mutation: Pure read RPC with no database writes or integration events.
Error Responses
| Status / Code | Condition | Client Recovery Action |
|---|---|---|
Unavailable (14) | Catalog API (or backing Qdrant/PostgreSQL dependency during an uncached search) is unreachable | Retry within the budgeted resilience policy |
Related Documentation
- Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs — Service overview, persistence, and gRPC services.
- MCP ServerServicev1.0.0MCP ServerInternal stateless Streamable HTTP MCP service that exposes read-only
Catalog lookup tools and reusable AI prompts.
PublishesListBooksGrpc, GetBookDetailsGrpc +2Ownerai-capabilities-teamDiagramRepositoryOpen docs — Primary caller exposing the
search_catalogMCP tool. - BookEntityv1.0.0BookCanonical sellable title in the product catalog, encapsulating descriptive metadata, pricing, stock availability, taxono...Ownercatalog-experience-teamOpen docs — Book entity model.
- List booksQueryv1.0.0List booksReturns a filterable collection of books with pricing, availability, relationships, and rating summaries.Ownercatalog-experience-teamSchemaDiagramOpen docs — Public HTTP
QUERY /catalog/api/v1/bookssupporting pagination and rich filters. - Get book details over gRPCQueryv1.0.0Get book details over gRPCReturns full Catalog book details by identifier through the book.v1 gRPC contract.Ownercatalog-experience-teamSchemaDiagramOpen docs — Full
BookItemfield schema and single-book lookup.
List books over gRPC schema
BOOK_STATUS_UNSPECIFIED BOOK_STATUS_IN_STOCK BOOK_STATUS_OUT_OF_STOCKBOOK_STATUS_UNSPECIFIED BOOK_STATUS_IN_STOCK BOOK_STATUS_OUT_OF_STOCK