Cancel a file batch. Files that are already completed will not be affected. Files that are still in progress will be cancelled.
POST
/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel
Authorization
AuthorizationRequiredBearer <token>
In: header
Path Parameters
vector_store_idRequiredstring
The ID of the vector store.
batch_idRequiredstring
The ID of the file batch.
Example
Request
Response
List files in file batch
List the files in a file batch. Covers the pagination and status filter parameters (limit, order, after, before, filter), the list object returned, and an example request and response.
Search vector store
Run a natural-language query against a vector store. Covers the request body (query, max_num_results, filters), the search results page object (data with file_id, filename, score, content; has_more, next_page), example request and response, and a note on multi-query requests.