Go to website
Managing data in Flagsmith, with integrations, or exporting it to your own infrastructure.
Is it possible to query the users who have a particular flag turned on or off?
Yes, you can do something like: https://api.flagsmith.com/api/v1/environments//identities/?page=2&page_size=10 Then you can filter if you open our browser inspector. It's possible to search against ID: /identities/?q=produc&page_size=10
Can I set up an asynchronous process to fetch the most recent flags and cache the result for an offline client to use?
A best practice used is using eg. Redis and a webhook set up to point to their infrastructure which in turn keeps Redis up to date. There is not an implementation for caching on the server side as it's difficult for Flagsmith to know what sort of resources you have available at runtime.
What events can I send from Flagsmith into my own infrastructure?
We have webhooks for both flag change events and audit log events. We do not have webhooks at the user level at present. More info here: https://docs.flagsmith.com/system-administration/
Is it possible to export the users to a .CSV or something similar?
Yes, you can grab them via the API.
How do I keep sensitive customer data within my own systems while still registering them as Identities in Flagsmith?
You are in control of what traits you send, so for example you could send us tenancy ID that the user is working within, and then use that to define a segment. Additionally, with Enterprise customers we have a setting we can utilize that when enabled, allows you to send us the data so that our segment engine can process it and provide the relevant results, but never persist the data to disk.
Is there a way to get a list users that have a certain trait via the API?
Unfortunately Flagsmith does not have this capability at the moment.