Add a watch-by-profile rule
jt_watch_rule_addCreate a watch rule by profile: every field is optional and null means "no filter on this"; at least one of modelFamily/uf/category/rbac should be set or the rule watches the whole live fleet. eventTypes picks which business events this rule delivers (registry.changed, airworthiness.cva_expiring, airworthiness.cva_expired, flight.ground_stay, program.ea_revised). dryRun=true only returns preview.count (how many live registrations match right now) without saving. Requires an account key (Enterprise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uf | No | Base state (RAB base_uf), e.g. SP. | |
| rbac | No | 91, 91k, 135, 121 or 137. | |
| label | No | Free label for the account to recognize the rule. | |
| dryRun | No | true: only preview, does not save. | |
| category | No | Fine category (light, midsize...) or group (jet, turboprop, helicopter, piston). | |
| eventTypes | Yes | Which business events this rule delivers. | |
| modelFamily | No | Catalog family slug (e.g. phenom-300). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Machine-readable error code (INTERNAL, TIMEOUT, INVALID_ARGUMENT, NOT_FOUND, TOOL_FAILED, ACCOUNT_KEY_REQUIRED). | |
| _meta | No | ||
| error | No | ||
| found | No | ||
| gated | No | ||
| requestId | No | ||
| retryable | No | ||
| quota_exceeded | No |