Skip to main content
Set the hosted API URL and your access token in the terminal that sends requests:
For another deployment, set MIRAGE_BASE_URL to its API URL and use its token. Create a workspace with an in-memory filesystem:
The response has status 201 and the workspace identifier demo. An identical retry returns the existing workspace with status 200. Supply either config or a saved template, never both. Run a shell command in that workspace:
The response contains the command’s output and exit status:
Use Create a workspace and Run a shell line for the complete request fields and responses. Browse the resource groups on the left, or use the endpoint search to find an operation by path, parameter or response field. For local daemon setup, see the HTTP server guide.