> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Automated Rule

> Read a Meta automated rule with its complete conditions, action and schedule, optionally including execution history and errors

Read a Meta automated rule with its complete conditions, action and schedule, optionally including execution history and errors.

| | |
| - | - |
| **App** | Meta Ads |
| **Operation ID** | `meta_ads_get_automated_rule` |
| **Type** | Action |
| **Connection** | `meta_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `rule_id` | string | Yes | - | Automated rule ID returned by List Automated Rules or Create Automated Rule. |
| `include_history` | boolean | No | `False` | Include execution history: run timestamps, native results and errors. Defaults to false. An empty history does not prove a rule has never run. |
| `history_limit` | integer | No | `100` | Maximum history entries to return when include\_history is true (1-1000), default 100. history\_limit\_reached indicates that older entries may be omitted. |

## Output

**Type**: `Dict`

Native rule configuration; optional history, with history\_limit\_reached indicating that more entries may exist.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.