Skip to content
Back

Realtime queries - do they work on response.events or only on response.payload?

  • 0
  • Self Hosted
  • Realtime
ddenev
21 May, 2026, 11:23

The current Realtime Queries docs are not very clear on the subject - when using queries to filter the subscription results, can we query on the response.events list or is the query applied only on the response.payload object? All examples in the doc seem to use payload properties so it's not clear to me if I can filter by event.

https://appwrite.io/docs/apis/realtime/queries https://appwrite.io/blog/post/announcing-realtime-queries

TL;DR
Realtime queries work with both response.events and response.payload in Appwrite's Realtime Queries. The documentation primarily showcases payload properties, but filtering by event is possible as well.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more