Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.
fieldErrors that map specific fields to their errors. This allows you to display targeted feedback to users about which credential field is incorrect.
Common field errors:
host: “Host not found” - The hostname could not be resolvedport: “Incorrect port” - The connection was refused on the specified portusername/password: “Incorrect username or password” - Authentication faileddatabaseName: “Database does not exist” - The specified database was not foundAPI key authentication using Bearer token format: Bearer <basedash_api_key>
Organization ID
Database dialect/type
POSTGRES Snowflake account ID
Snowflake warehouse
Snowflake role
Snowflake private key
Snowflake private key passphrase
Database name
Database username
Database host
Database port
0 <= x <= 65535Database password
BigQuery JSON key
BigQuery project ID
Spanner instance ID
Enable SSL connection
Enable SSH tunnel
SSH tunnel host
SSH tunnel port
0 <= x <= 65535SSH tunnel username
SSH tunnel password
SSH private key
SSH private key passphrase
Credentials verified successfully