Sign Up

Server

POST
/env

Update the daemon's process environment. Newly spawned processes, sessions and PTYs inherit the change; already-running processes keep their environment.

Request Body

Environment update request

application/json
  1. 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?string

UnsetValuePrefix 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.

Response Body

OK

application/json
  1. response
[key: string]?string
curl -X POST 'https://example.com/env' \  -H 'Content-Type: application/json' \  -d '{}'
{  "property1": "string",  "property2": "string"}
POST
/init

Set the auth token and initialize telemetry for the toolbox server

Request Body

Initialization request

application/json
  1. body
token?string

Response Body

OK

application/json
  1. response
[key: string]?string
curl -X POST 'https://example.com/init' \  -H 'Content-Type: application/json' \  -d '{}'
{  "property1": "string",  "property2": "string"}