Terminal
PreviewRead the organization's terminal settings
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The settings.
application/json- response
idleTimeoutSeconds*integerRange
60 <= value <= 7200maxDurationSeconds*integerRange
300 <= value <= 28800maxPerPerson*integerRange
1 <= value <= 10maxPerCluster*integerRange
1 <= value <= 100recording*stringRecord sessions on production-tier clusters (the default), on every cluster, or none.
Value in
"production""all""off"recordingRetentionDays*integerRange
1 <= value <= 3650updatedAt?stringFormat
date-timecurl -X GET 'https://wardn.example.com/api/v1/exec-settings'Example Response
{ "idleTimeoutSeconds": 60, "maxDurationSeconds": 300, "maxPerPerson": 1, "maxPerCluster": 1, "recording": "production", "recordingRetentionDays": 1, "updatedAt": "2019-08-24T14:15:22Z"}Read a terminal session's recording GET
The session's output as it was shown, one JSON object per line: `t` seconds since the session started, `s` the stream (`o` stdout, `e` stderr) and `d` the bytes in base64. Keystrokes are not recorded; with a TTY the terminal's echo of them is. Each chunk is checked against its digest. Needs `audit:r
Change the organization's terminal settings PUT
Recorded in Activity as `org.exec_settings_changed`. A retention change applies to sessions that end after it.