Branch Statistics
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/stats
This endpoint presents a number of statistics on a given database's branch.
Expected Parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
db_branch_name | The DBBranchName matches the pattern `{db_name}:{branch_name}`. | path | ✅ | string |
Branch Stats
GEThttps://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/stats
Get branch usage metrics.
Status Code | Description | Example Response/Type Definition |
---|---|---|
200 | OK |
|
400 | Example response |
|
401 | Authentication Error |
|
404 | Example response |
|
5XX | Unexpected Error |