Connections

Create connection

Create a new database connection. Admin only.

post/connections

Request

  • Base URL: https://app.aifordatabase.com/api/v1
  • URL: https://app.aifordatabase.com/api/v1/connections
  • Auth: HTTP bearer

Request body

namestring required
type'POSTGRES' | 'MYSQL' | 'MARIADB' | 'MSSQL' | 'MONGODB' | 'SQLITE' required
hoststring
portinteger
databasestring
usernamestring
passwordstring

Database password (write-only, never returned). encryptedPassword is accepted as an alias.

encryptedPasswordstring

Alias of password.

sslEnabledboolean

ssl is accepted as an alias.

Response

Connection created

errorunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.