skypilot_managed_job_logs
Retrieve a snapshot of logs from a SkyPilot managed job by name or job ID to inspect status and debug failures. Returns last N lines or all logs without streaming.
Instructions
Get a snapshot of logs from a managed job. Returns the last N lines (default 100, set to 0 for all). Does not stream/follow. Specify by name or job_id. Set controller=True to view the jobs controller logs instead. Set task to view logs for a specific task in a JobGroup (task name or 0-based index).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tail | No | ||
| task | No | ||
| job_id | No | ||
| refresh | No | ||
| controller | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |