Check a service's environment
Runs the env analyzer over the saved .env of a service and returns its diagnostics: syntax errors, unknown references, and internal addresses of services on another node (there is no cross-node private network). The web editor runs the same analyzer locally on unsaved text.
Needs env.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
diagnostics*array<>curl -X GET 'https://example.com/api/v1/env.analyze?serviceId=string'{ "diagnostics": [ { "code": "invalid-line", "severity": "error", "message": "string", "detail": "string", "params": {}, "range": { "start": 0, "end": 0, "startLine": 1, "startColumn": 1, "endLine": 1, "endColumn": 1 }, "fixes": [ { "kind": "edit", "title": "string", "edits": [ { "range": { "start": 0, "end": 0, "startLine": 1, "startColumn": 1, "endLine": 1, "endColumn": 1 }, "text": "string" } ] } ] } ]}Change a domain's routing POST
Changes path prefix, strip prefix, target port, HTTPS mode, the HTTP to HTTPS redirect or the forward target of a domain. Fields left out keep their value; forward null turns a redirect-only domain back into a normal one. Needs `domains.edit` on the service (a grant on its project covers it). Available to MCP clients and the assistant.
Get a service's environment GET
Returns the service's .env text as saved, the parsed variables (references left as written) and how many shared project variables it also receives. Needs `env.view` on the service (a grant on its project covers it). Available to MCP clients and the assistant.