{"openapi":"3.1.0","info":{"title":"CarsXE (BYOK) API","version":"0.1.0","description":"CarsXE (BYOK) lets an AI assistant read your own CarsXE data through the CarsXE API with a key you supply (CarsXE API key). Read-only: 11 tools (get_vehicle_specs, decode_international_vin, get_recalls_by_vin, get_recalls_by_model, decode_us_plate, decode_plate, get_market_value, match_year_make_model, list_vehicle_options, decode_obd_code, get_vehicle_images). The BYOK key travels with each...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-carsxe.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-carsxe/docs"},"termsOfService":"https://connectorbay.com/byok-carsxe/terms"},"servers":[{"url":"https://byok-carsxe.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-carsxe/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_vehicle_specs":{"post":{"operationId":"get_vehicle_specs","summary":"Decode a VIN into specifications: attributes, colors, equipment and warranties. Which endpoints work depends on your Car","description":"Decode a VIN into specifications: attributes, colors, equipment and warranties. Which endpoints work depends on your CarsXE plan. Each successful call uses one unit of your CarsXE plan quota. Use for \"What are the specs of the car with VIN WBAFR7C57CC811956\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"vin":{"description":"17-character vehicle identification number.","maxLength":17,"title":"Vin","type":"string"},"deepdata":{"anyOf":[{"const":"1","type":"string"},{"type":"null"}],"default":null,"description":"Set to 1 to include deeper data where available.","title":"Deepdata"},"disable_international_decoding":{"anyOf":[{"const":"1","type":"string"},{"type":"null"}],"default":null,"description":"Set to 1 to turn off the international VIN fallback.","title":"Disable International Decoding"}},"required":["vin"],"title":"get_vehicle_specsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/decode_international_vin":{"post":{"operationId":"decode_international_vin","summary":"Decode a non-US VIN into vehicle attributes. Each successful call uses one unit of your CarsXE plan quota. Use for \"Deco","description":"Decode a non-US VIN into vehicle attributes. Each successful call uses one unit of your CarsXE plan quota. Use for \"Decode this European VIN: WVWZZZ1KZ6W612345\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"vin":{"description":"17-character vehicle identification number.","maxLength":17,"title":"Vin","type":"string"}},"required":["vin"],"title":"decode_international_vinArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_recalls_by_vin":{"post":{"operationId":"get_recalls_by_vin","summary":"List open manufacturer recalls for one VIN. Each successful call uses one unit of your CarsXE plan quota. Use for \"Does ","description":"List open manufacturer recalls for one VIN. Each successful call uses one unit of your CarsXE plan quota. Use for \"Does the car with VIN 1C4RJFAG0FC625797 have recalls\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"vin":{"description":"17-character vehicle identification number.","maxLength":17,"title":"Vin","type":"string"}},"required":["vin"],"title":"get_recalls_by_vinArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_recalls_by_model":{"post":{"operationId":"get_recalls_by_model","summary":"List recalls for a model year, make and model: campaign number, component, summary, consequence and remedy. Each success","description":"List recalls for a model year, make and model: campaign number, component, summary, consequence and remedy. Each successful call uses one unit of your CarsXE plan quota. Use for \"Which recalls exist for a 2018 Ford F-150\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"year":{"description":"Model year, for example 2018.","maxLength":4,"title":"Year","type":"string"},"make":{"description":"Vehicle make, for example Ford.","maxLength":60,"title":"Make","type":"string"},"model":{"description":"Vehicle model, for example F-150.","maxLength":60,"title":"Model","type":"string"}},"required":["year","make","model"],"title":"get_recalls_by_modelArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/decode_us_plate":{"post":{"operationId":"decode_us_plate","summary":"Look up the vehicle behind a US licence plate and state: VIN, year, make, model, trim, engine, body and colour. Each suc","description":"Look up the vehicle behind a US licence plate and state: VIN, year, make, model, trim, engine, body and colour. Each successful call uses one unit of your CarsXE plan quota. Use for \"What car is licence plate 7XER187 in California\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"plate":{"description":"Licence plate number.","maxLength":12,"title":"Plate","type":"string"},"state":{"description":"Two-letter US state code.","maxLength":2,"title":"State","type":"string"},"decode_vin":{"anyOf":[{"enum":["true","1"],"type":"string"},{"type":"null"}],"default":null,"description":"Set to true to also decode the VIN into full specifications.","title":"Decode Vin"}},"required":["plate","state"],"title":"decode_us_plateArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/decode_plate":{"post":{"operationId":"decode_plate","summary":"Look up the vehicle behind a licence plate in many countries: make, model, trim, year and VIN where available. Each succ","description":"Look up the vehicle behind a licence plate in many countries: make, model, trim, year and VIN where available. Each successful call uses one unit of your CarsXE plan quota. Use for \"What car is Spanish plate 1234ABC\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"plate":{"description":"Licence plate number.","maxLength":12,"title":"Plate","type":"string"},"country":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter country code, for example ES or AU.","title":"Country"},"state":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"State or province; required for Australia and Canada.","title":"State"},"district":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"District, only for Pakistan's Khyber-Pakhtunkhwa.","title":"District"},"require_vin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to require a VIN in the answer (Spain only).","title":"Require Vin"}},"required":["plate"],"title":"decode_plateArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_market_value":{"post":{"operationId":"get_market_value","summary":"Get used-vehicle market values for a VIN: wholesale, retail and trade-in values by condition, MSRP and fuel economy, opt","description":"Get used-vehicle market values for a VIN: wholesale, retail and trade-in values by condition, MSRP and fuel economy, optionally adjusted for state, mileage and condition. Each successful call uses one unit of your CarsXE plan quota. Use for \"What is the retail and trade-in value of VIN 1C4RJFAG0FC625797 with 60000 miles\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"vin":{"description":"17-character vehicle identification number.","maxLength":17,"title":"Vin","type":"string"},"state":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter US state code to localise values.","title":"State"},"mileage":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Odometer reading in miles.","title":"Mileage"},"condition":{"anyOf":[{"enum":["excellent","clean","average","rough"],"type":"string"},{"type":"null"}],"default":null,"description":"Condition: excellent, clean, average or rough.","title":"Condition"}},"required":["vin"],"title":"get_market_valueArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/match_year_make_model":{"post":{"operationId":"match_year_make_model","summary":"Match a year, make and model (optionally trim) to the canonical vehicle and list its trim options. Each successful call ","description":"Match a year, make and model (optionally trim) to the canonical vehicle and list its trim options. Each successful call uses one unit of your CarsXE plan quota. Use for \"Which trims exist for a 2021 Toyota Camry\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"year":{"description":"Model year.","maxLength":4,"title":"Year","type":"string"},"make":{"description":"Vehicle make.","maxLength":60,"title":"Make","type":"string"},"model":{"description":"Vehicle model.","maxLength":60,"title":"Model","type":"string"},"trim":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Trim name to narrow the match.","title":"Trim"},"all_trim_options":{"anyOf":[{"const":"1","type":"string"},{"type":"null"}],"default":null,"description":"Set to 1 to list every trim option.","title":"All Trim Options"}},"required":["year","make","model"],"title":"match_year_make_modelArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_vehicle_options":{"post":{"operationId":"list_vehicle_options","summary":"Walk the vehicle catalogue one level at a time: years, makes, models, trims or variants, narrowed by the values you alre","description":"Walk the vehicle catalogue one level at a time: years, makes, models, trims or variants, narrowed by the values you already know. The variants level is billed per distinct model returned. Use for \"Which makes are available for model year 2022\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"dimension":{"anyOf":[{"enum":["years","makes","models","trims","variants"],"type":"string"},{"type":"null"}],"default":null,"description":"Level to list: years, makes, models, trims or variants.","title":"Dimension"},"year":{"anyOf":[{"maxLength":4,"type":"string"},{"type":"null"}],"default":null,"description":"Model year to narrow by.","title":"Year"},"make":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Make to narrow by.","title":"Make"},"model":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Model to narrow by.","title":"Model"},"trim":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Trim to narrow by.","title":"Trim"}},"title":"list_vehicle_optionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/decode_obd_code":{"post":{"operationId":"decode_obd_code","summary":"Explain an OBD-II diagnostic trouble code such as P0300. Each successful call uses one unit of your CarsXE plan quota. U","description":"Explain an OBD-II diagnostic trouble code such as P0300. Each successful call uses one unit of your CarsXE plan quota. Use for \"What does OBD code P0300 mean\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"code":{"description":"OBD-II trouble code, for example P0300.","maxLength":10,"title":"Code","type":"string"}},"required":["code"],"title":"decode_obd_codeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_vehicle_images":{"post":{"operationId":"get_vehicle_images","summary":"Find images of a vehicle by make and model with optional year, trim, colour, angle, photo type and size; returns image l","description":"Find images of a vehicle by make and model with optional year, trim, colour, angle, photo type and size; returns image links and sizes. Each successful call uses one unit of your CarsXE plan quota. Use for \"Show side photos of a 2020 Tesla Model 3\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"make":{"description":"Vehicle make.","maxLength":60,"title":"Make","type":"string"},"model":{"description":"Vehicle model.","maxLength":60,"title":"Model","type":"string"},"year":{"anyOf":[{"maxLength":4,"type":"string"},{"type":"null"}],"default":null,"description":"Model year.","title":"Year"},"trim":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Trim name.","title":"Trim"},"color":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Vehicle colour.","title":"Color"},"angle":{"anyOf":[{"enum":["front","side","back"],"type":"string"},{"type":"null"}],"default":null,"description":"Camera angle: front, side or back.","title":"Angle"},"photo_type":{"anyOf":[{"enum":["interior","exterior","engine"],"type":"string"},{"type":"null"}],"default":null,"description":"Photo type: interior, exterior or engine.","title":"Photo Type"},"size":{"anyOf":[{"enum":["Small","Medium","Large","Wallpaper","All"],"type":"string"},{"type":"null"}],"default":null,"description":"Image size: Small, Medium, Large, Wallpaper or All.","title":"Size"},"transparent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for transparent-background images.","title":"Transparent"}},"required":["make","model"],"title":"get_vehicle_imagesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}