# Prowlarr in your Mac’s menu bar

See how your indexers are doing without opening Prowlarr: which ones it has stopped using after failures, how many queries and grabs each one had this week, which apps ask the most, and whether its own health checks have found a problem.

## What you’ll see

- **Health:** in Details, Prowlarr’s version, or its worst health check in its own words ("Indexers unavailable due to failures: Harbor Feed") and how many others there are. An error turns the health card red and a warning turns it orange, and either sends a notification. A notice, such as an update being ready, doesn’t. It also turns red once Prowlarr stops answering.
- **Indexers:** every indexer, with its queries (searches and RSS syncs together) and grabs over the last 7 days. One where some queries failed says how many on a second line ("10% of queries failed"). An indexer Prowlarr has stopped using after failures comes first and says Unavailable, with when it first failed and when Prowlarr will try it again. Ones you turned off come last and say Off. The card shows 7, with **Show more** for the rest. Point at a row for **Test**, Prowlarr’s own test of that indexer. If it passes, the row says Passed for two minutes, and an Unavailable indexer is back in use. If it fails, Prowlarr’s reason shows under the card.
- **Last 7 days:** grabs, the apps that asked the most (Sonarr, Radarr and so on), searches and RSS syncs, each with how many failed when any did. These are the numbers on Prowlarr’s Stats page for the last 7 days.
- **Recent grabs:** the four newest releases an app grabbed through Prowlarr, with the indexer and the app, and Failed on one that didn’t download.

### Status

- Shows Prowlarr’s own health checks.
- Red for an error, orange for a warning.
- A notice never counts as a problem.
- Red once Prowlarr stops answering.
- Notifies you when it turns orange or red.

## How it connects

The page reads Prowlarr’s v1 API with your API key, sent as `X-Api-Key`.

| Request | When | What it supplies |
| --- | --- | --- |
| `GET /api/v1/system/status` | Every 5 minutes | Prowlarr’s version and instance name. |
| `GET /api/v1/health` | Every 5 minutes | Prowlarr’s own health checks. |
| `GET /api/v1/indexer` | Every 5 minutes | Every indexer, whether it’s on, and what Test sends back. |
| `GET /api/v1/indexerstats?startDate={date.hours_ago_168_at}` | Every 5 minutes | Each indexer’s queries and grabs over the last 7 days, and which apps asked. |
| `GET /api/v1/indexerstatus` | Every 5 minutes | The indexers Prowlarr has stopped using after failures, and until when. |
| `GET /api/v1/history?page=1&pageSize=4&sortKey=date&sortDirection=descending&eventType=1` | Every 5 minutes | The four newest grabs. |
| `POST /api/v1/indexer/test` | When you press Test | Prowlarr tests that indexer, as its own Test button does. |

