Interface ThreadServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface ThreadServiceAsync.WithRawResponseA view of ThreadServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract ThreadServiceAsync.WithRawResponse 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.WithRawResponse events()
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsSessionThread>> retrieve(String threadId, ThreadRetrieveParams params)
Returns a raw HTTP response for
get /v1/sessions/{session_id}/threads/{thread_id}?beta=true, but is otherwise the same as ThreadServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsSessionThread>> retrieve(String threadId, ThreadRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsSessionThread>> retrieve(ThreadRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsSessionThread>> retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<ThreadListPageAsync>> list(String sessionId)
Returns a raw HTTP response for
get /v1/sessions/{session_id}/threads?beta=true, but is otherwise the same as ThreadServiceAsync.list.
-
list
CompletableFuture<HttpResponseFor<ThreadListPageAsync>> list(String sessionId, ThreadListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<ThreadListPageAsync>> list(String sessionId, ThreadListParams params)
-
list
abstract CompletableFuture<HttpResponseFor<ThreadListPageAsync>> list(ThreadListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<ThreadListPageAsync>> list(ThreadListParams params)
-
list
CompletableFuture<HttpResponseFor<ThreadListPageAsync>> list(String sessionId, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsSessionThread>> archive(String threadId, ThreadArchiveParams params)
Returns a raw HTTP response for
post /v1/sessions/{session_id}/threads/{thread_id}/archive?beta=true, but is otherwise the same as ThreadServiceAsync.archive.
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsSessionThread>> archive(String threadId, ThreadArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsSessionThread>> archive(ThreadArchiveParams params)
-
archive
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsSessionThread>> archive(ThreadArchiveParams params, RequestOptions requestOptions)
-
-
-
-