Interface StepService.WithRawResponse
-
- All Implemented Interfaces:
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") public interface StepService.WithRawResponse
A view of StepService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract StepService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. HttpResponseFor<RunStep>retrieve(String stepId, StepRetrieveParams params)Returns a raw HTTP response for get /threads/{thread_id}/runs/{run_id}/steps/{step_id}, but is otherwise the same as StepService.retrieve.HttpResponseFor<RunStep>retrieve(String stepId, StepRetrieveParams params, RequestOptions requestOptions)HttpResponseFor<RunStep>retrieve(StepRetrieveParams params)abstract HttpResponseFor<RunStep>retrieve(StepRetrieveParams params, RequestOptions requestOptions)HttpResponseFor<StepListPage>list(String runId, StepListParams params)Returns a raw HTTP response for get /threads/{thread_id}/runs/{run_id}/steps, but is otherwise the same as StepService.list.HttpResponseFor<StepListPage>list(String runId, StepListParams params, RequestOptions requestOptions)HttpResponseFor<StepListPage>list(StepListParams params)abstract HttpResponseFor<StepListPage>list(StepListParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract StepService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<RunStep> retrieve(String stepId, StepRetrieveParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/runs/{run_id}/steps/{step_id}, but is otherwise the same as StepService.retrieve.
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<RunStep> retrieve(String stepId, StepRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<RunStep> retrieve(StepRetrieveParams params)
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<RunStep> retrieve(StepRetrieveParams params, RequestOptions requestOptions)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<StepListPage> list(String runId, StepListParams params)
Returns a raw HTTP response for
get /threads/{thread_id}/runs/{run_id}/steps, but is otherwise the same as StepService.list.
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<StepListPage> list(String runId, StepListParams params, RequestOptions requestOptions)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<StepListPage> list(StepListParams params)
-
list
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<StepListPage> list(StepListParams params, RequestOptions requestOptions)
-
-
-
-