<@U04UQ68083H> is it possible to get statistics on...
# ory-copilot
c
@chilly-king-10285 is it possible to get statistics on how many of our users are using TOTP?
b
A message from kapa.ai
Based on the knowledge sources provided, there isn't specific information about getting statistics on how many users are using TOTP (Time-based One-Time Password) in your Ory project. However, for enterprise customers, Ory offers "Live event streams" which might help with this use case: > You can stream events (sign-ups, logins, machine-to-machine tokens issued, and many more) in real-time, live as they happen in your Ory Network project, to your own infrastructure. Pipe those events into your own data warehouse, data lake, or flavor of choice, and use them to power your own analytics, dashboards, data science, and more. > > Live event streams are available for Ory Network enterprise contracts. [Live event streams](https://www.ory.sh/docs/actions/live-events) could potentially be used to track authentication methods, including TOTP usage, which you could then analyze to determine how many users are utilizing TOTP. Alternatively, you might be able to query your Ory identities directly to check which ones have TOTP credentials configured. When a user enables TOTP, Ory adds specific entries to the
credentials
object of the associated Identity, as mentioned in the documentation:
Copy code
credentials:   password:     id: totp     identifiers:       - 802471b9-06f5-49d4-a88d-5e7d6bcfed22     config:       totp_url: <otpauth://totp/Example:user@example.com?secret=JBSWY3DPEHPK3PXP&issuer=Example>
For more detailed options or a definitive solution, you might want to reach out to Ory support directly.