get-logs
Get build and runtime logs for any deployment, or the latest, to monitor progress and diagnose failures like missing dependencies or build errors.
Instructions
Get build and runtime logs for a deployment. If no deployment_id is provided, returns logs for the latest deployment. Use this after calling deploy to monitor build progress and diagnose failures. Logs include: framework detection output, dependency installation, build steps, container startup, and health check results. If a deployment fails, check the logs for error details — common issues include missing dependencies, build errors, or the app not listening on the correct PORT (check the PORT env var — 8080 for auto-detected frameworks, or the EXPOSE value from Dockerfile).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID (UUID) to get logs for | |
| deployment_id | No | Specific deployment ID (optional, defaults to latest). Use get-status to see recent deployment IDs |