Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Lightning Usage by Page

Represents standard pages users viewed most frequently in Lightning Experience. This resource is available in REST API version 44.0 and later.

Use this object with the following APIs:

  • Platform
  • Metadata API
  • Tooling API

Syntax

URI: /services/data/vXX.X/sobjects/LightningUsageByPageMetrics

Formats: JSON, XML

HTTP methods: GET

Example

Considerations

The data in LightningUsageByPageMetrics is generated by a daily aggregation Spark job. Logs from the entire day, including raw EPT values, are processed and aggregated before being stored in the object. Due to this aggregation process, counts in LightningUsageByPageMetrics may not always match raw Event Monitoring logs.

Note

Raw EPT values (orig_ept) undergo validation and filtering before aggregation as ept values in LightningUsageByPageMetrics. Only valid EPT values are included in aggregated fields such as ValidEptCount, medianEpt, sumEPT, and EPT bucket counts.

A raw EPT value is considered valid if it falls within the following range:

If a raw EPT value is outside of this range, it's treated as invalid and gets aggregated as ept = 0.