Interface FileBatchService.WithRawResponse
-
- All Implemented Interfaces:
public interface FileBatchService.WithRawResponse
A view of FileBatchService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract HttpResponseFor<VectorStoreFileBatch>
create(BetaVectorStoreFileBatchCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /vector_stores/{vector_store_id}/file_batches
, but is otherwise the same as FileBatchService.create.abstract HttpResponseFor<VectorStoreFileBatch>
create(BetaVectorStoreFileBatchCreateParams params)
Returns a raw HTTP response for post /vector_stores/{vector_store_id}/file_batches
, but is otherwise the same as FileBatchService.create.abstract HttpResponseFor<VectorStoreFileBatch>
retrieve(BetaVectorStoreFileBatchRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /vector_stores/{vector_store_id}/file_batches/{batch_id}
, but is otherwise the same as FileBatchService.retrieve.abstract HttpResponseFor<VectorStoreFileBatch>
retrieve(BetaVectorStoreFileBatchRetrieveParams 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.abstract HttpResponseFor<VectorStoreFileBatch>
cancel(BetaVectorStoreFileBatchCancelParams params, RequestOptions requestOptions)
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.abstract HttpResponseFor<VectorStoreFileBatch>
cancel(BetaVectorStoreFileBatchCancelParams 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.abstract HttpResponseFor<BetaVectorStoreFileBatchListFilesPage>
listFiles(BetaVectorStoreFileBatchListFilesParams params, RequestOptions requestOptions)
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.abstract HttpResponseFor<BetaVectorStoreFileBatchListFilesPage>
listFiles(BetaVectorStoreFileBatchListFilesParams 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.-
-
Method Detail
-
create
abstract HttpResponseFor<VectorStoreFileBatch> create(BetaVectorStoreFileBatchCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/file_batches
, but is otherwise the same as FileBatchService.create.
-
create
abstract HttpResponseFor<VectorStoreFileBatch> create(BetaVectorStoreFileBatchCreateParams params)
Returns a raw HTTP response for
post /vector_stores/{vector_store_id}/file_batches
, but is otherwise the same as FileBatchService.create.
-
retrieve
abstract HttpResponseFor<VectorStoreFileBatch> retrieve(BetaVectorStoreFileBatchRetrieveParams params, RequestOptions requestOptions)
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
abstract HttpResponseFor<VectorStoreFileBatch> retrieve(BetaVectorStoreFileBatchRetrieveParams 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.
-
cancel
abstract HttpResponseFor<VectorStoreFileBatch> cancel(BetaVectorStoreFileBatchCancelParams params, RequestOptions requestOptions)
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
abstract HttpResponseFor<VectorStoreFileBatch> cancel(BetaVectorStoreFileBatchCancelParams 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.
-
listFiles
abstract HttpResponseFor<BetaVectorStoreFileBatchListFilesPage> listFiles(BetaVectorStoreFileBatchListFilesParams params, RequestOptions requestOptions)
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
abstract HttpResponseFor<BetaVectorStoreFileBatchListFilesPage> listFiles(BetaVectorStoreFileBatchListFilesParams 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.
-
-
-
-