Skip to main content
Create a batch of files to attach to a vector store for indexing. After creating the batch, use the Get Vector Store File Batch action to poll until the batch status is completed.
External DocumentationTo learn more, visit the OpenAI documentation.

Basic Parameters

ParameterDescription
File IDsA comma-separated list of OpenAI file IDs to attach to the vector store. Can be obtained using the Upload File action.

The maximum batch size is 2000 files.
Vector Store IDThe ID of the vector store. Can be obtained using the Create Vector Store action.

Advanced Parameters

ParameterDescription
Additional ParametersA JSON object for additional body parameters. Values specified in this parameter will override equivalent parameters.

For example:
{
“first_key”: 12345,
“second_key”: “some_value”
}
The object must follow the vendor’s structure as defined in the API documentation.

Example Output

{
	"id": "vsfb_abc123",
	"object": "vector_store.files_batch",
	"created_at": 1699061776,
	"vector_store_id": "vs_abc123",
	"status": "in_progress",
	"file_counts": {
		"in_progress": 1,
		"completed": 0,
		"failed": 0,
		"cancelled": 0,
		"total": 1
	}
}

Workflow Library Example

Create Vector Store File Batch with Openai and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop