Interface RunServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface RunServiceAsync.WithRawResponse
A view of RunServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
steps
abstract StepServiceAsync.WithRawResponse steps()
-
create
@MustBeClosed() CompletableFuture<HttpResponseFor<Run>> create(RunCreateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.create.
-
create
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Run>> create(RunCreateParams params, RequestOptions requestOptions)
-
createStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> createStreaming(RunCreateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.createStreaming.
-
createStreaming
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> createStreaming(RunCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() CompletableFuture<HttpResponseFor<Run>> retrieve(RunRetrieveParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/runs/{run_id}
, but is otherwise the same as RunServiceAsync.retrieve.
-
retrieve
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Run>> retrieve(RunRetrieveParams params, RequestOptions requestOptions)
-
update
@MustBeClosed() CompletableFuture<HttpResponseFor<Run>> update(RunUpdateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}
, but is otherwise the same as RunServiceAsync.update.
-
update
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Run>> update(RunUpdateParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<RunListPageAsync>> list(RunListParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.list.
-
list
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<RunListPageAsync>> list(RunListParams params, RequestOptions requestOptions)
-
cancel
@MustBeClosed() CompletableFuture<HttpResponseFor<Run>> cancel(RunCancelParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}/cancel
, but is otherwise the same as RunServiceAsync.cancel.
-
cancel
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Run>> cancel(RunCancelParams params, RequestOptions requestOptions)
-
submitToolOutputs
@MustBeClosed() CompletableFuture<HttpResponseFor<Run>> submitToolOutputs(RunSubmitToolOutputsParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs
, but is otherwise the same as RunServiceAsync.submitToolOutputs.
-
submitToolOutputs
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<Run>> submitToolOutputs(RunSubmitToolOutputsParams params, RequestOptions requestOptions)
-
submitToolOutputsStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> submitToolOutputsStreaming(RunSubmitToolOutputsParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs
, but is otherwise the same as RunServiceAsync.submitToolOutputsStreaming.
-
submitToolOutputsStreaming
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> submitToolOutputsStreaming(RunSubmitToolOutputsParams params, RequestOptions requestOptions)
-
-
-
-