Interface EventServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface EventServiceAsync.WithRawResponseA view of EventServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract EventServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<HttpResponseFor<EventListPageAsync>> list(String threadId, EventListParams params)
Returns a raw HTTP response for
get /v1/sessions/{session_id}/threads/{thread_id}/events?beta=true, but is otherwise the same as EventServiceAsync.list.
-
list
CompletableFuture<HttpResponseFor<EventListPageAsync>> list(String threadId, EventListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<EventListPageAsync>> list(EventListParams params)
-
list
abstract CompletableFuture<HttpResponseFor<EventListPageAsync>> list(EventListParams params, RequestOptions requestOptions)
-
streamStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionThreadEvents>>> streamStreaming(String threadId, EventStreamParams params)
Returns a raw HTTP response for
get /v1/sessions/{session_id}/threads/{thread_id}/stream?beta=true, but is otherwise the same as EventServiceAsync.streamStreaming.
-
streamStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionThreadEvents>>> streamStreaming(String threadId, EventStreamParams params, RequestOptions requestOptions)
-
streamStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionThreadEvents>>> streamStreaming(EventStreamParams params)
-
streamStreaming
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionThreadEvents>>> streamStreaming(EventStreamParams params, RequestOptions requestOptions)
-
-
-
-