Skip to main content

Add vectors to an index

POST 

/indexes/:qid/vectors

Inserts one or more vectors into the given index. Each vector must match the index's configured vector dimension. Each may carry an additional_info object, stored as-is and returned on search hits. One request is one write run over one piece of content, so qid and batch_id are given once at the top level and apply to every vector -- uploading vectors for several contents means one request each. The batch must belong to the index in the path and its own content qid must agree with qid; when batch_id is given and qid is not, the batch supplies it. Both may be omitted: no batch_id writes vectors that belong to no batch, and no qid writes vectors that describe no content. Requires content access for the index qid.

Request

Responses

Created