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

# Test connection with raw credentials (no persistence)

`POST /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

> 62 revisions in range; 8 could not be searched.

- **2026-05-21** `3f276bf7acc8` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/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/a5ce73ad8921/schema)
