polymorfa analytics
Read WhatsApp number activity and operational vitals.
polymorfa analytics get
Read WhatsApp number analytics.
Read WhatsApp number activity, completed 24-hour read and reply rates, response times, call outcomes and connection vitals. Requires sessions:read and Analytics enabled in the Console. Project credentials read only their project.
Usage
polymorfa analytics get [flags]Examples
polymorfa analytics get --project PROJECT_ID --jsonpolymorfa analytics get --since 2026-10-01T00:00:00Z --until 2026-10-03T00:00:00ZFlags
--session-id <value>takes a valueLimit to one number record UUID.
--since <value>takes a valueStart time in RFC 3339; defaults to 30 days ago.
--until <value>takes a valueEnd time in RFC 3339; defaults to now.
Also accepts the global flags.
polymorfa analytics metrics
Export collector-compatible analytics metrics.
Write Prometheus or OpenMetrics gauges to stdout. Requires sessions:read and Analytics enabled in the Console. Counts cover completed UTC hours and are not monotonic counters. Project credentials read only their project. Disabled Analytics returns only enablement and window metadata. Use --json for a text body and response metadata envelope.
Usage
polymorfa analytics metrics [flags]Examples
polymorfa analytics metrics --project PROJECT_ID > analytics.prompolymorfa analytics metrics --window-hours 24 --segments --format openmetricsFlags
--format <value>takes a valueMetrics representation.
Allowed valuesprometheusopenmetricsDefaultprometheus--segmentsbooleanInclude bounded metadata category breakdowns.
--session-id <value>takes a valueLimit to one number record UUID.
--window-hours <value>takes a valueCompleted UTC hours to measure.
Default24
Also accepts the global flags.