---
title: "Get Vector Db"
method: GET
path: "/governance-service/api/ai/vectordb/{id}"
tags: ["AI Vector DB Management"]
---

# Get Vector Db

`GET /governance-service/api/ai/vectordb/{id}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/privacera/apis/paig-server/docs/governance-service/api/ai/vectordb/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get an Vector DB by ID.

## Path parameters

- `id` integer, required

## Response `200`

Successful Response

- VectorDBViewOutput: A model representing an VectorDB. Inherits from: BaseView: The base model containing common fields. Attributes: name (str): The name of the Vector DB. description (str): The description of the Vector DB. type (VectorDBType): The type of the Vector DB. user_enforcement (int): The user enforcement of the Vector DB. group_enforcement (int): The group enforcement of the Vector DB. ai_applications (Optional[str]): The AI applications associated with the Vector DB.
  - `id` integer, nullable: The unique identifier of the resource
  - `status` integer, nullable: The status of the resource
  - `createTime` string: The creation time of the resource
  - `updateTime` string: The last update time of the resource
  - `name` string: The name of the Vector DB
  - `description` string: The description of the Vector DB
  - `type` 'OPENSEARCH' | 'MILVUS', required
  - `userEnforcement` integer: The user enforcement of the Vector DB
  - `groupEnforcement` integer: The group enforcement of the Vector DB
  - `aiApplications` string[], nullable: The AI applications associated with the Vector DB

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/privacera/apis/paig-server.md) - [All operations](https://skmtc.dev/privacera/apis/paig-server/llms.txt) - [OpenAPI document](https://skmtc.dev/privacera/apis/paig-server/revisions/e3d2c30ceace?raw)
