List Sandbox Executions

View as Markdown
  • GET
  • /workspaces
  • /:workspace
  • /sandboxes
  • /:sandbox_id
  • /execs

List recent executions in the sandbox (most recent first).

Request

REQUIRED SCOPES
SANDBOX_READ
URL PARAMETERS
workspacerequiredstring
The human-readable ID of the workspace

Example: "my-company"

sandbox_idrequiredstring
The ID of the sandbox

Example: "sb-1234567890abcdef"

GET PARAMETERS
limitinteger
Maximum number of executions to return (most recent first). Default: 50, max: 200.

Example: 50

Response

RESPONSE BODY
ExecView[]requiredExecView[]

Last modified on Oct 27, 2026

Request example

CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/sandboxes/:sandbox_id/execs" \ -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 } ]
STATUS
200 OK