Available regions
https://api.xata.io/workspaces/workspace_id/regionsThis path allows to access the list of available database regions
Expected parameters
| Name | Description | In | Required | Schema |
|---|---|---|---|---|
workspace_id | Workspace ID | path | ✅ | string |
List Available Regions
GEThttps://api.xata.io/workspaces/workspace_id/regionsList regions available to create a database on
Responses
type ListRegions = {
/**
* A list of regions where databases can be created
*/
regions: Region[];
};
type Region = {
id: string;
name: string;
};type ListRegions = {
id?: string;
message: string;
};{
"message": "invalid API key"
}type ListRegions = void;