## Get Vector

**get** `/v5/vector-stores/{vector_store_name}/vectors/{vector_id}`

Retrieve a single document by its unique ID.

Returns the document's full content, metadata, and optionally its embedding vector. Use this endpoint
for direct lookups when the exact document ID is known. For content similarity search,
use the query endpoint.

### Path Parameters

- `vector_store_name: string`

  The name of the vector store

- `vector_id: string`

  The ID of the vector to retrieve

### Query Parameters

- `include_vectors: optional boolean`

  Include embedding vectors

### Returns

- `VectorDocument object { id, content, metadata, vector }`

  A document returned from direct lookups (get/list operations).

  - `id: string`

    Document ID

  - `content: optional TextContent`

    Text content for documents.

    - `text: string`

      Text content to be embedded

    - `type: optional "text"`

      Content type identifier

      - `"text"`

  - `metadata: optional map[unknown]`

    Key-value metadata

  - `vector: optional array of number`

    Embedding vector (if requested)

### Example

```http
curl https://api.egp.scale.com/v5/vector-stores/$VECTOR_STORE_NAME/vectors/$VECTOR_ID \
    -H "x-api-key: $SGP_API_KEY"
```

#### Response

```json
{
  "id": "id",
  "content": {
    "text": "text",
    "type": "text"
  },
  "metadata": {
    "foo": "bar"
  },
  "vector": [
    0
  ]
}
```
