post
https://api.superwise.ai/v1/sources/test-connection
Test the connection to a source.
- payload: Instance of TestSourceConnectionRequest model.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Tests the connection to a source. The request schema accepts a PostgreSQL source: type, params with the host, port, and db, and credentials.
When to use it
Use it to check connection details before you create or update a source.
Required parameters
type(body): the source type.params(body): the PostgreSQL connection parameters:host,port, anddb.credentials(body): the PostgreSQL credentials.
Response
A successful call returns 200 OK. The response body is not documented.
Related: Create a source, Update a source, List sources
400Bad Request
500Internal Server Error