ManualLens API
Answers about your household devices from your own manual, with the page. Save a device, add its manual and ask a question such as "E4 flashes, what do I do?": every quote is copied from the manual, every citation names the page it is printed on, and the answer is checked in code before you see it. When the manual does not say, the answer says so. Machine-readable spec: /api/openapi.json.
Authenticate
Create keys on the dashboard under Settings and send Authorization: Bearer $MANUALLENS_KEY; X-API-Key works too. A dashboard session cookie is not accepted here.
Save a device and its manual
curl -H "Authorization: Bearer $MANUALLENS_KEY" -H "Content-Type: application/json" \
-d '{"brand":"Brightwell","model":"WM-400","source":"typed","confirmed":true}' \
https://manuallens.sensifai.com/api/v1/devices
curl -H "Authorization: Bearer $MANUALLENS_KEY" -F [email protected] -F rights_attested=true -F consent=true \
https://manuallens.sensifai.com/api/v1/devices/{device_id}/manuals
A manual that does not name the device's model is stored but never used for answers. Adding a manual is free.
Ask
curl -H "Authorization: Bearer $MANUALLENS_KEY" -H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \
-d '{"device_id":"{device_id}","question":"E4 flashes, what do I do?","consent":true}' \
https://manuallens.sensifai.com/api/v1/questions
# 202 {"job_id":"...","question_id":"...","state":"answering","poll":"/api/v1/jobs/..."}
curl -H "Authorization: Bearer $MANUALLENS_KEY" https://manuallens.sensifai.com/api/v1/questions/{question_id}
Job states: queued, running, succeeded, failed, cancelled. One unit is billed only when a verified answer (answered or partial) is delivered. Unsafe requests are refused with a fixed safety notice and questions the manual does not cover are abstained: both come back at once (201) and are never billed, nor are failed or cancelled jobs.
Checks
Every revision carries 30 independent checks: citation pages, verbatim quotes of at most 25 words, numbers and error codes found in the cited passages, no hazardous steps. A failing hard check blocks POST /questions/{id}/confirm and is listed in blockers.
Errors
Problems are RFC 7807 JSON with a stable code: INVALID_INPUT, NEEDS_CONSENT, UNSUPPORTED, QUOTA_EXCEEDED, NOT_FOUND, NOT_CONFIRMED and CONFLICT. 402 means the prepaid wallet is empty (top_up_url), 403 that there is no active subscription (subscribe_url) or consent.