API reference
The main Shortlist REST endpoints: sign-in, users, rows, runs, requests, events, reports, the support checks and their responses.
The interactive API docs are off by default. Set SHORTLIST_ENABLE_DOCS=1 to expose /api/docs and
/api/openapi.json. The OpenAPI document lists every route. This page covers the main ones.
Assistant connections use the separately authenticated MCP endpoint. See the MCP assistant reference for its tool contracts and permissions, and Connect an assistant for OAuth and local credentials.
Sign-in and setup
POST /api/auth/pin
GET /api/auth/pin/{id}
GET /api/auth/session
POST /api/auth/logout
POST /api/setup/probe
POST /api/setup/link
GET /api/setup/servers
GET/PUT /api/setup/state
Sign-in is owner-only.
- Once the instance is claimed, the Plex account must match the linked server’s owner (403 otherwise).
- Before it is claimed, plex.tv is asked directly. An account that owns no Plex server gets 403, so someone with only a share can never sign in.
- If plex.tv can’t be reached or answers with something that isn’t a resources list, sign-in fails with 503.
- Known gap: before the instance is claimed the test is “owns a Plex server”, not “owns this one”. Someone running their own PMS can claim an instance with environment-seeded credentials and no server linked. Linking your server in step 1 closes it.
/servers is the Plex server picker. It lists shared servers alongside owned ones, and the wizard shows shared ones but won’t let you select one. /link checks with plex.tv that machine_id is a server the caller’s account owns (403 otherwise). The body’s owner_account_id is only the caller vouching for themselves, so the plex.tv check is what stops a friend with a share from linking your PMS.
Users
GET /api/users
PATCH /api/users/{id} {enabled?, manage_sharing?, request_tag?, requested_by_tag?, seerr_user_id?, prefs?}
DELETE /api/users/{id}
POST /api/users/sync
POST /api/users/set-enabled {enabled}
seerr_user_id(integer 0 or more, default 0 = automatic, by the Overseerr account’s Plex sign-in) is the Overseerr user a “Your requests” row reads this person’s requests from. An account can belong to one person (409 naming the holder, unless that person has left the server or been removed).GET /api/settings/overseerr/optionslists each account with itsplex_id.requested_by_tag(string, max 64, default “”) is a Radarr/Sonarr tag a “Your requests” row credits to this person when it fits no row’s tag pattern. “” clears it. A tag two people both claim credits neither.- A
prefskey sent asnullclears that preference. Omitted keys keep their stored value. DELETEonly works for someone plex.tv no longer lists (409 for anyone still on the share). It drops their picks and run history and hides them from the list. The users row and their saved share-filter snapshot stay, because uninstall restores from the snapshot.syncpulls shared and Home users from plex.tv, plus the server owner, whom that list never returns.set-enabledenables or disables every user at once.
manage_sharing (default true) is separate from enabled. enabled decides whether someone gets a row.
manage_sharing decides whether Shortlist may edit that account’s Plex share filters. When it is false,
Shortlist adds no label!=shortlist_* exclusions for that account and removes the ones it added. Every
other account still excludes that person’s row label. Changing it rewrites the filters immediately.
enabled=false still writes the account’s filters unless manage_sharing is also false, and then nothing is
written. The exclusion for a restricted shared row is not removed, and later changes to that row’s audience
don’t reach an account that is left alone. Switching management back on resyncs it. See
Leaving someone’s Plex sharing alone.
GET /api/users/{id}/rows
PUT /api/users/{id}/rows/{collection_id} {muted?, row_size?, recent_count?, favourite_count?, older_count?}
Per-person, per-row settings. recent_count (1-25) overrides how many recent watches the llm_web source searches for this person on this row. favourite_count and older_count (0-10) override how many long-time favourites and older watches it also draws on. Null clears a field back to the row’s own setting. The GET returns each row’s effective counts and the person’s override values.
GET /api/users/{id}/history-mix?collection_id=->{recent, favourites, older: [{title, year, media_type, tmdb_id}], favourite_count, older_count}. This week’s mix for that person on that row: the titles its AI web search draws on. Read live from Plex, so ask on demand. 404 for an unknown person or row, 502 with a redacted message if Plex can’t be read.GET /api/users/{id}/runs: this person’s outcome per run, withstatus,reasonfor a non-failing skip,duration_ms, their diff and picks.GET /api/users/{id}/runs/summary->{included, total}. A run is server-wide, so a person’s page showsincludedout oftotal.GET /api/users/{id}/outcomes->[{tmdb_id, media_type, title, row, outcome, percent, watched_at, finished_at}]. What became of each pick delivered to this person.outcomeisfinished|dropped|bounced|watching, resolved as on the dashboard.GET /api/users/{id}/history: recent watches read live from Plex. Each item hastitle,media_type,year, plusseason,episodeandepisode_titlefor TV.GET /api/users/search/titles?q=&media_type=movie|show->[{tmdb_id, title, media_type, year}]. TMDB’s best guess, for the “block a title” picker.POST /api/users/{id}/blocked-seeds {tmdb_id, title?, media_type?, year?}andDELETE /api/users/{id}/blocked-seeds/{tmdb_id}->{blocked_seeds: [{tmdb_id, title, media_type, year}]}. Blocked titles stop shaping this person’s picks. The watch stays in their history.
GET /api/users/{id}/watched?q=&media_type=movie|show&library=&limit=&offset= -> {items, total, libraries, last_full_sync_at, synced_titles, dislike_threshold, ratings_trusted, rated_count}. It searches this person’s cached watched set, the same set recommendations are filtered against, so it answers “I watched that, why was it recommended?”. Unlike /history it never touches Plex and searches the whole set.
- Each item carries
watch_count,viewed_leaf_countandleaf_count(null for movies, for “3 of 8 episodes”), anduser_rating(what this person rated it in Plex, 0-10, or null). - One item per title. A title in several Plex libraries is cached once per library and the copies merge, with
librariesnaming them (empty until that person’s next sync records it). The merge takes the newest watch date, the summed play count, the progress of the copy they got furthest through (both numbers from one copy), and the lowest rating any copy carries that a person could have typed (a whole number). A fractional rating shows only when no copy has a typed one. totalcounts titles andsynced_titlescounts stored library copies, so they differ when a server holds a title twice.libraryfilters to titles held in that library, by Plex display name. Results still name every library they live in. The page-levellibrariesis a list of{name, media_type}for every library this person has a watch in, and the filter never narrows it.last_full_sync_atis null while any library has never had a full read, which means the set is incomplete.dislike_thresholdis the rating cutoff in force (null whenrecommendations.use_plex_ratingsis off).ratings_trustedis false when this account’s ratings look tool-written, and then none are used.rated_countcounts the whole set, not the page.
Watching account
GET /api/watching-account/candidates->[{plex_account_id, title, protected, already_a_shortlist_user}]. Plex Home users the owner could move their watching to. The admin account is never one.GET /api/watching-account/snapshots->[{id, user_id, username, taken_at, entries, complete}]. Transfers that can still be undone, newest first, without snapshots an undo took.complete: falsemeans a library was unreadable when it was taken, so restoring could remove watches it never recorded.
POST /api/watching-account/transfer {to_user_id, from_user_id?, dry_run?} -> {planned, applied, unreachable, failed, marks, unmarks, offsets_set, offsets_cleared, removals_preview, verify_mismatched, verify_checked, shows_cleared, target_unreadable, events_copied, titles_cached, snapshot_id, dry_run, source_empty, errors}. It replicates one account’s watch state onto the watching account: the exact episodes, rewatch counts and position in anything part-watched.
from_user_iddefaults to the owner. Name another account when the history to copy lives on one you already moved to. It is read with that account’s own server token, never the admin’s, so one person’s history can’t be copied under another’s name.- The copy mirrors the source.
unmarksandoffsets_clearedcount what it removes from the target because the source hasn’t watched it. Dry-run first:removals_previewnames up to 50 of them. - A snapshot of the target is taken before the first write.
snapshot_idis what/undoneeds. unreachablecounts titles in libraries that account can’t see (PMS 404). Normal.failedcounts writes that raised (a timeout, a 500) and stay inverify_mismatched.verify_mismatchedcomes from re-reading the target afterwards, so it shows what landed.source_emptymeans the source has nothing watched.planned: 0means the two already match.shows_clearedcounts show rows un-scrobbled because every episode was removed.target_unreadablelists libraries the target can’t see. That isn’t a failure, but it makes the snapshot partial, so undo is refused for it.
POST /api/watching-account/undo {snapshot_id, dry_run?} returns the shape of /transfer. It restores the watching account exactly as the transfer found it, counts and positions included. A second undo of the same snapshot is refused. Undo mirrors too, so it removes anything watched on that account since the copy: dry-run it and read removals_preview. It takes its own snapshot, so an undo is itself undoable.
Privacy status
GET /api/privacy/status -> {read_at, summary, accounts[], rows_on_plex, rows_error, error, enforcement, snapshots_kept}
Rendered at /privacy. It reports what can be verified about row hiding right now for an ordinary shared account, with three live reads:
- each exclude sits in the filter where Plex applies it (an exclude stored behind a
|is ignored by Plex) - the rows exist on the PMS now
- Plex was applying the excludes on Home for the accounts a run spot-checked (naming the run and when)
It claims nothing outside Home, for a parental-profile account (plex.tv refuses the write), or for the owner (no share exists). It never says “all clear” from a check that didn’t run or a read that failed. Every cell is a live read or “not checked”.
snapshots_kept counts the saved pre-Shortlist sharing settings uninstall restores from. It comes from the database, so it is reported even when plex.tv can’t be read.
Verdicts rank: unreadable > rows_unknown > missing > filter_unreadable > not_enforced > unhideable > clean. A missing rule outranks a measured exposure because the next run fixes it, while an exposure needs a change in Plex. filter_unreadable (account state unreadable_filter) is a filter Plex itself fails on, a label with a raw &. It stays until you rename the label.
Rows
GET/POST /api/collections
PATCH/DELETE /api/collections/{id}
PATCH /api/collections/{id} {dry_run: true}
DELETE /api/collections/{id}?dry_run=true
dry_run previews what an edit would do to Plex. It matters most on PATCH: narrowing a row’s media or libraries deletes its collections in the libraries it no longer covers. The response carries the projected plan plus preview_incomplete, which separates “this edit removes nothing” from “the libraries couldn’t be read, so it is unknown”. POST rejects dry_run with 422.
A top-level field the row body does not declare is refused with 422. Fields inside poster and hub_anchor are not checked this way. PATCH validates the merged row, so a refused combination can’t be reached one field at a time.
Row fields
Selection:
request_tag,candidate_sources,library_keys.max_seeds: how many watched titles the row is built from (1-100; null inherits the engine default of 30).max_runtime: longest title in minutes (1-600; a film’s runtime, a show’s episode runtime).min_yearandmax_year: release-year range (1870-2100, either end optional).min_yearlater thanmax_yearis refused with 422, and a PATCH is checked against the stored other end too. A show’s year is its first-air year.min_rating: lowest TMDB rating (0-10; 0 is no limit).- All four limits above are null (no limit) by default, and PATCH null clears one. A title whose value TMDB doesn’t know (or whose lookup failed) is kept. A title TMDB has no votes for is dropped once
min_ratingis above 0. Changing one rebuilds the row on its next run. They also apply to watch-again rows and newcomer fallback picks. Request demand follows year and rating, not runtime. The editor offers them on picked, because-you-watched and watch-again rows only. favourite_countandolder_count: how many long-time favourites and older watches the row’s AI web search draws on besides the recent ones (0-10 each; null inheritsrecommendations.favourite_countandrecommendations.older_count).recency: how much a title’s release date counts when ranking it for this row (-1.0 to 1.0: negative leans older, 0 ignores age, positive leans newer; null inheritsrecommendations.recency).cold_start: what the row does for someone belowrecommendations.min_history(popularorskip; null inheritsrecommendations.cold_start).fallback_name: what to call this row for someone whose name can’t be filled in, such as a{top_seed}row for a person with nothing watched.""(the default) means the row is not built for them. A value containing{top_seed}is refused.seed_window: how many recent watches a one-title row cycles between, one per run (1-20, default 1 = always their most recent; no global to inherit).pick_order: how the delivered collection is ordered (defaultbest). Values arebest,rating,newest,shuffle,new_first(titles that arrived this run lead) androtate(the front advances by one title a day).
Schedule and seasons:
show_days: which days the row appears, as ISO weekdays 1=Mon to 7=Sun ([]= every day; values outside 1-7 are refused; stored sorted and de-duplicated).seasons: the seasons a seasonal row follows. Use the built-insvalentines,halloween,christmas, or the slug of one of your own seasons (see/api/seasons).[]means not seasonal. Stored de-duplicated in calendar order, and unknown slugs are refused.season_lead_days(0-90, default 30) andseason_after_days(0-30, default 0): how many days before and after each built-in season’s day the row shows. Your own seasons carry their own timing.- A name using
{season}or{season_emoji}is refused on a row with no seasons.
Read-only in responses:
preview_titles(list response): up to four{rating_key, title}from the row’s latest real delivery, best rank first.[]for a row never built.shown_today: resolved on the server’s clock (false outside a seasonal row’s seasons).season_status:{showing, next}, each{slug, name, emoji, starts, ends}or null. Null for a row with no seasons.
Placement and artwork:
hub_anchor: per-row shelf-placement override.poster: custom row artwork{mode: ""|upload|generate, title, subtitle, style}.
Behaviour:
rewatch(bool, default false) makes a rewatch row: already-finished titles come first and unwatched ones only fill what is left. Finished titles come from the person’s own history in that library (favourites by their Plex rating, then titles close to tonight’s taste, then longest unseen). The candidate pool supplies only the unseen top-up.rewatch_cooldown_days(int 0-365, default 30) leaves out anything finished within that many days, on a rewatch row only. 0 disables it.unstarted_only(bool, default false; accepted on any row that can hold shows) drops every series the person has started, however little. It only matters on a row whosewatched_pctis above 0, which still admits a series someone is three episodes into. Atwatched_pct0 the row already excludes started series (see What “already watched” means for a show). The finished bar is fixed at 0.8.- Two combinations are refused (422):
rewatchwithunstarted_only(they ask for opposite things), andunstarted_onlyon amedia: "movie"row, where any view is already a finish. requests_row(bool, default false) makes a “Your requests” row: the titles this person asked for in Overseerr, or that carry their requester tag in Radarr or Sonarr, that are on Plex and unwatched, newest arrival first, with no candidates, curation or padding. Sources are whichever of Overseerr, Radarr and Sonarr have a URL and key in Settings → Connections, whateverrequests.*says. Refused (422) withbuild: "shared",rewatchorseasons. A person with nothing ready in a library has that collection removed, and only on a run where every source was read in full.requests_window_days(int 0-3650, default 90) drops titles that arrived more than that many days ago. 0 keeps every title until watched.requests_tag_pattern(string, max 128, default “”) credits Radarr/Sonarr tags matching the pattern to the person it renders for. It must contain{username}(their Plex username) or{name}(their Shortlist display name). Matching is case-insensitive with spaces read as dashes. Overseerr’s own<user id>-<username>tags are read regardless, and a tag two people render to credits neither.description(string, max 2000, default “”) is the collection’s Plex summary, filled per collection with{user},{library_name}and{top_seed}.sort_title_prefix(string, max 64, default “”) makes the collection’s Plex sort title the prefix plus the row’s current name. It orders the library’s Collections tab, not Home. “” on either field leaves it on Plex alone, and whitespace alone is stored as “”. Both reach Plex on the row’s next run, written locked, replacing the field’s value. Clearing one (or a{top_seed}description rendering empty) blanks and unlocks the field, only while Plex still holds exactly what Shortlist wrote, so a value set since by a person or another tool is never wiped. A value from before Shortlist set the field is not restored.- Title clashes: a row’s title (its
name_template, elsename, and itsfallback_name) must not match another row of the same build that could build in one library with it. A clash is refused with 422 naming that row. Rows whosemediatypes never meet, or whoselibrary_keysare both set with no key in common, may share a title. An emptylibrary_keysmeans every library of its type, including ones added later. PATCH re-checks whenmedia,library_keysorbuildchange, and refuses only a clash the row did not already have.
GET /api/collections/{id}/effectiveness -> {delivered, watched, finished, first_delivered_at, matured_days, matured, per_library}. matured is null until picks are old enough to judge, so a newer row reads as “too early”. A pick counts as a hit only if watched while the row was still showing it. finished accompanies every watched here, including per library.
Other row endpoints
POST /api/collections {ai_instructions: {mode, text}}
PATCH /api/collections/{id} {ai_instructions: {mode, text}}
POST /api/ai/web-prompt-preview {ai_instructions?, server_text?}
GET /api/picks/{rating_key}/poster
POST /api/collections/{id}/rename {name_template?, old_template?, dry_run?}
POST /api/collections/{id}/cleanup {dry_run?}
POST /api/collections/{id}/poster/upload
GET/DELETE /api/collections/{id}/poster/image
POST /api/collections/{id}/poster/preview {title, subtitle, style}
ai_instructions.modeisdefault,addorown: per-row instructions for AI web search.defaultfollows the server-widellm_web.instructionssetting,addappends the row’s text after it,ownuses only the row’s text.textis up to 2000 characters.addorownwith no text is rejected with 422 “Write the AI instructions, or choose Use the default.”web-prompt-preview->{backend, system, builtin_guidance, builtin_template, inert}. What AI web search would be told, without searching or saving anything (owner only).builtin_templateisbuiltin_guidancewith{count},{year}and{last_year}left unfilled.inertis true when the instructions would have no effect: no AI provider is configured, or the backend is native and the provider can’t search the web.picks/{rating_key}/posterreturns image bytes: a pick’s artwork, proxied from the PMS. Owner only. It refuses any thumb path that is not on this server.rename->text/event-stream. Renames this row’s collections on Plex: onerenameevent per person, then adoneevent.old_templateis the title the row rendered as before, which tells this row’s collection apart from the person’s other rows.dry_runpreviews and writes nothing.cleanupremoves this row’s Plex collections for everyone.dry_runpreviews.poster/uploadtakes a multipart image.poster/imageserves (GET) or removes (DELETE) the uploaded artwork.poster/previewreturns a generated sample image.
Seasons
GET /api/seasons
GET /api/seasons/presets
POST /api/seasons
PUT /api/seasons/{slug}
DELETE /api/seasons/{slug}
POST /api/seasons/preview
POST /api/seasons/next-date
GET /api/seasons/tmdb-tags?q=&media=movie|show
GET /api/seasons/plex-collections?q=
GET /api/seasons/library-search?q=
GET /api/seasons -> [{slug, name, emoji, description, builtin, rule, rule_label, next_dates, next_windows, lead_days, after_days, preset, tags, genre, excluded_genres, collections, picks, used_by}]. Every season in calendar order (owner only).
ruleis{kind: fixed|nth|easter|month, month, day, nth, weekday, offset}.rule_labelis it in words (“4th Thursday of November”).next_datesis the next two dates it falls on.- Built-ins have empty sources and null
lead_daysandafter_days(they follow the row’s).used_bylists the rows that tick the season. - For
month,next_datesanchors each showing on its last day andnext_windowsgives the two exact{start, end}calendar-month spans, including leap days. Other rules returnnext_windows: [].
GET /api/seasons/presets -> [{key, label, category, description, preset, name, emoji, rule, lead_days, after_days, tags, genre, excluded_genres, collections, picks, note}]: the ready-made seasons not yet added. category is holidays, film_days or spotlights. label carries the region (“Thanksgiving (US)”), name does not.
POST /api/seasons takes a season body (name, emoji, rule, lead_days, after_days, tags, genre, excluded_genres, collections, picks, optional preset) and returns 201 with the season. A month rule shows for the whole selected month, and its stored lead_days and after_days are zero. Creating a preset saves the season for the server. Updating a row’s seasons is a separate request.
PUT and DELETE on /api/seasons/{slug}:
- PUT -> season. DELETE -> 204. The slug never changes on PUT.
- Refused with 422 and a plain-English
detail: a bad date rule (29 Feb included), no tag, collection or film, a name another season already has (case-insensitive, built-ins included), or a name and emoji that would title a row named after its season ({season}) like another row it can share a library with (the detail names the rows). - Built-ins return 403 on PUT and DELETE.
- DELETE unticks the season in every row, and returns 409 naming the rows when it is a row’s only season.
- A PUT that moves the season’s dates, or a DELETE, re-applies today’s visibility to the rows whose answer for today changes.
POST /api/seasons/preview takes a draft season body, plus the row’s media (movie, show or both, default both) and library_keys (default every library). It returns {next_date, rule_error, total, movies, shows, from_tags, from_genre, from_collections, from_picks, per_tag, per_collection, sample}.
- How many of the draft’s titles the row can draw, of its media type, in its libraries, split by source, plus up to 10 titles in
sample. moviesandshowssplittotalby type, and are null for a type the row builds in no library of.- An invalid rule returns 200 with
rule_errorset. 503 without a TMDB key or before Plex is connected, 502 when either fails. - Counts precede row filters and shared-row watcher thresholds, so they don’t promise a full delivered row.
POST /api/seasons/next-date takes a date rule (kind fixed, nth, easter or month; month; day; nth 1-4, or -1 for the last; weekday Monday=0; offset) and returns {next_date, next_windows, rule_error}. Owner only.
next_dateis when the rule next falls, as an ISO date on the server’s clock. It is worked out from the rule alone, with no Plex or TMDB call, so it answers when a preview can’t.- An invalid rule returns 200 with
next_datenull andrule_errorset. - For
month,next_dateis the month’s last day andnext_windowssupplies the next two complete{start, end}spans. Other rules return[].
The three search endpoints look up TMDB keywords, the PMS’s collections (read only; each with its library’s media_type), and the libraries’ titles. A q under 2 characters returns [] without asking anyone. Each tag carries movies (how many films TMDB tags with it) or, with media=show, shows instead. The other count is null.
AI rows and themes
GET /api/themes/capabilities
GET /api/themes/prompts
POST /api/themes/preview {brief?, change?, media: "movie"|"show"|"both", current_theme_id?, collection_id?, guidance?}
POST /api/themes {draft, tokens?, collection_id?, stats?}
PUT /api/themes/{id}
GET /api/themes/{id}
POST /api/collections/{id}/ai-pause {paused}
GET /api/collections/{id}/theme-rotation
PUT /api/collections/{id}/up-next {user_id, theme_id}
POST /api/collections/{id}/up-next/regenerate {user_id}
capabilities->{ai: bool}. Whether an AI provider is set. The AI row editor hides what needs one when false.prompts->{guidance, mechanics}. What the AI is told when it writes a theme: the editable guidance and the locked mechanics.preview->{draft, stats: {named, resolved, in_library, after_rules, unwatched_median}, diff, tokens}. It saves nothing. It asks the AI to write a theme frombrief(required), or, withcurrent_theme_id, to refine it bychange(required). A paused row is refused with 409.guidanceis up to 4000 characters, and empty keeps Shortlist’s.- The AI names each title as a movie or a show, and only that kind is looked up. A title with no kind is left out. Every title is checked against TMDB and the library, and the limits apply to the titles your libraries hold (an AI row never requests a missing one).
- A refinement keeps the stored description (it goes to the AI as context and comes back unchanged in
draft.brief) and the theme’s tags and genres, hand-added ones included, unless the AI says to drop them. diffis null for a new theme. Otherwise it lists added and removed titles, tags and genres with before and after title counts.POST /api/themesreturns the theme. It storesname,emoji,brief,origin(aiormanual),media,tags,genres,excluded_genres,collections,picks(up to 200) andrules. PUT takes the same body.tokensis what the AI call cost, added to the theme’s and the row’s running totals. It is 0 for a hand edit.ai-pausereturns the row. A paused row keeps its theme and keeps building from it, and the theme endpoints answer 409 until resumed. 422 for a non-AI row.- AI row fields:
theme_id(the stored theme, null for other rows),ai_paused,ai_tokens(tokens spent on this row). - Explore and over-time fields apply to AI rows only (422 on any other row; clearing
theme_idresets them):theme_mode("fixed"default, or"explore"),explore_brief(up to 500 characters, default""),theme_days(1-90, null for 7),refresh_share(share of picks swapped on a refresh, above 0 and up to 1; null keeps two thirds, so a third is swapped),repeat_cooldown_days(1-365; null is off),avoid_rows(slugs of other per-person rows to keep out; null is none). theme-rotation->{mode, days, targets: [{user_id, name, current, next, started_at, next_due_at, history}]}. Where each person’s Explore rotation stands.currentandnextare{theme_id, name, emoji, started_at, due_at}or null.historyis their last six earlier themes, newest first. 404 for a row that is not an AI row.up-nextreturns a theme ref. It points a person’s Up next at a saved theme, replacing any queued, and changes nothing on Plex. 422 unless the row is on Explore.up-next/regeneratereturns a theme ref. It writes a new Up next theme for one person now, with one AI call. 409 while the row’s AI is paused, 422 without an AI provider or when the row is not on Explore.
System, jobs and libraries
GET /api/system/version->{current_version, latest_version, update_available, install_type, git_sha, git_branch}. Owner only.git_shaandgit_branchidentify which build a:devimage is, and are empty on a source checkout.GET /api/system/image-provider->{capable, provider, reason}. Whether the AI provider can generate poster images. The row editor uses it for the Generate option.GET /api/system/logs?level=&q=&limit=returns parsed, redacted log lines.GET /api/system/logs/downloadreturns all log files as a zip with credentials, addresses and this server’s machine id removed. The live view strips credentials only.GET /api/system/libraries->[{key, title, type}]. The server’s Plex libraries, for the row editor.GET /api/system/libraries/{key}/collections->[{title, on_shelf}]. A library’s foreign managed collections: the title-anchor choices for row placement. Shortlist’s own are excluded, since a row is anchored to another row by slug viahub_anchor[library].row.on_shelfis false only for a collection Plex reports as promoted nowhere. It has no position to sit next to, so it can’t anchor anything and the editor greys it out. Plex’s own built-in hubs are always true.GET /api/system/owned-collections->{collections: [{library, title, label, rating_key, kind, slug, orphan}], total, orphans}. Cleanup audit: every shortlist-labelled collection on Plex, drift-flagged, independent of the database.GET /api/system/backups->[{name, size_bytes, created_at}].POST /api/system/backups->{name, size_bytes}.POST /api/system/backups/restore {name}->{restored, message, privacy_note}. It queues the restore, applied when the container next starts, before anything opens the database, after a pre-restore copy. A restore still waiting a day later is dropped.GETon the same path ->{pending: {backup, requested_at} | null}.DELETE->{pending: null}and cancels the waiting restore.GET /api/system/jobs?kind=&limit=&before_id=&status=&exclude_routine=->[{id, kind, payload, result, status, attempts, max_attempts, detail, error, created_at, started_at, finished_at}]. Background maintenance history, newest first. Runs have their own page.kindnarrows to one job type.statusnarrows toqueued,running,doneorfailed. Anything else is refused with 422.exclude_routine=truedrops the high-volume automatic kinds unless they failed.watch.reconcilealone is one job per playback stop. The header’s activity feed passes it, the Jobs page does not.
GET /api/system/jobs/catalog->[{kind, label, description, manual, trigger, scheduled, next_run, last, total, queued, running, failed}]. Every job Shortlist can run, with its schedule, tallies and most recent run.GET /api/schedule->{jobs[{kind, label, setting, cron, using_default, default_cron, optional, writes_plex, next_run}], rows[{cron, rows[], next_run}]}. Everything on a timer, with rows grouped by shared cron: one trigger builds all of them.cronis the effective one with defaults resolved.default_cronis the built-in it falls back to when nothing is stored, andusing_defaultsays whether it is running on that. Read-only: edit crons throughPUT /api/settingsandPATCH /api/collections.
POST /api/system/jobs {kind, payload?, background?} returns the job after an inline drain, or as soon as it is queued when background is set. The Activity → Jobs tab sets it and polls, to avoid a proxy timeout on a slow job.
- Only these kinds may be triggered by hand, and all take no target:
sync.users,sync.history,sync.check,privacy.sync,backup.take,maintenance.prune(retention trim of old runs, picks, log lines and expired caches; does nothing on Plex) androws.visibility(puts each row on the shelves its day schedule asks for; a row on its day off is hidden and its collection kept; filters are re-merged before anything is shown). - The rest are queued by the mutation that knows their target and are rejected here with 422:
user.cleanup(someone turned off),user.hideanduser.restore(paused or un-paused),row.reconcile(a row deleted, switched off, narrowed to fewer libraries, or with someone dropped from its audience). - Queued work waits for any run in progress, is retried with backoff, survives a restart, and raises a notification if it gives up.
Runs
GET /api/runs?limit=&collection=&before_id=
GET /api/runs/summary
GET /api/runs/{id}
GET /api/runs/{id}/users/{user_id}/trace
GET /api/runs/{id}/rows/{slug}/trace
GET /api/runs/{id}/log?after_seq=&format=json|text
POST /api/runs {user_ids?, collection_ids?, dry_run?}
POST /api/runs/{id}/cancel
DELETE /api/runs
GET /api/runsis newest first, andbefore_idpages backwards. Every run carriesprivacy:{can_see_others, unreadable_filters, filters_not_enforced}, the accounts that run found able to see other people’s rows, whose filter Plex cannot read, or whose filter Plex is not applying.privacyis null when the run did not measure it, and always for a dry run. Each of the last two lists is null when that check did not run and[]when it found nothing. A finding never changesstatus.GET /api/runs/{id}: each user carriesstatus,error,reason(why askippeduser built nothing),has_trace, andcost.costis that person’s timing and token spend for this run,nullon a run recorded before this was measured (render it as “not recorded”). When present it is{setup_ms, rows: {row_slug: {duration_ms, blocked_ms}}, pools: [{label, tokens, exa_searches, duration_ms, rows}]}.setup_msandpoolsare the person’s shared spend (history fetch and candidate gather), repeated on every row.- Each row’s
duration_msis wall-clock includingblocked_ms(time waiting on the shared Plex write lock at concurrency above 1), so its own work time isduration_ms - blocked_ms. - Tokens are per pool, since AI spend happens in the candidate gather.
pools[].rowsnames every row slug that drew on a pool.
users/{user_id}/trace->{username, display_name, status, error, reason, trace, breakdown}. The full per-person pipeline trace, fetched on demand.traceis{}on runs that predate it.- It holds history (true distinct-title watched totals per library, split by media type), seeds with each seed’s weight ingredients, each source’s queries and returns tagged with their fate (
kept,already_watched,not_in_your_libraries,excluded_genre,lost_ranking_cutoff), the web-search and RAG prompts, and resolved versus hallucinated titles. The AI’s resolved proposals carry the same fate, so the UI marks each kept or dropped. errorandreasoncover a failed or skipped person.breakdownis the delivered picks per library.- A cold-start user carries a trace too (their thin history plus a synthetic
cold_startsource), sohas_traceis set and the “How we picked” page renders for them.
- It holds history (true distinct-title watched totals per library, split by media type), seeds with each seed’s weight ingredients, each source’s queries and returns tagged with their fate (
rows/{slug}/traceis the same pipeline trace for one shared row, with the row’s title served asusernameanddisplay_name.{}on a run recorded before shared rows were persisted.logis the run’s activity feed, kept inrun_log_linesso an older run still has one.after_seqreturns only what is new.format=textis the download.DELETE /api/runspermanently clears the run list and step-by-step logs. It keeps Plex rows, saved picks, watched-pick counts and the delivery records needed for future watch tracking and row cleanup. 409 while any run is queued or running.
Every run carries a stats object, written when it finishes. The keys most worth reading:
users_ok,users_error,users_skipped: people built, failed, and skipped without error.titles_added,titles_removed: titles that entered or left everyone’s rows this run.rows_swept,shares_updated: rows removed because Plex could not hide them, and share filters written.titles_requested: titles sent to Radarr, Sonarr or Overseerr.requests_queuedis how many a run chose to hold for approval, andrequests_waitingis the part of that which really sits in the Requests inbox now (the rest was already requested or already in the library).requests_wanted,requests_pool,requests_examinedandrequests_lookupssay how many candidates were wanted, pooled, looked at and looked up.requests_by_rowsplits that per row, andrequests_warningslists anything a source reported.llm_tokens,llm_output_tokens,llm_tokens_by_step,exa_searches,exa_cache_hits: AI and web-search spend.promotion_blockers,error,dry_run: why nothing was promoted, the run-level error, and whether it was a dry run.unhideable_rows,unreadable_filters,filters_not_enforced,privacy_unchecked,privacy_write_failed,privacy_left_alone: the privacy findings behind a run’sprivacyfield. A key is absent when the run did not measure it, and{}or[]when it measured and found nothing.
Catalogs
GET /api/catalogs/settings
GET /api/catalogs/templates
settings -> [setting definitions]: every setting Shortlist knows, with its options, numeric range, prerequisites and what changing it affects. templates -> [row template definitions]: the templates Add a row offers, with their creation defaults. Both require the owner browser session. They describe what exists and carry none of your values.
Requests
GET /api/requests?wanted_by=&wanted_by=
GET /api/requests/status
POST /api/requests/send {ids, dry_run?}
POST /api/requests/reject {ids}
POST /api/requests/restore {ids}
POST /api/requests/delete {ids}
POST /api/requests/clear {ids}
POST /api/requests/hold-preview {media_type?, genres[], tags[], except_companies[]?, except_min_rating?}
GET /api/requests/tmdb-companies?q=
GET /api/requests/row-sources?pattern=
GET /api/requestsis the inbox: pending first, then sent, then rejected, capped at 500 rows.wanted_byrepeats onewantersusername per value and keeps a title any of them wanted. It is applied before the cap, so picking a name searches the whole history. Omitted means everyone.status->{statuses: {request_id: "downloaded"|"downloading"|"queued"|"unmonitored"|null}, radarr: "ok"|"unreachable"|"off", sonarr: same}. Live Sonarr and Radarr status for waiting and sent items. Rejected items are skipped.nullmeans the app doesn’t track it.radarrandsonarrreport reachability separately. The list itself makes no Arr calls. The inbox polls it every 10s only while a title is downloading, and every 30s while an app is unreachable.rejectis permanent.restoreun-rejects, moving titles back to Waiting.deleteremoves titles, which can re-surface.clearhides sent items from the log without un-sending them. The record stays, so the title isn’t re-requested.hold-preview->{checked, held[{tmdb_id, title, year, reason, story, companies[{id, name}]}], unread, excepted[{tmdb_id, title, year, reason, exception}]}. Which waiting titles ofmedia_type(movie, the default, orshow) these TMDB genre ids and tag ids would hold back from automatic sending.genresare ids from that kind’s own TMDB genre list.exceptedlists the matches the draft exceptions send anyway.companiesare a held title’s production companies. It is the Requests tab’s live check. It saves nothing and returns 503 without a TMDB key.unreadcounts titles TMDB could not answer for.tmdb-companies->[{id, name, country, logo_path}]. TMDB production companies matchingq, for the studio exceptions: up to 20, an exact name first, then names starting withq. Aqunder 2 characters returns[]without asking anyone. It returns 503 without a TMDB key.row-sources->{overseerr, radarr, sonarr: "connected"|"unreachable"|"off", complete, problems[], seerr_requests, seerr_requesters, seerr_linked, servers[{kind, name, is4k, tag_requests}], tagged_movies, tagged_shows, people[{user_id, display_name, linked, ready}], tags[{label, source: "overseerr"|"pattern"|"override", user_id, display_name, titles, ambiguous}]}.- It is the “Your requests” row’s setup check, behind the Row editor’s sources panel and the Users page’s Requests column. It reads every configured source once and writes nothing.
pattern(max 200) previews an own-tag pattern such asreq-{username}, andtagslists every requester tag found with who it resolved to.serversis each Radarr/Sonarr server Overseerr sends to and whether its Tag Requests option is on.completeis false when a configured source could not be read, with the reason inproblemsand that source reportedunreachable, never a 500.
A request candidate carries the Arr’s titleSlug once sent (arr_slug on GET /api/requests), which the Sent log deep-links to. It also carries TMDB’s poster_path (such as "/abc.jpg", or "" when TMDB has no artwork) and overview ("" when TMDB has none or the row predates the field). Both backfill on the next run that re-surfaces the title. A title on an Arr import-exclusion list is flagged excluded and never auto-sent. clear sets a hidden flag on a sent entry and keeps the record that stops a still-downloading title being re-requested.
Manual sends, scheduled acquisition and assistant sends share durable title reservations. A reserved or uncertain title cannot be sent again through a different path or by deleting its inbox entry. Conflicting manual sends return 409. The owner can inspect and release a terminal claim after checking the destination service:
GET /api/requests/acquisition-claims?limit=100&offset=0 -> {items, next_offset}
POST /api/requests/acquisition-claims/{claim_id}/release {review_token, expected_status: "outcome_unknown"|"succeeded", checked_destination: true} -> {id, status: "released"}
These recovery routes require the owner browser session, and release also requires CSRF. A changed review token or status, or an active claim, returns 409. Releasing a claim sends nothing. See Requests → Acquisition checks needing review in the browser.
Events and notifications
GET /api/eventsis an SSE stream.GET /api/events/log?scope=&scope_prefix=&plex_writes=&limit=&before_id=->[{id, ts, level, scope, message}], the audit feed.before_idis a cursor, since events are appended while you read.scope_prefixmatches scopes that start with it (case-insensitive on SQLite).plex_writes=truekeeps only the scopes that record a write to Plex or plex.tv, dry-run previews included (they carrymessage.dry_run: true). Filters combine.GET /api/notifications->{items[]}.POST /api/notifications/dismiss {id}dismisses one alert.GET /api/notifications/whats-new->{version, releases[{version, url, published_at, notes}]}: the release notes the owner has not read since upgrading, newest first, taken from the GitHub releases. Empty on a fresh install, on a downgrade, and once closed.POST /api/notifications/whats-new/seen {version}records the newest release the dialog showed and never moves backwards. A version newer than the running build is refused (422).
Two notifications:
- “Playback tracking is offline” is raised when the PMS notification socket has been unreachable for 45+ minutes. It can’t be dismissed (like “Runs are paused”), clears itself on reconnect and returns on a new outage. The listener retries indefinitely, backing off from 5s to 120s, and a connection has to survive 60s to count as recovery. An unreachable but configured Plex counts as an outage, an unfinished install doesn’t. Finished watches are still credited. What stops is the partial-watch signal, which only the live socket can see.
- “A scheduled job didn’t run” (several at once read “N scheduled jobs didn’t run”) is raised when a scheduled job was skipped for starting too late, typically because Shortlist was busy. It can be dismissed, covers the last day, and a later miss shows it again. The job runs again at its next scheduled time. Row runs are never skipped for starting late.
The audit feed records each skip as schedule.missed (warning) with job (the job id), name (its label on the Activity → Jobs tab, when it has one), scheduled_for (when it was due, UTC) and late_by_s.
These scopes describe what a pass did to Plex. Each can come from a run (carrying its run_id) or from a background job, which carries job (privacy.sync, user.restore, rows.visibility or sync.check) and a null run_id.
run.privacy_sync(info): one per share filter written, with the account and each field’s before and after.run.sweep(warning): rows deleted because no share filter could hide them.run.demote(info): rows taken off Home, each with the reason.run.orphan_delete(warning): orphaned rows deleted because their label names no one Shortlist knows.
Outgoing notifications
Set up in Settings → Connections → Webhook (notify.webhook.url, notify.webhook.auth_header_name, notify.webhook.auth_header_value, notify.webhook.enabled, notify.webhook.events).
Each event in notify.webhook.events POSTs JSON {source, version, id, severity, title, message, event, path, sent_at} to one webhook, plus content and text carrying “title\nmessage” for Discord and Slack.
- Events:
run.started,run.finished,run.partial,run.failed,run.stopped,job.started,job.finished,job.failed,job.skipped,privacy.exposure,requests.waiting,update.available(andtestfor the button). Default["run.failed", "privacy.exposure"]. An unknown name is a 422. - Dry runs and dry-run jobs send nothing.
job.startedandjob.finishedskip routine jobs (watch.reconcile) and retries. A scheduledprivacy.syncnever sendsjob.started, and one that changed nothing never sendsjob.finished.job.failedmeans out of retries.job.skippedis a scheduled job APScheduler dropped for starting too late.notify.sendnever reports on itself.privacy.exposureis a count of accounts, never names, repeated at most once a day while true.requests.waitingis sent after a run when more titles wait than last time.update.availableis sent once per version.- No message carries a person’s name, a job’s detail, or a job’s error.
- Delivery uses the job queue, so retry and backoff apply. The “Send a test” button uses the same code path as a real alert.
notify.webhook.urlis a secret (a Discord or Slack webhook URL is a bearer token in a URL). It is stored encrypted, redacted fromGET /api/settings, and stripped of its path and query in any error text (logs, job errors, the audit trail, the support bundle).notify.webhook.auth_header_valueis a secret too. It is sent as<auth_header_name>: <value>on every POST when both it and the name are set, and removed from any error text. The name must be a valid header name or blank (default Authorization; blank sends no header). The value must be printable text with no leading or trailing spaces, or the save is a 422.
Settings and connections
GET/PUT /api/settings
POST /api/settings/test/{plex|tautulli|tmdb|llm|radarr|sonarr|overseerr|mdblist|trakt|exa|searxng|keenable|native_search|notify}
GET /api/settings/defaults
GET /api/settings/arr/{radarr|sonarr}/options
GET /api/settings/overseerr/options
POST /api/settings/curator/models {provider?, api_key?, ollama_url?}
- A PUT that changes anything also writes a
settings.changeaudit event carrying{changed: {key: {from, to}}, actor: {via, account_id, client}}.changedcovers the changed keys only (secrets record<redacted>on both sides, long object values are summarised).viaisbrowserorapi_token, andclientis a truncated User-Agent. No client IP is recorded, because these rows are immutable and the support bundle exports them. Read it back with/api/events/log?scope=settings.changeto see which thresholds a past run used, and what changed them. defaults->{key: default}. Every setting’s built-in default, with secrets and private keys left out. The Settings page uses it to mark a changed value and offer a reset.arr/{radarr|sonarr}/options->{quality_profiles, root_folders}.overseerr/options->{users[], default_user_id}. The instance’s accounts for the “request as” dropdown, each with whether it auto-approves films and shows and whether it belongs to a real person.default_user_idis the account the API key itself is, so the UI can resolve “Server default”. No profiles or folders, those are Overseerr’s own.curator/models->{provider, models[]}. Models the provider offers. The body lets the picker list the provider being edited before it is saved: blank fields fall back to saved settings, and a redacted key means “use the saved key”.[]means free-text fallback.
Reports and the dashboard
GET /api/report?window=7|30|90|all -> {window, since, first_pick, overall, trend[], per_user[], per_row[], recent[], watch_sync, coverage, runs, requests, top_titles}. What got watched, from picks.watched_at. It is windowed (default 30 days), and each headline figure is carried alongside its previous equal period so the UI can show a change.
overall.viewing_shareis{watched, from_rows, rate}: the share of titles enabled people watched in the window that a row of theirs was showing.first_pickis the oldest pick on record (null when there are none). On a young install every window covers all the data, so 7, 30, 90 and all match, and the UI comparesfirst_pickagainstsinceto say why. It also gates the comparison:watched_prev,watchers_prevand every*_deltaare null unless the previous period is one Shortlist was installed for its whole length. The UI then says “no earlier period yet”.requests.watched_after_sentcompares a watch againstrequest_candidates.sent_at, stamped when the status flips to “sent” (rows from before that fall back toupdated_at).overall.bouncedandoverall.droppedsplit the picks that were started and abandoned, by how far they got (under 5%, and past it). They come from live playback (watch_sessions), not from Plex’s watched flag, which can’t see a partial play, so both are 0 until the playback listener has observed some.- Every count comes in a watched and finished pair (
overall.finished,landing.finishedandfinished_rate, and afinishedon eachper_user,per_rowandtrendentry).watchedis Plex’s own flag, which for a series flips on the first finished episode.finishedis the stricter count: a film played, or a series with every episode watched. See Watched vs finished. Sorting useswatched. overall.finishedcarries no_prevor_delta: the previous window’s finishes have had longer to complete, so a steady server would report a decline.overall.landingis the one ratio, computed over a matured cohort: picks delivered in the window and at least 30 days old.per_userandper_rowreturn counts, not rates, sorted by what was watched.- Each
per_userentry carriesenabled(false for someone disabled since).coverage.users_watchedand its delta count enabled people only.
Shared rows count here too. They write no pick rows: their credits live in shared_row_watches and fold into the same per-(person, title) outcome, so a title on both a personal and a shared row counts once.
- A shared-row credit needs a play that both the retained delivery and audience records say that person could see at the time. Plex’s watched flag alone never credits one. Matching uses the delivery interval containing the play’s timestamp, even when the play arrives after a later row rebuild.
- Un-watching in Plex withdraws a credit only when Plex’s flag was the sole evidence. Each sync withdraws, so the credit is gone on the next sync after you un-mark. A credit backed by observed playback (a live session or a play-log entry) is kept, and so are credits older than 30 days. Nothing is withdrawn for someone whose read came back empty or couldn’t be proven complete (an unreadable library that night leaves their credits untouched).
- Progress is the furthest across all sittings and only moves up. The credit stays pinned to the first time they pressed play.
- Every figure that counts a watch includes shared rows:
overall.watched,finishedandwatchers,bouncedanddropped,trend,per_user,per_row,top_titles,recentandrequests.watched_after_sent.delivered,landingandavg_days_to_watchdo not, because a shared row is one collection for the whole server with no per-person delivery. Itsper_userandper_rowline shows watched and finished with no “delivered” clause.
Other report endpoints:
POST /api/report/syncreturns 202 and kicks off a watch-history sync. It re-reads every person’s watched set from Plex so hit rates and “N titles watched” stay fresh between runs. It writes nothing to Plex.GET /api/report/engagement?window=7|30|90|all->{window, people[]}. What people did with their picks: per person, with how far each got. Outcomes are per (person, title):finished,dropped,bounced(under 5% in), orwatching(credited, but no live session ever said how far).percentis null where no session observed the play. That is not 0%, and is normal for anything watched before playback tracking was running.GET /api/report/deleted-rows->[{slug, picks, first_seen, last_seen}]. History left behind by rows that no longer exist, biggest first, not windowed.DELETE /api/report/deleted-rows?slug=->{cleared, picks, slugs[]}. It permanently deletes that history. Omitslugto clear every deleted row.- Eligibility is recomputed server-side, so naming a live row’s slug deletes nothing and returns
cleared: 0. - Both
picksrows andshared_row_watchesrows are removed (a shared row writes no picks, so its credits are its only history), and thepicksfield in both responses counts both. deliveriesis not touched: it records which Plex collection is which row, and a real collection must stay cleanable.- Audited as
report.clear_deleted_rows, splitting the total intopick_rowsandshared_watcheswith a per-slug count.
- Eligibility is recomputed server-side, so naming a live row’s slug deletes nothing and returns
Health, tokens and onboarding
GET /api/system/health->{status}. The only unauthenticated endpoint: liveness only, for Docker’s HEALTHCHECK. The version is on the owner-only/system/version.GET /api/system/api-token->{enabled, created_at, token}. Owner only, and the token is revealable.POST->{token, created_at}generates or replaces it.DELETErevokes it.POST /api/system/uninstall {confirm, dry_run?}->{filters_restored, filters_skipped[], filters_unreachable[], filters_failed[], collections_deleted[], collections_detail[{library, person, title}], rows_disabled, dry_run, message}.- It switches every row off and clears its schedules, deletes every Shortlist collection, then restores each account’s share filters from its pre-Shortlist snapshot, in that order, so the excludes hiding a row are never removed while the row still exists.
dry_runpreviews. The real thing needs the literal stringUNINSTALLand returns 409 while a run is in flight.- No single account can stop it. One that has left this server is reported in
filters_skipped. One that plex.tv’s roster omits but Shortlist’s records say is here is infilters_unreachable(retry it). One plex.tv refuses is infilters_failed. A write plex.tv accepted but that couldn’t be verified is still audited, with what was sent.
Support checks (“Have an issue?”)
Read-only diagnostics behind /issue in the UI. Nothing here writes to Plex, plex.tv or the settings a run reads. The only mutations are the mode’s own switch and the audit rows it leaves.
Every tool needs the owner session and support mode switched on. The mode is off by default and lapses after 24 hours.
GET /api/support/status -> {enabled, expires_at, seconds_remaining}
POST /api/support/enable
POST /api/support/disable
status is owner only and works while the mode is off. enable switches the checks on for 24h (audited: events scope support.enable). disable switches them off now.
Everything below also requires the mode to be on, and returns 403 when it is not. Each response carries its own fields plus text: a fixed-width block, at most 76 columns, that the UI’s “Copy for support” button puts on the clipboard verbatim. Credentials are stripped before anything reaches it, including from quoted exception messages.
GET /api/support/health -> {checks[{name, ok, detail}], text}
GET /api/support/title?q= -> {rows[{user, watched_record, viewed_leaf_count, leaf_count, counts_as_watched, cap_pct, delivered[], problem}], flagged[], text}
GET /api/support/person/{slug} -> {user_type, watched_movies, watched_shows, libraries[{section_key, library, titles_known, ever_read}], never_read[], text}
GET /api/support/rows -> {rows[{slug, watched_pct, watched_pct_source, refresh_days, refresh_days_source, idle_hold_days, idle_hold_source, rewatch, unstarted_only}], global_watched_pct, text}
GET /api/support/row-schedule -> {rows[{slug, refresh_days_source, rebuild_every_days, idle_hold_days, idle_hold_source, last_built_at, days_since_built, due}], text}
GET /api/support/libraries -> {libraries[{key, title, type, items}], error, text}
GET /api/support/connection -> {users[{user, has_token, libraries_read[], never_read[]}], problems[], text}
GET /api/support/read-as?user=&endpoint=§ion= -> {status_code, total_size, body, sections[], choices[], text}
GET /api/support/sharing -> {accounts[{user, shortlist_excludes[], other_conditions[], should_hide[], missing[]}], rows_on_plex[], rows_error, missing_excludes_for[], error, text}
GET /api/support/surfaces -> {rows[{library, title, label, marked, rating_key, recommended, own_home, shared_home}], owner_label, on_owner_home[], on_owner_shelf[], unlabelled[], error, text}
GET /api/support/drift -> {ledger_count, plex_count, marked_count, missing_on_plex[], orphans_on_plex[], error, text}
GET /api/support/pick?user=&title= -> {picks[{row, rank, seed_title, sources, affinity, reason}], text}
GET /api/support/missing?user=&title= -> {verdict, hits[], run_id, text}
GET /api/support/funnel?user= -> {stages[{pool, pooled, disposition{}}], delivered, run_id, text}
GET /api/support/ai?user= -> {provider, model, llm_tokens, by_step{}, error, text}
GET /api/support/timeline?user= -> {entries[{at_utc, at_local, kind, what}], text}
GET /api/support/settings-history -> {changes[], last_build_at, change_after_last_build, text}
GET /api/support/jobs -> {jobs[], counts{}, failed, text}
GET /api/support/clocks -> {tz, local_now, utc_now, offset_hours, scheduled[], text}
GET /api/support/database -> {head, tables_present, tables_expected, missing_tables[], indexes, size_mb, text}
GET /api/support/config -> {settings[{env, key, env_set, secret, value, has_value}], text}
GET /api/support/errors -> {lines[], total_matched, log_file, text}
GET /api/support/runs -> {runs[{id, status, trigger, dry_run, started_at, finished_at, stats, people, failed[{user, error}]}], text}
GET /api/support/bundle.txt
GET /api/support/report.zip
GET /api/support/suggestions -> {users[], titles[], libraries[]}
health: Plex, libraries, tokens, TMDB, AI provider, database, clocks, last run. Each is probed independently, so one failure shows as a result.sharingis measured against the rows that exist on Plex. It reportsrows_errorwhen that read fails or comes back empty while marked rows exist.surfacesshows the live Plex promotion flags per row.own_homeon someone else’s row is always a bug, since no share filter applies to the owner.recommendedon one is the Plex limitation described in Why you see everyone’s rows.read-as:endpointis one oflibraries,watched-movies,watched-shows,home-rows.sectionis validated against the keys the PMS just reported, and a URL can’t be supplied. It refuses (409) when a person has no share token and never falls back to the owner’s token.driftonly reports, and reports nothing missing when the Plex read itself failed.marked_countcounts rows by their invisible title marker, which tells “the rows were deleted” apart from “their labels are unreadable”.errors: the newest WARNING and ERROR log lines, redacted.runs: the last five runs and who failed in each.bundle.txtistext/plain, with every server-wide block in one downloadable file.report.zipis the bundle plus every log file, redacted, as one attachment.suggestionsis type-ahead for the inputs above. Owner only, never part of a report.
What a report masks
A report masks credentials, IP addresses and this server’s machine id in its body, in every quoted exception and in every log file inside report.zip. A URL keeps only its scheme and port (https://<host>:32400). It filters the shapes Shortlist knows about, so it cannot prove nothing leaks. Log files carry whatever a dependency printed, so read a report before posting it.
Names in a report
The report prints each account’s Plex username and slug, so a maintainer can follow one person through it. The slug is what appears on Plex as shortlist_<slug>. Replace them before posting if you don’t want them public. The report body prints no nicknames or friendly names. The log files bundled in report.zip are not filtered for names: a row template containing {user} renders as the nickname, and the rendered title is logged on every delivery.