Skip to content
Rigel docs
Open Rigel

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#

What the household's browsers reported: parameters
FieldDescription
household_idpathstringrequired

The household's ID, hh_….

sincequeryinteger or nulloptional

Only events the server got after this time, UTC milliseconds.

at least 0
kindquerystringoptional

Only these kinds, comma-separated, such as error,stall.

limitqueryintegeroptional

At most this many, 1 to 500.

1 to 500Default 100

Response#

200 The events, newest first.

What the household's browsers reported: response fields
FieldDescription
itemsarray of objectsrequired
items[].idstringrequired

The event's ID, cev_….

items[].kindstringrequiredNo description.
items[].messagestringrequiredNo description.
items[].detailobjectrequired
items[].sourcestringrequiredNo description.
items[].tab_idstringrequiredNo description.
items[].client_idstring or nullrequiredNo description.
items[].buildstringrequiredNo description.
items[].pathstringrequiredNo description.
items[].user_agentstringrequiredNo 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.

What the household's browsers reported: errors
StatusCodeWhen
400validation_failedA field is missing, misspelled or out of range. details.fields lists each problem.
401unauthenticatedThe request has no valid session.
403Read error.codeDescribed above.
404not_foundThe 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.

Request, curl
curl 'https://rigel.house/api/v1/households/hh_01K9BKKP003AHRZ6DMV29GQY5C/client-events?since=1&kind=example' \
  -H "Cookie: rigel_session=$RIGEL_SESSION"
Request, TypeScript
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();
Request, HTTP
GET /api/v1/households/hh_01K9BKKP003AHRZ6DMV29GQY5C/client-events?since=1&kind=example HTTP/1.1
Host: rigel.house
Cookie: rigel_session=<your session>
Response, 200
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"
    }
  ]
}

Rigel is in early access, and sign-up is by invitation. Open Rigel