Databases

Get a branch connection URI

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

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

Request

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

Path parameters

databaseIdstring required
branchIdstring required

Response

The connection URI for the ready branch.

connectionUristring required

Changes

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