Workspaces
List Workspaces
Lists every workspace the authenticated account owns or is a member of.
GET
/
v1
/
workspaces
List Workspaces
curl --request GET \
--url https://api.vertracloud.app/v1/workspaces \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vertracloud.app/v1/workspaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vertracloud.app/v1/workspaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/workspaces"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"response": [
{
"id": "b7e2d1a4-...",
"name": "Acme backend",
"description": "Production apps and databases",
"owner_id": "123456789012345678",
"owner": { "display_name": "Alice" },
"members_count": 4,
"deleted_at": null,
"created_at": "2026-09-01T12:00:00Z",
"updated_at": "2026-09-01T12:00:00Z"
}
]
}
Available to any logged-in account — you don’t need
members:read on any workspace to list the
ones you belong to. An API key needs the workspaces:read scope.
Response
APIWorkspace[]
{
"response": [
{
"id": "b7e2d1a4-...",
"name": "Acme backend",
"description": "Production apps and databases",
"owner_id": "123456789012345678",
"owner": { "display_name": "Alice" },
"members_count": 4,
"deleted_at": null,
"created_at": "2026-09-01T12:00:00Z",
"updated_at": "2026-09-01T12:00:00Z"
}
]
}
Last modified on September 25, 2026
⌘I
List Workspaces
curl --request GET \
--url https://api.vertracloud.app/v1/workspaces \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vertracloud.app/v1/workspaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vertracloud.app/v1/workspaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/workspaces"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"response": [
{
"id": "b7e2d1a4-...",
"name": "Acme backend",
"description": "Production apps and databases",
"owner_id": "123456789012345678",
"owner": { "display_name": "Alice" },
"members_count": 4,
"deleted_at": null,
"created_at": "2026-09-01T12:00:00Z",
"updated_at": "2026-09-01T12:00:00Z"
}
]
}