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

---

[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)
