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 circuitdoc_live_… and only works for CircuitDoc.
2. Call the endpoint
POST https://circuitdoc.sensifai.com/api/v1/run
Authorization: Bearer YOUR_KEY (or X-API-Key: YOUR_KEY)
Content-Type: application/json
{
"deviceType": "Dell 27-inch LED monitor power supply",
"symptom": "No power, clicking sound near primary transformer",
"images": [
"data:image/jpeg;base64,..."
]
}3. Read the result
{
"id": "run_9a1f7c24",
"result": {
"safetyWarning": {
"hasHazard": true,
"hazardLevel": "critical",
"warnings": [
"Mains AC power supply with 400V bulk capacitor C1"
],
"dischargeInstructions": "Discharge C1 through a 2kΩ 10W resistor before touching components."
},
"boardSummary": "Secondary filter capacitors C14 and C16 bulged, causing power cycling.",
"overallCondition": "repairable",
"skillLevel": "Beginner DIY",
"faults": [
{
"designator": "C14",
"zone": "Secondary 12V output",
"faultType": "Bulging electrolytic capacitor",
"visualEvidence": "Domed aluminum vent with crusting",
"confidence": "High"
}
],
"meterChecks": [
{
"component": "C14 (Secondary)",
"testMode": "Resistance",
"expectedReading": "> 2 kΩ after settling",
"faultIndication": "< 50 Ω indicates short"
}
],
"replacementBom": [
{
"item": "Electrolytic Capacitor",
"designator": "C14",
"specification": "1000 µF 25V 105°C Low-ESR",
"package": "Radial 10mm dia",
"notes": "Low impedance series"
}
],
"toolsNeeded": [
"Soldering iron",
"Solder wick",
"Flux",
"Multimeter"
],
"repairSteps": [
"Discharge capacitor C1",
"Desolder C14",
"Install new Low-ESR capacitor"
],
"safePowerUp": [
"Clean flux",
"Power on through current-limited supply"
],
"benchReportMarkdown": "BENCH REPAIR REPORT: Replace C14 with 105C Low-ESR radial capacitor."
},
"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, CONSENT_REQUIRED | 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 256 KB. |
| 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://circuitdoc.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.