Interface ThreadServiceAsync
-
- All Implemented Interfaces:
public interface ThreadServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceThreadServiceAsync.WithRawResponseA view of ThreadServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ThreadServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ThreadServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
events
abstract EventServiceAsync events()
-
retrieve
CompletableFuture<BetaManagedAgentsSessionThread> retrieve(String threadId, ThreadRetrieveParams params)
Get Session Thread
-
retrieve
CompletableFuture<BetaManagedAgentsSessionThread> retrieve(String threadId, ThreadRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaManagedAgentsSessionThread> retrieve(ThreadRetrieveParams params)
-
retrieve
abstract CompletableFuture<BetaManagedAgentsSessionThread> retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ThreadListPageAsync> list(String sessionId)
List Session Threads
-
list
CompletableFuture<ThreadListPageAsync> list(String sessionId, ThreadListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ThreadListPageAsync> list(String sessionId, ThreadListParams params)
-
list
abstract CompletableFuture<ThreadListPageAsync> list(ThreadListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ThreadListPageAsync> list(ThreadListParams params)
-
list
CompletableFuture<ThreadListPageAsync> list(String sessionId, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsSessionThread> archive(String threadId, ThreadArchiveParams params)
Archive Session Thread
-
archive
CompletableFuture<BetaManagedAgentsSessionThread> archive(String threadId, ThreadArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsSessionThread> archive(ThreadArchiveParams params)
-
archive
abstract CompletableFuture<BetaManagedAgentsSessionThread> archive(ThreadArchiveParams params, RequestOptions requestOptions)
-
-
-
-