Skip to main content
GET
/
random
curl https://hardy-cricket-48359-us1-vector.upstash.io/random \
  -H "Authorization: Bearer <YOUR_TOKEN>" \
{
  "result" : {
    "id" : "1",
    "vector" : [0.1, 0.2, 0.3]
  }
}

Documentation Index

Fetch the complete documentation index at: https://upstash-fix-issues-on-docs.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Request

This endpoint doesn’t require any additional data.

Response

The response is null if the index is empty.
id
string
required
The ID of the resulting vector.
vector
number[]
The resulting vector data.
curl https://hardy-cricket-48359-us1-vector.upstash.io/random \
  -H "Authorization: Bearer <YOUR_TOKEN>" \
{
  "result" : {
    "id" : "1",
    "vector" : [0.1, 0.2, 0.3]
  }
}