aap_get_failed_jobs
Retrieve failed AAP jobs from the last N hours, filterable by job template and limit. Get job IDs, names, and timestamps to troubleshoot automation failures.
Instructions
List failed AAP jobs within the last N hours.
Example: "Show failed jobs from the last 24 hours"
Args: params (GetFailedJobsInput): - hours (int): Look-back window in hours (default 24) - limit (int): Max results (default 20) - job_template (Optional[str]): Filter by template name
Returns: str: JSON with list of failed jobs including id, name, started, finished, elapsed, and template name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |