Interface RunServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface RunServiceAsync.WithRawResponseA view of RunServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract StepServiceAsync.WithRawResponsesteps()abstract CompletableFuture<HttpResponseFor<Run>>create(BetaThreadRunCreateParams params, RequestOptions requestOptions)Returns a raw HTTP response for post /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.create.abstract CompletableFuture<HttpResponseFor<Run>>create(BetaThreadRunCreateParams params)Returns a raw HTTP response for post /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.create.abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>>createStreaming(BetaThreadRunCreateParams params, RequestOptions requestOptions)Returns a raw HTTP response for post /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.createStreaming.abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>>createStreaming(BetaThreadRunCreateParams params)Returns a raw HTTP response for post /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.createStreaming.abstract CompletableFuture<HttpResponseFor<Run>>retrieve(BetaThreadRunRetrieveParams params, RequestOptions requestOptions)Returns a raw HTTP response for get /threads/{thread_id}/runs/{run_id}, but is otherwise the same as RunServiceAsync.retrieve.abstract CompletableFuture<HttpResponseFor<Run>>retrieve(BetaThreadRunRetrieveParams params)Returns a raw HTTP response for get /threads/{thread_id}/runs/{run_id}, but is otherwise the same as RunServiceAsync.retrieve.abstract CompletableFuture<HttpResponseFor<Run>>update(BetaThreadRunUpdateParams params, RequestOptions requestOptions)Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}, but is otherwise the same as RunServiceAsync.update.abstract CompletableFuture<HttpResponseFor<Run>>update(BetaThreadRunUpdateParams params)Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}, but is otherwise the same as RunServiceAsync.update.abstract CompletableFuture<HttpResponseFor<BetaThreadRunListPageAsync>>list(BetaThreadRunListParams params, RequestOptions requestOptions)Returns a raw HTTP response for get /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.list.abstract CompletableFuture<HttpResponseFor<BetaThreadRunListPageAsync>>list(BetaThreadRunListParams params)Returns a raw HTTP response for get /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.list.abstract CompletableFuture<HttpResponseFor<Run>>cancel(BetaThreadRunCancelParams params, RequestOptions requestOptions)Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}/cancel, but is otherwise the same as RunServiceAsync.cancel.abstract CompletableFuture<HttpResponseFor<Run>>cancel(BetaThreadRunCancelParams params)Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}/cancel, but is otherwise the same as RunServiceAsync.cancel.abstract CompletableFuture<HttpResponseFor<Run>>submitToolOutputs(BetaThreadRunSubmitToolOutputsParams params, RequestOptions requestOptions)Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs, but is otherwise the same as RunServiceAsync.submitToolOutputs.abstract CompletableFuture<HttpResponseFor<Run>>submitToolOutputs(BetaThreadRunSubmitToolOutputsParams 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.abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>>submitToolOutputsStreaming(BetaThreadRunSubmitToolOutputsParams params, RequestOptions requestOptions)Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs, but is otherwise the same as RunServiceAsync.submitToolOutputsStreaming.abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>>submitToolOutputsStreaming(BetaThreadRunSubmitToolOutputsParams 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.-
-
Method Detail
-
steps
abstract StepServiceAsync.WithRawResponse steps()
-
create
abstract CompletableFuture<HttpResponseFor<Run>> create(BetaThreadRunCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<Run>> create(BetaThreadRunCreateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.create.
-
createStreaming
abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> createStreaming(BetaThreadRunCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.createStreaming.
-
createStreaming
abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> createStreaming(BetaThreadRunCreateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.createStreaming.
-
retrieve
abstract CompletableFuture<HttpResponseFor<Run>> retrieve(BetaThreadRunRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}/runs/{run_id}, but is otherwise the same as RunServiceAsync.retrieve.
-
retrieve
abstract CompletableFuture<HttpResponseFor<Run>> retrieve(BetaThreadRunRetrieveParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/runs/{run_id}, but is otherwise the same as RunServiceAsync.retrieve.
-
update
abstract CompletableFuture<HttpResponseFor<Run>> update(BetaThreadRunUpdateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}, but is otherwise the same as RunServiceAsync.update.
-
update
abstract CompletableFuture<HttpResponseFor<Run>> update(BetaThreadRunUpdateParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}, but is otherwise the same as RunServiceAsync.update.
-
list
abstract CompletableFuture<HttpResponseFor<BetaThreadRunListPageAsync>> list(BetaThreadRunListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<BetaThreadRunListPageAsync>> list(BetaThreadRunListParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/runs, but is otherwise the same as RunServiceAsync.list.
-
cancel
abstract CompletableFuture<HttpResponseFor<Run>> cancel(BetaThreadRunCancelParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}/cancel, but is otherwise the same as RunServiceAsync.cancel.
-
cancel
abstract CompletableFuture<HttpResponseFor<Run>> cancel(BetaThreadRunCancelParams params)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}/cancel, but is otherwise the same as RunServiceAsync.cancel.
-
submitToolOutputs
abstract CompletableFuture<HttpResponseFor<Run>> submitToolOutputs(BetaThreadRunSubmitToolOutputsParams params, RequestOptions requestOptions)
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
abstract CompletableFuture<HttpResponseFor<Run>> submitToolOutputs(BetaThreadRunSubmitToolOutputsParams 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.
-
submitToolOutputsStreaming
abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> submitToolOutputsStreaming(BetaThreadRunSubmitToolOutputsParams params, RequestOptions requestOptions)
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
abstract CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> submitToolOutputsStreaming(BetaThreadRunSubmitToolOutputsParams 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.
-
-
-
-