oneAI icon

oneAI

Interact with the oneAI API

Compliance Pattern → Create

AI-generated

Summary

Create a compliance pattern with a title, description, action, and one or more filter rules that determine when it matches.

Inputs

  • Title (required) — Pattern title, up to 80 characters.
  • Description (required) — Short pattern description, up to 200 characters.
  • Action — Action when the pattern matches: Audit (default), Audit & Block, Audit & Redact, or Audit & Review.
  • Filter Rules — Add rules with a match type (Contains or Regex) and the word, phrase, or regex pattern to match.

Output shape

A single response from the OneAI API.

The provided source pack shows the operation entry point but omits its implementation body, so the exact response fields are not available.

Links

Discussion