{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Retrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.","properties":{"path":{"type":"object","properties":{"app_id":{"type":"string","examples":["4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"],"description":"The app ID"},"deployment_id":{"type":"string","examples":["3aa4d20e-5527-4c00-b496-601fbd22520a"],"description":"The deployment ID"}},"required":["app_id","deployment_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 Aggregate Deployment Logs","id":"digitalocean.apps_get_logs_aggregate","example":{"path":{"app_id":"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf","deployment_id":"3aa4d20e-5527-4c00-b496-601fbd22520a"},"query":{"type":"BUILD"}},"maxRequests":1,"summary":false}}