Skip to main content
GET
/
api
/
bash
/
bash_events
[
  {
    "command": "<string>",
    "cwd": "<string>",
    "timeout": 300,
    "kind": "BashCommand",
    "id": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  }
]

Body

application/json

Response

(BashCommand · object | BashOutput · object | null)[]

Successful Response

command
string
required

The bash command to execute

cwd
string | null

The current working directory

timeout
integer
default:300

The max number of seconds a command may be permitted to run.

kind
string
default:BashCommand
Allowed value: "BashCommand"
id
string
timestamp
string<date-time>