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
WORKSPACE, SANDBOX_INFO
URL PARAMETERS
workspacerequired string
The workspace name.
sandbox_idrequired string
The ID of the sandbox.

Last modified on Sep 2, 2025

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"
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
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999