Connect section and select the cURL tab. You can simply copy the curl expression and run on your terminal.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Connect section and select the cURL tab. You can simply copy the curl expression and run on your terminal.
curl https://better-dodo-20522-us1-vector.upstash.io/upsert \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"id": "id1", "vector": [0.87,0.99,0.65,0.64,0.15,0.15,0.76,0.16]}'
{ "result": "Success" }
{
"error": "Unauthorized: Invalid auth token",
"status": 401
}
| Status Code | Description |
|---|---|
200 OK | When request is accepted and successfully executed. |
400 Bad Request | When there’s a syntax error, an invalid/unsupported command is sent or command execution fails. |
401 Unauthorized | When authentication fails; auth token is missing or invalid. |
405 Method Not Allowed | When an unsupported HTTP method is used. Only HEAD, GET, POST, and PUT methods are allowed. |
Was this page helpful?