One problem with the house
maintenance.issue.get
GET/api/v1/households/{household_id}/queries/maintenance.issue.get
- Query
- Rigel runs it
One problem: what it is, where, how bad, its status and dates, how it was resolved, its photo and project, and the visits that looked at it, newest first. Fails with issue_not_found.
Parameters#
| Field | Description |
|---|---|
household_idpathstringrequired | The household's ID. |
issue_idquerystringrequired | The problem. |
Response#
200 The answer.
| Field | Description |
|---|---|
idstringrequired | A issue ID, such as iss_01JC0000000000000000000000. |
addressstring or nullrequired | The web route that opens it. |
titlestringrequired | What the problem is. |
notesstring or nullrequired | More detail, as written. |
severityone of: low, medium, high, urgentrequired | How bad it is: low (cosmetic or minor), medium (needs fixing), high (getting worse or costly), urgent (safety, water or no heat). |
statusone of: open, monitoring, resolvedrequired | open (needs work), monitoring (watching a symptom), resolved (fixed or no longer a problem). |
property_idstringrequired | A property ID, such as prp_01JC0000000000000000000000. |
asset_idstring or nullrequired | The item it is about. |
asset_namestring or nullrequired | The item it is about. |
location_idstring or nullrequired | The place it is about. |
location_namestring or nullrequired | The place it is about, as a path such as House › Basement. |
project_idstring or nullrequired | The project working on it. |
project_titlestring or nullrequired | The project working on it. |
opened_onstringrequired | When it was noticed, YYYY-MM-DD. |
resolved_onstring or nullrequired | When it was resolved. |
resolutionstring or nullrequired | How it was resolved. |
photo_file_idstring or nullrequired | A photo of the problem. |
visitsarray of objectsrequired | Visits that looked at it, newest first. |
visits[].idstringrequired | A visit ID, such as vst_01JC0000000000000000000000. |
visits[].addressstring or nullrequired | The web route that opens it. |
visits[].titlestringrequired | What the visit was for. |
visits[].statusone of: scheduled, done, cancelledrequired | No description. |
visits[].starts_atstring (date-time) or nullrequired | When they are due. |
visits[].visited_onstring or nullrequired | When the work happened, YYYY-MM-DD. |
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. |
404 | not_found | The household doesn't exist, or you aren't a member of it. |
Examples#
These are real. Each was recorded from a sample household, the Okafors, running through the whole API when this site was built.
Open a problem
curl 'https://rigel.house/api/v1/households/hh_01M6V9CS6GGVFCY7NAS8ZTQV95/queries/maintenance.issue.get?issue_id=iss_01M6V9CSYDVEZGY1GMEFWZ87YF' \
-H "Cookie: rigel_session=$RIGEL_SESSION"const response = await fetch("https://rigel.house/api/v1/households/hh_01M6V9CS6GGVFCY7NAS8ZTQV95/queries/maintenance.issue.get?issue_id=iss_01M6V9CSYDVEZGY1GMEFWZ87YF", {
headers: {
Cookie: `rigel_session=${process.env.RIGEL_SESSION}`,
},
});
const data = await response.json();GET /api/v1/households/hh_01M6V9CS6GGVFCY7NAS8ZTQV95/queries/maintenance.issue.get?issue_id=iss_01M6V9CSYDVEZGY1GMEFWZ87YF HTTP/1.1
Host: rigel.house
Cookie: rigel_session=<your session>HTTP/1.1 200 OK
Content-Type: application/json
X-Request-Id: req_01M6V9CT15D21Y6P1Y3FR1HQX9
{
"id": "iss_01M6V9CSYDVEZGY1GMEFWZ87YF",
"address": "/maintenance/issues/iss_01M6V9CSYDVEZGY1GMEFWZ87YF",
"title": "Dishwasher not draining fully",
"notes": "An inch of dirty water is left after every cycle. Cleaning the filter didn't fix it.",
"severity": "medium",
"status": "open",
"property_id": "prp_01M6V9CSTXS6P4CG6RNTNT60FA",
"asset_id": "ast_01M6V9CSVH77630WV0WA1X2DAK",
"asset_name": "Dishwasher",
"location_id": null,
"location_name": null,
"project_id": null,
"project_title": null,
"opened_on": "2026-10-29",
"resolved_on": null,
"resolution": null,
"photo_file_id": null,
"visits": [
{
"id": "vst_01M6V9CSZ6JREAG7RJGS2CZF57",
"address": "/maintenance/visits/vst_01M6V9CSZ6JREAG7RJGS2CZF57",
"title": "Look at the dishwasher drain",
"status": "scheduled",
"starts_at": "2026-11-13T15:00:00.000Z",
"visited_on": null
}
]
}For Rigel#
Rigel's tool for this query is maintenance_issue_get. Rigel runs this on its own, then says what it did. The agent guide has the rest.