Get Sandbox App Logs

  • POST
  • /workspaces
  • /:workspace
  • /sandboxes
  • /:sandbox_id
  • /app-logs

Retrieve application logs for a specific sandbox. This endpoint returns the current application logs.

Request

REQUIRED SCOPES
SANDBOX_INFO
URL PARAMETERS
workspacerequiredstring
The workspace name.
sandbox_idrequiredstring
The ID of the sandbox.

Last modified on Jan 19, 2026

Request example

CURL
curl -X POST "https://api.buddy.works/workspaces/:workspace/sandboxes/:sandbox_id/app-logs" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \

Response

EXAMPLE RESPONSE
{ "url": "https://api.buddy.works/workspaces/buddy/projects/my-project/sandboxes/w65x2i39zcq5i/app-logs", "html_url": "https://app.buddy.works/buddy/my-project/sandboxes/w65x2i39zcq5i", "cursor": "s=1d22f2840018481b9d810c7192773558;i=1584;b=b0aacb9766d94191af33ce2c2a0d2f8f;m=9ff9fb04d2;t=63d7de9f2c83d;x=dbb3d2f8964ae45c", "logs": [ "Started buddy.service.", "nginx: the configuration file /etc/nginx/nginx.conf syntax is ok", "nginx: configuration file /etc/nginx/nginx.conf test is successful", "buddy.service: Deactivated successfully." ] }
STATUS
200 OK