HTTP Request
Overview
Section titled “Overview”The HTTP Request trigger lets an external system, such as a SIEM, SOAR platform, ticketing tool, or script, start an automation by sending an HTTP POST request to the automation’s trigger URL.
Use it to run AIR response actions from your existing tooling, for example: when the SIEM raises a critical alert for these hosts, start a Hunt/Triage task on them.

HTTP Request: Trigger settings
Trigger URL and trigger secret
Section titled “Trigger URL and trigger secret”Each HTTP Request trigger has its own URL and its own secret. To set them up:
- Save the automation, either as a draft or published. AIR creates the Trigger URL.
- Click Generate Secret. The Trigger Secret is displayed only once, so copy it immediately. You cannot retrieve it later; you can only replace it.
- Provide the URL and the secret to the calling system.
The trigger URL stays inactive until a secret has been generated.
Regenerate Secret replaces the current secret. Every system that still uses the old secret is refused until it receives the new one.

HTTP Request: Trigger secret and example request
Sending a request
Section titled “Sending a request”The calling system must:
- Use the
POSTmethod withContent-Type: application/json. - Send the secret in the
Authorization: Bearer <secret>header. - Include a
targetScopeFilterkey in the request body to define which assets the automation runs for.
curl -X POST 'https://<console-address>/api/automation-hub/triggers/<trigger-id>' \ -H 'Authorization: Bearer <trigger-secret>' \ -H 'Content-Type: application/json' \ -d '{ "targetScopeFilter": { "expression": [["platform", "in", ["linux"]]] }, "alert": { "id": "INC-1234", "severity": "high" } }'Target scope in HTTP Request
Section titled “Target scope in HTTP Request”targetScopeFilter is the same target scope that the other triggers define in their Target scope section, with the same fields and the same matching rules. The only difference is where it comes from: you do not define it in the trigger settings, and the caller sends it in every request instead. This lets the caller decide which assets the automation runs for each time it calls the trigger URL, for example only the hosts named in a SIEM alert.
targetScopeFilter is an object with a single expression key that holds the filter:
{ "targetScopeFilter": { "expression": [["platform", "in", ["linux"]]] }, "alert": { "id": "INC-1234", "severity": "high" }}Writing the expression
Section titled “Writing the expression”An expression is a JSON array built from conditions:
- A condition is a three-item array:
[field, operator, value], for example["platform", "=", "windows"]. - Conditions are joined by
"and"or"or", placed between them:[condition, "and", condition, "and", condition]. - One level can use only one connective. To mix
"and"and"or", wrap a group in its own array, for example[condition, "and", [condition, "or", condition]]. - Wrap the whole filter in an outer array, even if it has a single condition:
[["platform", "=", "windows"]].
An expression can contain up to 100 conditions and 10 levels of nesting. String values can be up to 1,024 characters, and list values can contain up to 10,000 items.
Examples
Section titled “Examples”Run on two specific assets by their IDs:
"targetScopeFilter": { "expression": [["id", "in", ["<asset-id-1>", "<asset-id-2>"]]]}Run on the hosts named in a SIEM alert:
"targetScopeFilter": { "expression": [["name", "in", ["db-01", "db-02", "db-03"]]]}Run on the host with a given IP address:
"targetScopeFilter": { "expression": [["ipAddress", "=", "10.0.4.17"]]}Run on online Windows servers that have the production tag:
"targetScopeFilter": { "expression": [ ["platform", "=", "windows"], "and", ["isServer", "=", true], "and", ["onlineStatus", "=", "online"], "and", ["tags", "intersection", ["production"]] ]}Run on Linux assets in an asset group and its subgroups, or on any asset whose name starts with web-:
"targetScopeFilter": { "expression": [ [["platform", "=", "linux"], "and", ["groupFullPath", "startswith", "<group-path>"]], "or", ["name", "startswith", "web-"] ]}Run on every managed endpoint in the automation’s organization, if the trigger’s Maximum matched assets allows it:
"targetScopeFilter": {}Supported fields
Section titled “Supported fields”| Field | Value | Operators |
|---|---|---|
id | Asset ID | =, <>, in, not in |
name, label, os, version, serialNumber, groupFullPath | Text | Text operators, regex operators |
ipAddress | Text | Text operators |
ipv4Address, ipv6Address, macAddress, interfaceName | Text, matched against all network interfaces of the asset | Text operators |
tags | List of tags | intersection, not-intersection |
platform | windows, linux, darwin, aix, esxi, chrome | =, <>, in, not in |
isolationStatus | isolating, isolated, unisolating, unisolated | =, <>, in, not in |
onlineStatus | online, offline | =, <>, in, not in |
buildArch | 386, amd64, arm64 | =, <>, in, not in |
groupId, vendorId, vendorDeviceId, assetId | Text | =, <>, in, not in |
timezoneOffset, connectionRouteId | Number | =, <>, in, not in |
issue, versionStatus | Status values shown in the Assets page filter | =, <>, in, not in |
awsRegions, azureRegions, gcpRegions | Cloud region name, for example eu-west-1 | =, <>, in, not in |
isServer, agentInstalled, hasEvidence, excludedFromUpdates, fullDiskAccessEnabled, maintenanceMode | true or false | =, <> |
hasConnectionRoute | true (through a relay) or false (direct) | =, <> |
lastSeen, registeredAt | ISO 8601 date, for example 2026-11-01T00:00:00Z. between takes a two-item list: [start, end]. | =, <>, <, <=, >, >=, between |
Operator groups used above:
| Group | Operators |
|---|---|
| Text operators | =, <>, contains, notcontains, startswith, notstartswith, endswith, notendswith, in, not in, is, is not |
| Regex operators | matches-insensitive, doesnotmatch-insensitive, matches-sensitive, doesnotmatch-sensitive |
in,not in,intersection, andnot-intersectiontake a non-empty list. The other operators take a single value.isandis notcheck whether the field is blank. Usenullas the value:["label", "is", null].assetTypeandmanagedStatusare also accepted, but the always-applied conditions already limit the filter to managed endpoints.
How the filter is applied
Section titled “How the filter is applied”When the request arrives, AIR evaluates the filter, and every matching asset gets its own execution, the same way as fan-out triggers such as Scheduler.
- The always-applied conditions also apply, so the filter only matches managed endpoints.
"targetScopeFilter": {}targets every managed endpoint in the automation’s organization.- If the filter matches more assets than the trigger’s Maximum matched assets, the request is rejected with
422 Unprocessable Entityand no run starts. - A request without
targetScopeFilter, or with an invalid one, is rejected with400 Bad Request. - The filter can never target assets outside the automation’s organization. The organization cannot be set in the filter.
- If the filter matches no asset, the request is still accepted, but no run is recorded.
SIEM sends POST /api/automation-hub/triggers/<trigger-id> └── targetScopeFilter matches 3 assets └── 1 Run ├── Execution — db-01 ├── Execution — db-02 └── Execution — db-03Maximum matched assets
Section titled “Maximum matched assets”Maximum matched assets limits how many assets a single request can start the automation on. It protects against a request whose filter is broader than intended, such as {} or a mistyped condition, starting actions on a large part of your fleet.
- When a request arrives, AIR counts the assets that
targetScopeFiltermatches, with the always-applied conditions. If the count is greater than the limit, the request is rejected with422 Unprocessable Entity, the response names the matched count and the limit, and no run starts. A request that matches exactly the limit is accepted. - AIR checks the limit again when it resolves the assets for the run. If more assets match by then, for example because new assets were registered in between, no run starts.
- By default, the limit is 10% of the managed endpoints in the automation’s organization, rounded up, and at least 1. AIR sets it when you save the trigger without a value, and it does not change later when your fleet grows. Raise or lower it in the trigger settings as needed.
- The limit must be at least 1 and cannot be greater than the number of managed endpoints in the automation’s organization.
To run the automation on every managed endpoint with "targetScopeFilter": {}, set Maximum matched assets to the number of managed endpoints in the organization.
Responses
Section titled “Responses”| Response | Description |
|---|---|
202 Accepted | The request was accepted and queued, and a request ID is returned. This does not guarantee that the automation ran, because matching assets and running the actions happen afterwards. Check the automation’s Runs tab for the result. |
400 Bad Request | targetScopeFilter is missing or invalid, for example because it contains a key other than expression, or the expression uses an unknown field, an operator the field does not support, or a value of the wrong type. The response body describes the problem. |
401 Unauthorized | The secret is missing or incorrect, or the trigger URL does not exist. |
403 Forbidden | The secret is correct, but the automation is not published. |
413 Payload Too Large | The request body is larger than 1 MB. |
415 Unsupported Media Type | The request is not sent as application/json. |
422 Unprocessable Entity | targetScopeFilter matches more assets than the trigger’s Maximum matched assets. The response body gives the matched count and the limit. No run starts. |
429 Too Many Requests | Too many requests were sent in a short time. Requests are rate-limited per trigger URL and caller address. |
Settings
Section titled “Settings”| Setting | Description |
|---|---|
| Maximum matched assets | The most assets a single request can target. A request whose targetScopeFilter matches more assets is rejected with 422, and no run starts. Defaults to 10% of the managed endpoints in the automation’s organization. See Maximum matched assets. |
| Captured Headers | The request headers that are copied into the automation data, so later steps can use them. If no header is selected, no headers are captured. Headers that can carry credentials, such as Authorization, Proxy-Authorization, and Cookie, are never captured. |
Data available to later steps
Section titled “Data available to later steps”| Field | Example expression |
|---|---|
| Any value from the request body | {{http-request.body.alert.severity}} |
| Query string parameters | {{http-request.query.source}} |
| Captured headers | {{http-request.headers.x-request-source}} |
| Request ID | {{http-request.requestId}} |
Limits
Section titled “Limits”- Request bodies are limited to 1 MB.
- Only the first 64 KB of the body is kept for later steps. If the body is larger, it is truncated, and any expression that points to the removed part renders as empty.