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