---
title: RulesAddInput input | Wartiva GraphQL API
description: Input for the policyRulesAdd mutation. The id field on each rule must be omitted; ids are assigned on creation.
url: https://wartiva.com/api-docs/types/rules-add-input.html
updated: 2026-10-07
---

Policies and findings · GraphQL input

# `RulesAddInput` input

Input for the policyRulesAdd mutation. The id field on each rule must be omitted; ids are assigned on creation.

## Fields

| Input Field | Description |
|---|---|
| `rules` - [`[RuleInput!]!`](https://wartiva.com/api-docs/types/rule-input.html) | Rules to insert into the policy store. |

## Example

### Example

```json
{"rules": [RuleInput]}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
