Ansible Playbooks Job Templates API
The Job Templates API from Ansible Playbooks — 3 operation(s) for job templates.
The Job Templates API from Ansible Playbooks — 3 operation(s) for job templates.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ansible-playbooks-job-templates-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Ansible Automation Controller Playbooks Auth Job Templates API
version: '2'
description: 'REST API for managing and executing Ansible playbooks via the Ansible
Automation Controller (formerly Ansible Tower / AWX), the enterprise
automation engine inside the Red Hat Ansible Automation Platform.
Playbooks live inside projects (SCM-synced from Git, etc.) and are run
via job templates that bind them to inventories, credentials, and
extra variables. The API exposes management of inventories, hosts,
credentials, projects, job templates, workflow job templates,
schedules, organizations, teams, users, and the launching and
inspection of jobs.
'
contact:
name: Red Hat Ansible Support
url: https://access.redhat.com/products/red-hat-ansible-automation-platform/
servers:
- url: https://{controller_host}/api/v2
description: Self-hosted Ansible Automation Controller deployment
variables:
controller_host:
default: controller.example.com
description: Hostname of the Automation Controller instance.
security:
- OAuth2Token: []
- BasicAuth: []
tags:
- name: Job Templates
paths:
/job_templates/:
get:
tags:
- Job Templates
summary: List job templates
operationId: listJobTemplates
responses:
'200':
$ref: '#/components/responses/ListResponse'
post:
tags:
- Job Templates
summary: Create a job template
operationId: createJobTemplate
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/JobTemplate'
responses:
'201':
description: Created.
/job_templates/{id}/:
get:
tags:
- Job Templates
summary: Retrieve a job template
operationId: getJobTemplate
parameters:
- $ref: '#/components/parameters/Id'
responses:
'200':
description: A job template.
/job_templates/{id}/launch/:
post:
tags:
- Job Templates
summary: Launch a job template
operationId: launchJobTemplate
parameters:
- $ref: '#/components/parameters/Id'
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
extra_vars:
type: object
additionalProperties: true
limit:
type: string
inventory:
type: integer
credentials:
type: array
items:
type: integer
job_tags:
type: string
skip_tags:
type: string
responses:
'201':
description: Job launched. Returns the created job.
components:
responses:
ListResponse:
description: A paginated list response.
content:
application/json:
schema:
$ref: '#/components/schemas/ListResponse'
schemas:
JobTemplate:
type: object
required:
- name
- job_type
- inventory
- project
- playbook
properties:
name:
type: string
description:
type: string
job_type:
type: string
enum:
- run
- check
inventory:
type: integer
project:
type: integer
playbook:
type: string
credentials:
type: array
items:
type: integer
limit:
type: string
verbosity:
type: integer
minimum: 0
maximum: 5
extra_vars:
type: string
ask_variables_on_launch:
type: boolean
ask_limit_on_launch:
type: boolean
ask_tags_on_launch:
type: boolean
ListResponse:
type: object
properties:
count:
type: integer
next:
type: string
nullable: true
previous:
type: string
nullable: true
results:
type: array
items:
type: object
additionalProperties: true
parameters:
Id:
name: id
in: path
required: true
schema:
type: integer
securitySchemes:
OAuth2Token:
type: http
scheme: bearer
bearerFormat: JWT
description: Personal or application OAuth2 access token.
BasicAuth:
type: http
scheme: basic
description: HTTP Basic authentication using local controller credentials.