What the household's browsers reported
client_events
GET/api/v1/households/{household_id}/client-events
- Route
The events the web app reported for this household in the last 7 days, newest first: errors, the device database and sync, load times and stuck screens. Personal API tokens can read it.
Parameters#
| Field | Description |
|---|---|
household_idpathstringrequired | The household's ID, hh_…. |
sincequeryinteger or nulloptional | Only events the server got after this time, UTC milliseconds. |
kindquerystringoptional | Only these kinds, comma-separated, such as error,stall. |
limitqueryintegeroptional | At most this many, 1 to 500. |
Response#
200 The events, newest first.
| Field | Description |
|---|---|
itemsarray of objectsrequired | |
items[].idstringrequired | The event's ID, cev_…. |
items[].kindstringrequired | No description. |
items[].messagestringrequired | No description. |
items[].detailobjectrequired | |
items[].sourcestringrequired | No description. |
items[].tab_idstringrequired | No description. |
items[].client_idstring or nullrequired | No description. |
items[].buildstringrequired | No description. |
items[].pathstringrequired | No description. |
items[].user_agentstringrequired | No description. |
items[].user_idstringrequired | Whose browser it was, usr_…. |
items[].atstring (date-time)required | When it happened, by the browser's clock, UTC. |
items[].received_atstring (date-time)required | When the server got it, UTC. |
Errors#
Every error has the same envelope: error.code, error.message, error.details, error.recovery and error.request_id.
| Status | Code | When |
|---|---|---|
400 | validation_failed | A field is missing, misspelled or out of range. details.fields lists each problem. |
401 | unauthenticated | The request has no valid session. |
403 | Read error.code | Described above. |
404 | not_found | The household doesn't exist, or you aren't a member of it. |
Examples#
No call has been recorded for this operation yet, so this example is built from its schema. The values are placeholders.
Built from the schema
Not recorded from a real call: the fields are filled in from the schema, so the values are placeholders.
curl 'https://rigel.house/api/v1/households/hh_01K9BKKP003AHRZ6DMV29GQY5C/client-events?since=1&kind=example' \
-H "Cookie: rigel_session=$RIGEL_SESSION"const response = await fetch("https://rigel.house/api/v1/households/hh_01K9BKKP003AHRZ6DMV29GQY5C/client-events?since=1&kind=example", {
headers: {
Cookie: `rigel_session=${process.env.RIGEL_SESSION}`,
},
});
const data = await response.json();GET /api/v1/households/hh_01K9BKKP003AHRZ6DMV29GQY5C/client-events?since=1&kind=example HTTP/1.1
Host: rigel.house
Cookie: rigel_session=<your session>HTTP/1.1 200 OK
Content-Type: application/json
X-Request-Id: req_01K9BKNGK0ENW3AHRZ6DMV29GQ
{
"items": [
{
"id": "inv_01K9BKNGK0ENW3AHRZ6DMV29GQ",
"kind": "example",
"message": "example",
"detail": {},
"source": "example",
"tab_id": "example",
"client_id": "cli_01K9BKQB60S07ENW3AHRZ6DMV2",
"build": "example",
"path": "example",
"user_agent": "example",
"user_id": "usr_01K9BKS5S04BJS07ENW3AHRZ6D",
"at": "2026-11-06T18:00:00Z",
"received_at": "2026-11-06T18:00:00Z"
}
]
}