Available regions

https://api.xata.io/workspaces/workspace_id/regions

This path allows to access the list of available database regions

Expected parameters

NameDescriptionInRequiredSchema
workspace_id

Workspace ID

path✅string

List Available Regions

GET
https://api.xata.io/workspaces/workspace_id/regions

List 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;
};