Vectors

Get a specific record in a vector collection

Fetches the content of a specific record in the vector collection by ID.

get/vectors/fetch

Request

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

Query parameters

collection_namestring required
idsstring required
Example:vector-id-123

Response

Record retrieved successfully

namespacestring

Example response

{
  "namespace": "test-namespace-1",
  "vectors": {
    "vector-id-123": {
      "id": "vector-id-123",
      "embedding": [
        0.1,
        0.2,
        0.3
      ],
      "metatag": "sampleTag",
      "data": "This is some clear text data associated with the vector"
    }
  }
}

Changes

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