---
title: "Test source connection"
method: POST
path: "/api/v1/project/{projectid}/sources/test"
tags: ["Sources"]
---

# Test source connection

`POST /api/v1/project/{projectid}/sources/test`

Validate the connection to a source using the provided configuration details.

## Path parameters

- `projectid` string, required

## Request body

- DtoSourceTestConnectionRequest
  - `config` string, required
  - `type` string, required
  - `version` string, required

## Response `200`

OK

## Other responses

- `400` — failed to validate request
- `401` — unauthorized
- `413` — payload too large
- `500` — failed to test connection

---

[API](https://skmtc.net/datazip-inc/apis/olake-ui-api.md) · [All operations](https://skmtc.net/datazip-inc/apis/olake-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datazip-inc/olake-ui-api/versions/f1bcf21b1556/schema)
