DocsAPI ReferenceTerminal/bff/terminal/execute
postTerminalAdmin BFF

/bff/terminal/execute

Execute terminal command

TerminalpostBffTerminalExecute

Parameters

2 body

2 total
Body · 2
cwdstring

Current working directory

inputstringRequired

Command string to execute

Request

POST /bff/terminal/execute

post
curl -X POST "https://api.bizkithub.com/bff/terminal/execute" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "cwd": "/drive",
  "input": "ls -la"
}'

Response

JSON payload

{
  "commandId": "example_commandId",
  "outputs": [],
  "cwd": "/drive",
  "duration": 0
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key