# REST API query $or doesnt seem to properly work

**URL:** <https://forum.builder.io/t/rest-api-query-or-doesnt-seem-to-properly-work/4835>\
**Category:** Technical Questions\
**Tags:** api\
**Created:** [January 22, 2024, 12:45pm UTC](https://forum.builder.io/t/rest-api-query-or-doesnt-seem-to-properly-work/4835 "2024-01-22T12:45:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [January 22, 2024, 4:42pm UTC](https://forum.builder.io/t/rest-api-query-or-doesnt-seem-to-properly-work/4835/4 "2024-01-22T16:42:06Z")

</div>

Hello @djkenneth,

Here is an example that is working for us

```auto
  const articles = await builder.getAll('blog-article', {
    // Include references, like the `author` ref
    options: { includeRefs: true },
    limit: articlesPerPage,
    query: {
      'data': { 
        "$or": [ 
          { 
            "title": { "$eq": "Qwik Blog" }
          }, 
          { 
            "title": { "$eq": "Partytown blog" }
          }
        ]
      }
    }    
  })

```

---

_[View the full topic](https://forum.builder.io/t/rest-api-query-or-doesnt-seem-to-properly-work/4835)._
