VectorStore
Written by
Updated at October 14, 2025
Interacting with a vector store.
| Field name | Type | Required | Default value | Templating is supported | Description |
|---|---|---|---|---|---|
uploadFile |
UploadFile | Yes | No | No | Description of how you upload a file to a vector store. |
UploadFile
The textFile, urlFile, and objectStorage fields are mutually exclusive: you can use only one of them.
| Field name | Type | Required | Default value | Templating is supported | Description |
|---|---|---|---|---|---|
vectorStoreId |
string |
Yes | No | No | Vector store ID |
textFile |
TextFile | No | No | No | Text file contents |
urlFile |
UrlFile | No | No | No | Public URL file contents |
objectStorage |
ObjectStorage | No | No | No | Object Storage bucket file contents |
attributes |
map<string,string> |
No | No | Yes | Additional file attributes (metadata) in key-value format |
TextFile
| Field name | Type | Required | Default value | Templating is supported | Description |
|---|---|---|---|---|---|
text |
string |
Yes | No | Yes | File text contents |
fileName |
string |
Yes | No | Yes | File name to save it under. |
UrlFile
| Field name | Type | Required | Default value | Templating is supported | Description |
|---|---|---|---|---|---|
url |
string |
Yes | No | Yes | Public URL to access the file. |
fileName |
string |
Yes | No | Yes | File name to save it under. |
ObjectStorage
| Field name | Type | Required | Default value | Templating is supported | Description |
|---|---|---|---|---|---|
bucket |
string |
Yes | No | No | Name of the Object Storage bucket the file resides in. |
object |
string |
Yes | No | Yes | Object name, e.g., prefix/subprefix/data.json |