API documentation
Run the same analysis as the workspace from your own software. Every successful call costs €0.05 and is charged to the Sensifai wallet of the person who created the key. Unsuccessful calls are free.
1. Create a key
Sign in, open the workspace and go to API keys. Give the key a name and, if you like, a monthly cap. The key is shown once. It looks like breakermap_live_… and only works for BreakerMap.
2. Call the endpoint
POST https://breakermap.sensifai.com/api/v1/run
Authorization: Bearer YOUR_KEY (or X-API-Key: YOUR_KEY)
Content-Type: application/json
{
"mode": "triage",
"language": "English",
"note": "Kitchen and bathroom outlets died when the kettle ran. DIN-rail panel with German labels.",
"images": [
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ..."
]
}3. Read the result
{
"id": "run_7f3c2a91",
"result": {
"mode": "triage",
"panelStandard": "EU DIN-rail",
"detectedLanguage": "German",
"targetLanguage": "English",
"readabilityScore": 86,
"readabilitySummary": "All switches and German labels are legible except slot 6 on row 1.",
"severity": "tripped",
"headline": "The 30mA earth-leakage RCD at Row 1 · #2 is tripped down.",
"summary": "An earth-leakage fault or moisture on Group A tripped the 30mA RCD while branch breakers stayed upright.",
"trippedBreakers": [
{
"position": "Row 1 · #2 from left",
"code": "40A 30mA FI/RCD",
"label": "RCD Group A (Kitchen & Bathroom)",
"leverState": "Tripped down",
"likelyCause": "Earth-leakage fault from kettle or damp outlet"
}
],
"resetChecklist": [
"Keep the inner cover closed, hands dry and stand on a dry floor.",
"Unplug the kettle and damp kitchen appliances.",
"Flip Row 1 · #2 firmly up to ON."
],
"electricianRedFlags": [
"Trips again immediately with appliances unplugged.",
"Buzzing, burnt plastic smell, warm cover or scorch marks."
],
"breakers": [
{
"id": "R1-02",
"row": 1,
"slot": 2,
"positionLabel": "ROW 1 · #2",
"code": "40A 30mA FI",
"amps": "40A",
"type": "RCD/FI",
"status": "tripped",
"originalLabel": "FI-Schalter A",
"translatedLabel": "RCD safety switch (Kitchen & Bath)",
"areaGroup": "Main / Safety",
"visibility": "clear",
"notes": "Protects slots 3 to 6"
}
],
"glossary": [
{
"marking": "40A 30mA FI/RCD",
"plainMeaning": "Safety switch that cuts power if 30mA leaks to earth.",
"category": "Earth-leakage protection"
}
],
"visibilityWarnings": []
},
"charge": {
"amountEur": 0.05,
"currency": "EUR"
}
}Every response has an X-Request-Id header. Quote it when you contact support. Rate limit: 60 calls per minute per key, reported in X-RateLimit-Limit and X-RateLimit-Remaining.
Errors
Errors use one shape: {"error": {"code", "message", "requestId"}}.
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_JSON, INPUT_TOO_SHORT, INPUT_TOO_LONG, INVALID_IMAGE, TOO_MANY_IMAGES, INVALID_MODE, INVALID_LANGUAGE | Fix the request. Not charged. |
| 401 | INVALID_API_KEY | Missing, malformed, revoked, or a key from another app. |
| 402 | PAYMENT_REQUIRED, KEY_SPEND_CAP_REACHED | Add funds or raise the key's cap. Not charged. |
| 413 | PAYLOAD_TOO_LARGE | Body over 6 MB. |
| 429 | RATE_LIMITED, TOO_MANY_PARALLEL_RUNS | Wait for the Retry-After seconds. |
| 502 | BILLING_UNAVAILABLE | The charge failed, so no result was returned. Not charged. |
| 503 | AI_UNAVAILABLE, WALLET_UNAVAILABLE | Temporary. Retry with backoff. Not charged. |
OpenAPI
Machine-readable description: https://breakermap.sensifai.com/api/v1/openapi
Privacy
Inputs and results are not stored. Responses never include the key owner’s identity. If your input contains personal data, you are responsible for having a legal basis to send it.