Get a service's environment
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.
seylo_session<token>serviceId*stringPanel-issued id.
^[a-z0-9]{16}$Success.
application/json- response
text*stringContents of a .env file.
length <= 262144variables*array<>sharedCount*integer0 <= valueupdatedAt*|nullcurl -X GET 'https://example.com/api/v1/env.get?serviceId=string'{ "text": "string", "variables": [ { "key": "string", "value": "string", "line": 1 } ], "sharedCount": 0, "updatedAt": "2019-08-24T14:15:22Z"}Check a service's environment GET
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.
Get a project's shared variables GET
Returns the project's shared variables as .env text. Every service of the project can use them as ${{project.NAME}}. Needs `env.view` on the project. Available to MCP clients and the assistant.