# Run a watchlist rule now (or preview it)

Runs a watchlist rule now (or preview it). Works with Instagram and YouTube accounts.

```http
POST https://api.pozy.ai/v1/watchlist/rules/{ruleId}/run
```

- Area: Analytics / Watchlist
- Auth: Authorization: Bearer pz_live_...

## Path parameters

- `ruleId` (string, required)

## Request body

Content type: `application/json`

- `dryRun`, boolean: List the posts it would draft, without drafting.

## Example request

```bash
curl -X POST "https://api.pozy.ai/v1/watchlist/rules/6cd4059483de62b474d02fe7/run" \
  -H "Authorization: Bearer $POZY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "dryRun": true
}'
```

```ts
const res = await fetch("https://api.pozy.ai/v1/watchlist/rules/6cd4059483de62b474d02fe7/run", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POZY_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    dryRun: true
  }),
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.post(
    "https://api.pozy.ai/v1/watchlist/rules/6cd4059483de62b474d02fe7/run",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    json={
        "dryRun": True,
    },
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200


```json
{}
```
