# EventBridge Content Pattern Array Conjunction Matching

> EventBridge Content Pattern Array Conjunction Matching is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-04).

Evaluates AWS EventBridge nested event patterns—including arrays, exists, numeric, prefix/suffix, anything-but, and OR operators—against one or more events to determine which match.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-05/eventbridge-content-pattern-operator-array-conjunction-matching?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eventbridge-content-pattern-array-conjunction-matching-07102c72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OGI8eCUxMOS-st6b44r8n

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eventbridge-content-pattern-array-conjunction-matching-07102c72 -d '<json body>'
```

Example prompt: Check whether these three EventBridge events match my pattern — the pattern uses a numeric range on 'price' between 10 and 100, an 'anything-but' on 'region' excluding 'us-east-1', and an exists check on 'orderId'; use canonical numbers mode and tell me which events match.

## When to prefer this

Use this endpoint when you need to programmatically evaluate AWS EventBridge content-based filtering patterns — especially when patterns involve advanced operators like numeric ranges, prefix/suffix matching, exists checks, anything-but, array containment, or OR logic. Ideal for automated testing, debugging, and CI/CD validation of EventBridge rules without deploying to AWS.

## Known failure modes

- Pattern JSON is malformed or uses unsupported EventBridge syntax — returns validation error
- Events array exceeds 128 items — rejected by schema
- Event or pattern object exceeds allowed nesting or property count limits
- Mismatch between events array length and claim.events array length — may cause assertion failure or error
- Network timeout for unusually large or deeply nested payloads

## How this service works

Evaluate EventBridge nested event patterns with arrays, exists, numeric, prefix/suffix, anything-but and OR contracts.

## Output

Returns a per-event list of boolean match results indicating whether each submitted event satisfies the provided EventBridge content pattern. Optionally validates against a supplied claim of expected results for assertion-style testing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "$defs": {
    "json": {
     "anyOf": [
      {
       "type": "null"
      },
      {
       "type": "boolean"
      },
      {
       "type": "number"
      },
      {
       "type": "string",
       "maxLength": 6000
      },
      {
       "type": "array",
       "items": {
        "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/json"
       },
       "maxItems": 512
      },
      {
       "type": "object",
       "maxProperties": 128,
       "additionalProperties": {
        "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/json"
       }
      }
     ]
    }
   },
   "required": [
    "eventBridge"
   ],
   "properties": {
    "eventBridge": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "canonical_numbers",
        "events",
        "pattern"
       ],
       "properties": {
        "events": {
         "type": "array",
         "items": {
          "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/json"
         },
         "maxItems": 128
        },
        "pattern": {
         "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/json"
        },
        "canonical_numbers": {
         "type": "boolean"
        }
       },
       "additionalProperties": false
      },
      "claim": {
       "anyOf": [
        {
         "type": "null"
        },
        {
         "type": "object",
         "required": [
          "events"
         ],
         "properties": {
          "events": {
           "type": "array",
           "items": {
            "type": "object",
            "required": [
             "matches"
            ],
            "properties": {
             "matches": {
              "type": "boolean"
             }
            },
            "additionalProperties": false
           },
           "maxItems": 512
          }
         },
         "additionalProperties": false
        }
       ]
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eventbridge-content-pattern-array-conjunction-matching-07102c72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
