What you’ll see
- Health: in Details, Radarr’s version, or its worst health check in its own words 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 Radarr stops answering.
- Queue: each download with its film’s poster and year, a bar with "6.4 of 11.2 GB", the download client and when it should finish. A download that needs you comes first and says so ("Import blocked", "Failed"). The card draws up to 20. Any past those, and any whose size isn’t known yet, are counted underneath ("3 more in Radarr"). Point at a row for Remove, which asks first: it takes the download off the client and blocks that release, so Radarr looks for another.
- Upcoming: the next 30 days of releases, each on its own day: In cinemas, Digital release or On disc. A film with all three shows up three times.
- Recently missing: four films Radarr hasn’t found, the most recent digital releases first. Point at a row for Search, which asks Radarr to search for that film now.
- Library: how many films are missing and the free space on your root folder.
Status
- Shows Radarr’s own health checks.
- Red for an error, orange for a warning.
- A notice never counts as a problem.
- Red once Radarr stops answering.
- Notifies you when it turns orange or red.
How it connects
The page reads Radarr’s v3 API with your API key, sent as X-Api-Key.
Requests it makes on its own 7
- GET
/api/v3/system/statusRadarr’s version and instance name.
Every 5 minutes
- GET
/api/v3/healthRadarr’s own health checks.
Every 5 minutes
- GET
/api/v3/queue?page=1 &pageSize=20 &includeMovie=true What’s downloading, how far along it is, and what needs you.
Once a minute
- GET
/api/v3/calendar?start={date.today} &end={date.days_ahead_30} Films with a cinema, digital or disc release in the next 30 days.
Every 15 minutes
- GET
/api/v3/wanted/missing?page=1 &pageSize=4 &sortKey=movies.digitalRelease &sortDirection=descending Four missing films, and how many are missing.
Every 15 minutes
- GET
/api/v3/rootfolderYour root folder and its free space.
Every 15 minutes
- GET
/api/v3/mediacover/{movieId}/poster-250.jpgEach film’s poster, kept on this Mac.
While the panel shows the row
Requests it makes when you act 2
- DELETE
/api/v3/queue/{id}?removeFromClient=true &blocklist=true Removes the download from the client and blocks that release.
When you press Remove and confirm
- POST
/api/v3/commandStarts a
MoviesSearchfor that film.When you press Search
That’s about 96 requests an hour with the page open, plus a poster the first time each one shows. Posters come only from your Radarr, and Load icons from the web in Settings doesn’t affect them.
Sources and buttons explains each part of a page.
Set it up
- Find your API key. In Radarr, open Settings → General. The key is under Security.
- Save it in Legato. In Settings → Secrets, save the key under
radarr, bound to your Radarr’s address. You can also link a 1Password reference. - Add the page. Paste the prompt into your agent, or download the page and run
/Applications/Legato.app/Contents/Helpers/legato set radarr radarr.json. - Point it at Radarr. Change
http://radarr.local:7878to your Radarr’s address on every source. If Radarr sits behind a reverse proxy at a path, such ashttps://media.example.com/radarr, set the source’surltohttps://media.example.comand add"base": "/radarr".
The cards fill within a minute. A mistyped key is the usual reason they don’t: the page then notes that Radarr refused it.
Prompt for your agent
Add a Legato page for Radarr, starting from https://legatobar.com/examples/radarr.json.
Add the page as it is and change http://radarr.local:7878 on every source to my Radarr’s address. I’ll save my API key as radarr in Settings → Secrets myself. Don’t press Remove or Search to test them.
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
Show the page’s JSON 775 lines
{
"$schema": "./.schemas/page.schema.json",
"title": "Radarr",
"icon": "film",
"sources": {
"health": {
"url": "http://radarr.local:7878",
"secret": "radarr",
"auth": {
"type": "header",
"name": "X-Api-Key"
},
"every": "5m",
"requests": {
"status": "/api/v3/system/status",
"health": "/api/v3/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
]
}
}
]
},
"queue": {
"url": "http://radarr.local:7878",
"secret": "radarr",
"auth": {
"type": "header",
"name": "X-Api-Key"
},
"every": "1m",
"requests": {
"queue": "/api/v3/queue?page=1&pageSize=20&includeMovie=true"
},
"derive": [
{
"name": "queue_first",
"value": {
"each": "queue.records",
"fields": {
"id": "id",
"title": {
"if": {
"path": "movie.title",
"exists": true
},
"then": {
"template": "{movie.title}"
},
"else": {
"template": "{title|clip:60}"
}
},
"subtitle": {
"if": {
"path": "movie.year",
"exists": true
},
"then": {
"template": "{movie.year|raw}"
},
"else": {
"template": ""
}
},
"client": {
"if": {
"path": "downloadClient",
"exists": true
},
"then": {
"template": "{downloadClient}"
},
"else": {
"template": "{protocol|title}"
}
},
"done": {
"subtract": [
"size",
"sizeleft"
],
"scale": 1e-09,
"round": 1
},
"total": {
"path": "size",
"scale": 1e-09,
"round": 1
},
"state": {
"if": {
"path": "trackedDownloadState",
"equals": "importBlocked"
},
"then": {
"template": "Import blocked"
},
"else": {
"if": {
"path": "trackedDownloadState",
"equals": "importPending"
},
"then": {
"template": "Waiting to import"
},
"else": {
"if": {
"path": "trackedDownloadStatus",
"equals": "error"
},
"then": {
"template": "Failed"
},
"else": {
"path": "status",
"values": {
"paused": "Paused",
"queued": "Queued",
"delay": "Delayed",
"warning": "Needs attention"
},
"default": ""
}
}
}
},
"eta": {
"if": {
"path": "estimatedCompletionTime",
"exists": true
},
"then": {
"template": " · {estimatedCompletionTime|in}"
},
"else": {
"template": ""
}
},
"image": {
"template": "/api/v3/mediacover/{movieId|raw}/poster-250.jpg"
}
},
"where": {
"all": [
{
"path": "size",
"gt": 0
},
{
"path": "trackedDownloadStatus",
"in": [
"warning",
"error"
]
}
]
}
}
},
{
"name": "queue_rest",
"value": {
"each": "queue.records",
"fields": {
"id": "id",
"title": {
"if": {
"path": "movie.title",
"exists": true
},
"then": {
"template": "{movie.title}"
},
"else": {
"template": "{title|clip:60}"
}
},
"subtitle": {
"if": {
"path": "movie.year",
"exists": true
},
"then": {
"template": "{movie.year|raw}"
},
"else": {
"template": ""
}
},
"client": {
"if": {
"path": "downloadClient",
"exists": true
},
"then": {
"template": "{downloadClient}"
},
"else": {
"template": "{protocol|title}"
}
},
"done": {
"subtract": [
"size",
"sizeleft"
],
"scale": 1e-09,
"round": 1
},
"total": {
"path": "size",
"scale": 1e-09,
"round": 1
},
"state": {
"if": {
"path": "trackedDownloadState",
"equals": "importBlocked"
},
"then": {
"template": "Import blocked"
},
"else": {
"if": {
"path": "trackedDownloadState",
"equals": "importPending"
},
"then": {
"template": "Waiting to import"
},
"else": {
"if": {
"path": "trackedDownloadStatus",
"equals": "error"
},
"then": {
"template": "Failed"
},
"else": {
"path": "status",
"values": {
"paused": "Paused",
"queued": "Queued",
"delay": "Delayed",
"warning": "Needs attention"
},
"default": ""
}
}
}
},
"eta": {
"if": {
"path": "estimatedCompletionTime",
"exists": true
},
"then": {
"template": " · {estimatedCompletionTime|in}"
},
"else": {
"template": ""
}
},
"image": {
"template": "/api/v3/mediacover/{movieId|raw}/poster-250.jpg"
}
},
"where": {
"all": [
{
"path": "size",
"gt": 0
},
{
"path": "trackedDownloadStatus",
"not": "warning"
},
{
"path": "trackedDownloadStatus",
"not": "error"
}
]
}
}
},
{
"name": "queue_rows",
"value": {
"each": [
"queue_first",
"queue_rest"
],
"fields": {
"id": "id",
"title": "title",
"subtitle": "subtitle",
"client": "client",
"done": "done",
"total": "total",
"state": "state",
"eta": "eta",
"image": "image"
}
}
},
{
"name": "drawn",
"value": {
"count": "queue_rows",
"default": 0
}
},
{
"name": "others",
"value": {
"subtract": [
{
"path": "queue.totalRecords",
"default": 0
},
"drawn"
],
"default": 0
}
},
{
"name": "sizeless",
"value": {
"count": "queue.records",
"where": {
"path": "size",
"lte": 0
},
"default": 0
}
},
{
"name": "empty_text",
"value": {
"if": {
"path": "sizeless",
"gt": 0
},
"then": {
"template": "{sizeless} with no size yet"
},
"else": {
"template": "Nothing in the queue"
}
}
}
]
},
"library": {
"url": "http://radarr.local:7878",
"secret": "radarr",
"auth": {
"type": "header",
"name": "X-Api-Key"
},
"every": "15m",
"requests": {
"calendar": "/api/v3/calendar?start={date.today}&end={date.days_ahead_30}",
"missing": "/api/v3/wanted/missing?page=1&pageSize=4&sortKey=movies.digitalRelease&sortDirection=descending",
"roots": "/api/v3/rootfolder"
},
"derive": [
{
"name": "free_gb",
"value": {
"first": "freeSpace",
"of": "roots",
"scale": 1e-09,
"round": 0
}
},
{
"name": "root_path",
"value": {
"first": "path",
"of": "roots"
}
},
{
"name": "missing_count",
"value": {
"count": "missing.records",
"default": 0
}
},
{
"name": "cinema",
"value": {
"each": "calendar",
"where": {
"path": "inCinemas",
"exists": true
},
"fields": {
"title": "title",
"start": {
"path": "inCinemas",
"match": "^([0-9]{4}-[0-9]{2}-[0-9]{2})"
},
"detail": {
"template": "In cinemas"
}
}
}
},
{
"name": "digital",
"value": {
"each": "calendar",
"where": {
"path": "digitalRelease",
"exists": true
},
"fields": {
"title": "title",
"start": {
"path": "digitalRelease",
"match": "^([0-9]{4}-[0-9]{2}-[0-9]{2})"
},
"detail": {
"template": "Digital release"
}
}
}
},
{
"name": "disc",
"value": {
"each": "calendar",
"where": {
"path": "physicalRelease",
"exists": true
},
"fields": {
"title": "title",
"start": {
"path": "physicalRelease",
"match": "^([0-9]{4}-[0-9]{2}-[0-9]{2})"
},
"detail": {
"template": "On disc"
}
}
}
},
{
"name": "releases",
"value": {
"each": [
"cinema",
"digital",
"disc"
],
"sort": {
"by": "start"
},
"fields": {
"title": "title",
"start": "start",
"detail": "detail"
}
}
}
]
}
},
"cards": [
{
"id": "health",
"type": "status",
"placement": "page_info",
"label": "Radarr",
"state": "unknown",
"width": "full",
"source": {
"ref": "health",
"map": {
"label": {
"if": {
"path": "status.instanceName",
"exists": true
},
"then": {
"template": "{status.instanceName}"
},
"else": {
"template": "Radarr"
}
},
"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": "Radarr {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": "queue",
"type": "pacing",
"label": "Queue",
"unit": "GB",
"items": [],
"source": {
"ref": "queue",
"empty": {
"text": "{empty_text}",
"when": {
"path": "drawn",
"equals": 0
}
},
"map": {
"items": {
"each": "queue_rows",
"fields": {
"key": "id",
"label": "title",
"subtitle": "subtitle",
"state": "state",
"detail": {
"template": "{client}{eta}"
},
"value": "done",
"target": "total",
"image": "image",
"image_shape": {
"template": "poster"
}
}
},
"detail": {
"if": {
"path": "others",
"gt": 0
},
"then": {
"template": "{others} more in Radarr"
}
}
}
},
"row_actions": [
{
"label": "Remove",
"icon": "xmark",
"method": "DELETE",
"path": "/api/v3/queue/{id}?removeFromClient=true&blocklist=true",
"confirm": {
"message": "Remove {title} from {client} and block this release? Radarr will look for another.",
"button": "Remove"
}
}
]
},
{
"id": "upcoming",
"type": "agenda",
"label": "Upcoming",
"days": 30,
"max_events": 7,
"hide_empty_days": true,
"hide_all_day_label": true,
"items": [],
"source": {
"ref": "library",
"map": {
"items": {
"each": "releases",
"fields": {
"title": "title",
"start": "start",
"detail": "detail"
}
}
}
}
},
{
"id": "missing",
"type": "list",
"label": "Recently missing",
"max_items": 4,
"items": [],
"source": {
"ref": "library",
"empty": {
"text": "Nothing missing",
"when": {
"path": "missing_count",
"equals": 0
}
},
"map": {
"items": {
"each": "missing.records",
"fields": {
"key": "id",
"text": {
"template": "{title}"
},
"detail": {
"if": {
"path": "year",
"exists": true
},
"then": {
"template": "{year|raw}"
},
"else": {
"template": ""
}
}
}
}
}
},
"row_actions": [
{
"label": "Search",
"icon": "magnifyingglass",
"method": "POST",
"path": "/api/v3/command",
"body": {
"name": "MoviesSearch",
"movieIds": [
"{id}"
]
}
}
]
},
{
"id": "library",
"type": "facts",
"label": "Library",
"items": [
{
"key": "Missing",
"value": "—"
},
{
"key": "Free space",
"value": "—"
}
],
"source": {
"ref": "library",
"map": {
"items[0].value": {
"template": "{missing.totalRecords} films"
},
"items[1].value": {
"template": "{free_gb} GB on {root_path}"
}
}
}
}
]
}Questions
Why is the page red when everything downloads fine?
Radarr reports its own problems, and the page shows them as Radarr rates them. A fresh install with no indexers or download client reports an error until you add them.
Why does Remove block the release?
So Radarr doesn’t grab the same broken or wrong release again. It looks for another one straight away. To take a download off without blocking it, use Radarr itself.
Does it work with Sonarr?
Yes: the Sonarr page has the same layout for TV.