Data
Upsert data
This page shows you how to upsert documents into a collection.
Each document implicitly contains an id
field in order to uniquely identify a document.
A unique string value is auto-generated by the system if id
field is not provided in an upsert request.
If you want to overwrite the entire document, you can do so by providing the id
field in the document.
Upsert limits
Metric | Limit |
---|---|
Max payload size | 6MB |
Max length for a document ID | 512 characters |
Max vector dimensions | 4,096 |
Max document size | 50KB |
When upserting larger amounts of data, it is recommended to use bulk-upsert operation.