Skip to main content
GET
Engine codes (V2)

Overview

Returns the engine codes (OBD-II diagnostic trouble codes) newly reported in the vehicle’s most recent engine-fault record. This is not the list of codes currently active: a code that was already active at an earlier report is not repeated, and a code cleared since is still listed. Each code includes an AI-generated analysis where one is available: why it matters, possible root causes and recommended actions, written as full sentences.
The V1 version of this endpoint is DTC codes. V1 returns every code in the vehicle’s latest DTC report; V2 returns only the codes newly reported in its latest engine-fault record (see above), is paginated, and adds AI analysis, severity and the detection location.
Rate limit: 10 req/s · 30/min · 6,000/hr · 144,000/day

Endpoint

GET /v2/api/vehicles/{id}/engine-codes

Path parameters

integer
required
Public vehicle ID (deviceId).

Query parameters

integer
default:"1"
Page number (1-based).
integer
default:"50"
Records per page.

Response

200 OK — PagedListResult<EngineCodeDto>
When a vehicle has no engine codes, the API returns items: null (not []) and currentPage: 0 (not 1). Always null-check items before iterating.

Example response

Error responses

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from POST /v2/api/authentication/token/api-key.

Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.

Scoping: API key tokens are scoped by the key's company and its action set; see Token scoping.

No refresh endpoint — re-authenticate with your API key when the token expires.

Path Parameters

id
integer
required

Query Parameters

page
integer
default:1
pageSize
integer
default:50

Response

Successful response