Skip to main content
POST
/
v1
/
vectors
/
{index_id}
/
upsert
cURL
curl --request POST \
  --url https://api.gravixlayer.com/v1/vectors/{index_id}/upsert \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "vectors": [
    {
      "embedding": [
        0.1,
        0.2,
        0.3,
        0.4,
        0.5
      ]
    }
  ]
}
'

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Gravix Layer Dashboard.

Path Parameters

index_id
string
required

Index UUID

Body

application/json
vectors
object[]
required

Response

200

Upsert successful