Beacon
Report Client Events
Report JavaScript errors, logs, traces, and performance metrics from your frontend
POST
This endpoint does not require API key authentication. Use your beacon public key (
bpk_...) in the request body.Body Parameters
Your beacon public key (
bpk_...) or API keyArray of events to report
Event Object
Event type:
error, log, trace, vital, page_load, slow_requestUnix timestamp in milliseconds
Unique session identifier
Page URL where event occurred
Service/app name
Environment:
production, staging, developmentEvent-specific data (error message, stack trace, etc.)
User context:
{ id, email, username }Response
Whether events were recorded
Number of events received