AdHocCommandList

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
name stringnull
launch_type string * `manual` - Manual * `relaunch` - Relaunch * `callback` - Callback * `scheduled` - Scheduled * `dependency` - Dependency * `workflow` - Workflow * `webhook` - Webhook * `sync` - Sync * `scm` - SCM Up
status string * `new` - New * `pending` - Pending * `waiting` - Waiting * `running` - Running * `successful` - Successful * `failed` - Failed * `error` - Error * `canceled` - Canceled
execution_environment integernull The container image to be used for execution.
failed boolean
started stringnull The date and time the job was queued for starting.
finished stringnull The date and time the job finished execution.
canceled_on stringnull The date and time when the cancel request was sent.
elapsed string Elapsed time in seconds that the job ran.
job_explanation string A status field to indicate the state of the job if it wasn't able to run and capture stdout
execution_node string The node the job executed on.
controller_node string The instance that managed the execution environment.
launched_by string
work_unit_id stringnull The Receptor work unit ID associated with this job.
job_type stringnull * `run` - Run * `check` - Check
inventory integernull
limit stringnull
credential integernull
module_name string * `command` - command * `shell` - shell * `yum` - yum * `apt` - apt * `apt_key` - apt_key * `apt_repository` - apt_repository * `apt_rpm` - apt_rpm * `service` - service * `group` - group * `user` - u
module_args stringnull
forks integer
verbosity integer * `0` - 0 (Normal) * `1` - 1 (Verbose) * `2` - 2 (More Verbose) * `3` - 3 (Debug) * `4` - 4 (Connection Debug) * `5` - 5 (WinRM Debug)
extra_vars stringnull
become_enabled booleannull
diff_mode booleannull
View JSON Schema on GitHub

JSON Schema

red-hat-ansible-automation-platform-ad-hoc-command-list-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-list-schema.json",
  "title": "AdHocCommandList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-ad-hoc-commands-api-openapi.yml#/components/schemas/AdHocCommandList",
  "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
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "launch_type": {
      "enum": [
        "manual",
        "relaunch",
        "callback",
        "scheduled",
        "dependency",
        "workflow",
        "webhook",
        "sync",
        "scm"
      ],
      "type": "string",
      "description": "* `manual` - Manual\n* `relaunch` - Relaunch\n* `callback` - Callback\n* `scheduled` - Scheduled\n* `dependency` - Dependency\n* `workflow` - Workflow\n* `webhook` - Webhook\n* `sync` - Sync\n* `scm` - SCM Update",
      "x-spec-enum-id": "e5bed25c2e652da3",
      "readOnly": true
    },
    "status": {
      "enum": [
        "new",
        "pending",
        "waiting",
        "running",
        "successful",
        "failed",
        "error",
        "canceled"
      ],
      "type": "string",
      "description": "* `new` - New\n* `pending` - Pending\n* `waiting` - Waiting\n* `running` - Running\n* `successful` - Successful\n* `failed` - Failed\n* `error` - Error\n* `canceled` - Canceled",
      "x-spec-enum-id": "6021859c28387823",
      "readOnly": true
    },
    "execution_environment": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The container image to be used for execution."
    },
    "failed": {
      "type": "boolean",
      "readOnly": true
    },
    "started": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true,
      "description": "The date and time the job was queued for starting."
    },
    "finished": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true,
      "description": "The date and time the job finished execution."
    },
    "canceled_on": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true,
      "description": "The date and time when the cancel request was sent."
    },
    "elapsed": {
      "type": "string",
      "format": "decimal",
      "pattern": "^-?\\d{0,9}(?:\\.\\d{0,3})?$",
      "readOnly": true,
      "description": "Elapsed time in seconds that the job ran."
    },
    "job_explanation": {
      "type": "string",
      "readOnly": true,
      "description": "A status field to indicate the state of the job if it wasn't able to run and capture stdout"
    },
    "execution_node": {
      "type": "string",
      "readOnly": true,
      "description": "The node the job executed on."
    },
    "controller_node": {
      "type": "string",
      "readOnly": true,
      "description": "The instance that managed the execution environment."
    },
    "launched_by": {
      "type": "string",
      "readOnly": true
    },
    "work_unit_id": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "description": "The Receptor work unit ID associated with this job."
    },
    "job_type": {
      "enum": [
        "run",
        "check",
        null
      ],
      "type": [
        "string",
        "null"
      ],
      "description": "* `run` - Run\n* `check` - Check",
      "x-spec-enum-id": "726608a431c1f104",
      "default": "run"
    },
    "inventory": {
      "type": [
        "integer",
        "null"
      ]
    },
    "limit": {
      "type": [
        "string",
        "null"
      ],
      "default": ""
    },
    "credential": {
      "type": [
        "integer",
        "null"
      ]
    },
    "module_name": {
      "enum": [
        "command",
        "shell",
        "yum",
        "apt",
        "apt_key",
        "apt_repository",
        "apt_rpm",
        "service",
        "group",
        "user",
        "mount",
        "ping",
        "selinux",
        "setup",
        "win_ping",
        "win_service",
        "win_updates",
        "win_group",
        "win_user"
      ],
      "type": "string",
      "description": "* `command` - command\n* `shell` - shell\n* `yum` - yum\n* `apt` - apt\n* `apt_key` - apt_key\n* `apt_repository` - apt_repository\n* `apt_rpm` - apt_rpm\n* `service` - service\n* `group` - group\n* `user` - user\n* `mount` - mount\n* `ping` - ping\n* `selinux` - selinux\n* `setup` - setup\n* `win_ping` - win_ping\n* `win_service` - win_service\n* `win_updates` - win_updates\n* `win_group` - win_group\n* `win_user` - win_user",
      "x-spec-enum-id": "857230cdbb58eda2",
      "default": "command"
    },
    "module_args": {
      "type": [
        "string",
        "null"
      ],
      "default": ""
    },
    "forks": {
      "type": "integer",
      "maximum": 9223372036854775807,
      "minimum": 0,
      "format": "int64",
      "default": 0
    },
    "verbosity": {
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5
      ],
      "type": "integer",
      "description": "* `0` - 0 (Normal)\n* `1` - 1 (Verbose)\n* `2` - 2 (More Verbose)\n* `3` - 3 (Debug)\n* `4` - 4 (Connection Debug)\n* `5` - 5 (WinRM Debug)",
      "x-spec-enum-id": "8cfb81af905b865a",
      "default": 0,
      "minimum": 0,
      "maximum": 9223372036854775807
    },
    "extra_vars": {
      "type": [
        "string",
        "null"
      ],
      "default": ""
    },
    "become_enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "default": false
    },
    "diff_mode": {
      "type": [
        "boolean",
        "null"
      ],
      "default": false
    }
  }
}

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-list"
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.