Whether a RUM application is receiving data: the newest measure in the last 24 hours and the sessions behind it. Cheap enough to poll while installing the SDK.
GET
/rum/{app_id}/ingest-status
const url = 'https://api.siteqwality.com/rum/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/ingest-status';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/ingest-status \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” app_id
required
string format: uuid
RUM application identifier
Responses
Section titled “ Responses ”Ingest status
Media type application/json
object
last_seen_at
Newest measure in the last 24 hours; null when there is none.
string | null
sessions_last_hour
required
integer format: int64
sessions_last_24h
required
integer format: int64
Example generated
{ "last_seen_at": "example", "sessions_last_hour": 1, "sessions_last_24h": 1}Missing or invalid authentication
Application not found
Internal server error