Vectors

Update or insert a vector into a collection

Upserts a vector into the specified collection with metadata and data.

put/vectors/upsert

Request

  • Base URL: https://apipie.ai
  • URL: https://apipie.ai/vectors/upsert
  • Auth: API key in header Authorization

Request body

collection_namestring
vector_idstring
metatagstring
datastring
embeddingnumber[]

Example request

{
  "collection_name": "my-collection",
  "vector_id": "vector-id-123",
  "metatag": "sampleTag",
  "data": "This is some clear text data associated with the vector",
  "embedding": [
    0.1,
    0.2,
    0.3
  ]
}

Response

Vector upserted successfully

Changes

No recorded changes to this operation across all 1 revision of this API.