Interface MemoryServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface MemoryServiceAsync.WithRawResponseA view of MemoryServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract MemoryServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> create(String memoryStoreId, MemoryCreateParams params)
Returns a raw HTTP response for
post /v1/memory_stores/{memory_store_id}/memories?beta=true, but is otherwise the same as MemoryServiceAsync.create.
-
create
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> create(String memoryStoreId, MemoryCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> create(MemoryCreateParams params)
-
create
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> create(MemoryCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> retrieve(String memoryId, MemoryRetrieveParams params)
Returns a raw HTTP response for
get /v1/memory_stores/{memory_store_id}/memories/{memory_id}?beta=true, but is otherwise the same as MemoryServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> retrieve(String memoryId, MemoryRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> retrieve(MemoryRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> retrieve(MemoryRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> update(String memoryId, MemoryUpdateParams params)
Returns a raw HTTP response for
post /v1/memory_stores/{memory_store_id}/memories/{memory_id}?beta=true, but is otherwise the same as MemoryServiceAsync.update.
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> update(String memoryId, MemoryUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> update(MemoryUpdateParams params)
-
update
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsMemory>> update(MemoryUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<MemoryListPageAsync>> list(String memoryStoreId)
Returns a raw HTTP response for
get /v1/memory_stores/{memory_store_id}/memories?beta=true, but is otherwise the same as MemoryServiceAsync.list.
-
list
CompletableFuture<HttpResponseFor<MemoryListPageAsync>> list(String memoryStoreId, MemoryListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<MemoryListPageAsync>> list(String memoryStoreId, MemoryListParams params)
-
list
abstract CompletableFuture<HttpResponseFor<MemoryListPageAsync>> list(MemoryListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<MemoryListPageAsync>> list(MemoryListParams params)
-
list
CompletableFuture<HttpResponseFor<MemoryListPageAsync>> list(String memoryStoreId, RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedMemory>> delete(String memoryId, MemoryDeleteParams params)
Returns a raw HTTP response for
delete /v1/memory_stores/{memory_store_id}/memories/{memory_id}?beta=true, but is otherwise the same as MemoryServiceAsync.delete.
-
delete
CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedMemory>> delete(String memoryId, MemoryDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedMemory>> delete(MemoryDeleteParams params)
-
delete
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedMemory>> delete(MemoryDeleteParams params, RequestOptions requestOptions)
-
-
-
-