# New Query Builder GUI For Audit Logs

[date: 2026-09-09T12:10:11.834+02:00]

Filtering audit logs in the past meant creating queries with PartiQL, which is... not fun. No autocomplete, no syntax hinting, no inline validation, nada. Minor mistakes made queries fail, and that's not something you want when filtering out critical logs. I mean if you're filtering audit logs you're probably not having the best day to begin with, so why make it worse 😅

To make it a little more "fun", we've added a new GUI for building a filtered query, which should look very familiar to you.

(Image content)

No more guessing whatever a `min_ulid()` is, whether to single or double-quote, or what the correct query path for the record model is... (hint: it was `request['payload']['data']['relationships']['item_type']['data']['id']`... 😬?)

Now, just pick a date range and click to choose your filters, and we take care of the rest.

ℹ️ Audit Logs are only available on our Enterprise plans. If you want to add it to your project, [get in touch](https://datocms.com/contact)!