---
title: "Test connection with raw credentials (no persistence)"
method: POST
path: "/api/v1/datasource/validate-credentials"
tags: ["DataSource"]
---

# Test connection with raw credentials (no persistence)

`POST /api/v1/datasource/validate-credentials`

Validate connectivity to an external data source using type + credentials

## Request body

- object

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request

## Changes

- **2026-03-30** `08f8a25fbf1d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/api/v1/datasource/validate-credentials/post.md)

---

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