Server
POST
Update the daemon's process environment. Newly spawned processes, sessions and PTYs inherit the change; already-running processes keep their environment.
Environment update request
application/json- body
set?Set maps env var names to values applied to the daemon's process env, so processes spawned after the call (exec, sessions, PTYs) inherit them.
unset?array<string>Unset lists env var names to remove before Set is applied.
unsetValuePrefix?stringUnsetValuePrefix removes every env var whose value has this prefix and whose name is not a key of Set, before Set is applied. Used to reconcile secret placeholder vars without the caller knowing the daemon's env.
OK
application/json- response
[key: string]?stringcurl -X POST 'https://example.com/env' \ -H 'Content-Type: application/json' \ -d '{}'{ "property1": "string", "property2": "string"}POST
Set the auth token and initialize telemetry for the toolbox server
Initialization request
application/json- body
token?stringOK
application/json- response
[key: string]?stringcurl -X POST 'https://example.com/init' \ -H 'Content-Type: application/json' \ -d '{}'{ "property1": "string", "property2": "string"}