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 dashlight_live_… and only works for DashLight.
2. Call the endpoint
POST https://dashlight.sensifai.com/api/v1/run
Authorization: Bearer YOUR_KEY (or X-API-Key: YOUR_KEY)
Content-Type: application/json
{
"lightBehavior": "flashing",
"vehicle": "2019 Volkswagen Golf",
"symptom": "Check engine light is flashing amber alongside EPC light; engine feels rough at idle."
}3. Read the result
{
"id": "run_7f3c2a91",
"result": {
"verdict": "stop_now",
"verdictLabel": "STOP SAFELY NOW — DO NOT DRIVE",
"verdictSummary": "A flashing check engine light with EPC means unburned fuel is entering the exhaust from an active misfire. Pull over safely and shut off the engine.",
"safetyScore": 14,
"detectedIcons": [
{
"name": "Check Engine (Malfunction Indicator)",
"color": "amber",
"state": "flashing",
"confidence": "High",
"system": "Engine & Ignition",
"meaning": "Active cylinder misfires detected that can overheat the catalytic converter."
}
],
"linkedClusterNote": "Check Engine flashing with EPC commonly stems from one ignition coil or spark plug fault.",
"likelyCauses": [
{
"cause": "Failed ignition coil pack or spark plug",
"likelihood": 72,
"costTier": "Low cost",
"explanation": "One cylinder stops firing cleanly under load, triggering misfire protection."
}
],
"diyChecks": [
{
"step": "Pull into a safe layby and turn off the ignition.",
"safetyWarning": "Do not continue driving with a flashing engine light."
}
],
"photoLimitations": "An OBD-II scan is needed to identify which cylinder is misfiring.",
"mechanicCard": {
"symptomSummary": "2019 VW Golf with flashing Check Engine and EPC light at rough idle.",
"firstDiagnosticAsk": "Run an OBD-II scan and provide exact P-codes before replacing parts.",
"upsellWatchouts": [
"Confirm whether one coil failed before replacing all four or the catalytic converter."
]
}
},
"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_REQUIRED, INPUT_TOO_LONG, INVALID_IMAGE, TOO_MANY_IMAGES, INVALID_LIGHT_BEHAVIOR | 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 12 MB or image over 5 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://dashlight.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.