Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.
POST
/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel
curl \
--request POST 'https://api.openai.com/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"object": "vector_store.files_batch",
"created_at": 42,
"vector_store_id": "string",
"status": "in_progress",
"file_counts": {
"in_progress": 42,
"completed": 42,
"failed": 42,
"cancelled": 42,
"total": 42
}
}