Get Sandbox Execution
- GET
- /workspaces
- /:workspace
- /sandboxes
- /:sandbox_id
- /execs
- /:exec_id
Get the status of a single execution.
Request example
CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/sandboxes/:sandbox_id/execs/:exec_id" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json"
EXAMPLE RESPONSE
{
"url": "https://api.buddy.works/workspaces/my-workspace/sandboxes/sb-1234567890abcdef/execs/5c2e8a14-3b7d-4f61-a9e0-6d4b1c8f2e73",
"log_url": "https://api.buddy.works/workspaces/my-workspace/sandboxes/sb-1234567890abcdef/execs/5c2e8a14-3b7d-4f61-a9e0-6d4b1c8f2e73/log",
"execution_id": "5c2e8a14-3b7d-4f61-a9e0-6d4b1c8f2e73",
"sandbox": "sb-1234567890abcdef",
"runtime": "BASH",
"type": "COMMAND",
"invoker": {
"url": "https://api.buddy.works/workspaces/my-workspace/members/1",
"id": 1,
"name": "John Doe"
},
"command": "ls -la",
"started_at": "2026-05-28T08:00:09.820Z",
"finished_at": "2026-05-28T08:00:10.412Z",
"status": "SUCCESSFUL",
"exit_code": 0,
"bytes_out": 412,
"truncated": false
}STATUS
200 OK