Get Sandbox App Logs

  • GET
  • /workspaces
  • /:workspace_domain
  • /sandboxes
  • /:sandbox_id
  • /apps
  • /:app_id
  • /logs

Get logs from a specific sandbox app

Request

REQUIRED SCOPES
SANDBOX_INFO
URL PARAMETERS
workspace_domainrequiredstring
The human-readable ID of the workspace

Example: "my-company"

sandbox_idrequiredstring
The ID of the sandbox

Example: "sb-1234567890abcdef"

app_idrequiredstring
The ID of the app

Example: "a1b2c3d"

GET PARAMETERS
cursorstring
Cursor for pagination

Example: "s=abc123def456;i=789"

Response

RESPONSE BODY
urlread-onlystring
API endpoint to GET this object
html_urlread-onlystring
Web URL to view this object in Buddy.works
cursorstring
Cursor for pagination
logsstring[]
Application log entries

Last modified on Mar 17, 2026

Request example

CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace_domain/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