# Monitoring unmatched via API call

**URL:** <https://forums.plex.tv/t/monitoring-unmatched-via-api-call/836368>\
**Category:** Metadata & Adding Files\
**Tags:** server-linux\
**Created:** [April 1, 2023, 9:14am UTC](https://forums.plex.tv/t/monitoring-unmatched-via-api-call/836368 "2023-04-01T09:14:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffski10](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jeffski10/32/245243_2.png) [@jeffski10](https://forums.plex.tv/u/jeffski10)\
**Post date:** [April 1, 2023, 9:14am UTC](https://forums.plex.tv/t/monitoring-unmatched-via-api-call/836368/1 "2023-04-01T09:14:42Z")

</div>

I’ve been seeing lately episodes found by the scanner but no metadata fetched. I created an auto collection for TV shows to list these so I can click through them to refresh the metadata at which point they work. What I’d like to do is add a sensor on my home assistant to highlight when I need to go into Plex to do this but cannot get that collection to show in the API.

If I use [http://192.168.0.100:32400/library/sections/1/collection/](http://192.168.0.100:32400/library/sections/1/collection/)? I get the list of collections but this one doesn’t show up.

Any ideas how I can call back to Plex to see if there are items in that collection?

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [April 1, 2023, 3:39pm UTC](https://forums.plex.tv/t/monitoring-unmatched-via-api-call/836368/2 "2023-04-01T15:39:38Z")

</div>

When you edit your collection, you’ll see the key in the url, like:

 ![image](https://global.discourse-cdn.com/plex/original/4X/4/1/4/414f27652971633e034c72f1ace816255b56ea01.png)

In above, my key for the collection is `74606`

So I can then use this url:

 ![image](https://global.discourse-cdn.com/plex/original/4X/6/2/b/62bec7f8e3dc3d4e8aa92b5fc9b9d9bb8974273d.png)

that will return:

 ![image](https://global.discourse-cdn.com/plex/original/4X/c/f/0/cf0fe3f5ba56798b124a3bfea00521169bfd978e.png)

And in above, I see 31 shows with episodes that matched my collection

---

<div class="post-metadata">

**Author:** ![jeffski10](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jeffski10/32/245243_2.png) [@jeffski10](https://forums.plex.tv/u/jeffski10)\
**Post date:** [April 1, 2023, 4:05pm UTC](https://forums.plex.tv/t/monitoring-unmatched-via-api-call/836368/3 "2023-04-01T16:05:07Z")

</div>

Great - I was close as I’d found the the ID just not the right collection URL. Cheers,

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [June 30, 2023, 4:05pm UTC](https://forums.plex.tv/t/monitoring-unmatched-via-api-call/836368/4 "2023-06-30T16:05:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
