X

xata.io

Xata is a managed PostgreSQL platform focused on instant branching, production-like development environments, and data anonymization. It lets teams create and manage isolated Postgres branches, projects, and organizations for development, testing, and production workflows.

3 integrations · REST · CLI

Xata exposes a control-plane HTTP API at `https://api.xata.tech`, a separate branch-scoped SQL gateway HTTP API at `https://{branch}.{region}.xata.tech`, and the `xata` CLI; all require authentication.

discovered 2mo ago
REST · OpenAPI2
CLI1
Credentials
Xata API key or OAuth access token for the control-plane APIbearerGet token

Create a Xata account in console.xata.io, then create a user or organization API key using the steps in API Keys or the CLI commands in keys such as xata keys user create or xata keys organization create. The API reference also shows the control-plane API accepts Authorization: Bearer <token>, and the CLI can print a current access token with xata auth access-token after xata auth login.

Branch PostgreSQL connection stringcompoundGet key

Get the branch connection string from the branch overview in the Xata console as described in Branches under Connect, or retrieve branch details/credentials via the control-plane API documented in Get branch details and related branch credential endpoints listed in docs index. This credential is a full PostgreSQL URI like postgres://user:pass@{branch}.{region}.xata.tech/db and is sent as the Connection-String header to the SQL gateway.

Xata CLI login profileoauth2$ xata auth login

Acquired by the CLI — running xata auth login opens the auth flow and stores the credential.

conventions · 2/8 published

Publish these signals → /publishing