That’s about 70 requests an hour while your Mac is awake. The indexer list is the large one, about 12 KB for each indexer (less than 2 KB of that crosses the network, compressed), so 40 indexers are about half a megabyte each time. Past 1 MB, which takes about 80, Legato stops reading it, and the Indexers, Last 7 days and Recent grabs cards keep their last answer with a note. Prowlarr’s [API documentation](https://prowlarr.com/docs/api/) covers each request.

Each grab in Prowlarr’s history also holds the indexer’s download link, which for a private tracker carries your passkey. The page leaves it out.

The indexer list holds what each indexer signs in with. Prowlarr shows some API keys as `********`, but for most private trackers it sends the username, password, cookie or passkey as it stored them. Legato holds the list in memory so Test can send it back, the page keeps no History, and **Preview Source** shows the list like any other answer. When Prowlarr’s reason for a failed Test quotes an address, Legato leaves out the part after `?`, where a tracker’s key would be.

[Sources and buttons](https://legatobar.com/docs/sources.md) explains each part of a page.

## Set it up

1. **Find your API key.** In Prowlarr, open **Settings → General**. The key is under **Security**.
2. **Save it in Legato.** In Settings → Secrets, save the key under `prowlarr`, bound to your Prowlarr’s address. You can also link a [1Password reference](https://legatobar.com/docs/1password.md).
3. **Add the page.** Paste the prompt into your agent, or download the page and run `/Applications/Legato.app/Contents/Helpers/legato set prowlarr prowlarr.json`.
4. **Point it at Prowlarr.** Change `http://prowlarr.local:9696` to your Prowlarr’s address on both sources. If Prowlarr sits behind a reverse proxy at a path, such as `https://media.example.com/prowlarr`, set each source’s `url` to `https://media.example.com` and add `"base": "/prowlarr"`.

The cards fill within a minute. A mistyped key is the usual reason they don’t: the page then notes that Prowlarr refused it.

### Prompt for your agent

```prompt
Add a Legato page for Prowlarr, starting from https://legatobar.com/examples/prowlarr.json.

Add the page as it is and change http://prowlarr.local:9696 on every source to my Prowlarr’s address. I’ll save my API key as prowlarr in Settings → Secrets myself.

Use the local Legato MCP tools or /Applications/Legato.app/Contents/Helpers/legato.
Use list_pages first and choose an unused page ID. Do not overwrite an existing page. If I explicitly ask to update one, read its full body with get_page, preserve unrelated cards and settings, and use if_match with that version. On version_mismatch, read again before merging.
Ask me only for non-secret setup details that are missing. Never ask me to paste a password, token or API key into chat, page JSON or command arguments. Tell me to save it in Settings → Secrets for the service host, or link it from 1Password there.
Use the downloadable page, not the illustration’s sample data. Never invent readings. Fix any invalid_page paths and verify that the page loads. Do not press buttons that change the service or real devices to test it.
```

### Download the page

```json
{
  "$schema": "./.schemas/page.schema.json",
  "title": "Prowlarr",
  "icon": "magnifyingglass",
  "sources": {
    "health": {
      "url": "http://prowlarr.local:9696",
      "secret": "prowlarr",
      "auth": {
        "type": "header",
        "name": "X-Api-Key"
      },
      "every": "5m",
      "requests": {
        "status": "/api/v1/system/status",
        "health": "/api/v1/health"
      },
      "derive": [
        {
          "name": "errors",
          "value": {
            "count": "health",
            "where": {
              "path": "type",
              "equals": "error"
            },
            "default": 0
          }
        },
        {
          "name": "warnings",
          "value": {
            "count": "health",
            "where": {
              "path": "type",
              "equals": "warning"
            },
            "default": 0
          }
        },
        {
          "name": "problems",
          "value": {
            "count": "health",
            "where": {
              "path": "type",
              "in": [
                "error",
                "warning"
              ]
            },
            "default": 0
          }
        },
        {
          "name": "worst",
          "value": {
            "if": {
              "path": "errors",
              "gt": 0
            },
            "then": {
              "first": "message",
              "of": "health",
              "where": {
                "path": "type",
                "equals": "error"
              }
            },
            "else": {
              "first": "message",
              "of": "health",
              "where": {
                "path": "type",
                "equals": "warning"
              }
            }
          }
        },
        {
          "name": "problems_more",
          "value": {
            "subtract": [
              "problems",
              1
            ]
          }
        }
      ]
    },
    "indexers": {
      "url": "http://prowlarr.local:9696",
      "secret": "prowlarr",
      "auth": {
        "type": "header",
        "name": "X-Api-Key"
      },
      "every": "5m",
      "requests": {
        "list": "/api/v1/indexer",
        "stats": "/api/v1/indexerstats?startDate={date.hours_ago_168_at}",
        "blocked": "/api/v1/indexerstatus",
        "grabs": "/api/v1/history?page=1&pageSize=4&sortKey=date&sortDirection=descending&eventType=1"
      },
      "derive": [
        {
          "name": "own",
          "value": {
            "each": "list",
            "fields": {
              "id": "id",
              "name": "name",
              "enabled": "enable",
              "resource": "$"
            }
          }
        },
        {
          "name": "all",
          "value": {
            "each": "own",
            "lookup": {
              "from": "stats.indexers",
              "by": "indexerId",
              "on": "id",
              "as": "stat"
            },
            "fields": {
              "id": "id",
              "name": "name",
              "enabled": "enabled",
              "resource": "resource",
              "asked": "stat.indexerId",
              "q": {
                "add": [
                  "stat.numberOfQueries",
                  "stat.numberOfRssQueries"
                ],
                "default": 0
              },
              "g": {
                "path": "stat.numberOfGrabs",
                "default": 0
              },
              "fails": {
                "add": [
                  "stat.numberOfFailedQueries",
                  "stat.numberOfFailedRssQueries"
                ],
                "default": 0
              }
            }
          }
        },
        {
          "name": "marked",
          "value": {
            "each": "all",
            "lookup": {
              "from": "blocked",
              "by": "indexerId",
              "on": "id",
              "as": "block"
            },
            "fields": {
              "id": "id",
              "name": "name",
              "enabled": "enabled",
              "resource": "resource",
              "asked": "asked",
              "q": "q",
              "g": "g",
              "fails": "fails",
              "failed_share": {
                "divide": [
                  "fails",
                  "q"
                ]
              },
              "till": "block.disabledTill",
              "first": "block.initialFailure"
            }
          }
        },
        {
          "name": "blocked_rows",
          "value": {
            "each": "marked",
            "where": {
              "path": "till",
              "exists": true
            },
            "sort": "till",
            "fields": {
              "key": "id",
              "text": "name",
              "detail": {
                "template": "Unavailable"
              },
              "enabled": "enabled",
              "resource": "resource",
              "subtitle": {
                "if": {
                  "value": {
                    "since": "till"
                  },
                  "lt": 0
                },
                "then": {
                  "template": "First failed {first|ago} · retry {till|in}"
                },
                "else": {
                  "template": "First failed {first|ago}"
                }
              }
            }
          }
        },
        {
          "name": "on_rows",
          "value": {
            "each": "marked",
            "where": {
              "all": [
                {
                  "path": "till",
                  "exists": false
                },
                {
                  "path": "enabled",
                  "equals": true
                }
              ]
            },
            "sort": {
              "by": "q",
              "order": "desc"
            },
            "fields": {
              "key": "id",
              "text": "name",
              "enabled": "enabled",
              "resource": "resource",
              "detail": {
                "if": {
                  "path": "asked",
                  "exists": true
                },
                "then": {
                  "if": {
                    "path": "q",
                    "equals": 1
                  },
                  "then": {
                    "if": {
                      "path": "g",
                      "equals": 1
                    },
                    "then": {
                      "template": "1 query · 1 grab"
                    },
                    "else": {
                      "template": "1 query · {g} grabs"
                    }
                  },
                  "else": {
                    "if": {
                      "path": "g",
                      "equals": 1
                    },
                    "then": {
                      "template": "{q} queries · 1 grab"
                    },
                    "else": {
                      "template": "{q} queries · {g} grabs"
                    }
                  }
                },
                "else": {
                  "template": "No queries in 7 days"
                }
              },
              "subtitle": {
                "if": {
                  "path": "fails",
                  "gt": 0
                },
                "then": {
                  "if": {
                    "path": "failed_share",
                    "lt": 0.01
                  },
                  "then": {
                    "template": "Under 1% of queries failed"
                  },
                  "else": {
                    "template": "{failed_share|percent:0} of queries failed"
                  }
                }
              }
            }
          }
        },
        {
          "name": "off_rows",
          "value": {
            "each": "marked",
            "where": {
              "all": [
                {
                  "path": "till",
                  "exists": false
                },
                {
                  "path": "enabled",
                  "not": true
                }
              ]
            },
            "fields": {
              "key": "id",
              "text": "name",
              "detail": {
                "template": "Off"
              },
              "enabled": "enabled",
              "resource": "resource"
            }
          }
        },
        {
          "name": "indexer_rows",
          "value": {
            "each": [
              "blocked_rows",
              "on_rows",
              "off_rows"
            ],
            "fields": {
              "key": "key",
              "text": "text",
              "subtitle": "subtitle",
              "detail": "detail",
              "enabled": "enabled",
              "resource": "resource"
            }
          }
        },
        {
          "name": "indexer_count",
          "value": {
            "count": "indexer_rows",
            "default": 0
          }
        },
        {
          "name": "grab_total",
          "value": {
            "sum": "numberOfGrabs",
            "of": "stats.indexers",
            "default": 0
          }
        },
        {
          "name": "failed_grabs",
          "value": {
            "sum": "numberOfFailedGrabs",
            "of": "stats.indexers",
            "default": 0
          }
        },
        {
          "name": "searches",
          "value": {
            "sum": "numberOfQueries",
            "of": "stats.indexers",
            "default": 0
          }
        },
        {
          "name": "failed_searches",
          "value": {
            "sum": "numberOfFailedQueries",
            "of": "stats.indexers",
            "default": 0
          }
        },
        {
          "name": "rss",
          "value": {
            "sum": "numberOfRssQueries",
            "of": "stats.indexers",
            "default": 0
          }
        },
        {
          "name": "failed_rss",
          "value": {
            "sum": "numberOfFailedRssQueries",
            "of": "stats.indexers",
            "default": 0
          }
        },
        {
          "name": "apps",
          "value": {
            "each": "stats.userAgents",
            "sort": {
              "by": "numberOfQueries",
              "order": "desc"
            },
            "limit": 3,
            "where": {
              "all": [
                {
                  "path": "numberOfQueries",
                  "gt": 0
                },
                {
                  "path": "userAgent",
                  "not": ""
                }
              ]
            },
            "fields": {
              "t": {
                "template": "{userAgent|clip:16} {numberOfQueries}"
              }
            }
          }
        },
        {
          "name": "by_app",
          "value": {
            "join": "t",
            "of": "apps",
            "separator": " · "
          }
        },
        {
          "name": "app_count",
          "value": {
            "count": "apps",
            "default": 0
          }
        },
        {
          "name": "grab_rows",
          "value": {
            "each": "grabs.records",
            "lookup": {
              "from": "list",
              "by": "id",
              "on": "indexerId",
              "as": "ix"
            },
            "fields": {
              "key": "id",
              "text": {
                "if": {
                  "path": "data.grabTitle",
                  "exists": true
                },
                "then": {
                  "template": "{data.grabTitle|clip:120}"
                },
                "else": {
                  "template": "A release"
                }
              },
              "subtitle": {
                "if": {
                  "path": "ix.name",
                  "exists": true
                },
                "then": {
                  "if": {
                    "path": "data.source",
                    "exists": true
                  },
                  "then": {
                    "template": "{ix.name} · {data.source|clip:30}"
                  },
                  "else": {
                    "template": "{ix.name}"
                  }
                },
                "else": {
                  "if": {
                    "path": "data.source",
                    "exists": true
                  },
                  "then": {
                    "template": "{data.source|clip:30}"
                  }
                }
              },
              "detail": {
                "if": {
                  "path": "successful",
                  "equals": false
                },
                "then": {
                  "template": "Failed · {date|ago}"
                },
                "else": {
                  "template": "{date|ago}"
                }
              }
            }
          }
        },
        {
          "name": "grab_count",
          "value": {
            "count": "grab_rows",
            "default": 0
          }
        }
      ]
    }
  },
  "cards": [
    {
      "id": "health",
      "type": "status",
      "placement": "page_info",
      "label": "Prowlarr",
      "state": "unknown",
      "width": "full",
      "source": {
        "ref": "health",
        "map": {
          "label": {
            "if": {
              "path": "status.instanceName",
              "exists": true
            },
            "then": {
              "template": "{status.instanceName}"
            },
            "else": {
              "template": "Prowlarr"
            }
          },
          "state": {
            "if": {
              "path": "errors",
              "gt": 0
            },
            "then": {
              "template": "critical"
            },
            "else": {
              "if": {
                "path": "warnings",
                "gt": 0
              },
              "then": {
                "template": "warning"
              },
              "else": {
                "template": "ok"
              }
            }
          },
          "detail": {
            "if": {
              "path": "problems",
              "equals": 0
            },
            "then": {
              "template": "Prowlarr {status.version} · No problems"
            },
            "else": {
              "if": {
                "path": "problems",
                "equals": 1
              },
              "then": {
                "template": "{worst|clip:110}"
              },
              "else": {
                "template": "{worst|clip:90} · and {problems_more} more"
              }
            }
          }
        },
        "failed": {
          "state": "critical",
          "detail": "The server isn't answering",
          "after": 3
        }
      }
    },
    {
      "id": "indexers",
      "type": "list",
      "label": "Indexers",
      "max_items": 7,
      "items": [],
      "source": {
        "ref": "indexers",
        "empty": {
          "text": "No indexers in Prowlarr yet",
          "when": {
            "path": "indexer_count",
            "equals": 0
          }
        },
        "map": {
          "items": {
            "each": "indexer_rows",
            "fields": {
              "key": "key",
              "text": "text",
              "subtitle": "subtitle",
              "detail": "detail"
            }
          }
        }
      },
      "row_actions": [
        {
          "label": "Test",
          "icon": "testtube.2",
          "method": "POST",
          "path": "/api/v1/indexer/test",
          "body": "{resource}",
          "error": "[0].errorMessage",
          "timeout": 120,
          "done_note": "Passed",
          "when": {
            "path": "enabled",
            "equals": true
          }
        }
      ]
    },
    {
      "id": "week",
      "type": "facts",
      "label": "Last 7 days",
      "items": [
        {
          "key": "Grabs",
          "value": "—"
        },
        {
          "key": "By app",
          "value": "—"
        },
        {
          "key": "Searches",
          "value": "—"
        },
        {
          "key": "RSS syncs",
          "value": "—"
        }
      ],
      "source": {
        "ref": "indexers",
        "map": {
          "items[0].value": {
            "if": {
              "path": "failed_grabs",
              "gt": 0
            },
            "then": {
              "template": "{grab_total} · {failed_grabs} failed"
            },
            "else": {
              "template": "{grab_total}"
            }
          },
          "items[1].value": {
            "if": {
              "path": "app_count",
              "gt": 0
            },
            "then": {
              "template": "{by_app}"
            },
            "else": {
              "template": "None"
            }
          },
          "items[2].value": {
            "if": {
              "path": "failed_searches",
              "gt": 0
            },
            "then": {
              "template": "{searches} · {failed_searches} failed"
            },
            "else": {
              "template": "{searches}"
            }
          },
          "items[3].value": {
            "if": {
              "path": "failed_rss",
              "gt": 0
            },
            "then": {
              "template": "{rss} · {failed_rss} failed"
            },
            "else": {
              "template": "{rss}"
            }
          }
        }
      }
    },
    {
      "id": "grabs",
      "type": "list",
      "label": "Recent grabs",
      "max_items": 4,
      "items": [],
      "source": {
        "ref": "indexers",
        "empty": {
          "text": "No grabs yet",
          "when": {
            "path": "grab_count",
            "equals": 0
          }
        },
        "map": {
          "items": {
            "each": "grab_rows",
            "fields": {
              "key": "key",
              "text": "text",
              "subtitle": "subtitle",
              "detail": "detail"
            }
          }
        }
      }
    }
  ]
}
```

## Questions

### What does Test do?

The same as Test on the indexer in Prowlarr: it sends one query to the indexer and reports whether it answered. A test can take up to two minutes when an indexer is slow to answer. Indexers you turned off have no Test.

### What does Unavailable mean?

Prowlarr stops sending queries to an indexer that keeps failing, and waits longer after each failure before it tries again. The row says when it first failed and when the wait ends. After that, Prowlarr tries it again on the next search, and until then the row shows its counts like the others. If it keeps failing, test the indexer in Prowlarr, which says what went wrong.

### Why does a grab have no indexer?

The indexer has been deleted from Prowlarr since. The grab then shows just the app.

### Does it work with Sonarr and Radarr?

Yes: the [Sonarr](https://legatobar.com/services/sonarr) and [Radarr](https://legatobar.com/services/radarr) pages have the same layout, for what they download.

Legato is independent and isn’t affiliated with or endorsed by Prowlarr.

## Verification

The page’s rules were checked against Prowlarr 2.7.0’s answers on 13 Nov 2026, with six indexers: four public ones and two that were made to fail, so the Unavailable rows, the warning and the recovery come from real answers. Test was pressed on every indexer through Legato: four passed, the one made to fail was refused with Prowlarr’s reason, and one public indexer timed out for real. Illustrations use made-up indexers, releases and numbers. See the [service index](https://legatobar.com/services/) for other examples.
