Get Command
- GET
- /workspaces
- /:workspace
- /sandboxes
- /:sandbox_id
- /commands
- /:command_id
Get a specific command execution details.
Example:
CURLcurl -X GET "https://api.buddy.works/workspaces/:workspace/sandboxes/:sandbox_id/commands/:command_id" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
EXAMPLE RESPONSE{ "url": "https://api.buddy.works/workspaces/buddy/sandboxes/mydn9rjrqvq8d/command/68d4e0fffff30824fb1c54e9", "id": "68d4e0fffff30824fb1c54e9", "command": "ls -al", "runtime": "BASH", "status": "SUCCESSFUL", "exit_code": 0 }
STATUS200 OK
LIMITSX-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999