{"openapi":"3.1.0","info":{"title":"OtoIndex Car Data API","version":"1.0.0","description":"Maintenance-grade vehicle data with **tracked provenance**. Not a VIN decoder:\nfluid capacities, OEM part numbers with dated prices, service intervals and\nlabor estimates. Every value carries its verification (`status`,\n`verified`, `last_verified`) and, where one is recorded, a confidence score. No response names a value's source, for any\nkey.\n\n## Authentication\nSend your key on every request as a Bearer token **or** an `x-api-key` header:\n\n```\nAuthorization: Bearer otp_live_4f2a9c…\n# or\nx-api-key: otp_live_4f2a9c…\n```\n\nGet a free key at [https://vinspeclookup.com/free-key](https://vinspeclookup.com/free-key): email\nonly, no card, 100 requests a day on every catalog vehicle (one lookup at a\ntime: `/v1/catalog` is for keys on a plan). For your own limits\nand production use, request early access at [https://vinspeclookup.com/contact](https://vinspeclookup.com/contact).\nThe plaintext is shown **once** when the key is issued (only its SHA-256 hash\nis stored); lose it → rotate.\n\n## Withheld fields\nSome fields are never served (licensed or flagged data). Each one is listed in\n`excluded[]` with a reason, so nothing is withheld silently.\n\n## Versions\n- **v1**: the current version, for every new integration. Granular,\n  group-scoped endpoints: pull one slice (fluids, tires, parts, labor…) so you\n  never pay for joins you don't need, or field-select the full payload with\n  `GET /v1/vehicle?include=`.\n- **v0**: legacy. It keeps working exactly as before and is not changing. Its\n  shapes differ from v1's (string values, units in field names, epoch-ms\n  timestamps), and in `/v0/labor` the `model_estimate` label also covers the\n  service-default fallback, which v1 labels `service_default`.\n\nEvery v0 capability has a v1 route except two. `/v0/vehicle-image` gets a\nv1 route once vehicle images are served from our own storage; until then use\nthe v0 route. `/v0/usage-stats` is our site's own usage feed, not part of\nthe customer API.\n\n## Values and units\nNumeric spec values are numbers, with the unit in `unit`:\n`qt` US quarts · `fl_oz` US fluid ounces · `ft_lb` foot-pounds · `in` inches · `A` amperes (cold-cranking amps).\nText values (fluid types, battery group…) are strings with `unit: null`.\nTimestamps are ISO 8601 UTC strings. `fill_rate` is a percentage (0–100);\na config under 50% is reported as `partial`.\n\n## Caching\nv1 `GET` responses carry a weak `ETag`. Send it back as `If-None-Match`:\nan unchanged response is a `304` with no body, and a 304 doesn't count\nagainst your monthly quota.\n\n## A VIN we don't have yet: look, enrich, poll\nEvery value in a v1 spec list has a `status`: `verified`, `unverified`,\n`ambiguous`, `not_applicable`, `not_enriched` (we only know the car's\nidentity) or `retrieving` (enrichment is running).\n\n1. **Look.** `GET /v1/vehicle?vin=…` for a car we already hold answers with\n   its data, even the first time we see that VIN: the decoded car is matched\n   against the catalog. A VIN that fits more than one of our configs is a\n   `409 multiple_matches` listing them; pick one and use `?config_key=`.\n   Otherwise it answers `200` with `status: \"decoded\"`: the decoded identity\n   (`verified: false`), every value `not_enriched`, and an `enrich` hint.\n   Free; it never starts a run.\n2. **Enrich.** `POST /v1/vehicle` with `{\"vin\": \"…\"}` answers `202` with\n   `status: \"enriching\"`, every value `retrieving`, a `status_url` (also in\n   `Location`) and `retry_after_seconds` (also in `Retry-After`). A car we already\n   hold comes back in full instead, free. Otherwise it uses one\n   enrich credit, refunded if no run can be scheduled. Needs `enrich:write`.\n3. **Poll.** `GET` the `status_url` (or `/v1/vehicle?vin=…`) every\n   `retry_after_seconds`. It's `202` while the run works, then `200` with\n   `status` `complete`, `partial` (some values found) or `failed`.\n   `GET /v1/enrich?vin=…` (or `/v1/enrich/{run_id}`, with the `run_id` the\n   `202` gave you) shows the run itself: `queued`, `running`, `complete`,\n   `partial` or `failed`, with when it started and last changed.\n   **How long:** about 7.8 minutes; 95% of runs finish within\n   10.4 (98 runs, measured 2026-11-02).\n   A run that stops making progress is marked `failed` and what it cost is\n   given back: the credit, or the run from the key's allowance.\n4. **Read.** From then on `GET` and `POST /v1/vehicle` return the data. A\n   `POST` for a car we have is free and starts nothing.\n\n```\ncurl -s \"https://vinspeclookup.com/api/v1/vehicle?vin=1HGCV1F34LA000000\" -H \"Authorization: Bearer $KEY\"\ncurl -s -X POST \"https://vinspeclookup.com/api/v1/vehicle\" -H \"Authorization: Bearer $KEY\" \\\n  -H \"Content-Type: application/json\" -d '{\"vin\":\"1HGCV1F34LA000000\"}'\ncurl -s \"https://vinspeclookup.com/api/v1/enrich?vin=1HGCV1F34LA000000\" -H \"Authorization: Bearer $KEY\"\n```\n\n## Key allowances\nA key can carry a fixed allowance. It works until its end date\n(`401 expired_api_key` after), serves an agreed set of vehicles freely, and\nallows a set number of other vehicles and a set number of enrichment runs\n(`402 key_limit_reached` after either, with `limit` saying which; a\nvehicle already looked up stays free). A key on a plan has daily and monthly\nlimits instead (`429 daily_quota_exceeded`, `429 monthly_quota_exceeded`,\n`402 enrich_plan_limit`). Higher volume comes with a paid plan. A key limited\nto verified values gets a value only when it's `verified`: anything else\ncomes back as `null` with its `status`.\n\n## Rate limits & errors\nPer-key, per-minute (free tier: 60/min → `429 rate_limited`). Errors are JSON:\n`{ \"error\": \"<code>\", \"message\": \"…\" }`.","contact":{"name":"OtoIndex","url":"https://vinspeclookup.com/contact"}},"servers":[{"url":"https://vinspeclookup.com/api","description":"Car Data API"}],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"tags":[{"name":"Identity","description":"Decode a VIN or list candidate configs for a year/make/model."},{"name":"Specifications","description":"The full vehicle payload and the spec sheet."},{"name":"Fluids & Capacities","description":"Oil, coolant, transmission, brake, PS and driveline fluids + capacities."},{"name":"Maintenance","description":"OEM service intervals."},{"name":"Parts","description":"OEM part numbers matched to the config per service, each with a reference price and its as-of date, plus labor."},{"name":"Tires","description":"OEM tire & wheel fitment package."},{"name":"Labor","description":"Labor per service: measured hours where we have them, model estimates otherwise, each labelled with its method."},{"name":"Media","description":"Vehicle exterior renders."},{"name":"Service History","description":"Sanitized per-VIN service records."},{"name":"Enrichment","description":"Grow the dataset for a VIN we haven't seen."}],"paths":{"/v1/decode":{"get":{"tags":["Identity"],"operationId":"decode","summary":"Decode a vehicle (identity only)","description":"Resolve a VIN (or config_key / YMMT) to its canonical identity — config + engine — with no group joins. The lightest lookup.","parameters":[{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/make"},{"$ref":"#/components/parameters/model"},{"$ref":"#/components/parameters/trim"},{"$ref":"#/components/parameters/config_key"}],"responses":{"200":{"description":"Vehicle identity.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecodeResponse"},"example":{"object":"decode","config":{"config_key":"2019_honda_cr_v_ex_l15be","year":2019,"make":"Honda","model":"CR-V","trim":"EX","chassis_code":"RW","chassis_code_full":"RW2","drivetrain":"4WD","engine":{"label":"1.5L L15BE 4cyl","code":"L15BE","cylinders":4,"displacement_l":1.5,"aspiration":"turbo","fuel_injection":"direct"},"enrichment":{"status":"complete","fill_rate":92,"confidence_avg":0.83},"transmission":"Continuously Variable Transmission (CVT)"}}}}},"400":{"description":"No usable identifier was provided.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=… OR ?year=&make=&model=[&trim=] OR ?config_key=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"409":{"description":"More than one config matched a YMMT lookup — retry with a config_key from `matches` (or add &trim=).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipleMatches"}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/configs":{"get":{"tags":["Identity"],"operationId":"listConfigs","summary":"List candidate configs for a YMMT","description":"Every enriched config that fits a year/make/model[/trim], always as a list. Turns the 409 disambiguation into a first-class lookup — pick a config_key and switch to exact access.","parameters":[{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/make"},{"$ref":"#/components/parameters/model"},{"$ref":"#/components/parameters/trim"}],"responses":{"200":{"description":"Candidate configs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigListResponse"},"example":{"object":"config_list","year":2019,"make":"Honda","model":"CR-V","trim":null,"count":2,"configs":[{"config_key":"2019_honda_cr_v_ex_l15be","year":2019,"make":"Honda","model":"CR-V","trim":"EX","drivetrain":"4WD","engine":"1.5L L15BE 4cyl","enrichment_status":"complete","fill_rate":92}]}}}},"400":{"description":"Missing YMMT.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?year=&make=&model=[&trim=]"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No config matches that YMMT.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched config matches that year/make/model — POST /v1/enrich {vin} to add one."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/catalog":{"get":{"tags":["Identity"],"operationId":"getCatalog","summary":"The enriched catalog","description":"Every config we hold that is complete (50% fill or more), as the same rows `/v1/configs` returns. `?status=all` adds the partial ones (some values still unverified or missing); every row carries its `enrichment_status`, and a partial config answers lookups like any other. No VINs. `?limit=` caps the list (default 2000). Not available on free keys (`403 paid_plan_required`): look a vehicle up by VIN, YMMT (`/v1/configs`) or `config_key` instead.","parameters":[{"name":"limit","in":"query","description":"Maximum rows (1–5000).","schema":{"type":"integer","example":50}},{"name":"status","in":"query","description":"`complete` (default): complete and verified configs. `all`: partial ones too.","schema":{"type":"string","enum":["complete","all"],"example":"all"}}],"responses":{"200":{"description":"The catalog.","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","const":"config_catalog"},"count":{"type":"integer"},"configs":{"type":"array","items":{"$ref":"#/components/schemas/ConfigCandidate"}}}}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"`status` is neither `complete` nor `all`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"invalid_param","message":"status is `complete` (the default) or `all`."}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`), or it's a free key (`paid_plan_required`): the catalog is for keys on a plan.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}},"paid_plan_required":{"value":{"error":"paid_plan_required","message":"GET /v1/catalog isn't available on free keys. Look a vehicle up by vin, by year/make/model/trim (GET /v1/configs) or by config_key instead, or request a plan at https://vinspeclookup.com/contact."}}}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/vehicle":{"get":{"tags":["Specifications"],"operationId":"getVehicle","summary":"Full vehicle payload (field-selectable)","description":"Everything we hold on one vehicle: identity, specs (served + excluded), OEM tires, service intervals, priced parts with labor per service, and (VIN lookups only, `service_history:read` keys only) sanitized service history. Use `?include=` to return only the groups you need — omit it for every group your key may see. `/v1/labor` returns labor alone, without the parts and price joins. A `?vin=` lookup of a car we hold answers with its data, even for a VIN we haven't seen (matched from the decode; several matches are a 409 `multiple_matches`). For a car we haven't enriched, the 200 is a `VehicleStatusResponse` instead: `status: \"decoded\"` (the identity decoded from the VIN, every value `not_enriched`; `POST /v1/vehicle` enriches it) or `status: \"failed\"` (the last run didn't finish). Every response carries a top-level `status`. A GET never starts enrichment and never uses a credit.","parameters":[{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/make"},{"$ref":"#/components/parameters/model"},{"$ref":"#/components/parameters/trim"},{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/transmission"},{"$ref":"#/components/parameters/drivetrain"},{"$ref":"#/components/parameters/include_unverified"}],"responses":{"200":{"description":"The vehicle payload (`status` complete or partial), or for an unenriched VIN its decoded identity.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/VehicleResponseV1"},{"$ref":"#/components/schemas/VehicleStatusResponse"}]}}}},"202":{"description":"The car is being enriched. The identity is returned now and every value it will fill is `retrieving`. Poll `status_url` (also in `Location`) every `retry_after_seconds` (also `Retry-After`). A status, never a promised duration.","headers":{"Location":{"description":"The enrichment status URL.","schema":{"type":"string","example":"/v1/enrich?vin=1HGCV1F30JA000000"}},"Retry-After":{"description":"Seconds before polling again.","schema":{"type":"integer","example":120}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleStatusResponse"}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"No usable identifier (`missing_param`), or a VIN that isn't 17 characters with a valid check digit (`invalid_vin`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=… OR ?year=&make=&model=[&trim=] OR ?config_key=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks maintenance:read, or asked for include=history without service_history:read.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"insufficient_scope","message":"include=history needs the 'service_history:read' scope."}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"409":{"description":"More than one config matched a YMMT lookup — retry with a config_key from `matches` (or add &trim=).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipleMatches"}}}},"422":{"description":"The VIN is well-formed but couldn't be decoded. Nothing is stored.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"vin_not_decodable","message":"The VIN could not be decoded."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}},"503":{"description":"The VIN decoder didn't answer. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"decoder_unavailable","message":"The VIN decoder didn't answer. Retry shortly."}}}}}},"post":{"tags":["Specifications"],"operationId":"getOrCreateVehicle","summary":"Get or enrich a vehicle by VIN","description":"Get or create. A car we have comes back in full (200, free). A car being enriched gets the 202 body (free, no second run). Any other VIN is decoded in full and enriched: one enrich credit, reserved up front and refunded if no run is scheduled, then 202 with every value `retrieving`. Poll `status_url`, or GET this path, until `status` is `complete`, `partial` or `failed`. Requires the `enrich:write` scope. Takes the same `?include=` as GET.","parameters":[{"$ref":"#/components/parameters/include"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vin"],"properties":{"vin":{"type":"string","example":"5J6RW2H82KL000007"}}}}}},"responses":{"200":{"description":"The car already has data: the full payload, free.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleResponseV1"}}}},"202":{"description":"Enrichment scheduled (one credit; `credits_remaining` for self-serve keys) or already in progress (free). The car is being enriched. The identity is returned now and every value it will fill is `retrieving`. Poll `status_url` (also in `Location`) every `retry_after_seconds` (also `Retry-After`). A status, never a promised duration.","headers":{"Location":{"description":"The enrichment status URL.","schema":{"type":"string","example":"/v1/enrich?vin=1HGCV1F30JA000000"}},"Retry-After":{"description":"Seconds before polling again.","schema":{"type":"integer","example":120}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleStatusResponse"}}}},"400":{"description":"No VIN (`missing_param`), or a VIN that isn't 17 characters with a valid check digit (`invalid_vin`). No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"invalid_vin","message":"A VIN is 17 characters (no I, O or Q) with a valid check digit."}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"402":{"description":"No credit to spend (self-serve keys): out of enrich credits with metered overage off (`no_enrich_credits`, with a `topup_url`), or the monthly enrich spend cap reached (`spend_cap_reached`). A key that has used its allowance of lookups outside its agreed vehicles, or of enrichment runs, gets `key_limit_reached` (`limit`: `lookups_outside_demo_set` or `enrich_runs`). Paid keys past a blocking plan's monthly enrich runs get `enrich_plan_limit`. The body carries the car's `identity` when we've decoded it before.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"no_enrich_credits":{"value":{"error":"no_enrich_credits","message":"Out of enrich credits and metered overage is off. Upgrade or enable overage at …/pricing."}},"spend_cap_reached":{"value":{"error":"spend_cap_reached","message":"Monthly enrich spend cap reached. Raise it in your dashboard to continue."}},"key_limit_reached":{"value":{"error":"key_limit_reached","limit":"enrich_runs","message":"This key has used its 20 enrich runs. Vehicles already served still work. Higher volume comes with a paid plan: …/contact"}}}}}},"403":{"description":"The key lacks enrich:write, or asked for include=history without service_history:read.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"insufficient_scope","message":"This key lacks the 'enrich:write' scope."}}}},"422":{"description":"The VIN couldn't be decoded (`vin_not_decodable`), or decoded with no identifiable engine (`unsupported_vehicle`). No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"vin_not_decodable","message":"The VIN could not be decoded."}}}},"429":{"description":"The per-minute rate limit (`rate_limited`), or the daily safety cap of 500 scheduled runs per key per UTC day (resets at 00:00 UTC), counted across `/v0/enrich`, `/v1/enrich` and `POST /v1/vehicle` (`daily_cap`; the reserved credit is refunded). Cache hits stay free.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"rate_limited":{"value":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}},"daily_cap":{"value":{"error":"daily_cap","message":"Daily enrich safety cap reached — contact support to raise it. Cache hits stay free."}}}}}},"500":{"description":"The vehicle couldn't be stored. No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"internal_error","message":"The vehicle couldn't be stored. Retry later."}}}}}}},"/v1/specs":{"get":{"tags":["Specifications"],"operationId":"getSpecs","summary":"The spec sheet","description":"Every populated spec field (fluids + attributes + chassis service points), each with its verification status and confidence — plus the `excluded[]` list of fields that are withheld.","parameters":[{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/transmission"},{"$ref":"#/components/parameters/drivetrain"},{"$ref":"#/components/parameters/include_unverified"}],"responses":{"200":{"description":"Spec sheet. A `?vin=` lookup of a car we hold answers with its data, even for a VIN we haven't seen (matched from the decode; several matches are a 409 `multiple_matches`). For a car we haven't enriched, the 200 is a `VehicleStatusResponse` instead: `status: \"decoded\"` (the identity decoded from the VIN, every value `not_enriched`; `POST /v1/vehicle` enriches it) or `status: \"failed\"` (the last run didn't finish). Every response carries a top-level `status`.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/SpecsResponse"},{"$ref":"#/components/schemas/VehicleStatusResponse"}]},"example":{"object":"specs","status":"complete","config":{"config_key":"2019_honda_cr_v_ex_l15be","year":2019,"make":"Honda","model":"CR-V","trim":"EX","chassis_code":"RW","chassis_code_full":"RW2","drivetrain":"4WD","engine":{"label":"1.5L L15BE 4cyl","code":"L15BE","cylinders":4,"displacement_l":1.5,"aspiration":"turbo","fuel_injection":"direct"},"enrichment":{"status":"complete","fill_rate":92,"confidence_avg":0.83},"transmission":"Continuously Variable Transmission (CVT)"},"specs":[{"field":"oil_viscosity","label":"Oil viscosity","group":"Fluids","value":"0W-20","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.98},{"field":"oil_capacity","label":"Oil capacity","group":"Fluids","value":3.7,"unit":"qt","status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.85},{"field":"coolant_type","label":"Coolant type","group":"Fluids","value":"Honda Long Life Antifreeze/Coolant Type 2","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.98},{"field":"diff_fluid_type","label":"Differential fluid","group":"Fluids","value":"Honda Dual Pump Fluid II (DPSF-II)","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.9},{"field":"lug_nut_torque","label":"Lug nut torque","group":"Chassis","value":80,"unit":"ft_lb","status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.9},{"field":"battery_group","label":"Battery group","group":"Chassis","value":"51R","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.9},{"field":"front_wiper_size","label":"Front wiper size","group":"Chassis","value":26,"unit":"in","status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.85},{"field":"steering_type","label":"Steering type","group":"Chassis","value":"electric","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":null}],"excluded":[],"meta":{"generated_at":"2026-10-18T11:32:20Z"}}}}},"202":{"description":"The car is being enriched. The identity is returned now and every value it will fill is `retrieving`. Poll `status_url` (also in `Location`) every `retry_after_seconds` (also `Retry-After`). A status, never a promised duration.","headers":{"Location":{"description":"The enrichment status URL.","schema":{"type":"string","example":"/v1/enrich?vin=1HGCV1F30JA000000"}},"Retry-After":{"description":"Seconds before polling again.","schema":{"type":"integer","example":120}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleStatusResponse"}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?config_key=… or ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"422":{"description":"The VIN is well-formed but couldn't be decoded. Nothing is stored.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"vin_not_decodable","message":"The VIN could not be decoded."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}},"503":{"description":"The VIN decoder didn't answer. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"decoder_unavailable","message":"The VIN decoder didn't answer. Retry shortly."}}}}}}},"/v1/fluids":{"get":{"tags":["Fluids & Capacities"],"operationId":"getFluids","summary":"Fluids & capacities","description":"The flagship depth slice: engine oil viscosity + capacity, coolant, transmission, brake, power-steering, and differential / transfer-case fluid types and capacities — layer-tagged.","parameters":[{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/transmission"},{"$ref":"#/components/parameters/drivetrain"},{"$ref":"#/components/parameters/include_unverified"}],"responses":{"200":{"description":"Fluid specs. A `?vin=` lookup of a car we hold answers with its data, even for a VIN we haven't seen (matched from the decode; several matches are a 409 `multiple_matches`). For a car we haven't enriched, the 200 is a `VehicleStatusResponse` instead: `status: \"decoded\"` (the identity decoded from the VIN, every value `not_enriched`; `POST /v1/vehicle` enriches it) or `status: \"failed\"` (the last run didn't finish). Every response carries a top-level `status`.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/FluidsResponse"},{"$ref":"#/components/schemas/VehicleStatusResponse"}]},"example":{"object":"fluids","status":"complete","config":{"config_key":"2019_honda_cr_v_ex_l15be","year":2019,"make":"Honda","model":"CR-V","trim":"EX","chassis_code":"RW","chassis_code_full":"RW2","drivetrain":"4WD","engine":{"label":"1.5L L15BE 4cyl","code":"L15BE","cylinders":4,"displacement_l":1.5,"aspiration":"turbo","fuel_injection":"direct"},"enrichment":{"status":"complete","fill_rate":92,"confidence_avg":0.83},"transmission":"Continuously Variable Transmission (CVT)"},"specs":[{"field":"oil_viscosity","label":"Oil viscosity","group":"Fluids","value":"0W-20","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.98},{"field":"oil_capacity","label":"Oil capacity","group":"Fluids","value":3.7,"unit":"qt","status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.85},{"field":"coolant_type","label":"Coolant type","group":"Fluids","value":"Honda Long Life Antifreeze/Coolant Type 2","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.98},{"field":"diff_fluid_type","label":"Differential fluid","group":"Fluids","value":"Honda Dual Pump Fluid II (DPSF-II)","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.9}],"meta":{"generated_at":"2026-10-18T11:32:20Z"}}}}},"202":{"description":"The car is being enriched. The identity is returned now and every value it will fill is `retrieving`. Poll `status_url` (also in `Location`) every `retry_after_seconds` (also `Retry-After`). A status, never a promised duration.","headers":{"Location":{"description":"The enrichment status URL.","schema":{"type":"string","example":"/v1/enrich?vin=1HGCV1F30JA000000"}},"Retry-After":{"description":"Seconds before polling again.","schema":{"type":"integer","example":120}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleStatusResponse"}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?config_key=… or ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"422":{"description":"The VIN is well-formed but couldn't be decoded. Nothing is stored.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"vin_not_decodable","message":"The VIN could not be decoded."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}},"503":{"description":"The VIN decoder didn't answer. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"decoder_unavailable","message":"The VIN decoder didn't answer. Retry shortly."}}}}}}},"/v1/maintenance-schedule":{"get":{"tags":["Maintenance"],"operationId":"getMaintenanceSchedule","summary":"OEM service intervals","description":"OEM maintenance intervals by miles and months, each with confidence, a mechanic-verified flag and its `schedule`: `fixed`, or `monitor_based` when the vehicle's oil-life or service monitor decides and the miles or months are the maker's limit.","parameters":[{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/vin"}],"responses":{"200":{"description":"Intervals.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceScheduleResponse"},"example":{"object":"maintenance_schedule","config":{"config_key":"2019_honda_cr_v_ex_l15be","year":2019,"make":"Honda","model":"CR-V","trim":"EX","chassis_code":"RW","chassis_code_full":"RW2","drivetrain":"4WD","engine":{"label":"1.5L L15BE 4cyl","code":"L15BE","cylinders":4,"displacement_l":1.5,"aspiration":"turbo","fuel_injection":"direct"},"enrichment":{"status":"complete","fill_rate":92,"confidence_avg":0.83},"transmission":"Continuously Variable Transmission (CVT)"},"intervals":[{"confidence":0.85,"display":null,"interval_miles":7500,"interval_months":12,"mechanic_verified":false,"name":"Oil Change","service":"oil_change","schedule":"fixed"},{"confidence":0.9199999999999999,"display":null,"interval_miles":7500,"interval_months":6,"mechanic_verified":false,"name":"Tire Rotation","service":"tire_rotation","schedule":"fixed"}],"meta":{"generated_at":"2026-10-18T11:32:20Z"}}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?config_key=… or ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/parts":{"get":{"tags":["Parts"],"operationId":"getParts","summary":"Parts, prices & labor per service","description":"OEM part numbers matched to the config and grouped per service — role, position, quantity and fitment confidence — each with a reference price and its as-of date, alongside the labor answer for that service.","parameters":[{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/service"}],"responses":{"200":{"description":"Parts + labor per service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartsResponse"},"example":{"object":"parts","config":{"config_key":"2019_honda_cr_v_ex_l15be","year":2019,"make":"Honda","model":"CR-V","trim":"EX","chassis_code":"RW","chassis_code_full":"RW2","drivetrain":"4WD","engine":{"label":"1.5L L15BE 4cyl","code":"L15BE","cylinders":4,"displacement_l":1.5,"aspiration":"turbo","fuel_injection":"direct"},"enrichment":{"status":"complete","fill_rate":92,"confidence_avg":0.83},"transmission":"Continuously Variable Transmission (CVT)"},"services":[{"applicable":true,"labor":{"confidence":0.3,"hours":1.4,"sample_size":null,"source":"model_estimate","tier_floor_applied":true},"name":"Brake Pad Replacement","parts":[{"confidence":0.97,"mechanic_verified":false,"name":"Front Brake Pads","oem_part_number":"45022-TLA-A02","position":"front","price":{"amount":70.99,"as_of":"2026-08-19T21:12:08Z","msrp":103.07},"quantity":1,"role":"core","subcategory":"front_brake_pad"},{"confidence":0.97,"mechanic_verified":false,"name":"Rear Brake Pads","oem_part_number":"43022-TLA-A00","position":"rear","price":{"amount":70.62,"as_of":"2026-08-19T21:12:17Z","msrp":99.75},"quantity":1,"role":"core","subcategory":"rear_brake_pad"}],"service":"brake_pad_replacement"}],"meta":{"generated_at":"2026-10-18T11:32:20Z"}}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?config_key=… or ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier, or `service` names a slug this vehicle doesn't have (`unknown_service`; the valid slugs are in `available`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"not_found":{"summary":"No vehicle","value":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}},"unknown_service":{"summary":"Unknown service slug","value":{"error":"unknown_service","message":"No service \"front-brake-pads\" for this vehicle. Use one of the slugs in available[].","available":["battery_replacement","brake_fluid_flush","brake_pad_replacement","oil_change","tire_rotation"]}}}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/tires":{"get":{"tags":["Tires"],"operationId":"getTires","summary":"OEM tire & wheel package","description":"Full OEM fitment: every tire option, with the top-level sizes and recommended pressures taken from the OEM-standard option, plus run-flat / staggered flags. (Battery CCA is in `/v1/specs`.)","parameters":[{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/vin"}],"responses":{"200":{"description":"Tire package.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TiresResponse"},"example":{"object":"tires","config":{"config_key":"2019_honda_cr_v_ex_l15be","year":2019,"make":"Honda","model":"CR-V","trim":"EX","chassis_code":"RW","chassis_code_full":"RW2","drivetrain":"4WD","engine":{"label":"1.5L L15BE 4cyl","code":"L15BE","cylinders":4,"displacement_l":1.5,"aspiration":"turbo","fuel_injection":"direct"},"enrichment":{"status":"complete","fill_rate":92,"confidence_avg":0.83},"transmission":"Continuously Variable Transmission (CVT)"},"tires":{"options":[{"aspect_ratio":60,"is_oem_standard":true,"load_index":103,"pressure_front_psi":33,"pressure_rear_psi":30,"rim_diameter_in":18,"size_front":"235/60R18","speed_rating":"H","wheel_spec":"7.5Jx18 ET45","width_mm":235},{"aspect_ratio":65,"is_oem_standard":false,"load_index":104,"pressure_front_psi":32,"pressure_rear_psi":30,"rim_diameter_in":17,"size_front":"235/65R17","speed_rating":"H","wheel_spec":"7.5Jx17 ET45","width_mm":235}],"front_size":"235/60R18","rear_size":"235/60R18","pressure_front_psi":33,"pressure_rear_psi":30,"is_staggered":false,"is_run_flat":null},"meta":{"generated_at":"2026-10-18T11:32:20Z"}}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?config_key=… or ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/labor":{"get":{"tags":["Labor"],"operationId":"getLaborV1","summary":"Labor per service","description":"Labor for every service that applies to the vehicle, without the parts and price joins. `source` says how each answer was made: `empirical` (measured from completed jobs), `model_estimate` (our tier model), `service_default` (the service's default time, when nothing better resolves) or `unresolved`. `empirical` carries the measured hours, p25–p75 and sample size when the config has them. Requires the `labor:read` scope.","parameters":[{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/make"},{"$ref":"#/components/parameters/model"},{"$ref":"#/components/parameters/trim"},{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/service"}],"responses":{"200":{"description":"Labor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaborResponseV1"}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"No usable identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=… OR ?year=&make=&model=[&trim=] OR ?config_key=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier, or `service` names a slug this vehicle doesn't have (`unknown_service`; the valid slugs are in `available`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"not_found":{"summary":"No vehicle","value":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}},"unknown_service":{"summary":"Unknown service slug","value":{"error":"unknown_service","message":"No service \"front-brake-pads\" for this vehicle. Use one of the slugs in available[].","available":["battery_replacement","brake_fluid_flush","brake_pad_replacement","oil_change","tire_rotation"]}}}}}},"409":{"description":"More than one config matched a YMMT lookup — retry with a config_key from `matches` (or add &trim=).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipleMatches"}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/service-history":{"get":{"tags":["Service History"],"operationId":"getServiceHistoryV1","summary":"Sanitized service history (by VIN)","description":"Per-VIN records: completed shop visits, owner-reported maintenance, and accepted document extractions. **Sanitized by contract** — no PII, costs, shop identity or free-text notes. `confidence` is a 0–1 number where one exists (document extractions); `confidence_label` carries the qualitative label (`verified`, `self_reported`…). Requires the `service_history:read` scope.","parameters":[{"$ref":"#/components/parameters/vin"}],"responses":{"200":{"description":"Service history.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceHistoryResponseV1"}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"Missing VIN.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"Unknown VIN.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No vehicle or service records are known for that VIN."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/enrich":{"post":{"tags":["Enrichment"],"operationId":"enrichV1","summary":"Enrich a VIN on demand","description":"POST a VIN we haven't seen (or whose data is stale) and the full enrichment pipeline runs. Fresh cache hits → 200 (free). A scheduled run → 202; poll `GET /v1/enrich?vin=…` until `complete`. Requires the `enrich:write` scope. Runs scheduled through `/v0/enrich` and `/v1/enrich` share one daily cap. Instead of polling, subscribe an endpoint to the enrichment webhooks (enrichment.queued … enrichment.failed) in the dashboard.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"`{vin}` enriches a VIN. On a vehicle we already hold, a drivetrain whose differential and transfer-case fluids we don't hold yet (a 4WD VIN on a vehicle we hold RWD fluids for) is looked up instead: 202 with `scope: \"drivetrain\"` and a `run_id`, free, about 5 minutes. `{config_key, drivetrain}` (or `{vin, drivetrain}`) asks for one drivetrain's fluids directly, e.g. after `/v1/fluids?drivetrain=4WD` lists them `not_enriched`. The same run looks up that drivetrain's transmission unit and brake pads and rotors, where they differ from the vehicle's stored drivetrain. A drivetrain whose fluids (and, for a drivetrain other than the stored one, its unit and brake parts) we hold, or that was looked up in the last 7 days, answers 200 with nothing run.","properties":{"vin":{"type":"string","example":"5J6RW2H82KL000007"},"config_key":{"type":"string","description":"With `drivetrain`: a vehicle we hold."},"drivetrain":{"type":"string","enum":["FWD","RWD","AWD","4WD"],"description":"The drivetrain whose fluids, transmission unit and brake parts to look up."}}}}}},"responses":{"200":{"description":"Cache hit (enriched in the last 180 days; free), already in flight, or (with a drivetrain) its fluids already held or recently looked up.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichmentStatusV1"}}}},"202":{"description":"Enrichment scheduled. Uses one enrich credit (or metered overage), refunded if the run can't be scheduled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichmentQueued"}}}},"400":{"description":"No VIN (`missing_param`), a VIN that isn't 17 characters (`invalid_vin`), or one that couldn't be decoded (`vin_decode_failed`). No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"missing_param":{"value":{"error":"missing_param","message":"Pass {\"vin\":\"…\"} in the JSON body (or ?vin=…)."}},"invalid_vin":{"value":{"error":"invalid_vin","message":"A VIN is exactly 17 characters."}},"vin_decode_failed":{"value":{"error":"vin_decode_failed","message":"The VIN could not be decoded."}}}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"402":{"description":"No credit to spend (self-serve keys): out of enrich credits with metered overage off (`no_enrich_credits`, with a `topup_url`), or the monthly enrich spend cap reached (`spend_cap_reached`). A key that has used its allowance of lookups outside its agreed vehicles, or of enrichment runs, gets `key_limit_reached` (`limit`: `lookups_outside_demo_set` or `enrich_runs`). Paid keys past a blocking plan's monthly enrich runs get `enrich_plan_limit`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"no_enrich_credits":{"value":{"error":"no_enrich_credits","message":"Out of enrich credits and metered overage is off. Upgrade or enable overage at …/pricing."}},"spend_cap_reached":{"value":{"error":"spend_cap_reached","message":"Monthly enrich spend cap reached. Raise it in your dashboard to continue."}},"key_limit_reached":{"value":{"error":"key_limit_reached","limit":"enrich_runs","message":"This key has used its 20 enrich runs. Vehicles already served still work. Higher volume comes with a paid plan: …/contact"}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"422":{"description":"Decoded but unsupported (`unsupported_vehicle`), or the vehicle isn't sold with the drivetrain asked for (`drivetrain_not_sold`, with the drivetrains it is sold with). No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"unsupported_vehicle":{"value":{"error":"unsupported_vehicle","message":"The VIN decoded but no engine code could be resolved — this vehicle cannot be enriched."}},"drivetrain_not_sold":{"value":{"error":"drivetrain_not_sold","message":"This vehicle isn't sold as 4WD.","drivetrain":"4WD","sold":["FWD","AWD"]}}}}}},"429":{"description":"The per-minute rate limit (`rate_limited`), or the daily safety cap of 500 scheduled runs per key per UTC day (resets at 00:00 UTC), counted across `/v0/enrich`, `/v1/enrich` and `POST /v1/vehicle` (`daily_cap`; the reserved credit is refunded). Cache hits stay free.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"rate_limited":{"value":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}},"daily_cap":{"value":{"error":"daily_cap","message":"Daily enrich safety cap reached — contact support to raise it. Cache hits stay free."}}}}}},"500":{"description":"The vehicle row couldn't be created. No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"internal_error","message":"Vehicle row creation failed — retry later."}}}}}},"get":{"tags":["Enrichment"],"operationId":"enrichStatusV1","summary":"Poll enrichment status","description":"Free status poll. A run your key started (`?run_id=`, else the newest for `?vin=`) answers with that run (`object: \"enrichment_run\"`); otherwise the enrichment status of the VIN or config_key.","parameters":[{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/config_key"},{"name":"run_id","in":"query","description":"The `run_id` a 202 returned.","schema":{"type":"string"}}],"responses":{"200":{"description":"The run, or the status.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/EnrichmentRunV1"},{"$ref":"#/components/schemas/EnrichmentStatusV1"}]}}}},"304":{"description":"Not modified: the `If-None-Match` ETag still matches. No body, and not counted against the monthly quota."},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=…, ?config_key=… or a run_id."}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"Unknown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"Nothing is known for that identifier — POST /v1/enrich {vin} to enrich it."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v1/enrich/{run_id}":{"get":{"tags":["Enrichment"],"operationId":"enrichRunV1","summary":"One enrichment run","description":"A run your key started, by the `run_id` its 202 returned. Another key's run is a 404.","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The run.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichmentRunV1"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No such run for this key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No run with that id was started with this key."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v0/vehicle":{"get":{"tags":["Specifications"],"operationId":"getVehicleV0","summary":"Full vehicle payload (v0, legacy)","description":"Legacy. The original flagship — the whole vehicle payload in one response (history only for `service_history:read` keys). Unchanged and still supported; new integrations use `/v1/vehicle`, whose shapes differ (see Versions).","parameters":[{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/make"},{"$ref":"#/components/parameters/model"},{"$ref":"#/components/parameters/trim"},{"$ref":"#/components/parameters/config_key"}],"responses":{"200":{"description":"The vehicle payload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleResponseV0"}}}},"400":{"description":"No usable identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=… OR ?year=&make=&model=[&trim=] OR ?config_key=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"409":{"description":"More than one config matched a YMMT lookup — retry with a config_key from `matches` (or add &trim=).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipleMatches"}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v0/maintenance":{"get":{"tags":["Fluids & Capacities"],"operationId":"getMaintenanceV0","summary":"Maintenance specs (v0, legacy, strict gate)","description":"Legacy. Maintenance specs. Unlike `/v1/specs`, a field is only served when it has an evidence trail; everything else is listed in `excluded[]`.","parameters":[{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/vin"}],"responses":{"200":{"description":"Maintenance specs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceResponse"}}}},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?config_key=… or ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v0/labor":{"get":{"tags":["Labor"],"operationId":"getLabor","summary":"Labor times & estimates (v0, legacy)","description":"Legacy; new integrations use `/v1/labor`. `estimates[]` covers every applicable service, each labelled with its method (`estimate_source`: `empirical` or `model_estimate`) and a confidence score. In v0, `model_estimate` also covers the service's default time when nothing better resolves; `/v1/labor` labels that `service_default`. `services[]` carries hours measured from completed repair jobs (sample size, p25–p75) once a config has them. Licensed book-time blends are never served.","parameters":[{"$ref":"#/components/parameters/config_key"},{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/service"}],"responses":{"200":{"description":"Labor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaborResponse"}}}},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?config_key=… or ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No enriched vehicle matches that identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No enriched vehicle config matches that identifier."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v0/vehicle-image":{"get":{"tags":["Media"],"operationId":"getVehicleImage","summary":"Vehicle exterior render","description":"The cached exterior render for a config. Cache-only: a config without a cached render returns 404 `no_image`, and no live fetch is made. Requires the `media:read` scope.","parameters":[{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/year"},{"$ref":"#/components/parameters/make"},{"$ref":"#/components/parameters/model"},{"$ref":"#/components/parameters/trim"},{"$ref":"#/components/parameters/config_key"}],"responses":{"200":{"description":"Vehicle image.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleImageResponse"}}}},"400":{"description":"No usable identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=… OR ?year=&make=&model=[&trim=] OR ?config_key=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"No vehicle or image.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"no_image","message":"Vehicle resolved but no image is cached for it yet."}}}},"409":{"description":"More than one config matched a YMMT lookup — retry with a config_key from `matches` (or add &trim=).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipleMatches"}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v0/service-history":{"get":{"tags":["Service History"],"operationId":"getServiceHistory","summary":"Sanitized service history (by VIN, v0, legacy)","description":"Legacy; new integrations use `/v1/service-history`. Carfax-style per-VIN records: completed shop visits, owner-reported maintenance, and accepted document extractions. **Sanitized by contract** — no PII, costs, shop identity or free-text notes. Requires the `service_history:read` scope.","parameters":[{"$ref":"#/components/parameters/vin"}],"responses":{"200":{"description":"Service history.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceHistoryResponse"}}}},"400":{"description":"Missing VIN.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"Unknown VIN.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"No vehicle or service records are known for that VIN."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}},"/v0/enrich":{"post":{"tags":["Enrichment"],"operationId":"enrich","summary":"Enrich a VIN on demand (v0, legacy)","description":"POST a VIN we haven't seen (or whose data is stale) and the full enrichment pipeline runs. Fresh cache hits → 200 (free). A scheduled run → 202; poll `GET /v0/enrich?vin=…` until `complete`. Requires the `enrich:write` scope (granted separately).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vin"],"properties":{"vin":{"type":"string","example":"5J6RW2H82KL000007"}}}}}},"responses":{"200":{"description":"Cache hit (enriched in the last 180 days; free) or already in flight.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichmentStatus"}}}},"202":{"description":"Enrichment scheduled. Uses one enrich credit (or metered overage), refunded if the run can't be scheduled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichmentQueued"}}}},"400":{"description":"No VIN (`missing_param`), a VIN that isn't 17 characters (`invalid_vin`), or one that couldn't be decoded (`vin_decode_failed`). No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"missing_param":{"value":{"error":"missing_param","message":"Pass {\"vin\":\"…\"} in the JSON body (or ?vin=…)."}},"invalid_vin":{"value":{"error":"invalid_vin","message":"A VIN is exactly 17 characters."}},"vin_decode_failed":{"value":{"error":"vin_decode_failed","message":"The VIN could not be decoded."}}}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"402":{"description":"No credit to spend (self-serve keys): out of enrich credits with metered overage off (`no_enrich_credits`, with a `topup_url`), or the monthly enrich spend cap reached (`spend_cap_reached`). A key that has used its allowance of lookups outside its agreed vehicles, or of enrichment runs, gets `key_limit_reached` (`limit`: `lookups_outside_demo_set` or `enrich_runs`). Paid keys past a blocking plan's monthly enrich runs get `enrich_plan_limit`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"no_enrich_credits":{"value":{"error":"no_enrich_credits","message":"Out of enrich credits and metered overage is off. Upgrade or enable overage at …/pricing."}},"spend_cap_reached":{"value":{"error":"spend_cap_reached","message":"Monthly enrich spend cap reached. Raise it in your dashboard to continue."}},"key_limit_reached":{"value":{"error":"key_limit_reached","limit":"enrich_runs","message":"This key has used its 20 enrich runs. Vehicles already served still work. Higher volume comes with a paid plan: …/contact"}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"422":{"description":"Decoded but unsupported. No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"unsupported_vehicle","message":"The VIN decoded but no engine code could be resolved — this vehicle cannot be enriched."}}}},"429":{"description":"The per-minute rate limit (`rate_limited`), or the daily safety cap of 500 scheduled runs per key per UTC day (resets at 00:00 UTC), counted across `/v0/enrich`, `/v1/enrich` and `POST /v1/vehicle` (`daily_cap`; the reserved credit is refunded). Cache hits stay free.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"rate_limited":{"value":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}},"daily_cap":{"value":{"error":"daily_cap","message":"Daily enrich safety cap reached — contact support to raise it. Cache hits stay free."}}}}}},"500":{"description":"The vehicle row couldn't be created. No credit is used.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"internal_error","message":"Vehicle row creation failed — retry later."}}}}}},"get":{"tags":["Enrichment"],"operationId":"enrichStatus","summary":"Poll enrichment status (v0, legacy)","description":"Free status poll for a VIN or config_key.","parameters":[{"$ref":"#/components/parameters/vin"},{"$ref":"#/components/parameters/config_key"}],"responses":{"200":{"description":"Status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichmentStatus"}}}},"400":{"description":"Missing identifier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_param","message":"Pass ?vin=… or ?config_key=…"}}}},"401":{"description":"Missing or unknown key (`invalid_api_key`), a revoked key (`revoked_api_key`), or a key past its end date (`expired_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_api_key":{"value":{"error":"invalid_api_key","message":"Unknown API key."}},"revoked_api_key":{"value":{"error":"revoked_api_key","message":"This key has been revoked."}},"expired_api_key":{"value":{"error":"expired_api_key","message":"This key expired on 2026-11-07. Contact us to continue."}}}}}},"403":{"description":"The key lacks the required scope (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"insufficient_scope":{"value":{"error":"insufficient_scope","message":"This key lacks the 'maintenance:read' scope."}}}}}},"404":{"description":"Unknown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"not_found","message":"Nothing is known for that identifier — POST /v0/enrich {vin} to enrich it."}}}},"429":{"description":"Per-key per-minute rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Limit is 60 requests/minute for this key."}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your key as `Authorization: Bearer otp_live_…`."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your key in the `x-api-key` header."}},"parameters":{"vin":{"name":"vin","in":"query","description":"17-char VIN of a vehicle we've seen. The only mode that adds the service-history section.","schema":{"type":"string","minLength":11,"maxLength":17,"example":"5J6RW2H82KL000007"}},"config_key":{"name":"config_key","in":"query","description":"Canonical vehicle-config key — exact and unambiguous. 409 responses hand these back.","schema":{"type":"string","example":"2019_honda_cr_v_ex_l15be"}},"year":{"name":"year","in":"query","description":"Model year.","schema":{"type":"integer","example":2019}},"make":{"name":"make","in":"query","description":"Make (case-insensitive).","schema":{"type":"string","example":"Honda"}},"model":{"name":"model","in":"query","description":"Model (case-insensitive).","schema":{"type":"string","example":"CR-V"}},"trim":{"name":"trim","in":"query","description":"Optional trim filter to narrow YMMT matches.","schema":{"type":"string","example":"EX"}},"service":{"name":"service","in":"query","description":"Optional service-slug filter: a snake_case slug from the vehicle's services[].service (e.g. brake_pad_replacement). On /v1/parts an unknown slug returns 404 unknown_service listing the valid slugs.","schema":{"type":"string","example":"brake_pad_replacement"}},"include":{"name":"include","in":"query","description":"Comma-separated groups to return (omit for every group your key may see; empty for identity only). `specs` returns every spec field; `fluids`, `attributes` or `chassis` return `specs` (and `excluded`) narrowed to that group. Other aliases resolve: tires·wheels, intervals·maintenance·schedule, services·parts·labor, history. `history` needs the `service_history:read` scope: requesting it without that scope returns 403.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["specs","fluids","attributes","chassis","tires","intervals","maintenance","services","parts","history"]},"example":["fluids","tires"]}},"transmission":{"name":"transmission","in":"query","description":"The transmission the car has, from your repair order: a type (`automatic`, `manual`, `cvt`, `dct`) or a unit code (`8L90`, `U660E`). When it names the vehicle's own transmission, the transmission fluid values are served as for an exact match. When it names another, `resolution` is `ambiguous` and those values are null: we don't hold that transmission's fluids for this vehicle. Anything else is a 400 `invalid_param`.","schema":{"type":"string","example":"8L90"}},"drivetrain":{"name":"drivetrain","in":"query","description":"The drivetrain the car has, from your repair order: `FWD`, `RWD`, `AWD` or `4WD`. It picks the differential and transfer-case fluids when the vehicle is sold more than one way and the VIN doesn't say which (`drivetrain_detail.possible`). When we don't hold that drivetrain's fluids yet, those fields are `not_enriched`. It also picks the transmission unit (`transmission_detail.unit`) and the brake pads and rotors, where we hold that drivetrain's own (an AWD 2012 CR-V's front rotor isn't the 2WD's); otherwise those are the vehicle's stored drivetrain's. If the VIN names another drivetrain, `drivetrain_detail.resolution` is `unconfirmed` and they're null. Anything else is a 400 `invalid_param`.","schema":{"type":"string","enum":["FWD","RWD","AWD","4WD"],"example":"4WD"}},"include_unverified":{"name":"include_unverified","in":"query","description":"`true` serves unverified values too, each marked `verified: false`. Without it, a key limited to verified values gets null for any value that isn't verified.","schema":{"type":"boolean","default":false}}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"available":{"type":"array","items":{"type":"string"},"description":"unknown_service only: the service slugs this vehicle has."}},"required":["error","message"]},"Meta":{"type":"object","description":"v0.","properties":{"generated_at":{"type":"integer","description":"Epoch milliseconds."}}},"MetaV1":{"type":"object","properties":{"generated_at":{"type":"string","format":"date-time"}}},"SpecFieldV1":{"type":"object","properties":{"field":{"type":"string","example":"oil_capacity","description":"The spec. Capacities: `oil_capacity` and `coolant_capacity` are the total fill; `transmission_fluid_capacity` is the drain-and-refill amount (a pan drop), never the total or dry fill; `diff_fluid_capacity` and `transfer_case_fluid_capacity` are the unit's fill."},"label":{"type":"string","example":"Oil capacity"},"group":{"type":"string","enum":["Fluids","Attributes","Chassis"]},"value":{"type":["number","string","null"],"example":3.7,"description":"A number when `unit` is set (and for counts); otherwise a string. Null for an unverified value on a verified-only key."},"unit":{"type":["string","null"],"enum":["qt","fl_oz","ft_lb","in","A",null],"example":"qt"},"status":{"type":"string","enum":["verified","inherited_verified","unverified","ambiguous","not_applicable","not_enriched"],"description":"verified: two independent sources (sites run by different operators) agree and a second read confirmed at least one of them, or the owner's manual or OEM catalog states it and a second read confirmed it. inherited_verified: an engine value (timing system, aspiration, fuel injection, spark plug count) taken from a vehicle with the same engine, where a person verified it; `verified` stays false. ambiguous: a transmission fluid value when more than one transmission fits this car (see `config.transmission_detail.possible`), or a differential or transfer-case value when the drivetrain is open (see `config.drivetrain_detail.possible`); the value is null. When nothing says which transmission the car has (`resolution` is `unconfirmed`), its transmission fluid values are `unverified`. Verified-only keys get null for inherited_verified, unverified and ambiguous values. not_applicable: the car doesn't have it (electric power steering has no fluid; a 2WD car has no transfer case); the value is null. not_enriched: we don't have this value for the car yet; the value is null. Every fluid is listed, with or without a value."},"verified":{"type":"boolean"},"last_verified":{"type":["string","null"],"format":"date-time","description":"When the evidence that verified this value was read. Null when unverified."},"confidence":{"type":["number","null"],"example":0.9}}},"TiresV1":{"type":["object","null"],"properties":{"options":{"type":["array","null"],"items":{"type":"object"}},"front_size":{"type":["string","null"],"description":"From the OEM-standard option."},"rear_size":{"type":["string","null"],"description":"From the OEM-standard option (the front size when not staggered)."},"pressure_front_psi":{"type":["number","null"]},"pressure_rear_psi":{"type":["number","null"]},"is_staggered":{"type":["boolean","null"]},"is_run_flat":{"type":["boolean","null"]}},"example":{"options":[{"aspect_ratio":60,"is_oem_standard":true,"load_index":103,"pressure_front_psi":33,"pressure_rear_psi":30,"rim_diameter_in":18,"size_front":"235/60R18","speed_rating":"H","wheel_spec":"7.5Jx18 ET45","width_mm":235},{"aspect_ratio":65,"is_oem_standard":false,"load_index":104,"pressure_front_psi":32,"pressure_rear_psi":30,"rim_diameter_in":17,"size_front":"235/65R17","speed_rating":"H","wheel_spec":"7.5Jx17 ET45","width_mm":235}],"front_size":"235/60R18","rear_size":"235/60R18","pressure_front_psi":33,"pressure_rear_psi":30,"is_staggered":false,"is_run_flat":null}},"PriceV1":{"type":["object","null"],"description":"The part's newest price that passes its sanity checks: a price outside the plausible range for its kind of part (a battery under $60), or one far from the part's list price, is never served. Null when no price passes. v0 serves the newest price without the range check.","properties":{"amount":{"type":"number"},"msrp":{"type":["number","null"]},"as_of":{"type":["string","null"],"format":"date-time"}}},"PartV1":{"type":"object","properties":{"oem_part_number":{"type":"string"},"name":{"type":["string","null"],"description":"The part's name. The differential service's fluid (`gear_oil`) is named \"Differential Fluid\": it may be a gear oil or another fluid the maker specifies (Honda's DPSF-II). v0 keeps the stored name."},"subcategory":{"type":["string","null"],"description":"The part's kind, e.g. `oil_filter`, `front_brake_pad`. Front wiper blades: `wiper_blade_front_set` (the set as one part, or the driver's blade when the maker sells the two front blades separately) and `wiper_blade_front_passenger` (the passenger's own blade); rear: `wiper_blade_rear`."},"role":{"type":["string","null"]},"position":{"type":["string","null"],"description":"Where the part goes, for parts that come by axle or side: `front` or `rear`; null for the rest. Front wiper blades use the aftermarket lines' positions: `front_driver` and `front_passenger` when the car takes two separate front blades (both are listed, each with its own number and price), or `front` when the front set is one part."},"quantity":{"type":["number","null"]},"mechanic_verified":{"type":"boolean"},"confidence":{"type":["number","null"]},"price":{"$ref":"#/components/schemas/PriceV1"},"package":{"type":["object","null"],"description":"The option package this part is for (MAGIC VISION CONTROL, M Sport brakes). Null for the base part. A package part applies only to a car ordered with it.","properties":{"code":{"type":"string"},"label":{"type":"string"}}}}},"ServiceEntryV1":{"type":"object","properties":{"service":{"type":"string"},"name":{"type":["string","null"]},"applicable":{"type":"boolean"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/PartV1"}},"aftermarket":{"type":"array","description":"Wiper blades only: plain aftermarket blades by length for the sizes this car takes, beside the OEM parts. `price` is the weekly retail median for one blade, null until one is observed. Present only when a size is known, and not for a position whose OEM blade sprays or is heated (see `aftermarket_withheld`).","items":{"type":"object","properties":{"name":{"type":"string","example":"Wiper blade 26\" (aftermarket beam)"},"size_in":{"type":"number","example":26},"position":{"type":"string","enum":["front","front_driver","front_passenger","rear"]},"quantity":{"type":"integer"},"price":{"type":["object","null"],"properties":{"amount":{"type":"number"},"as_of":{"type":["string","null"],"format":"date-time"}}},"fit_note":{"type":"string"},"not_for_packages":{"type":"array","description":"Packages whose OEM blade isn't plain (e.g. MAGIC VISION CONTROL: heated, sprays from the blade). A car with one of them needs its OEM blade, not this one.","items":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"}}}}}}},"aftermarket_withheld":{"type":"array","description":"Wiper blades only: positions where this car's OEM blade sprays washer fluid from the blade or is heated, so no plain blade of its length is offered. Present only when there's one.","items":{"type":"object","properties":{"position":{"type":"string","enum":["front","front_driver","front_passenger","rear"]},"blade_kind":{"type":"string","enum":["washer_jets","heated","heated_washer_jets"]},"reason":{"type":"string"}}}},"labor":{"type":"object","properties":{"hours":{"type":["number","null"]},"source":{"type":"string","enum":["empirical","model_estimate","service_default","parts_only","unresolved"]},"confidence":{"type":["number","null"]},"sample_size":{"type":["integer","null"]},"tier_floor_applied":{"type":"boolean"}}}}},"VehicleResponseV1":{"type":"object","properties":{"object":{"type":"string","const":"vehicle"},"status":{"type":"string","enum":["complete","partial"],"description":"complete: every listed value is verified or not applicable. partial: some values are unverified, ambiguous or not enriched yet (counts in `verification`)."},"config":{"$ref":"#/components/schemas/VehicleConfig"},"specs":{"type":"array","items":{"$ref":"#/components/schemas/SpecFieldV1"}},"excluded":{"type":"array","items":{"$ref":"#/components/schemas/ExcludedField"}},"tires":{"$ref":"#/components/schemas/TiresV1"},"intervals":{"type":"array","items":{"$ref":"#/components/schemas/IntervalV1"}},"services":{"type":"array","items":{"$ref":"#/components/schemas/ServiceEntryV1"}},"history":{"type":["object","null"],"description":"VIN lookups with a service_history:read key only; null otherwise.","properties":{"passport":{"type":["object","null"],"description":"`last_shop_confirmed_at` is ISO 8601."},"visits":{"type":"array","items":{"type":"object","properties":{"date":{"type":["string","null"]},"status":{"type":"string"},"services":{"type":"array","items":{"type":"string"}}}}}}},"meta":{"$ref":"#/components/schemas/MetaV1"},"verification":{"type":"object","description":"How much of this response is verified. `status` is `complete` only when every listed value is verified or not applicable.","properties":{"verified":{"type":"integer","example":7},"not_applicable":{"type":"integer","example":3},"total":{"type":"integer","example":13}}}},"example":{"object":"vehicle","status":"complete","config":{"config_key":"2019_honda_cr_v_ex_l15be","year":2019,"make":"Honda","model":"CR-V","trim":"EX","chassis_code":"RW","chassis_code_full":"RW2","drivetrain":"4WD","engine":{"label":"1.5L L15BE 4cyl","code":"L15BE","cylinders":4,"displacement_l":1.5,"aspiration":"turbo","fuel_injection":"direct"},"enrichment":{"status":"complete","fill_rate":92,"confidence_avg":0.83},"transmission":"Continuously Variable Transmission (CVT)"},"specs":[{"field":"oil_viscosity","label":"Oil viscosity","group":"Fluids","value":"0W-20","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.98},{"field":"oil_capacity","label":"Oil capacity","group":"Fluids","value":3.7,"unit":"qt","status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.85},{"field":"coolant_type","label":"Coolant type","group":"Fluids","value":"Honda Long Life Antifreeze/Coolant Type 2","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.98},{"field":"diff_fluid_type","label":"Differential fluid","group":"Fluids","value":"Honda Dual Pump Fluid II (DPSF-II)","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.9},{"field":"lug_nut_torque","label":"Lug nut torque","group":"Chassis","value":80,"unit":"ft_lb","status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.9},{"field":"battery_group","label":"Battery group","group":"Chassis","value":"51R","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.9},{"field":"front_wiper_size","label":"Front wiper size","group":"Chassis","value":26,"unit":"in","status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":0.85},{"field":"steering_type","label":"Steering type","group":"Chassis","value":"electric","unit":null,"status":"unverified","verified":false,"last_verified":null,"layer":"C","confidence":null}],"excluded":[],"tires":{"options":[{"aspect_ratio":60,"is_oem_standard":true,"load_index":103,"pressure_front_psi":33,"pressure_rear_psi":30,"rim_diameter_in":18,"size_front":"235/60R18","speed_rating":"H","wheel_spec":"7.5Jx18 ET45","width_mm":235},{"aspect_ratio":65,"is_oem_standard":false,"load_index":104,"pressure_front_psi":32,"pressure_rear_psi":30,"rim_diameter_in":17,"size_front":"235/65R17","speed_rating":"H","wheel_spec":"7.5Jx17 ET45","width_mm":235}],"front_size":"235/60R18","rear_size":"235/60R18","pressure_front_psi":33,"pressure_rear_psi":30,"is_staggered":false,"is_run_flat":null},"intervals":[{"confidence":0.85,"display":null,"interval_miles":7500,"interval_months":12,"mechanic_verified":false,"name":"Oil Change","service":"oil_change","schedule":"fixed"},{"confidence":0.9199999999999999,"display":null,"interval_miles":7500,"interval_months":6,"mechanic_verified":false,"name":"Tire Rotation","service":"tire_rotation","schedule":"fixed"}],"services":[{"applicable":true,"labor":{"confidence":0.3,"hours":1.4,"sample_size":null,"source":"model_estimate","tier_floor_applied":true},"name":"Brake Pad Replacement","parts":[{"confidence":0.97,"mechanic_verified":false,"name":"Front Brake Pads","oem_part_number":"45022-TLA-A02","position":"front","price":{"amount":70.99,"as_of":"2026-08-19T21:12:08Z","msrp":103.07},"quantity":1,"role":"core","subcategory":"front_brake_pad"},{"confidence":0.97,"mechanic_verified":false,"name":"Rear Brake Pads","oem_part_number":"43022-TLA-A00","position":"rear","price":{"amount":70.62,"as_of":"2026-08-19T21:12:17Z","msrp":99.75},"quantity":1,"role":"core","subcategory":"rear_brake_pad"}],"service":"brake_pad_replacement"}],"history":null,"meta":{"generated_at":"2026-10-18T11:32:20Z"}}},"LaborResponseV1":{"type":"object","properties":{"object":{"type":"string","const":"labor"},"config":{"$ref":"#/components/schemas/VehicleConfig"},"tier":{"type":["string","null"]},"services":{"type":"array","items":{"type":"object","properties":{"service":{"type":"string"},"name":{"type":["string","null"]},"hours":{"type":["number","null"]},"source":{"type":"string","enum":["empirical","model_estimate","service_default","unresolved"]},"confidence":{"type":["number","null"]},"tier_floor_applied":{"type":"boolean"},"empirical":{"type":["object","null"],"properties":{"hours":{"type":"number"},"p25":{"type":["number","null"]},"p75":{"type":["number","null"]},"sample_size":{"type":"integer"}}}}}},"meta":{"$ref":"#/components/schemas/MetaV1"}}},"ServiceHistoryResponseV1":{"type":"object","properties":{"object":{"type":"string","const":"service_history"},"vin":{"type":"string"},"records":{"type":"array","items":{"type":"object","properties":{"date":{"type":["string","null"]},"mileage":{"type":["integer","null"]},"source":{"type":"string","enum":["shop_visit","owner_reported","document"]},"confidence":{"type":["number","null"]},"confidence_label":{"type":["string","null"],"example":"verified"},"services":{"type":"array","items":{"type":"string"}},"parts":{"type":"array","items":{"type":"object"}}}}},"meta":{"type":"object","properties":{"record_count":{"type":"integer"},"sanitization":{"type":"string"},"generated_at":{"type":"string","format":"date-time"}}}}},"EnrichmentStatusV1":{"type":"object","properties":{"object":{"type":"string"},"status":{"type":"string","enum":["complete","enriching","failed","incomplete","queued"]},"config_key":{"type":["string","null"]},"last_enriched_at":{"type":["string","null"],"format":"date-time"},"fill_rate":{"type":["number","null"],"description":"Percentage (0–100)."}}},"SpecField":{"type":"object","properties":{"field":{"type":"string","example":"oil_capacity_qts"},"label":{"type":"string","example":"Oil capacity (qts)"},"group":{"type":"string","enum":["Fluids","Attributes","Chassis"]},"value":{"type":"string","example":"3.7"},"confidence":{"type":["number","null"],"example":0.9}}},"ExcludedField":{"type":"object","properties":{"field":{"type":"string"},"label":{"type":"string"},"reason":{"type":"string","example":"licensed structured DB"}}},"EnrichmentRunV1":{"type":"object","description":"One enrichment run (OTX-25). A run with nothing working on it is marked failed and refunded. Typical run: about 7.8 min, 95% within 10.4 (98 runs, measured 2026-11-02).","properties":{"object":{"type":"string","const":"enrichment_run"},"run_id":{"type":"string"},"vin":{"type":"string"},"status":{"type":"string","enum":["queued","running","complete","partial","failed"]},"config_key":{"type":["string","null"]},"started_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"error":{"type":["string","null"]},"progress":{"type":["object","null"],"description":"While the run works: its stage (evidence, lanes, verifying, validating, writing, pricing, finalizing) as step of 7. Null once it's finished or before it starts.","properties":{"stage":{"type":"string"},"step":{"type":"integer"},"of":{"type":"integer"}}},"refunded":{"type":"boolean","description":"Keys with a run allowance only: the run was given back to the key's allowance."},"typical_minutes":{"type":"object","properties":{"p50":{"type":"number"},"p95":{"type":"number"}}}}},"TransmissionDetail":{"type":"object","description":"VIN → transmission resolution. One year, model and engine often comes with more than one transmission (2018 Civic: CVT or 6-speed manual). `exact`: the VIN pins the transmission and the data served is that transmission's, or we've verified that this vehicle only comes with one unit. `unconfirmed`: nothing says which transmission this car has; the vehicle's own transmission and its fluid values are served, never as verified. `ambiguous`: more than one transmission fits (they're in `possible`), or the VIN contradicts the vehicle's; the transmission fluid values are null, so one transmission's fluid is never served as this car's.","properties":{"resolution":{"type":"string","enum":["exact","unconfirmed","ambiguous"]},"type":{"type":["string","null"],"enum":["automatic","manual","CVT","DCT",null]},"speeds":{"type":["integer","null"]},"unit":{"type":["string","null"],"description":"The transmission unit (8L90, U660E), when known and the transmission isn't ambiguous. When the drivetrain is resolved and its unit differs (FW6AX-EL on an AWD 2018 CX-5, FW6A-EL on the FWD), that drivetrain's."},"possible":{"type":["array","null"],"items":{"type":"string"},"description":"When ambiguous: the transmissions that fit (units, else types)."}}},"DrivetrainDetail":{"type":"object","description":"VIN → drivetrain resolution, for the differential and transfer-case fluids. One year, model and engine is often sold more than one way (a Silverado LT is 2WD or 4WD), and those fluids are held per drivetrain. `exact`: the VIN, `?drivetrain=`, or the vehicle being sold one way only says which; that drivetrain's fluids are served, and its own transmission unit and brake pads and rotors where we hold them. `unconfirmed`: nothing says which. With `possible`, the differential and transfer-case values are null (status `ambiguous`): pass `?drivetrain=` to pick one. Without `possible` (we don't know how the vehicle was sold), the vehicle's stored drivetrain is served, never as verified.","properties":{"resolution":{"type":"string","enum":["exact","unconfirmed"]},"drivetrain":{"type":["string","null"],"enum":["FWD","RWD","AWD","4WD",null],"description":"The drivetrain whose fluids are served; null when they're withheld."},"basis":{"type":["string","null"],"enum":["vin","requested","sold_one_way","stored",null]},"possible":{"type":["array","null"],"items":{"type":"string","enum":["FWD","RWD","AWD","4WD"]},"description":"When unconfirmed and the vehicle is sold more than one way: the drivetrains it could be."},"transfer_case":{"type":["object","null"],"description":"The served drivetrain's transfer case (4WD and AWD only). `exact`: we hold its unit (NV245, MP3022). `unconfirmed`: we don't know the unit; the transfer-case fluids are served as they are. `ambiguous`: more than one unit fits this vehicle (they're in `possible`) and they take different fluids, so the transfer-case values are null.","properties":{"resolution":{"type":"string","enum":["exact","unconfirmed","ambiguous"]},"unit":{"type":["string","null"]},"possible":{"type":["array","null"],"items":{"type":"string"}}}}}},"Engine":{"type":["object","null"],"properties":{"label":{"type":["string","null"]},"code":{"type":["string","null"]},"cylinders":{"type":["integer","null"]},"displacement_l":{"type":["number","null"]},"aspiration":{"type":["string","null"]},"fuel_injection":{"type":["string","null"]}}},"VehicleConfig":{"type":"object","properties":{"config_key":{"type":["string","null"]},"year":{"type":"integer"},"make":{"type":"string"},"model":{"type":"string"},"trim":{"type":["string","null"]},"chassis_code":{"type":["string","null"],"description":"The maker's chassis or generation code (e.g. G20, T1XX). On a VIN request it's this car's: its VIN's when the VIN carries one (Honda, Acura, Subaru), or its body's when the maker gives each body its own (a Civic hatchback is FK, its sedan FC). Null when we don't hold a real one for this model year."},"chassis_code_full":{"type":["string","null"],"description":"v1. The maker's full code for this car, with its drivetrain, engine or variant in it (RW2 for an AWD CR-V of the RW generation, AXAA54 for an AWD RAV4 of the XA50). Null when the generation code is all there is, or when we can't say which full code is this car's (a config sold with more than one drivetrain, and the request doesn't settle which)."},"drivetrain":{"type":["string","null"]},"engine":{"$ref":"#/components/schemas/Engine"},"transmission":{"type":["string","null"]},"transmission_detail":{"$ref":"#/components/schemas/TransmissionDetail"},"drivetrain_detail":{"$ref":"#/components/schemas/DrivetrainDetail"},"enrichment":{"type":"object","properties":{"status":{"type":["string","null"],"description":"v1 reports `partial` for a config under 50% fill."},"fill_rate":{"type":["number","null"],"description":"Percentage (0–100)."},"confidence_avg":{"type":["number","null"]}}}},"example":{"chassis_code":"RW","config_key":"2019_honda_cr_v_ex_l15be","drivetrain":"4WD","engine":{"aspiration":"turbo","code":"L15BE","cylinders":4,"displacement_l":1.5,"fuel_injection":"direct","label":"1.5L L15BE 4cyl"},"enrichment":{"confidence_avg":0.8310866477272721,"fill_rate":92,"status":"complete"},"make":"Honda","model":"CR-V","transmission":"Continuously Variable Transmission (CVT)","trim":"EX","year":2019}},"ConfigBrief":{"type":"object","properties":{"config_key":{"type":["string","null"]},"year":{"type":"integer"},"make":{"type":"string"},"model":{"type":"string"},"trim":{"type":["string","null"]},"engine":{"type":["string","null"]},"drivetrain":{"type":["string","null"]}}},"Tires":{"type":["object","null"],"properties":{"options":{"type":["array","null"],"items":{"type":"object"}},"front_size":{"type":["string","null"]},"rear_size":{"type":["string","null"]},"pressure_front_psi":{"type":["number","null"]},"pressure_rear_psi":{"type":["number","null"]},"is_staggered":{"type":["boolean","null"]},"is_run_flat":{"type":["boolean","null"]},"battery_cca":{"type":["number","null"]}},"example":{"battery_cca":400,"front_size":null,"is_run_flat":null,"is_staggered":false,"options":[{"aspect_ratio":60,"is_oem_standard":true,"load_index":103,"pressure_front_psi":33,"pressure_rear_psi":30,"rim_diameter_in":18,"size_front":"235/60R18","speed_rating":"H","wheel_spec":"7.5Jx18 ET45","width_mm":235},{"aspect_ratio":65,"is_oem_standard":false,"load_index":104,"pressure_front_psi":32,"pressure_rear_psi":30,"rim_diameter_in":17,"size_front":"235/65R17","speed_rating":"H","wheel_spec":"7.5Jx17 ET45","width_mm":235}],"pressure_front_psi":32,"pressure_rear_psi":30,"rear_size":null}},"Interval":{"type":"object","properties":{"service":{"type":"string"},"name":{"type":"string"},"interval_miles":{"type":["integer","null"]},"interval_months":{"type":["integer","null"]},"display":{"type":["string","null"]},"confidence":{"type":["number","null"]},"mechanic_verified":{"type":"boolean"}}},"IntervalV1":{"type":"object","description":"An OEM service interval. `schedule` says how it is set: `fixed` is a cadence in miles and/or months; `monitor_based` means the vehicle's oil-life or service monitor decides when (GM Oil Life System, Honda Maintenance Minder, BMW condition-based service, Mercedes Flexible Service), and `interval_miles` / `interval_months`, when present, are the maker's limit, not a schedule. A `monitor_based` interval can have neither.","properties":{"service":{"type":"string"},"name":{"type":"string"},"interval_miles":{"type":["integer","null"]},"interval_months":{"type":["integer","null"]},"display":{"type":["string","null"]},"confidence":{"type":["number","null"]},"mechanic_verified":{"type":"boolean"},"schedule":{"type":"string","enum":["fixed","monitor_based"]}}},"Price":{"type":["object","null"],"properties":{"amount":{"type":"number"},"msrp":{"type":["number","null"]},"as_of":{"type":["integer","null"]}}},"Part":{"type":"object","properties":{"oem_part_number":{"type":"string"},"name":{"type":["string","null"]},"subcategory":{"type":["string","null"]},"role":{"type":["string","null"]},"position":{"type":["string","null"]},"quantity":{"type":["number","null"]},"mechanic_verified":{"type":"boolean"},"confidence":{"type":["number","null"]},"price":{"$ref":"#/components/schemas/Price"}}},"ServiceEntry":{"type":"object","properties":{"service":{"type":"string"},"name":{"type":["string","null"]},"applicable":{"type":"boolean"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/Part"}},"labor":{"type":"object","properties":{"hours":{"type":["number","null"]},"source":{"type":"string"},"confidence":{"type":["number","null"]},"sample_size":{"type":["integer","null"]},"tier_floor_applied":{"type":"boolean"}}}}},"VehicleResponseV0":{"type":"object","description":"v0 (legacy).","properties":{"object":{"type":"string","const":"vehicle"},"config":{"$ref":"#/components/schemas/VehicleConfig"},"specs":{"type":"array","items":{"$ref":"#/components/schemas/SpecField"}},"excluded":{"type":"array","items":{"$ref":"#/components/schemas/ExcludedField"}},"tires":{"$ref":"#/components/schemas/Tires"},"intervals":{"type":"array","items":{"$ref":"#/components/schemas/Interval"}},"services":{"type":"array","items":{"$ref":"#/components/schemas/ServiceEntry"}},"history":{"type":["object","null"],"description":"VIN lookups with a service_history:read key only; null otherwise.","properties":{"passport":{"type":["object","null"]},"visits":{"type":"array","items":{"type":"object","properties":{"date":{"type":["string","null"]},"status":{"type":"string"},"services":{"type":"array","items":{"type":"string"}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}},"example":{"object":"vehicle","config":{"chassis_code":"RW","config_key":"2019_honda_cr_v_ex_l15be","drivetrain":"4WD","engine":{"aspiration":"turbo","code":"L15BE","cylinders":4,"displacement_l":1.5,"fuel_injection":"direct","label":"1.5L L15BE 4cyl"},"enrichment":{"confidence_avg":0.8310866477272721,"fill_rate":92,"status":"complete"},"make":"Honda","model":"CR-V","transmission":"Continuously Variable Transmission (CVT)","trim":"EX","year":2019},"specs":[{"confidence":0.98,"field":"oil_viscosity","group":"Fluids","label":"Oil viscosity","layer":"C","value":"0W-20"},{"confidence":0.85,"field":"oil_capacity_qts","group":"Fluids","label":"Oil capacity (qts)","layer":"C","value":"3.7"},{"confidence":0.98,"field":"coolant_type","group":"Fluids","label":"Coolant type","layer":"C","value":"Honda Long Life Antifreeze/Coolant Type 2"},{"confidence":0.9,"field":"diff_fluid_type","group":"Fluids","label":"Differential fluid","layer":"C","value":"Honda Dual Pump Fluid II (DPSF-II)"},{"confidence":0.9,"field":"lug_nut_torque_ft_lbs","group":"Chassis","label":"Lug nut torque (ft-lbs)","layer":"C","value":"80"},{"confidence":0.9,"field":"battery_group","group":"Chassis","label":"Battery group","layer":"C","value":"51R"},{"confidence":0.85,"field":"front_wiper_size","group":"Chassis","label":"Front wiper size (in)","layer":"C","value":"26"},{"confidence":null,"field":"steering_type","group":"Chassis","label":"Steering type","layer":"C","value":"electric"}],"excluded":[],"tires":{"battery_cca":400,"front_size":null,"is_run_flat":null,"is_staggered":false,"options":[{"aspect_ratio":60,"is_oem_standard":true,"load_index":103,"pressure_front_psi":33,"pressure_rear_psi":30,"rim_diameter_in":18,"size_front":"235/60R18","speed_rating":"H","wheel_spec":"7.5Jx18 ET45","width_mm":235},{"aspect_ratio":65,"is_oem_standard":false,"load_index":104,"pressure_front_psi":32,"pressure_rear_psi":30,"rim_diameter_in":17,"size_front":"235/65R17","speed_rating":"H","wheel_spec":"7.5Jx17 ET45","width_mm":235}],"pressure_front_psi":32,"pressure_rear_psi":30,"rear_size":null},"intervals":[{"confidence":0.85,"display":null,"interval_miles":7500,"interval_months":12,"mechanic_verified":false,"name":"Oil Change","service":"oil_change"},{"confidence":0.9199999999999999,"display":null,"interval_miles":7500,"interval_months":6,"mechanic_verified":false,"name":"Tire Rotation","service":"tire_rotation"}],"services":[{"applicable":true,"labor":{"confidence":0.3,"hours":1.4,"sample_size":null,"source":"model_estimate","tier_floor_applied":true},"name":"Brake Pad Replacement","parts":[{"confidence":0.97,"mechanic_verified":false,"name":"Front Brake Pads","oem_part_number":"45022-TLA-A02","position":"front","price":{"amount":70.99,"as_of":1787173928266,"msrp":103.07},"quantity":1,"role":"core","subcategory":"front_brake_pad"},{"confidence":0.97,"mechanic_verified":false,"name":"Rear Brake Pads","oem_part_number":"43022-TLA-A00","position":"rear","price":{"amount":70.62,"as_of":1787173937854,"msrp":99.75},"quantity":1,"role":"core","subcategory":"rear_brake_pad"}],"service":"brake_pad_replacement"}],"history":null,"meta":{"generated_at":1792323140145}}},"FluidsResponse":{"type":"object","properties":{"object":{"type":"string","const":"fluids"},"status":{"type":"string","enum":["complete","partial"],"description":"complete: every listed value is verified or not applicable. partial: some values are unverified, ambiguous or not enriched yet (counts in `verification`)."},"config":{"$ref":"#/components/schemas/VehicleConfig"},"specs":{"type":"array","items":{"$ref":"#/components/schemas/SpecFieldV1"}},"meta":{"$ref":"#/components/schemas/MetaV1"},"verification":{"type":"object","description":"How much of this response is verified. `status` is `complete` only when every listed value is verified or not applicable.","properties":{"verified":{"type":"integer","example":7},"not_applicable":{"type":"integer","example":3},"total":{"type":"integer","example":13}}}}},"SpecsResponse":{"type":"object","properties":{"object":{"type":"string","const":"specs"},"status":{"type":"string","enum":["complete","partial"],"description":"complete: every listed value is verified or not applicable. partial: some values are unverified, ambiguous or not enriched yet (counts in `verification`)."},"config":{"$ref":"#/components/schemas/VehicleConfig"},"specs":{"type":"array","items":{"$ref":"#/components/schemas/SpecFieldV1"}},"excluded":{"type":"array","items":{"$ref":"#/components/schemas/ExcludedField"}},"meta":{"$ref":"#/components/schemas/MetaV1"},"verification":{"type":"object","description":"How much of this response is verified. `status` is `complete` only when every listed value is verified or not applicable.","properties":{"verified":{"type":"integer","example":7},"not_applicable":{"type":"integer","example":3},"total":{"type":"integer","example":13}}}}},"TiresResponse":{"type":"object","properties":{"object":{"type":"string","const":"tires"},"config":{"$ref":"#/components/schemas/VehicleConfig"},"tires":{"$ref":"#/components/schemas/TiresV1"},"meta":{"$ref":"#/components/schemas/MetaV1"}}},"MaintenanceScheduleResponse":{"type":"object","properties":{"object":{"type":"string","const":"maintenance_schedule"},"config":{"$ref":"#/components/schemas/VehicleConfig"},"intervals":{"type":"array","items":{"$ref":"#/components/schemas/IntervalV1"}},"meta":{"$ref":"#/components/schemas/MetaV1"}}},"PartsResponse":{"type":"object","properties":{"object":{"type":"string","const":"parts"},"config":{"$ref":"#/components/schemas/VehicleConfig"},"services":{"type":"array","items":{"$ref":"#/components/schemas/ServiceEntryV1"}},"meta":{"$ref":"#/components/schemas/MetaV1"}}},"DecodeResponse":{"type":"object","properties":{"object":{"type":"string","const":"decode"},"config":{"$ref":"#/components/schemas/VehicleConfig"}}},"ConfigCandidate":{"type":"object","properties":{"config_key":{"type":"string"},"year":{"type":"integer"},"make":{"type":"string"},"model":{"type":"string"},"trim":{"type":["string","null"]},"drivetrain":{"type":["string","null"]},"engine":{"type":["string","null"]},"enrichment_status":{"type":["string","null"]},"fill_rate":{"type":["number","null"]}}},"ConfigListResponse":{"type":"object","properties":{"object":{"type":"string","const":"config_list"},"year":{"type":"integer"},"make":{"type":"string"},"model":{"type":"string"},"trim":{"type":["string","null"]},"count":{"type":"integer"},"configs":{"type":"array","items":{"$ref":"#/components/schemas/ConfigCandidate"}}}},"MaintenanceResponse":{"type":"object","properties":{"object":{"type":"string","const":"maintenance_specs"},"config":{"$ref":"#/components/schemas/ConfigBrief"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/SpecField"}},"excluded":{"type":"array","items":{"$ref":"#/components/schemas/ExcludedField"}},"meta":{"$ref":"#/components/schemas/Meta"}}},"LaborResponse":{"type":"object","properties":{"object":{"type":"string","const":"empirical_labor"},"config_key":{"type":["string","null"]},"services":{"type":"array","items":{"type":"object","properties":{"service":{"type":"string"},"name":{"type":"string"},"empirical_hours":{"type":"number"},"sample_size":{"type":["integer","null"]},"p25_hours":{"type":["number","null"]},"p75_hours":{"type":["number","null"]}}}},"estimates":{"type":"array","items":{"type":"object","properties":{"service":{"type":"string"},"name":{"type":"string"},"estimated_hours":{"type":"number"},"estimate_source":{"type":"string","enum":["empirical","model_estimate"]},"estimate_confidence":{"type":["number","null"]}}}},"tier":{"type":["string","null"]},"note":{"type":"string"}}},"VehicleImageResponse":{"type":"object","properties":{"object":{"type":"string","const":"vehicle_image"},"config":{"$ref":"#/components/schemas/ConfigBrief"},"image":{"type":["object","null"],"properties":{"url":{"type":"string"},"media_source":{"type":"string"},"licensing_note":{"type":"string"}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"ServiceHistoryResponse":{"type":"object","properties":{"object":{"type":"string","const":"service_history"},"vin":{"type":"string"},"records":{"type":"array","items":{"type":"object","properties":{"date":{"type":["string","null"]},"mileage":{"type":["integer","null"]},"source":{"type":"string","enum":["shop_visit","owner_reported","document"]},"confidence":{"type":["string","number","null"]},"services":{"type":"array","items":{"type":"string"}},"parts":{"type":"array","items":{"type":"object"}}}}},"meta":{"type":"object","properties":{"record_count":{"type":"integer"},"sanitization":{"type":"string"},"generated_at":{"type":"integer"}}}}},"MultipleMatches":{"type":"object","properties":{"error":{"type":"string","const":"multiple_matches"},"message":{"type":"string"},"total_matches":{"type":"integer","description":"`?vin=` lookups only: how many configs the VIN fits. `matches` lists at most 5 of them, most complete first."},"matches":{"type":"array","items":{"type":"object","properties":{"config_key":{"type":["string","null"]},"label":{"type":"string","description":"For a `?vin=` lookup, readable: \"2008 Nissan Altima Base, 2.5L QR25DE, CVT\"."}}}}}},"EnrichmentQueued":{"type":"object","properties":{"object":{"type":"string","const":"enrichment"},"status":{"type":"string","example":"queued"},"vin":{"type":"string"},"run_id":{"type":["string","null"]},"credits_remaining":{"type":"integer","description":"Self-serve keys only: included credits left after this run."},"poll":{"type":"object","properties":{"method":{"type":"string"},"url":{"type":"string"},"interval_seconds":{"type":"integer"},"note":{"type":"string"}}}}},"VehicleStatusResponse":{"type":"object","description":"A VIN without finished enrichment data (OTX-20). The identity is decoded from the VIN and labelled `verified: false`; no source is named. A transmission the VIN doesn't pin is `unconfirmed`, never a guess.","properties":{"object":{"type":"string","enum":["vehicle","fluids","specs"]},"status":{"type":"string","enum":["decoded","enriching","failed"]},"vin":{"type":"string"},"identity":{"oneOf":[{"$ref":"#/components/schemas/VehicleIdentity"},{"type":"null"}]},"specs":{"type":"array","description":"Absent when `failed`.","items":{"$ref":"#/components/schemas/PendingSpecV1"}},"enrich":{"type":"object","description":"How to enrich this VIN. Only for keys with `enrich:write`.","properties":{"method":{"type":"string","const":"POST"},"url":{"type":"string","const":"/v1/vehicle"},"body":{"type":"object","properties":{"vin":{"type":"string"}}},"cost":{"type":"object","properties":{"enrich_credits":{"type":"integer","const":1}}}}},"status_url":{"type":"string","description":"`enriching` only: the enrichment status URL."},"retry_after_seconds":{"type":"integer","description":"`enriching` only: seconds before polling again."},"credits_remaining":{"type":"integer","description":"POST that scheduled a run, self-serve keys only."},"message":{"type":"string","description":"`failed` only."}},"example":{"object":"vehicle","status":"enriching","vin":"1HGCV1F30JA000000","identity":{"year":2018,"make":"Honda","model":"Accord","trim":"LX","body_class":"Sedan/Saloon","engine":{"displacement_l":1.5,"cylinders":4,"fuel_type":"Gasoline"},"drivetrain":"FWD","transmission":{"resolution":"exact","type":"CVT","speeds":null,"unit":null,"possible":null},"verified":false},"specs":[{"field":"oil_viscosity","label":"Oil viscosity","group":"Fluids","value":null,"unit":null,"status":"retrieving"},{"field":"oil_capacity","label":"Oil capacity","group":"Fluids","value":null,"unit":"qt","status":"retrieving"}],"status_url":"/v1/enrich?vin=1HGCV1F30JA000000","retry_after_seconds":120}},"VehicleIdentity":{"type":"object","properties":{"year":{"type":["integer","null"]},"make":{"type":["string","null"]},"model":{"type":["string","null"]},"trim":{"type":["string","null"]},"body_class":{"type":["string","null"]},"engine":{"type":"object","properties":{"displacement_l":{"type":["number","null"]},"cylinders":{"type":["integer","null"]},"fuel_type":{"type":["string","null"]}}},"drivetrain":{"type":["string","null"],"example":"FWD"},"transmission":{"$ref":"#/components/schemas/TransmissionDetail"},"verified":{"type":"boolean","const":false}}},"PendingSpecV1":{"type":"object","description":"A spec value not known yet. `unit` is what the value will be in.","properties":{"field":{"type":"string"},"label":{"type":"string"},"group":{"type":"string"},"value":{"type":"null"},"unit":{"type":["string","null"],"enum":["qt","fl_oz","ft_lb","in","A",null]},"status":{"type":"string","enum":["not_enriched","retrieving"],"description":"not_enriched: POST /v1/vehicle to enrich. retrieving: a run is in progress."}}},"EnrichmentStatus":{"type":"object","properties":{"object":{"type":"string"},"status":{"type":"string","enum":["complete","enriching","failed","incomplete"]},"config_key":{"type":["string","null"]},"enrichment_status":{"type":["string","null"]},"last_enriched_at":{"type":["integer","null"]},"fill_rate":{"type":["number","null"]}}},"WebhookEnrichmentRun":{"type":"object","description":"The run, as GET /v1/enrich/{run_id} returns it, without the polling-only fields (progress, typical_minutes).","properties":{"object":{"type":"string","const":"enrichment_run"},"run_id":{"type":"string","description":"The run_id the 202 returned."},"vin":{"type":"string"},"status":{"type":"string","enum":["queued","running","complete","partial","failed"]},"config_key":{"type":["string","null"]},"started_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"error":{"type":["string","null"]}}},"WebhookEvent":{"type":"object","description":"The body of every webhook POST. Delivered at least once and in no guaranteed order: dedupe on `id`. Headers: `OtoIndex-Event` (the type), `OtoIndex-Event-Id` (the id), and `OtoIndex-Signature: t=<unix seconds>,v1=<hex>`, where v1 is the HMAC-SHA256 of `<t>.<raw body>` keyed with your account's signing secret (one secret for every endpoint; set it in the dashboard: generated, or your own). Check it, and that t is recent, before trusting the body. Answer 2xx within 10 s. Anything else (including a redirect) is retried after 1 min, 5 min, 30 min, 2 h, 6 h; an endpoint whose last 5 events all failed every attempt is switched off until you switch it back on in the dashboard.","required":["id","object","type","created","data"],"properties":{"id":{"type":"string","example":"evt_k57d2v1x9qkq7yb0m3f0e8c6sh7tq0aa"},"object":{"type":"string","const":"event"},"type":{"type":"string","enum":["enrichment.queued","enrichment.started","enrichment.completed","enrichment.partial","enrichment.failed"]},"created":{"type":"integer","description":"Unix seconds."},"data":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/WebhookEnrichmentRun"}}}}}}},"webhooks":{"enrichment.queued":{"post":{"tags":["Enrichment"],"operationId":"webhook_enrichment_queued","summary":"enrichment.queued","description":"A run your key started was accepted (the 202 from POST /v1/enrich or /v0/enrich). Sent to the HTTPS endpoints you subscribe in the dashboard (Webhooks), for runs started with your keys. Sent within about 2 minutes of the change, except enrichment.queued, which is sent at once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_k57d2v1x9qkq7yb0m3f0e8c6sh7tq0aa","object":"event","type":"enrichment.queued","created":1794795990,"data":{"object":{"object":"enrichment_run","run_id":"ws7qheqs55qmne6arh5bsbd69h8jb8v2","vin":"5J6RW2H82KL000007","status":"queued","config_key":null,"started_at":"2026-11-16T02:17:02.000Z","updated_at":"2026-11-16T02:26:30.000Z","completed_at":null,"error":null}}}}}},"responses":{"2XX":{"description":"Received. Answer quickly and do the work afterwards."}}}},"enrichment.started":{"post":{"tags":["Enrichment"],"operationId":"webhook_enrichment_started","summary":"enrichment.started","description":"The run is being worked on. Sent to the HTTPS endpoints you subscribe in the dashboard (Webhooks), for runs started with your keys. Sent within about 2 minutes of the change, except enrichment.queued, which is sent at once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_k57d2v1x9qkq7yb0m3f0e8c6sh7tq0aa","object":"event","type":"enrichment.started","created":1794795990,"data":{"object":{"object":"enrichment_run","run_id":"ws7qheqs55qmne6arh5bsbd69h8jb8v2","vin":"5J6RW2H82KL000007","status":"running","config_key":"2019_honda_cr_v_ex_l15be","started_at":"2026-11-16T02:17:02.000Z","updated_at":"2026-11-16T02:26:30.000Z","completed_at":null,"error":null}}}}}},"responses":{"2XX":{"description":"Received. Answer quickly and do the work afterwards."}}}},"enrichment.completed":{"post":{"tags":["Enrichment"],"operationId":"webhook_enrichment_completed","summary":"enrichment.completed","description":"The run finished; the vehicle's data is in the API. Sent to the HTTPS endpoints you subscribe in the dashboard (Webhooks), for runs started with your keys. Sent within about 2 minutes of the change, except enrichment.queued, which is sent at once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_k57d2v1x9qkq7yb0m3f0e8c6sh7tq0aa","object":"event","type":"enrichment.completed","created":1794795990,"data":{"object":{"object":"enrichment_run","run_id":"ws7qheqs55qmne6arh5bsbd69h8jb8v2","vin":"5J6RW2H82KL000007","status":"complete","config_key":"2019_honda_cr_v_ex_l15be","started_at":"2026-11-16T02:17:02.000Z","updated_at":"2026-11-16T02:26:30.000Z","completed_at":"2026-11-16T02:26:30.000Z","error":null}}}}}},"responses":{"2XX":{"description":"Received. Answer quickly and do the work afterwards."}}}},"enrichment.partial":{"post":{"tags":["Enrichment"],"operationId":"webhook_enrichment_partial","summary":"enrichment.partial","description":"The run finished, but some values weren't found; the vehicle is in the API with what was found. Sent to the HTTPS endpoints you subscribe in the dashboard (Webhooks), for runs started with your keys. Sent within about 2 minutes of the change, except enrichment.queued, which is sent at once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_k57d2v1x9qkq7yb0m3f0e8c6sh7tq0aa","object":"event","type":"enrichment.partial","created":1794795990,"data":{"object":{"object":"enrichment_run","run_id":"ws7qheqs55qmne6arh5bsbd69h8jb8v2","vin":"5J6RW2H82KL000007","status":"partial","config_key":"2019_honda_cr_v_ex_l15be","started_at":"2026-11-16T02:17:02.000Z","updated_at":"2026-11-16T02:26:30.000Z","completed_at":"2026-11-16T02:26:30.000Z","error":null}}}}}},"responses":{"2XX":{"description":"Received. Answer quickly and do the work afterwards."}}}},"enrichment.failed":{"post":{"tags":["Enrichment"],"operationId":"webhook_enrichment_failed","summary":"enrichment.failed","description":"The run didn't finish. No enrichment credit is used. Sent to the HTTPS endpoints you subscribe in the dashboard (Webhooks), for runs started with your keys. Sent within about 2 minutes of the change, except enrichment.queued, which is sent at once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_k57d2v1x9qkq7yb0m3f0e8c6sh7tq0aa","object":"event","type":"enrichment.failed","created":1794795990,"data":{"object":{"object":"enrichment_run","run_id":"ws7qheqs55qmne6arh5bsbd69h8jb8v2","vin":"5J6RW2H82KL000007","status":"failed","config_key":null,"started_at":"2026-11-16T02:17:02.000Z","updated_at":"2026-11-16T02:26:30.000Z","completed_at":"2026-11-16T02:26:30.000Z","error":"Enrichment failed — the pipeline could not complete this VIN."}}}}}},"responses":{"2XX":{"description":"Received. Answer quickly and do the work afterwards."}}}}}}