Regions
Available deployment regions
Returns the available regions where apps can be deployed.
Authorizations
AuthorizationstringRequired
OAuth 2.0 access token obtained from the Spice.ai authentication service
Header parameters
X-Org-NamestringOptionalPattern:
The organization to act on, by handle. Omit it to act on the organization the credential is bound to; sending it blank is a 400, not the same as omitting it. A user credential may name any organization its owner belongs to; a machine credential is pinned to its own.
^[A-Za-z0-9._-]{1,255}$Responses
200
List of available regions
application/json
defaultstringOptional
The default region identifier
401
Unauthorized
403
Insufficient scope
get/v1/regions
GET /v1/regions HTTP/1.1
Host: api.spice.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"regions": [
{
"name": "text",
"region": "text",
"provider": "teraswitch",
"providerName": "Teraswitch",
"isDefault": true,
"disabled": true
}
],
"default": "text"
}Last updated
Was this helpful?