Get Sandbox App Logs
- GET
- /workspaces
- /:workspace
- /sandboxes
- /:sandbox_id
- /apps
- /:app_id
- /logs
Get logs from a specific sandbox app
Request example
CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/sandboxes/:sandbox_id/apps/:app_id/logs" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json"
EXAMPLE RESPONSE
{
"url": "https://api.buddy.works/workspaces/my-workspace/projects/my-project/sandboxes/sb-12345/app-logs",
"html_url": "https://app.buddy.works/my-project/sandboxes/sb-12345",
"cursor": "s=42d52efd758847b6ae1320f5cc298412;i=10b4;b=a8912454a4244b0ebdb80091a60f6971;m=1a50487dbd4;t=63cee43ff68bc;x=71c225411b004bd8",
"logs": [
"Started application.service.",
"Application starting on port 3000...",
"Database connection established successfully",
"Loading configuration files...",
"Initializing middleware components",
"Setting up API routes",
"Server ready to accept connections",
"Health check endpoint available at /health",
"Application successfully started in 2.3 seconds"
]
}STATUS
200 OK