AdHocCommandEvent

AutomationConfiguration ManagementDevOpsEnterpriseRed HatAnsibleIT OperationsEvent-Driven ArchitectureInfrastructure as CodeMCP

Properties

Name Type Description
id integer
type string
url string
related string
summary_fields string
created string
modified string
ad_hoc_command integer
event stringnull * `runner_on_failed` - Host Failed * `runner_on_ok` - Host OK * `runner_on_unreachable` - Host Unreachable * `runner_on_skipped` - Host Skipped * `debug` - Debug * `verbose` - Verbose * `deprecated` -
counter integer
event_display string
event_data object
failed boolean
changed boolean
uuid string
host integernull
host_name string
stdout string
start_line integer
end_line integer
verbosity integer
View JSON Schema on GitHub

JSON Schema

red-hat-ansible-automation-platform-ad-hoc-command-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-ad-hoc-command-event-schema.json",
  "title": "AdHocCommandEvent",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-ad-hoc-command-events-api-openapi.yml#/components/schemas/AdHocCommandEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "readOnly": true
    },
    "url": {
      "type": "string",
      "readOnly": true
    },
    "related": {
      "type": "string",
      "readOnly": true
    },
    "summary_fields": {
      "type": "string",
      "readOnly": true
    },
    "created": {
      "type": "string",
      "readOnly": true
    },
    "modified": {
      "type": "string",
      "readOnly": true
    },
    "ad_hoc_command": {
      "type": "integer",
      "readOnly": true
    },
    "event": {
      "enum": [
        "runner_on_failed",
        "runner_on_ok",
        "runner_on_unreachable",
        "runner_on_skipped",
        "debug",
        "verbose",
        "deprecated",
        "warning",
        "system_warning",
        "error",
        null
      ],
      "type": [
        "string",
        "null"
      ],
      "description": "* `runner_on_failed` - Host Failed\n* `runner_on_ok` - Host OK\n* `runner_on_unreachable` - Host Unreachable\n* `runner_on_skipped` - Host Skipped\n* `debug` - Debug\n* `verbose` - Verbose\n* `deprecated` - Deprecated\n* `warning` - Warning\n* `system_warning` - System Warning\n* `error` - Error",
      "x-spec-enum-id": "3c8188cd2c554d8a"
    },
    "counter": {
      "type": "integer",
      "minimum": 0,
      "readOnly": true
    },
    "event_display": {
      "type": "string",
      "readOnly": true
    },
    "event_data": {
      "default": {}
    },
    "failed": {
      "type": "boolean",
      "readOnly": true
    },
    "changed": {
      "type": "boolean",
      "readOnly": true
    },
    "uuid": {
      "type": "string",
      "readOnly": true
    },
    "host": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "host_name": {
      "type": "string",
      "readOnly": true
    },
    "stdout": {
      "type": "string",
      "readOnly": true
    },
    "start_line": {
      "type": "integer",
      "minimum": 0,
      "readOnly": true
    },
    "end_line": {
      "type": "integer",
      "minimum": 0,
      "readOnly": true
    },
    "verbosity": {
      "type": "integer",
      "minimum": 0,
      "readOnly": true
    }
  },
  "required": [
    "event"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/red-hat-ansible-automation-platform-ad-hoc-command-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.