GET
/
random
/
{namespace}

Request

This endpoint doesn’t require any additional data.

Path

namespace
string
default: ""

The namespace to use. When no namespace is specified, the default namespace will be used.

Response

The response will be null if the namespace is empty.

id
string
required

The id of the vector.

vector
number[]

The dense vector value for dense and hybrid indexes.

sparseVector
Object[]

The sparse vector value for sparse and hybrid indexes.

indices
number[]

Indices of the non-zero valued dimensions.

values
number[]

Values of the non-zero valued dimensions.