Red Hat Ansible Automation Controller API

Enterprise REST API for the Red Hat Ansible Automation Controller providing centralized management of automation jobs, workflows, inventories, credentials, and RBAC with enterprise authentication and audit logging.

Operations 632

Showing the first 250 of 632. The full set is in the contract, and via get_provider_operations.

GET /api/ #
GET /api/v2/ #
GET /api/v2/activity_stream/ #
GET /api/v2/activity_stream/{id}/ #
GET /api/v2/ad_hoc_command_events/{id}/ #
GET /api/v2/ad_hoc_commands/ #
POST /api/v2/ad_hoc_commands/ #
GET /api/v2/ad_hoc_commands/{id}/ #
DELETE /api/v2/ad_hoc_commands/{id}/ #
GET /api/v2/ad_hoc_commands/{id}/activity_stream/ #
GET /api/v2/ad_hoc_commands/{id}/cancel/ #
POST /api/v2/ad_hoc_commands/{id}/cancel/ #
GET /api/v2/ad_hoc_commands/{id}/events/ #
GET /api/v2/ad_hoc_commands/{id}/notifications/ #
GET /api/v2/ad_hoc_commands/{id}/relaunch/ #
POST /api/v2/ad_hoc_commands/{id}/relaunch/ #
GET /api/v2/ad_hoc_commands/{id}/stdout/ #
GET /api/v2/analytics/ #
GET /api/v2/analytics/adoption_rate/ #
POST /api/v2/analytics/adoption_rate/ #
GET /api/v2/analytics/adoption_rate_options/ #
POST /api/v2/analytics/adoption_rate_options/ #
GET /api/v2/analytics/authorized/ #
POST /api/v2/analytics/authorized/ #
GET /api/v2/analytics/event_explorer/ #
POST /api/v2/analytics/event_explorer/ #
GET /api/v2/analytics/event_explorer_options/ #
POST /api/v2/analytics/event_explorer_options/ #
GET /api/v2/analytics/host_explorer/ #
POST /api/v2/analytics/host_explorer/ #
GET /api/v2/analytics/host_explorer_options/ #
POST /api/v2/analytics/host_explorer_options/ #
GET /api/v2/analytics/job_explorer/ #
POST /api/v2/analytics/job_explorer/ #
GET /api/v2/analytics/job_explorer_options/ #
POST /api/v2/analytics/job_explorer_options/ #
GET /api/v2/analytics/probe_template_for_hosts/ #
POST /api/v2/analytics/probe_template_for_hosts/ #
GET /api/v2/analytics/probe_template_for_hosts_options/ #
POST /api/v2/analytics/probe_template_for_hosts_options/ #
GET /api/v2/analytics/probe_templates/ #
POST /api/v2/analytics/probe_templates/ #
GET /api/v2/analytics/probe_templates_options/ #
POST /api/v2/analytics/probe_templates_options/ #
GET /api/v2/analytics/report/{slug}/ #
POST /api/v2/analytics/report/{slug}/ #
GET /api/v2/analytics/report_options/ #
POST /api/v2/analytics/report_options/ #
GET /api/v2/analytics/reports/ #
POST /api/v2/analytics/reports/ #
GET /api/v2/analytics/roi_templates/ #
POST /api/v2/analytics/roi_templates/ #
GET /api/v2/analytics/roi_templates_options/ #
POST /api/v2/analytics/roi_templates_options/ #
GET /api/v2/bulk/ #
GET /api/v2/bulk/host_create/ #
POST /api/v2/bulk/host_create/ #
GET /api/v2/bulk/host_delete/ #
POST /api/v2/bulk/host_delete/ #
GET /api/v2/bulk/job_launch/ #
POST /api/v2/bulk/job_launch/ #
GET /api/v2/config/ #
POST /api/v2/config/ #
DELETE /api/v2/config/ #
POST /api/v2/config/attach/ #
POST /api/v2/config/subscriptions/ #
GET /api/v2/constructed_inventories/ #
POST /api/v2/constructed_inventories/ #
GET /api/v2/constructed_inventories/{id}/ #
PUT /api/v2/constructed_inventories/{id}/ #
PATCH /api/v2/constructed_inventories/{id}/ #
DELETE /api/v2/constructed_inventories/{id}/ #
GET /api/v2/credential_input_sources/ #
POST /api/v2/credential_input_sources/ #
GET /api/v2/credential_input_sources/{id}/ #
PUT /api/v2/credential_input_sources/{id}/ #
PATCH /api/v2/credential_input_sources/{id}/ #
DELETE /api/v2/credential_input_sources/{id}/ #
GET /api/v2/credential_types/ #
POST /api/v2/credential_types/ #
GET /api/v2/credential_types/{id}/ #
PUT /api/v2/credential_types/{id}/ #
PATCH /api/v2/credential_types/{id}/ #
DELETE /api/v2/credential_types/{id}/ #
GET /api/v2/credential_types/{id}/activity_stream/ #
GET /api/v2/credential_types/{id}/credentials/ #
POST /api/v2/credential_types/{id}/credentials/ #
GET /api/v2/credential_types/{id}/test/ #
POST /api/v2/credential_types/{id}/test/ #
GET /api/v2/credentials/ #
POST /api/v2/credentials/ #
GET /api/v2/credentials/{id}/ #
PUT /api/v2/credentials/{id}/ #
PATCH /api/v2/credentials/{id}/ #
DELETE /api/v2/credentials/{id}/ #
GET /api/v2/credentials/{id}/access_list/ #
GET /api/v2/credentials/{id}/activity_stream/ #
GET /api/v2/credentials/{id}/copy/ #
POST /api/v2/credentials/{id}/copy/ #
GET /api/v2/credentials/{id}/input_sources/ #
POST /api/v2/credentials/{id}/input_sources/ #
GET /api/v2/credentials/{id}/object_roles/ #
GET /api/v2/credentials/{id}/owner_teams/ #
GET /api/v2/credentials/{id}/owner_users/ #
GET /api/v2/credentials/{id}/test/ #
POST /api/v2/credentials/{id}/test/ #
GET /api/v2/dashboard/ #
GET /api/v2/dashboard/graphs/jobs/ #
GET /api/v2/execution_environments/ #
POST /api/v2/execution_environments/ #
GET /api/v2/execution_environments/{id}/ #
PUT /api/v2/execution_environments/{id}/ #
PATCH /api/v2/execution_environments/{id}/ #
DELETE /api/v2/execution_environments/{id}/ #
GET /api/v2/execution_environments/{id}/activity_stream/ #
GET /api/v2/execution_environments/{id}/copy/ #
POST /api/v2/execution_environments/{id}/copy/ #
GET /api/v2/execution_environments/{id}/unified_job_templates/ #
GET /api/v2/groups/ #
POST /api/v2/groups/ #
GET /api/v2/groups/{id}/ #
PUT /api/v2/groups/{id}/ #
PATCH /api/v2/groups/{id}/ #
DELETE /api/v2/groups/{id}/ #
GET /api/v2/groups/{id}/activity_stream/ #
GET /api/v2/groups/{id}/ad_hoc_commands/ #
POST /api/v2/groups/{id}/ad_hoc_commands/ #
GET /api/v2/groups/{id}/all_hosts/ #
GET /api/v2/groups/{id}/children/ #
POST /api/v2/groups/{id}/children/ #
GET /api/v2/groups/{id}/hosts/ #
POST /api/v2/groups/{id}/hosts/ #
GET /api/v2/groups/{id}/inventory_sources/ #
GET /api/v2/groups/{id}/job_events/ #
GET /api/v2/groups/{id}/job_host_summaries/ #
GET /api/v2/groups/{id}/potential_children/ #
GET /api/v2/groups/{id}/variable_data/ #
PUT /api/v2/groups/{id}/variable_data/ #
PATCH /api/v2/groups/{id}/variable_data/ #
GET /api/v2/host_metric_summary_monthly/ #
GET /api/v2/host_metrics/ #
GET /api/v2/host_metrics/{id}/ #
DELETE /api/v2/host_metrics/{id}/ #
GET /api/v2/hosts/ #
POST /api/v2/hosts/ #
GET /api/v2/hosts/{id}/ #
PUT /api/v2/hosts/{id}/ #
PATCH /api/v2/hosts/{id}/ #
DELETE /api/v2/hosts/{id}/ #
GET /api/v2/hosts/{id}/activity_stream/ #
GET /api/v2/hosts/{id}/ad_hoc_command_events/ #
GET /api/v2/hosts/{id}/ad_hoc_commands/ #
POST /api/v2/hosts/{id}/ad_hoc_commands/ #
GET /api/v2/hosts/{id}/all_groups/ #
GET /api/v2/hosts/{id}/ansible_facts/ #
GET /api/v2/hosts/{id}/groups/ #
POST /api/v2/hosts/{id}/groups/ #
GET /api/v2/hosts/{id}/inventory_sources/ #
GET /api/v2/hosts/{id}/job_events/ #
GET /api/v2/hosts/{id}/job_host_summaries/ #
GET /api/v2/hosts/{id}/smart_inventories/ #
GET /api/v2/hosts/{id}/variable_data/ #
PUT /api/v2/hosts/{id}/variable_data/ #
PATCH /api/v2/hosts/{id}/variable_data/ #
GET /api/v2/instance_groups/ #
POST /api/v2/instance_groups/ #
GET /api/v2/instance_groups/{id}/ #
PUT /api/v2/instance_groups/{id}/ #
PATCH /api/v2/instance_groups/{id}/ #
DELETE /api/v2/instance_groups/{id}/ #
GET /api/v2/instance_groups/{id}/access_list/ #
GET /api/v2/instance_groups/{id}/instances/ #
POST /api/v2/instance_groups/{id}/instances/ #
GET /api/v2/instance_groups/{id}/jobs/ #
GET /api/v2/instance_groups/{id}/object_roles/ #
GET /api/v2/instances/ #
POST /api/v2/instances/ #
GET /api/v2/instances/{id}/ #
PUT /api/v2/instances/{id}/ #
PATCH /api/v2/instances/{id}/ #
GET /api/v2/instances/{id}/health_check/ #
POST /api/v2/instances/{id}/health_check/ #
GET /api/v2/instances/{id}/install_bundle/ #
GET /api/v2/instances/{id}/instance_groups/ #
POST /api/v2/instances/{id}/instance_groups/ #
GET /api/v2/instances/{id}/jobs/ #
GET /api/v2/instances/{id}/peers/ #
GET /api/v2/instances/{id}/receptor_addresses/ #
GET /api/v2/inventories/ #
POST /api/v2/inventories/ #
GET /api/v2/inventories/{id}/ #
PUT /api/v2/inventories/{id}/ #
PATCH /api/v2/inventories/{id}/ #
DELETE /api/v2/inventories/{id}/ #
GET /api/v2/inventories/{id}/access_list/ #
GET /api/v2/inventories/{id}/activity_stream/ #
GET /api/v2/inventories/{id}/ad_hoc_commands/ #
POST /api/v2/inventories/{id}/ad_hoc_commands/ #
GET /api/v2/inventories/{id}/copy/ #
POST /api/v2/inventories/{id}/copy/ #
GET /api/v2/inventories/{id}/groups/ #
POST /api/v2/inventories/{id}/groups/ #
GET /api/v2/inventories/{id}/hosts/ #
POST /api/v2/inventories/{id}/hosts/ #
GET /api/v2/inventories/{id}/input_inventories/ #
POST /api/v2/inventories/{id}/input_inventories/ #
GET /api/v2/inventories/{id}/instance_groups/ #
POST /api/v2/inventories/{id}/instance_groups/ #
GET /api/v2/inventories/{id}/inventory_sources/ #
POST /api/v2/inventories/{id}/inventory_sources/ #
GET /api/v2/inventories/{id}/job_templates/ #
GET /api/v2/inventories/{id}/labels/ #
POST /api/v2/inventories/{id}/labels/ #
GET /api/v2/inventories/{id}/object_roles/ #
GET /api/v2/inventories/{id}/root_groups/ #
POST /api/v2/inventories/{id}/root_groups/ #
GET /api/v2/inventories/{id}/script/ #
GET /api/v2/inventories/{id}/tree/ #
GET /api/v2/inventories/{id}/update_inventory_sources/ #
POST /api/v2/inventories/{id}/update_inventory_sources/ #
GET /api/v2/inventories/{id}/variable_data/ #
PUT /api/v2/inventories/{id}/variable_data/ #
PATCH /api/v2/inventories/{id}/variable_data/ #
GET /api/v2/inventory_sources/ #
POST /api/v2/inventory_sources/ #
GET /api/v2/inventory_sources/{id}/ #
PUT /api/v2/inventory_sources/{id}/ #
PATCH /api/v2/inventory_sources/{id}/ #
DELETE /api/v2/inventory_sources/{id}/ #
GET /api/v2/inventory_sources/{id}/activity_stream/ #
GET /api/v2/inventory_sources/{id}/credentials/ #
POST /api/v2/inventory_sources/{id}/credentials/ #
GET /api/v2/inventory_sources/{id}/groups/ #
DELETE /api/v2/inventory_sources/{id}/groups/ #
GET /api/v2/inventory_sources/{id}/hosts/ #
DELETE /api/v2/inventory_sources/{id}/hosts/ #
GET /api/v2/inventory_sources/{id}/inventory_updates/ #
GET /api/v2/inventory_sources/{id}/notification_templates_error/ #
POST /api/v2/inventory_sources/{id}/notification_templates_error/ #
GET /api/v2/inventory_sources/{id}/notification_templates_started/ #
POST /api/v2/inventory_sources/{id}/notification_templates_started/ #
GET /api/v2/inventory_sources/{id}/notification_templates_success/ #
POST /api/v2/inventory_sources/{id}/notification_templates_success/ #
GET /api/v2/inventory_sources/{id}/schedules/ #
POST /api/v2/inventory_sources/{id}/schedules/ #
GET /api/v2/inventory_sources/{id}/update/ #
POST /api/v2/inventory_sources/{id}/update/ #
GET /api/v2/inventory_updates/ #
GET /api/v2/inventory_updates/{id}/ #
DELETE /api/v2/inventory_updates/{id}/ #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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 Specification

