---
title: "Get a specific record in a vector collection"
method: GET
path: "/vectors/fetch"
tags: ["Vectors"]
---

# Get a specific record in a vector collection

`GET /vectors/fetch`

## Request

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

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

## Query parameters

- `collection_name` string, required
- `ids` string, required

## Response `200`

Record retrieved successfully

- VectorRecordResponse
  - `namespace` string
  - `vectors` object
    - `vector-id-123` object
      - `id` string
      - `embedding` number[]
      - `metatag` string
      - `data` string

## Other responses

- `400`: Bad request
- `404`: Record or collection not found
- `500`: Internal server error

---

[API](https://skmtc.dev/apipie/apis/introduction.md) · [All operations](https://skmtc.dev/apipie/apis/introduction/llms.txt) · [OpenAPI document](https://skmtc.dev/apipie/apis/introduction/revisions/f8386be4eb3f?raw)
