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