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.
Get a space’s details and configuration.
cURL
curl http://localhost:18080/api/workspaces/abc123
const options = {method: 'GET'}; fetch('http://localhost:18080/api/workspaces/{workspaceId}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "http://localhost:18080/api/workspaces/{workspaceId}" response = requests.get(url) print(response.text)
package main import ( "fmt" "net/http" "io" ) func main() { url := "http://localhost:18080/api/workspaces/{workspaceId}" 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", "config": {} }
Space details
"abc123"
"my-space"
"My first space"
"active"
Full workspace configuration
ephemeral
persistent