red-hat-ansible-automation-platform-automation-controller-openapi.json Raw ↑
{
    "openapi": "3.0.3",
    "info": {
        "title": "AWX API",
        "version": "v2",
        "description": "AWX API Documentation",
        "contact": {
            "email": "ansible-community@redhat.com"
        },
        "license": {
            "name": "Apache License"
        }
    },
    "paths": {
        "/api/": {
            "get": {
                "operationId": "api_retrieve",
                "description": "List supported API versions",
                "tags": [
                    "api"
                ],
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "No response body"
                    }
                },
                "x-ai-description": "List supported API versions"
            }
        },
        "/api/v2/": {
            "get": {
                "operationId": "root_retrieve",
                "description": "List top level resources",
                "security": [
                    {}
                ],
                "responses": {
                    "200": {
                        "description": "No response body"
                    }
                },
                "x-ai-description": "List top-level API resources"
            }
        },
        "/api/v2/activity_stream/": {
            "get": {
                "operationId": "activity_stream_list",
                "parameters": [
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "in": "query",
                        "name": "order_by",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "name": "page",
                        "required": false,
                        "in": "query",
                        "description": "A page number within the paginated result set.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page_size",
                        "required": false,
                        "in": "query",
                        "description": "Number of results to return per page.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "role_level",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by role level for RBAC"
                    },
                    {
                        "name": "search",
                        "required": false,
                        "in": "query",
                        "description": "A search term.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by object type. Supports comma-separated values for multiple types."
                    }
                ],
                "tags": [
                    "activity_stream"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaginatedActivityStreamList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "A list of activity stream entries. An activity stream entry tracks actions or changes that were previously made to the system."
            }
        },
        "/api/v2/activity_stream/{id}/": {
            "get": {
                "operationId": "activity_stream_retrieve",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "activity_stream"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ActivityStream"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "Retrieve an audit trail entry for tracking all changes within the system"
            }
        },
        "/api/v2/ad_hoc_command_events/{id}/": {
            "get": {
                "operationId": "ad_hoc_command_events_retrieve",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "ad_hoc_command_events"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AdHocCommandEvent"
                                }
                            }
                        },
                        "description": ""
                    }
                }
            }
        },
        "/api/v2/ad_hoc_commands/": {
            "get": {
                "operationId": "ad_hoc_commands_list",
                "parameters": [
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "in": "query",
                        "name": "order_by",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "name": "page",
                        "required": false,
                        "in": "query",
                        "description": "A page number within the paginated result set.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page_size",
                        "required": false,
                        "in": "query",
                        "description": "Number of results to return per page.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "role_level",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by role level for RBAC"
                    },
                    {
                        "name": "search",
                        "required": false,
                        "in": "query",
                        "description": "A search term.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by object type. Supports comma-separated values for multiple types."
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaginatedAdHocCommandListList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "Returns a paginated list of all ad hoc command runs. Ad hoc commands execute a single Ansible module without a playbook."
            },
            "post": {
                "operationId": "ad_hoc_commands_create",
                "tags": [
                    "ad_hoc_commands"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AdHocCommandListRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AdHocCommandList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "Run an ad hoc command. Executes a single Ansible module on specified hosts without a playbook."
            }
        },
        "/api/v2/ad_hoc_commands/{id}/": {
            "get": {
                "operationId": "ad_hoc_commands_retrieve",
                "description": "Special handling when deleting a running unified job object.",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AdHocCommandDetail"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "Retrieve an ad hoc command"
            },
            "delete": {
                "operationId": "ad_hoc_commands_destroy",
                "description": "Special handling when deleting a running unified job object.",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "204": {
                        "description": "No response body"
                    }
                },
                "x-ai-description": "Delete an ad hoc command"
            }
        },
        "/api/v2/ad_hoc_commands/{id}/activity_stream/": {
            "get": {
                "operationId": "ad_hoc_commands_activity_stream_list",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "in": "query",
                        "name": "order_by",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "name": "page",
                        "required": false,
                        "in": "query",
                        "description": "A page number within the paginated result set.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page_size",
                        "required": false,
                        "in": "query",
                        "description": "Number of results to return per page.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "role_level",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by role level for RBAC"
                    },
                    {
                        "name": "search",
                        "required": false,
                        "in": "query",
                        "description": "A search term.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by object type. Supports comma-separated values for multiple types."
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaginatedActivityStreamList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "List activity stream of an ad hoc command"
            }
        },
        "/api/v2/ad_hoc_commands/{id}/cancel/": {
            "get": {
                "operationId": "ad_hoc_commands_cancel_retrieve",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AdHocCommandCancel"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "Cancel an ad hoc command"
            },
            "post": {
                "operationId": "ad_hoc_commands_cancel_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AdHocCommandCancel"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "Cancel an ad hoc command"
            }
        },
        "/api/v2/ad_hoc_commands/{id}/events/": {
            "get": {
                "operationId": "ad_hoc_commands_events_list",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "in": "query",
                        "name": "order_by",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "name": "page",
                        "required": false,
                        "in": "query",
                        "description": "A page number within the paginated result set.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page_size",
                        "required": false,
                        "in": "query",
                        "description": "Number of results to return per page.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "role_level",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by role level for RBAC"
                    },
                    {
                        "name": "search",
                        "required": false,
                        "in": "query",
                        "description": "A search term.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by object type. Supports comma-separated values for multiple types."
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaginatedAdHocCommandEventList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "List events of an ad hoc command"
            }
        },
        "/api/v2/ad_hoc_commands/{id}/notifications/": {
            "get": {
                "operationId": "ad_hoc_commands_notifications_list",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "in": "query",
                        "name": "order_by",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Order results by field name. Prefix with '-' for descending order. Supports comma-separated values for multiple fields."
                    },
                    {
                        "name": "page",
                        "required": false,
                        "in": "query",
                        "description": "A page number within the paginated result set.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page_size",
                        "required": false,
                        "in": "query",
                        "description": "Number of results to return per page.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "role_level",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by role level for RBAC"
                    },
                    {
                        "name": "search",
                        "required": false,
                        "in": "query",
                        "description": "A search term.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Filter by object type. Supports comma-separated values for multiple types."
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaginatedNotificationList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "List notifications of an ad hoc command"
            }
        },
        "/api/v2/ad_hoc_commands/{id}/relaunch/": {
            "get": {
                "operationId": "ad_hoc_commands_relaunch_retrieve",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "description": "No response body"
                    }
                },
                "x-ai-description": "Return passwords needed to start an ad hoc command"
            },
            "post": {
                "operationId": "ad_hoc_commands_relaunch_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "description": "No response body"
                    }
                },
                "x-ai-description": "Relaunch an ad hoc command"
            }
        },
        "/api/v2/ad_hoc_commands/{id}/stdout/": {
            "get": {
                "operationId": "ad_hoc_commands_stdout_retrieve",
                "parameters": [
                    {
                        "in": "query",
                        "name": "format",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ansi",
                                "ansi_download",
                                "html",
                                "json",
                                "txt",
                                "txt_download"
                            ]
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9]+$"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "ad_hoc_commands"
                ],
                "responses": {
                    "200": {
                        "content": {
                            "text/html": {
                                "schema": {
                                    "$ref": "#/components/schemas/UnifiedJobStdout"
                                }
                            },
                            "text/plain": {
                                "schema": {
                                    "$ref": "#/components/schemas/UnifiedJobStdout"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UnifiedJobStdout"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-ai-description": "Retrieve a stdout output of an ad hoc command"
            }
        },
        "/api/v2/analytics/": {
            "get": {
                "operationId": "analytics_retrieve",
                "tags": [
                    "analytics"
                ],
                "responses": {
                    "200": {
                        "description": "No response body"
                    }
                },
                "x-ai-description": "Returns available analytics API endpoints and their descriptions."
            }
        },
        "/api/v2/analytics/adoption_rate/": {
            "get": {
                "operationId": "analytics_adoption_rate_retrieve",
                "description": "Example:\n    headers = {\n        'Content-Type': 'application/json',\n    }\n\n    params = {\n        'limit': '20',\n        'offset': '0',\n        'sort_by': 'name:asc',\n    }\n\n    json_data = {\n        'limit': '20',\n        'offset': '0',\n        'sort_options': 'name',\n        'sort_order': 'asc',\n        'tags': [],\n        'slug': [],\n        'name': [],\n        'description': '',\n    }\n\n    response = requests.post(f'{AUTOMATION_ANALYTICS_API_URL}/reports/', params=params,\n                             headers=headers, json=json_data)\n\n    return Response(response.json(), status=response.status_code)",
                "tags": [
                    "analytics"
                ],
                "responses": {
                    "200": {
                        "description": "No response body"
                    }
                },
                "x-ai-description": "Retrieve single analytics adoption rate"
            },
            "post": {
                "operationId": "analytics_adoption_rate_create",
                "description": "Example:\n    headers = {\n        'Content-Type': 'application/json',\n    }\n\n    params = {\n        'limit': '20',\n        'offset': '0',\n        'sort_by': 'name:asc',\n    }\n\n    json_data = {\n        'limit': '20',\n        'offset': '0',\n        'sort_options': 'name',\n        'sort_order': 'asc',\n        'tags': [],\n        'slug': [],\n        'name': [],\n        'description': '',\n    }\n\n    response = requests.post(f'{AUTOMATION_ANALYTICS_API_URL}/reports/', p

# --- truncated at 32 KB (2119 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/red-hat-ansible-automation-platform/refs/heads/main/openapi/red-hat-ansible-automation-platform-automation-controller-openapi.json