Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ansible/awx/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Workflow jobs are instances of workflow job templates that have been executed. They contain multiple workflow job nodes, each representing a job, project update, or inventory update.Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v2/workflow_jobs/ | List workflow jobs |
| GET | /api/v2/workflow_jobs/{id}/ | Retrieve workflow job |
| POST | /api/v2/workflow_jobs/{id}/cancel/ | Cancel workflow |
| POST | /api/v2/workflow_jobs/{id}/relaunch/ | Relaunch workflow |
List Workflow Jobs
Retrieve Workflow Job
Workflow job ID
Workflow job name
Status:
new, pending, waiting, running, successful, failed, error, canceledStart timestamp
Completion timestamp
Elapsed time in seconds
Source workflow template ID
How workflow was launched:
manual, relaunch, scheduled, dependency, webhookExtra variables used
Links to related resources:
workflow_job_template- Source templateworkflow_nodes- Workflow execution nodeslabels- Job labelsactivity_stream- Activity lognotifications- Notifications sentcancel- Cancel endpointrelaunch- Relaunch endpoint
Workflow Nodes
Get the execution graph:- id - Node ID
- job - Associated job/update ID
- unified_job_template - Template that was executed
- identifier - Node identifier
- do_not_run - Whether node was skipped
- success - Whether node succeeded
- failed - Whether node failed
- related.success_nodes - Nodes executed on success
- related.failure_nodes - Nodes executed on failure
- related.always_nodes - Nodes always executed