{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-action-instance-request-schema.json",
  "title": "ActionInstanceRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-action-history-api-openapi.yml#/components/schemas/ActionInstanceRequest",
  "type": "object",
  "properties": {
    "actionId": {
      "type": "string",
      "description": "Action identifier of the action to run."
    },
    "async": {
      "type": "string",
      "description": "`\"true\"` if the action should be run in asynchronous mode `\"false\"` otherwise. Default is `\"true\"`."
    },
    "eventId": {
      "type": "string",
      "description": "Event identifier (incident or issue) associated with the policy."
    },
    "hostId": {
      "type": "string",
      "description": "Agent host identifier on which to run the action."
    },
    "inputParameters": {
      "type": "array",
      "description": "Action run input parameters.",
      "items": {
        "$ref": "#/$defs/ActionInstanceRequestParameters"
      }
    },
    "policyId": {
      "type": "string",
      "description": "Policy identifier that associates the action trigger (incident or issue) to the action to run."
    },
    "timeout": {
      "type": "string",
      "description": "Action run time out. Default is `30 seconds`."
    }
  },
  "required": [
    "actionId",
    "hostId"
  ],
  "$defs": {
    "ActionInstanceRequestParameters": {
      "type": "object",
      "description": "Action run input parameters.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the input parameter."
        },
        "type": {
          "type": "string",
          "description": "Type of the input parameter. Valid values are `static`, `dynamic` or `vault`. Default is `static`."
        },
        "value": {
          "type": "string",
          "description": "Value of the input parameter"
        }
      },
      "required": [
        "name",
        "value"
      ]
    }
  }
}