Skip to main content
GET
Vehicle Versions

Vehicle Versions

Retrieve a paginated audit trail of all changes made to a vehicle over time, including who made each change, when, and which fields were modified.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
UUID of the vehicle

Query Parameters

integer
default:"1"
Page number
integer
default:"50"
Items per page (max 100)

Response

array[object]
List of version records
integer
Unique transaction identifier
integer | null
End transaction ID (null for current version)
integer
Operation: 0 = create, 1 = update, 2 = delete
string
ISO 8601 timestamp of the change
string | null
Name of the user who made the change
object
Map of changed fields with [old_value, new_value] pairs
integer
Total number of versions
integer
Current page number

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: The vehicle does not exist or belongs to another organization

Get Vehicle

View current vehicle details

Update Vehicle

Modify vehicle details