# Api filter multi-level

**URL:** <https://discourse.getcockpit.com/t/api-filter-multi-level/2841>\
**Category:** Cockpit v2\
**Created:** [July 18, 2023, 9:34pm UTC](https://discourse.getcockpit.com/t/api-filter-multi-level/2841 "2023-07-18T21:34:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![catherineraza](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/catherineraza/32/1375_2.png) [@catherineraza](https://discourse.getcockpit.com/u/catherineraza)\
**Post date:** [July 18, 2023, 9:34pm UTC](https://discourse.getcockpit.com/t/api-filter-multi-level/2841/1 "2023-07-18T21:34:22Z")

</div>

Hi, i have a multi level content that looks like this  
{  
“title”: “myTitle”,  
“sections”: [  
{ “id”: “1”,  
“title”: “section title”  
},  
{ “id”: “2”,  
“title”: “section 2 title”  
}  
]  
}

I want to make a call to the api with a filter by sections id but i have tried many things, like

`api/content/items/MyObject?filter={'sections.id': '1'}&token=xxx`

and nothing is working. How can I filter multi level with cockpit version 2.6 ?

Thank you for any help.
