POST /v1/inspections/visual
Submit vehicle images for comprehensive visual inspection using advanced computer vision AI. Detects scratches, dents, paint damage, glass damage, and more with 94% accuracy.Request
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
vehicle_id | string | Yes | Vehicle identifier |
images | array | Yes | Array of image objects (min 4, max 50) |
images[].url | string | Yes | Public URL to the image |
images[].angle | string | Yes | front, rear, left_side, right_side, front_left, front_right, rear_left, rear_right, top, interior, dashboard, engine, trunk, undercarriage |
images[].type | string | Yes | exterior, interior, mechanical |
options.detailed_analysis | boolean | No | Include detailed damage measurements (default: false) |
options.generate_report | boolean | No | Generate PDF report (default: true) |
options.detect_hidden_damage | boolean | No | Advanced analysis for hidden damage (default: false) |
Response
Response Fields
| Field | Type | Description |
|---|---|---|
inspection_id | string | Unique visual inspection identifier |
status | string | processing, completed, failed |
results.overall_condition | string | excellent, good, fair, poor, critical |
results.condition_score | float | Score from 0-10 (10 = perfect condition) |
results.confidence | float | AI confidence score (0-1) |
damages[].type | string | scratch, dent, rust, crack, paint_damage, glass_damage, panel_damage |
damages[].severity | string | minor, moderate, severe, critical |
damages[].measurements | object | Physical dimensions of damage |
damages[].annotated_url | string | Image with damage highlighted |
Damage Types
Paint & Surface Damage
Paint & Surface Damage
• Scratch: Surface-level paint damage
• Paint Damage: Chipped, peeling, or faded paint
• Rust: Corrosion on metal surfaces
• Oxidation: Surface oxidation and weathering
Structural Damage
Structural Damage
• Dent: Impact damage causing depression
• Panel Damage: Bent or misaligned body panels
• Crack: Fractures in body panels
• Frame Damage: Structural frame issues
Glass & Trim
Glass & Trim
• Glass Damage: Cracks or chips in windows
• Headlight Damage: Foggy, cracked, or broken lights
• Trim Damage: Missing or damaged trim pieces
• Mirror Damage: Broken or cracked mirrors
Error Responses
400 Bad Request
422 Unprocessable Entity
Image Requirements
Best Practices
Image Capture
Optimal Photo Guidelines• Capture all required angles
• Use good lighting (avoid shadows)
• Keep camera 2-3 meters from vehicle
• Ensure entire panel visible in frame
• Avoid reflections and glare
Damage Detection
Maximize Accuracy• Clean vehicle before photos
• Take close-up shots of damage
• Multiple angles for each damage
• Include reference objects for scale
• Consistent lighting across images
Webhooks
Configure webhooks to receive real-time updates when inspection completes:Example: Get Visual Inspection Results
Example: List Vehicle Inspections
vehicle_id(string): Filter by vehiclestatus(string): Filter by status (processing,completed,failed)created_after(string): ISO 8601 date filtercreated_before(string): ISO 8601 date filterlimit(integer): Results per page (default: 20, max: 100)offset(integer): Pagination offset