List the recording rules of a RUM application, in evaluation order. Rules combine with ANY.
const url = 'https://api.siteqwality.com/rum/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rules';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/rum/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rules \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”RUM application identifier
Responses
Section titled “ Responses ”Recording rules
A recording rule.
object
What a matching session records. Replay implies Analyze.
The configured rate, 0.00001 to 1. For an Auto rule, the most Auto may set.
Auto: the rate follows the replay quota, recomputed hourly (Replay rules only).
The rate the SDK uses when the sampling tick has set one: the Auto rate, or a lowered rate for an error rule when errored sessions alone would exhaust the replay quota.
All must hold. Empty means every session.
The page URL, checked on each view. regex values use the common subset of the
Rust and JavaScript syntaxes, at most 256 characters, with no nested quantifiers.
object
A custom event (addAction) with this name.
object
A non-ignored error, optionally narrowed by type, message fragment or handling.
object
A failed request of this class, optionally to a URL containing url_contains.
object
A frustration signal.
object
A final vital above gt (milliseconds for LCP and INP, unitless for CLS).
object
setUser was called with an id. A struct variant so unknown fields are refused.
object
A global attribute or user trait equals value.
object
The device class at init.
object
The release passed at init.
object
The environment passed at init.
object
Sampled recordings upload only once the session is this old. Error conditions bypass it.
Sampled recordings upload only after a user interaction. Error conditions bypass it.
Example
[ { "capture": "analyze", "conditions": [ { "op": "contains", "kind": "url" } ] }]Missing or invalid authentication
Application not found
Internal server error