Get a project's shared variables
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.
seylo_session<token>projectId*stringPanel-issued id.
^[a-z0-9]{16}$Success.
application/json- response
text*stringContents of a .env file.
length <= 262144variables*array<>updatedAt*|nullcurl -X GET 'https://example.com/api/v1/env.getShared?projectId=string'{ "text": "string", "variables": [ { "key": "string", "value": "string", "line": 1 } ], "updatedAt": "2019-08-24T14:15:22Z"}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.
List what a service can reference GET
Returns every ${{target.VARIABLE}} the service can use: other services of the project with their built-in variables (URL, INTERNAL_URL, EXPOSED_URL, ...) and the project's shared variables, with resolved values for hovers and the nodes each target runs on. The result is the analyzer context for @seylo/env-analyzer. Needs `env.view` on the service (a grant on its project covers it). Available to MCP clients and the assistant.