get_interaction_log
Export real INP (Interaction to Next Paint) time series for a session with per-interaction latency, event type, target, and URL. Saves JSON or CSV and returns percentile stats (p50/p75/p90/p98/worst).
Instructions
Export the real INP (Interaction to Next Paint) time series for a session — one record per interaction Periscope drove (click/typing), each with its input-to-next-paint latency, event type, target, timestamp, and URL. Saves a JSON (for graphing) or CSV file and returns percentile stats (p50/p75/p90/p98/worst). Use after driving interactions (interact_and_test, click_element, fill_form…) — ideal for a long interactive test where you want to see all INP times, not just the worst. Unlike Lighthouse (which can't measure INP in lab mode and falls back to TBT), this is measured from actual Event Timing entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Reset the recorded interactions after exporting (default: false) | |
| format | No | Export format (default: json). JSON is easiest to graph; CSV for spreadsheets. | |
| session_id | Yes | Session ID |