Automation: Rules
automation_rulesV2 rule-based automation, READ-ONLY: action=list|get|dry_run (mutations live in stage_automation_rule). Every rule has an approval_mode: manual (queue for user approval) | workforce_review (the brand's Automation Review Analyst seat approves/rejects each queued change with a reason; ambiguous items escalate to the user) | auto (applies immediately; can only be set in the app, never from here). Legacy ai_review/ai_shadow rules read as workforce_review. list scope=mine (default) shows only the calling user's rules; scope=all_users shows every user's (rows carry owner + owned_by_you). get/dry_run take rule_id; dry_run evaluates the rule without applying anything. describe returns the valid metric/operator/action-type catalog per entity level - ALWAYS check it before building conditions (unknown metrics are rejected at stage time).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'mine' (default): only the calling user's own rules — the ownership boundary. 'all_users': every user's rules on this profile; rows carry owner and owned_by_you. | |
| action | Yes | Which read to run; every action is read-only and runs immediately. | |
| params | No | Action-specific fields (see description). | |
| rule_id | No | ||
| profile_id | No | Which advertising profile (see account_profiles). Optional when the token has exactly one. |