Databases

Get the connection URI

Returns the full Postgres connection URI for a ready database. The URI grants complete read/write access to the database; treat it as a secret. Responds 404 until the database is ready. All schema and row access happens directly over Postgres using this URI — the API never proxies SQL.

get/api/v1/databases/{databaseId}/connection

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/databases/{databaseId}/connection
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

databaseIdstring required

Response

The connection URI for the ready database.

connectionUristring required

Changes

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