## Get Vector

`client.VectorStores.Vectors.Get(ctx, vectorID, params) (*VectorDocument, error)`

**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.

### Parameters

- `vectorID string`

  The ID of the vector to retrieve

- `params VectorStoreVectorGetParams`

  - `VectorStoreName param.Field[string]`

    Path param: The name of the vector store

  - `IncludeVectors param.Field[bool]`

    Query param: Include embedding vectors

### Returns

- `type VectorDocument struct{…}`

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

  - `ID string`

    Document ID

  - `Content TextContent`

    Text content for documents.

    - `Text string`

      Text content to be embedded

    - `Type TextContentType`

      Content type identifier

      - `const TextContentTypeText TextContentType = "text"`

  - `Metadata map[string, any]`

    Key-value metadata

  - `Vector []float64`

    Embedding vector (if requested)

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/scaleapi/sgp-dev-go"
  "github.com/scaleapi/sgp-dev-go/option"
)

func main() {
  client := sgpdev.NewClient(
    option.WithAPIKey("My API Key"),
    option.WithAccountID("My Account ID"),
  )
  vectorDocument, err := client.VectorStores.Vectors.Get(
    context.TODO(),
    "vector_id",
    sgpdev.VectorStoreVectorGetParams{
      VectorStoreName: "vector_store_name",
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", vectorDocument.ID)
}
```

#### Response

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