v2.4.2

autograb

Vehicle lookup, marketplace pricing, sourcing valuation, and Tailpipe/Autograb mapping endpoints.

FieldValue
Serverless servicedrive-api-autograb
Runtimenodejs22.x, arm64
Deployed HTTP operations10
Local worker harnesses0
API-key operationsGET /ag/tailpipe/lookup, GET /ag/marketplace/pricegauge
OpenAPI/openapi/autograb.yaml · interactive

Deployed routes

FunctionMethodPathAuthInputOutput
vehicleLookupTailpipeGET/ag/tailpipe/lookupAPI keyQuery id{requestId, agVehicle, vehicles[], success} or 204 on empty upstream
vehicleGET/ag/vehiclePublicQuery idAutograb vehicle object or 204 on no match
vehicleSearchGET/ag/vehiclesPublicQuery search plus optional filtersAutograb search result object or 204 on no matches
regoLookupGET/ag/rego/{state}/{rego}PublicPath state, rego{rego, state, numVehicles, vehicles[], regoLookupResponse, success} with ETag
vinLookupGET/ag/vin/{vin}PublicPath vin{vin, numVehicles, vehicles[], vinLookupResponse, success} with ETag
vehicleSearchMarketplaceGET/ag/marketplace/vehiclesPublicQuery stock_id, description, optional vehicle hintsMarketplace vehicle match response with ETag
priceGaugeGET/ag/marketplace/pricegaugeAPI keyQuery stockIdPrice gauge payload for a stock listing
vehicleResidualsPOST/ag/sourcing/residualsPublicVehicleResidualsRequestResidual value response
vehicleMarketOverlayPOST/ag/sourcing/marketoverlayPublicVehicleMarketOverlayRequestMarket overlay response
vehicleValuePredictionGET/ag/sourcing/valuationPublicQuery vehicle or rego/state identifiersVehicleValuationResponse

Event-driven workers

driveAwayGuideRequestProcess and fetchDriveAwayGuide are SQS workers, not deployed HTTP routes and not local HTTP harnesses in the current OpenAPI spec. They process FIFO drive-away-guide queues declared in services/autograb/serverless.yml.

Behaviour notes

  • Rego and VIN lookups validate state/VIN before calling Autograb and use ETag-aware responses.
  • Marketplace vehicle search requires stock_id and description; it is not a general search endpoint.
  • Residual, market-overlay, valuation, and value-prediction handlers use DynamoDB cache records with default 30-day TTLs unless cacheTtlInDays overrides them.
  • priceGauge uses a 7-day DynamoDB cache TTL.
  • Valuation applies tradePriceMultiplierMin and tradePriceMultiplierMax environment defaults when building trade price bounds.

Source map

  • Routes and auth: services/autograb/serverless.yml
  • Handlers: services/autograb/functions/
  • Request/response types: services/autograb/types/
  • Tailpipe/Autograb mapping: services/autograb/util/autograbToTailpipe.ts
Esc