Xata · Example Payload

Xata Branch Credentials Example

DatabasePostgresServerlessDeveloper ToolsBranchingAI Agent

Xata Branch Credentials Example is an example object payload from Xata, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

hostportdatabaseusernamepasswordconnectionStringdirectConnectionString

Example Payload

Raw ↑
{
  "host": "us-east-1.db.xata.tech",
  "port": 5432,
  "database": "mydb_main",
  "username": "xata_usr_abc123",
  "password": "pg_pass_xyz",
  "connectionString": "postgresql://xata_usr_abc123:pg_pass_xyz@us-east-1.db.xata.tech:5432/mydb_main",
  "directConnectionString": "postgresql://xata_usr_abc123:pg_pass_xyz@direct.us-east-1.db.xata.tech:5432/mydb_main"
}