cancel

abstract suspend fun cancel(vectorStoreId: VectorStoreId, batchId: BatchId, requestOptions: RequestOptions? = null): FilesBatch?

Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.

Parameters

vectorStoreId

The ID of the vector store file batch to cancel.

batchId

The ID of the vector store file batch to cancel.

requestOptions

request options.