Terminal
Preview

Read the organization's terminal settings

GET
/exec-settings
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The settings.

application/json
  1. response
idleTimeoutSeconds*integer
Range60 <= value <= 7200
maxDurationSeconds*integer
Range300 <= value <= 28800
maxPerPerson*integer
Range1 <= value <= 10
maxPerCluster*integer
Range1 <= value <= 100
recording*string

Record sessions on production-tier clusters (the default), on every cluster, or none.

Value in"production""all""off"
recordingRetentionDays*integer
Range1 <= value <= 3650
updatedAt?string
Formatdate-time
Example Request
curl -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"}