Overview
Returns DTC (Diagnostic Trouble Code) records from the most recent engine fault event for a vehicle. V2 returns enriched data including AI-generated descriptions, possible causes, recommended actions, severity, and the location where the fault was detected.The V1 version of this endpoint is DTC codes. V2 is paginated and significantly enriched.
Rate limit: 30 requests per 60 seconds per token.
Endpoint
GET /api/v2/vehicles/{id}/dtc
Path parameters
Legacy vehicle ID.
Query parameters
Page number (1-based).
Records per page.
Response
200 OK —PagedListResult<DtcDto>
| Field | Type | Description |
|---|---|---|
| code | string | Raw DTC code (e.g. P0420) |
| description | string | Code description |
| whyThisMatters | string[] | Impact on vehicle operation |
| possibleCauses | string[] | Likely root causes |
| recommendedActions | string[] | Suggested remediation steps |
| severity | string | null | Urgency level (e.g. "High", "Medium", "Low"); may be null for older cached data |
| detectedAt | datetime | null | When the fault was detected (user’s timezone) |
| detectedAtFormatted | string | Formatted detection timestamp |
| location.address | string | null | Street address where the fault was detected (null if geocoding failed) |
| location.latitude | number | null | Latitude of detection |
| location.longitude | number | null | Longitude of detection |
Example response
Error responses
| Status | Meaning |
|---|---|
| 401 | Token does not have access to this vehicle |
| 404 | Vehicle not found |