Interface ThreadService.WithRawResponse
- 
                    
                    - All Implemented Interfaces:
 
 @Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") public interface ThreadService.WithRawResponse A view of ThreadService that provides access to raw HTTP responses for each method. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        withOptionsabstract ThreadService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier) Returns a view of this service with the given option modifications applied. The original service is not modified. 
 - 
                                        runs@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") abstract RunService.WithRawResponse runs() 
 - 
                                        messages@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") abstract MessageService.WithRawResponse messages() 
 - 
                                        create@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> create() Returns a raw HTTP response for post /threads, but is otherwise the same as ThreadService.create.
 - 
                                        create@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<Thread> create(ThreadCreateParams params, RequestOptions requestOptions) 
 - 
                                        create@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> create(ThreadCreateParams params) 
 - 
                                        create@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> create(RequestOptions requestOptions) 
 - 
                                        retrieve@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> retrieve(String threadId) Returns a raw HTTP response for get /threads/{thread_id}, but is otherwise the same as ThreadService.retrieve.
 - 
                                        retrieve@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> retrieve(String threadId, ThreadRetrieveParams params, RequestOptions requestOptions) 
 - 
                                        retrieve@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> retrieve(String threadId, ThreadRetrieveParams params) 
 - 
                                        retrieve@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<Thread> retrieve(ThreadRetrieveParams params, RequestOptions requestOptions) 
 - 
                                        retrieve@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> retrieve(ThreadRetrieveParams params) 
 - 
                                        retrieve@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> retrieve(String threadId, RequestOptions requestOptions) 
 - 
                                        update@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> update(String threadId) Returns a raw HTTP response for post /threads/{thread_id}, but is otherwise the same as ThreadService.update.
 - 
                                        update@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> update(String threadId, ThreadUpdateParams params, RequestOptions requestOptions) 
 - 
                                        update@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> update(String threadId, ThreadUpdateParams params) 
 - 
                                        update@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<Thread> update(ThreadUpdateParams params, RequestOptions requestOptions) 
 - 
                                        update@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> update(ThreadUpdateParams params) 
 - 
                                        update@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Thread> update(String threadId, RequestOptions requestOptions) 
 - 
                                        delete@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<ThreadDeleted> delete(String threadId) Returns a raw HTTP response for delete /threads/{thread_id}, but is otherwise the same as ThreadService.delete.
 - 
                                        delete@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<ThreadDeleted> delete(String threadId, ThreadDeleteParams params, RequestOptions requestOptions) 
 - 
                                        delete@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<ThreadDeleted> delete(String threadId, ThreadDeleteParams params) 
 - 
                                        delete@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<ThreadDeleted> delete(ThreadDeleteParams params, RequestOptions requestOptions) 
 - 
                                        delete@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<ThreadDeleted> delete(ThreadDeleteParams params) 
 - 
                                        delete@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<ThreadDeleted> delete(String threadId, RequestOptions requestOptions) 
 - 
                                        createAndRun@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<Run> createAndRun(ThreadCreateAndRunParams params) Returns a raw HTTP response for post /threads/runs, but is otherwise the same as ThreadService.createAndRun.
 - 
                                        createAndRun@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<Run> createAndRun(ThreadCreateAndRunParams params, RequestOptions requestOptions) 
 - 
                                        createAndRunStreaming@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() HttpResponseFor<StreamResponse<AssistantStreamEvent>> createAndRunStreaming(ThreadCreateAndRunParams params) Returns a raw HTTP response for post /threads/runs, but is otherwise the same as ThreadService.createAndRunStreaming.
 - 
                                        createAndRunStreaming@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API")@MustBeClosed() abstract HttpResponseFor<StreamResponse<AssistantStreamEvent>> createAndRunStreaming(ThreadCreateAndRunParams params, RequestOptions requestOptions) 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-