---
title: "Test vector store connection by ID"
method: POST
path: "/vector-stores/{id}/test"
tags: ["VectorStore"]
---

# Test vector store connection by ID

`POST /vector-stores/{id}/test`

Test connectivity of an existing saved or env store. Returns detected server version. For DB stores, the version is automatically saved to connection_config.

## Path parameters

- `id` string, required

## Response `200`

Connection test result (success, version)

- object

## Other responses

- `401` — Unauthorized
- `404` — Vector store not found

---

[API](https://skmtc.net/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.net/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/abce9036def5/schema)
