List Workspaces
curl --request GET \
--url https://api.example.com/v0/workspacesimport requests
url = "https://api.example.com/v0/workspaces"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v0/workspaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v0/workspaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v0/workspaces"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v0/workspaces")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v0/workspaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyWorkspaces
List Workspaces
GET /v0/workspaces — Every workspace you are an internal or external member of
GET
/
v0
/
workspaces
List Workspaces
curl --request GET \
--url https://api.example.com/v0/workspacesimport requests
url = "https://api.example.com/v0/workspaces"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v0/workspaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v0/workspaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v0/workspaces"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v0/workspaces")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v0/workspaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyReturns every workspace you can access: as the personal owner, as a member of the owning team, or as an explicit external member. Archived workspaces are included (
Each item has the shape documented on Create Workspace.
archivedAt is set). Items are ordered by updatedAt, newest first. No query parameters; the full list is returned. MCP: workspace_list (paged with limit / cursor). CLI: rip workspace list.
Auth: Authorization: Bearer tr_... (an account API key).
Response
{
"ok": true,
"data": [
{
"id": "0b7f3c1e-5a2d-4c8e-9f10-2b3c4d5e6f70", "slug": "roadmap", "name": "Roadmap", "description": null,
"ownerAccountId": null, "teamId": "7c1d…", "archivedAt": null,
"role": "editor", "membership": "external", "audiences": ["shared"],
"capabilities": { "read": true, "navigate": true, "writeContent": true, "…": "…" },
"mutationSequence": 42, "accessGeneration": 3,
"createdAt": "2026-09-15T08:00:00.000Z", "updatedAt": "2026-09-15T09:00:00.000Z"
}
]
}