POST/diagnose

Create a new diagnosis for a device based on symptoms and description. Returns probable causes with confidence scores and recommended tests.

Request Body
ParameterTypeDescription
device requiredstringDevice model (e.g., "iPhone 14 Pro", "Samsung Galaxy S23")
symptoms requiredarrayArray of symptom codes (e.g., ["no_power", "dropped"])
descriptionstringFree-text description of the issue
panic_logstringRaw panic log text (iPhone only)
Response
{ "id": "diag_abc123", "device": "iPhone 14 Pro", "causes": [ { "name": "Damaged Display Connector", "confidence": 0.87, "component": "display_connector", "repair_cost_estimate": { "min": 89, "max": 149 } }, { "name": "Battery Disconnection", "confidence": 0.42, "component": "battery", "repair_cost_estimate": { "min": 49, "max": 79 } } ], "red_flags": ["Check for liquid damage indicators"], "recommended_tests": ["visual_inspection", "battery_voltage_test"], "created_at": "2025-01-15T10:30:00Z" }
GET/imei/{imei}

Look up device information by IMEI number. Returns model, carrier lock status, Find My status, warranty, and blacklist status.

Path Parameters
ParameterTypeDescription
imei requiredstring15-digit IMEI number
Response
{ "imei": "353456789012345", "model": "iPhone 14 Pro Max", "storage": "256GB", "color": "Deep Purple", "carrier_lock": "Unlocked", "find_my": "OFF", "warranty": "Expired", "blacklist": "Clean", "activation_lock": false }
POST/panic-log/parse

Parse an iPhone panic log to identify hardware failure points. Returns decoded information about the crash and likely hardware causes.

Request Body
ParameterTypeDescription
panic_log requiredstringRaw panic log text from iPhone analytics
Response
{ "parsed": true, "panic_type": "kernel_panic", "error_code": "0x8000000000000002", "component": "NAND Flash Controller", "interpretation": "Storage controller failure detected", "probable_cause": "Damaged or failing NAND storage chip", "confidence": 0.91, "recommendation": "Board-level repair required - NAND reballing or replacement" }