curl https://better-dodo-20522-us1-vector.upstash.io/upsert \ -H "Authorization: Bearer YOUR_TOKEN" \ -d '{"id": "id10", "vector": [0.44,0.8,0.05,0.72,0.83,0.49,0.6,0.48], "metadata": { "key": "value" } }'
{ "result" : "Success" }
This endpoint upserts (adds) a vector to given index. You can also add metadata with the vector.
"Success"
Was this page helpful?