Skip to main content
First, start a local server and leave it running. The examples below use http://127.0.0.1:8765. In a second terminal, check that the server is reachable:
The response includes "status": "ok". Set the same token you configured on the server in this terminal before sending authenticated requests:
The requests below use --fail-with-body, available in curl 7.76.0 or newer. Check with curl --version. With an older curl, replace it with --fail; HTTP errors still exit nonzero, but their response bodies are omitted. Create a workspace with an in-memory mount:
A successful response has status 201 and includes the workspace ID demo. Supply either config or a saved template. An identical retry can return 200; an existing ID with a different configuration returns 409. Run a shell command:
The response contains the output and command exit status:
Read workspace command logs:
Logs return an object with items and next. Follow next using the after query parameter for another page. See List workspace logs for the fields and a complete response example. Browse the resource groups on the left or use endpoint search.