Users

Get user details

get

Update user info

put

Delete user

delete

Query database using SQL

https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/sql

This endpoint performs the SQL query across the entire database branch. Set your SQL query in the parameter `query`.

Expected parameters

NameDescriptionInRequiredSchema
db_branch_name

The DBBranchName matches the pattern `{db_name}:{branch_name}`.

path✅string

SQL Query

POST
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/sql

Run an SQL query across the database branch.

Request Body Type Definition

Responses