provider Vector stores POST /vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel
@utdk/openai /vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel
Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.
vector_store_id path required
The ID of the vector store that the file batch belongs to.
string
batch_id path required
The ID of the file batch to cancel.
string

Try it

Authentication
Configure credentials for OpenAI API
cancelvectorstorefilebatch
POST/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel

Parameters

required

The ID of the vector store that the file batch belongs to.

required

The ID of the file batch to cancel.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import openai from '@utdk/openai';

await openai.cancelvectorstorefilebatch()