diff --git a/services.proto b/services.proto index 0806257..b8a7f3c 100644 --- a/services.proto +++ b/services.proto @@ -196,3 +196,13 @@ service AdminService { } +// Service for working with documents. +service DocumentService { + // Returns a list of documents for customer/corpus with pagination and optional document metadata filtering. + rpc ListDocuments(com.vectara.lists.ListDocumentsRequest) returns (com.vectara.lists.ListDocumentsResponse) { + option (google.api.http) = { + post: "/v1/list-documents" + body: "*" + }; + } +}