{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Retrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note log_type=BUILD logs will return logs associated with the current active deployment (being served). To view build logs associated with in-progress build, the query must explicitly reference the deployment id.","properties":{"path":{"type":"object","properties":{"app_id":{"type":"string","examples":["4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"],"description":"The app ID"}},"required":["app_id"],"additionalProperties":false},"query":{"type":"object","properties":{"follow":{"type":"boolean","examples":[true],"description":"Whether the logs should follow live updates."},"type":{"default":"UNSPECIFIED","enum":["UNSPECIFIED","BUILD","DEPLOY","RUN","RUN_RESTARTED","AUTOSCALE_EVENT"],"type":"string","examples":["BUILD"],"description":"The type of logs to retrieve\n- BUILD: Build-time logs\n- DEPLOY: Deploy-time logs\n- RUN: Live run-time logs\n- RUN_RESTARTED: Logs of crashed/restarted instances during runtime\n- AUTOSCALE_EVENT: Logs of an autoscaling event (requires event_id)"},"pod_connection_timeout":{"type":"string","examples":["3m"],"description":"An optional time duration to wait if the underlying component instance is not immediately available. Default: `3m`."}},"required":["type"],"additionalProperties":false}},"required":["path","query"],"additionalProperties":false},"name":"Retrieve Active Deployment Aggregate Logs","id":"digitalocean.apps_get_logs_active_deployment_aggregate","example":{"path":{"app_id":"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"},"query":{"type":"BUILD"}},"maxRequests":1,"summary":false}}