Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List all registered spaces sorted by name.
cURL
curl http://localhost:18080/api/workspaces
const options = {method: 'GET'}; fetch('http://localhost:18080/api/workspaces', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "http://localhost:18080/api/workspaces" response = requests.get(url) print(response.text)
package main import ( "fmt" "net/http" "io" ) func main() { url := "http://localhost:18080/api/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)) }
[ { "id": "abc123", "name": "my-space", "description": "My first space", "status": "active", "path": "<string>", "createdAt": "2023-11-07T05:31:56Z", "lastSeen": "2023-11-07T05:31:56Z" } ]
List of spaces
"abc123"
"my-space"
"My first space"
"active"