Skip to main content
GET
/
api
/
bash
/
bash_events
/
{event_id}
Get Bash Event
curl --request GET \
  --url https://api.example.com/api/bash/bash_events/{event_id}
{
  "command": "<string>",
  "kind": "<string>",
  "cwd": "<string>",
  "timeout": 300,
  "id": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}

Path Parameters

event_id
string
required

Response

Successful Response

command
string
required

The bash command to execute

kind
string
required
Allowed value: "BashCommand"
cwd
string | null

The current working directory

timeout
integer
default:300

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

id
string
timestamp
string<date-time>