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

application/json

Environment update request

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

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

application/json

Initialization request

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/init" \  -H "Content-Type: application/json" \  -d '{    "token": "string"  }'
{  "property1": "string",  "property2": "string"}