Get a Box
Returns a Box's node, state (running, starting, sleeping, stopped) and idle settings.
Needs services.view on the service (a grant on its project covers it). Available to MCP clients and the assistant.
seylo_session<token>serviceId*stringPanel-issued id.
^[a-z0-9]{16}$Success.
application/json- response
serviceId*stringPanel-issued id.
^[a-z0-9]{16}$projectId*stringPanel-issued id.
^[a-z0-9]{16}$name*stringDNS-safe; the service's host name on the project network. Unique in its project.
^[a-z0-9]([a-z0-9-]*[a-z0-9])?$1 <= length <= 40nodeId*stringPanel-issued id.
^[a-z0-9]{16}$nodeName*stringstate*string|string|string|stringrepository*string|nullidleMinutes*integer0 <= value <= 1440lastUsedAt*|nullcreatedAt*stringdate-timecurl -X GET 'https://example.com/api/v1/boxes.get?serviceId=string'{ "serviceId": "string", "projectId": "string", "name": "string", "nodeId": "string", "nodeName": "string", "state": "running", "repository": "string", "idleMinutes": 0, "lastUsedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z"}Create a Box POST
Creates a code-server workspace in a project on one node, with a persistent home volume. It joins the project network, so it reaches the project's services on that node by name. Needs `services.create` on the project. Available to MCP clients and the assistant.
Open a Box POST
Returns a one-time link that signs the caller in to the Box's editor; the Box wakes up if it was sleeping or stopped. Needs `boxes.use` on the service (a grant on its project covers it). Not available to MCP clients or the assistant.