Skip to main content
POST
/
api
/
v1
/
runtime
/
v1
/
vectors
/
files
/
upload
Upload File to Vector Store
curl --request POST \
  --url https://api.runflow.ai/api/v1/runtime/v1/vectors/files/upload \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'vectorStore=<string>' \
  --form 'title=<string>' \
  --form 'metadata=<string>'

Documentation Index

Fetch the complete documentation index at: https://docs.runflow.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

multipart/form-data

File upload with vector store and optional metadata

file
file
required

File to upload

vectorStore
string
required

Vector store name

title
string

Optional title for the document

metadata
string

Optional metadata as JSON string

Response

{ success, documentId, vectorStore, file: { originalName, mimeType, size }, message } on success.