Interface FileBatchService.WithRawResponse
- 
                    
                    
- All Implemented Interfaces:
 
public interface FileBatchService.WithRawResponseA view of FileBatchService that provides access to raw HTTP responses for each method.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withOptions
abstract FileBatchService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
create
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> create(String vectorStoreId, FileBatchCreateParams params)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/file_batches, but is otherwise the same as FileBatchService.create. 
- 
                                        
create
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> create(String vectorStoreId, FileBatchCreateParams params, RequestOptions requestOptions)
 
- 
                                        
create
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> create(FileBatchCreateParams params)
 
- 
                                        
create
@MustBeClosed() abstract HttpResponseFor<VectorStoreFileBatch> create(FileBatchCreateParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> retrieve(String batchId, FileBatchRetrieveParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/file_batches/{batch_id}, but is otherwise the same as FileBatchService.retrieve. 
- 
                                        
retrieve
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> retrieve(String batchId, FileBatchRetrieveParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> retrieve(FileBatchRetrieveParams params)
 
- 
                                        
retrieve
@MustBeClosed() abstract HttpResponseFor<VectorStoreFileBatch> retrieve(FileBatchRetrieveParams params, RequestOptions requestOptions)
 
- 
                                        
cancel
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> cancel(String batchId, FileBatchCancelParams params)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel, but is otherwise the same as FileBatchService.cancel. 
- 
                                        
cancel
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> cancel(String batchId, FileBatchCancelParams params, RequestOptions requestOptions)
 
- 
                                        
cancel
@MustBeClosed() HttpResponseFor<VectorStoreFileBatch> cancel(FileBatchCancelParams params)
 
- 
                                        
cancel
@MustBeClosed() abstract HttpResponseFor<VectorStoreFileBatch> cancel(FileBatchCancelParams params, RequestOptions requestOptions)
 
- 
                                        
listFiles
@MustBeClosed() HttpResponseFor<FileBatchListFilesPage> listFiles(String batchId, FileBatchListFilesParams params)
Returns a raw HTTP response for
get /vector_stores/{vector_store_id}/file_batches/{batch_id}/files, but is otherwise the same as FileBatchService.listFiles. 
- 
                                        
listFiles
@MustBeClosed() HttpResponseFor<FileBatchListFilesPage> listFiles(String batchId, FileBatchListFilesParams params, RequestOptions requestOptions)
 
- 
                                        
listFiles
@MustBeClosed() HttpResponseFor<FileBatchListFilesPage> listFiles(FileBatchListFilesParams params)
 
- 
                                        
listFiles
@MustBeClosed() abstract HttpResponseFor<FileBatchListFilesPage> listFiles(FileBatchListFilesParams params, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -