<@U04UQ68083H> How can I get event metris via API....
# ory-copilot
h
@chilly-king-10285 How can I get event metris via API. I want to get the same statistics which can I check in Activity -> Logs & events?
b
A message from kapa.ai
Based on the knowledge sources, Ory provides several ways to access event metrics and activity logs. For accessing event streams via API, you can use the Ory CLI command:
Copy code
ory list event-streams [flags]
This command allows you to list your event streams with options like specifying the project, workspace, and output format [Ory CLI documentation](https://www.ory.sh/docs/cli/ory-list-event-streams#ory-list-event-streams). Ory Network offers live event streaming capabilities, which is mentioned in the pricing information. The Enterprise plan includes "Live Event Streaming Firehose (PubSub/Stream)" for $500.00/month and charges $0.0005 per event sent [Ory Pricing](https://www.ory.sh/pricing/). For monitoring activity, Ory provides: 1. Live Analytics and Insights: Available in all paid plans 2. Historical Analytics and Insights: Retention varies by plan (24 hours in the basic plan, 7 days in Production, 90 days in Enterprise) The documentation also mentions that you can "stream events (sign-ups, logins, machine-to-machine tokens issued, and many more) in real-time" [Event streams documentation](https://www.ory.sh/docs/guides/operations). For monitoring during system transitions, the migration guide suggests using live events under "Activity → Logs & Events" in the Ory Console [Migrate to Ory tutorial](https://www.ory.sh/docs/migrate-to-ory#go-live). However, the knowledge sources don't provide specific API endpoints or detailed information about how to access the same statistics available in the Console's Activity → Logs & Events section programmatically. For more detailed information, you might want to check the complete API documentation or contact Ory support.