# Getting an assets using filters doesn't work

**URL:** <https://community.wowza.com/t/getting-an-assets-using-filters-doesnt-work/95206>\
**Category:** Wowza Developer Dojo\
**Created:** [July 28, 2022, 10:08am UTC](https://community.wowza.com/t/getting-an-assets-using-filters-doesnt-work/95206 "2022-07-28T10:08:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Developer\_Gemsplus](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@Developer\_Gemsplus](https://community.wowza.com/u/Developer_Gemsplus)\
**Post date:** [July 28, 2022, 10:08am UTC](https://community.wowza.com/t/getting-an-assets-using-filters-doesnt-work/95206/1 "2022-07-28T10:08:52Z")

</div>

I’m trying to get all of the completed assets by using this query.

[https://api.video.wowza.com/api/v1.8/assets?filter[0][field]=state&filter[0][eq]=completed](https://api.video.wowza.com/api/v1.8/assets?filter%5B0%5D%5Bfield%5D=state&filter%5B0%5D%5Beq%5D=completed)  
Authorization: Bearer JWT\_TOKEN

But still, assets with the different states show up.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/2X/a/acc785312b232919ded9722e262db2225cc69c02.png)

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 1, 2022, 6:57pm UTC](https://community.wowza.com/t/getting-an-assets-using-filters-doesnt-work/95206/2 "2022-08-01T18:57:24Z")

</div>

> [@Developer\_Gemsplus](#):
>
> [https://api.video.wowza.com/api/v1.8/assets?filter[0][field]=state&filter[0][eq]=completed](https://api.video.wowza.com/api/v1.8/assets?filter%5B0%5D%5Bfield%5D=state&filter%5B0%5D%5Beq%5D=completed)

Let me check for you and see if it requires a different call or if this is a potential error in the response. Be back soon when I have some info.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 1, 2022, 8:14pm UTC](https://community.wowza.com/t/getting-an-assets-using-filters-doesnt-work/95206/3 "2022-08-01T20:14:02Z")

</div>

Ok so you should be able to get only the assets that have uploaded and are completed with this call:

[https://api.video.wowza.com/api/v1.8/assets?state=completed](https://api.video.wowza.com/api/v1.8/assets?state=completed)

If you still get other states in the response, can you please send a support ticket so we can investigate?  
Thanks.

---

<div class="post-metadata">

**Author:** ![Developer\_Gemsplus](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@Developer\_Gemsplus](https://community.wowza.com/u/Developer_Gemsplus)\
**Post date:** [August 10, 2022, 12:13am UTC](https://community.wowza.com/t/getting-an-assets-using-filters-doesnt-work/95206/4 "2022-08-10T00:13:12Z")

</div>

It shows on your API documentation that we can do a filtered query. Is this not implemented yet?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/2X/0/0461843479d4bc0dbc68fd6d5729061b71f9e123.png)
