Skip to main content
GET
/
api
/
bash
/
bash_events
/
{event_id}
{
  "command": "<string>",
  "cwd": "<string>",
  "timeout": 300,
  "kind": "BashCommand",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "timestamp": "2023-11-07T05:31:56Z"
}

Path Parameters

event_id
string
required

Response

Successful Response

  • BashCommand
  • BashOutput
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<uuid>
timestamp
string<date-time>