v1
latestOpenAPI 3.0.32026-08-06138294578.6 KBConnections
Test Connection
Tests a connection configuration.
This endpoint is useful for setup flows that want to verify credentials before persisting them.
If you provide connection_id, Polytomic starts from the saved configuration for that connection and then applies the request's configuration values on top. This lets callers test a partial change without resending every existing field.
The request does not persist any configuration changes even when validation succeeds.
post/api/connections/test
Headers
X-Polytomic-Versionstring
Request body
Example request
{
"configuration": {
"database": "example",
"hostname": "postgres.example.com",
"password": "password",
"port": 5432,
"username": "user"
},
"connection_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"type": "postgresql"
}Response
No Content