Unispec Docs
ApiVector database

Upsert vectors

POST
/v1/indexes/{name}/vectors/upsert

Authorization

TokenAuth
Authorization<token>

Project API key as Token lb-sk_...

In: header

Path Parameters

name*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/indexes/string/vectors/upsert" \  -H "Content-Type: application/json" \  -d '{    "vectors": [      {        "id": "string",        "values": [          0        ]      }    ]  }'
{  "upserted_count": 0}