curl https://better-dodo-20522-us1-vector.upstash.io/upsert-data \ -H "Authorization: Bearer YOUR_TOKEN" \ -d '{"id": "id10", "data": "Upstash is a serverless data platform.", "metadata": { "key": "value" } }'
{ "result" : "Success" }
This endpoint upserts (adds) the raw text data to given index after embedding it. You can also add metadata with the vector.
"Success"
Was this page helpful?