# Versioning

Every answer carries `Ridekick-API-Version: 2026-10-13`.

## Changes are additive within a version

New fields can appear within a version, so ignore fields you don't recognize: the published schema allows additional properties.

## Branch on structure, not on words

Display text (`label`, `statusLabel`, `headerLine`, `heading`, `question`, `preview`, `href`, `chosenLabels`) may change wording within a version, so never branch on it. Branch on the structured fields instead: `state`, `ended`, `canChoose`, `chosen`, `hidden`, `counts`, `answerMode`, `kind`.

## Breaking changes

Most version-date bumps only add fields. A breaking change to what an existing field means, not its type, still ships as a new revision date within v1, with an entry in the changelog below, rather than a new major version. Once an external client exists, a meaning change also gets a deprecation window on the old meaning before the new one goes live; the changelog entry says whether one applied and why. A field that is removed, or that changes type, is a new major version, `/api/v2`, instead.

## Changelog

Newest first. A version-date bump that changes meaning always gets an entry here.

- **2026-10-13**: A message in `GET /api/v1/deal-sets/{id}/rows/{rowKey}/messages` can carry `practice: true` (dated 2026-11-16, no version change). It marks a message sent with `messages_send` on a practice request. No dealership received it. Before this change, such messages were left out of the list. Every other message is unchanged.
- **2026-10-13**: Dated 2026-11-16, no version change: on a deal-set result, `gapToLowestCents` on every row and `hero.gapToNextCents` are now always null for an AI assistant acting for the buyer. Before, they carried the difference between two dealerships' written totals. Each row's own `otdCents` is unchanged, and the buyer's own session still receives every value.
- **2026-10-13**: Dated 2026-11-13, no version change: two details about the `channel_not_open` answer added on 2026-10-30 in the entry below. First, a preview that used to answer 503 `unavailable` (the text check was down, or the read of whether this dealership asked to stop failed) now answers 422 `no_request_sent` with `details.reason` `channel_not_open` while no person at the dealership has replied, because that check comes before both. Second, where `nextAllowedAt` sits once a person has replied and `awaiting_dealer_reply` applies: on a refused send it is `details.nextAllowedAt` of the 422, and on a preview it is `data.nextAllowedAt` of the 200 (with `canSendNow: false`).
- **2026-10-13**: When a request is refused as `already_requested` (dated 2026-11-10, no version change), `details` may also carry `requestUrl`, the page of the buyer's own existing request. It is present only when that request is provably the buyer's own and every matching dealership is on that one request. Otherwise `details` is `{ reason }` alone, as before. It carries no name and no figure.
- **2026-10-13**: A row in a request gains two optional fields, `practice` and `practiceLine` (2026-11-11, no version change). `practice: true` marks a row from a Ridekick test dealership, and `practiceLine` is the one fixed sentence for the buyer. A row from a real dealership has neither field. The `requests_get` description says so, and an assistant reads it after the connector is refreshed.
- **2026-10-13**: The `no_request_sent` reason `cap_reached` is removed (2026-11-12, no version change). Nothing has returned it since 2026-11-06, and the reason list, its message and the error docs no longer name it.
- **2026-10-13**: Booking a visit (2026-11-11, no version change): `no_request_sent` gains the `details.reason` values `slot_refused` (that time isn't open at this dealership; carries `details.pageUrl`), `choice_cancelled` (the buyer cancelled going ahead with this car) and `no_change` (the request already holds this time). Each means nothing was sent and the key is used up: do not send again with any key, give the buyer `message` (and `pageUrl` where one is returned). A dealership whose time zone is not certain answers `exact_slot_unavailable` with `pageUrl` instead of the retryable `unavailable`. The `changed` message no longer says a visit was asked for. `book_visit` accepts `offerVersion: null`, the value `requests_get` sends for a row with no offer. The reply is the signed `no_offer_yet` on such a row, and `changed` on a row that has an offer. Nothing is sealed or sent either way. An empty text, a number or a missing `offerVersion` is still refused.
- **2026-10-13**: The visit refusal `slot_closed` now carries `details.why` (2026-11-11, no version change): `closed`, `past`, `too_soon`, `too_far` or `hours_unknown`. `details.nextOpenAt` is present only with `closed`. A visit preview with no `slot` answers `hoursKnown: true` with its `nextOpenTimes` list, or, for a dealership with no stored hours, `hoursKnown: false` and a `message` with no list.
- **2026-10-13**: Taking the dealership's own time (2026-11-12, no version change): when the dealership answered the visit request with a time of its own, a visit preview with no `slot` also carries `dealerProposed`: `instant` (UTC), `timeZone` (the dealership's) and `label` (the time on the dealership's clock, to read to the buyer). Ask the buyer about that time. With the buyer's yes, preview and send `book_visit` with exactly that `instant` as the slot: the visit moves to the dealership's time. On such a row any other time answers `changed`. If the dealership proposes a newer time after your preview, the send answers `preview_mismatch`: preview again.
- **2026-10-13**: A visit preview now says the time in the dealership's own clock (2026-11-12, no version change). With a `slot` it adds `timeZone` (an IANA zone) and `slotWords` (for example `Friday, November 13, 3 PM PT`). With no `slot` it adds `timeZone` and `nextOpenWords`, one string per `nextOpenTimes` entry in the same order, and a `hoursKnown: false` answer adds `timeZone`. A `slot_closed` refusal that has `nextOpenAt` also has `nextOpenWords` and `timeZone` in its details, as a pair. All are omitted when the dealership has no readable zone. The UTC fields are unchanged.
- **2026-10-13**: Where the account names dealerships to its assistant, `distanceMiles` on a deal-set row is now the exact distance on every row that carries a dealership's name (2026-11-11, no version change). Before, it was the lower bound of the distance band until the buyer chose the dealership. Where the account does not name dealerships, it is still null for an AI assistant acting for the buyer.
- **2026-10-13**: The 422 `note_refused` now carries `details.class` (2026-11-11, no version change), and its `message` tells the buyer what to change. `class` is one of `personal_details` (the note has personal details or a long number), `link`, `figure` (a price), `too_long` (`details.maxLength` is the limit, a number), `not_plain_text`, `empty`, `daily_limit` (notes are paused for today) or `other`. `other` means the note was not accepted and the answer says nothing more. The answer never repeats the note and never says which rule or which detail matched. The 422 `no_request_sent` with `details.reason` `text_refused` (a refused message to a dealership) carries the same kind of `details.class` (`personal_details`, `link`, `figure` for a price in another currency, `too_long` with `details.maxLength`, `not_plain_text`, `empty` or `other`; never `daily_limit`), and its `message` tells the buyer what to change.
- **2026-10-13**: `POST /api/v1/requests` now answers 422 `no_request_sent` with `already_requested` BEFORE it stores anything under the `Idempotency-Key`, when the buyer already has a settled open request for every car the send would ask about (2026-11-17, no version change). That refusal leaves no deal set and sent nothing. A request that WAS sent under a key is answered from the stored row of that key (its first answer, `key_reused` for a new token, or `in_progress` while it runs) and never gets this refusal, because the row is read before the check and again before the refusal is returned. Sending the same key again after a refusal does not replay the refusal: it needs a fresh `previewToken` like any new send, and an old or missing one is refused (`preview_expired`, `preview_required`). A send that reached the key claim (accepted, or refused there or later) still replays its first answer. A refusal made before the claim (for example `fewer_found`, `note_refused`, or `no_request_sent` with `listing_unavailable`) stores nothing either, so the same key after it is a new send.
- **2026-10-13**: `POST /api/v1/requests` can now answer 409 `idempotency_key_reused` (2026-11-10, no version change). It means this `Idempotency-Key` already has an answer for an earlier preview, and this send carries a NEW `previewToken`. A new preview is a new yes from the buyer, so the old answer is not replayed and nothing new was sent (the first send may already be live). Check the buyer's requests with `requests_list` first; if the first request is not there, preview again with a new `Idempotency-Key`, show it to the buyer, and send it with that same key. Sending the same key with the same `previewToken`, or with no `previewToken`, still replays the first answer, and the same key with a different request is still `idempotency_conflict`.
- **2026-10-13**: A `deal_set` entry in the deal-sets list gains the same optional `lowestWrittenOtdBasis` (2026-11-09, no version change). Its one value, `dealer_total_fees_not_listed`, means `lowestWrittenOtdCents` is one out-the-door total the dealership wrote with no breakdown of tax and fees: in writing, not itemized. Every other entry omits it and is unchanged.
- **2026-10-13**: A `single` entry in the deal-sets list gains an optional `lowestWrittenOtdBasis` (2026-11-09, no version change). Its one value, `dealer_total_fees_not_listed`, means `lowestWrittenOtdCents` is one out-the-door total the dealership wrote with no breakdown of tax and fees: in writing, not itemized. Every other entry omits it and is unchanged.
- **2026-10-13**: When you send a message to a dealership (dated 2026-11-11, no version change), `no_request_sent` gains the `details.reason` value `message_not_delivered` (the message was refused before it reached any dealership; nothing was sent and the Idempotency-Key is used up). Do not send the same message again; pass the `message` to the buyer.
- **2026-10-13**: When a message to a dealership is previewed or sent (dated 2026-11-08, no version change), `no_request_sent` gains the `details.reason` value `dealer_asked_to_stop` (this dealership asked not to be contacted about this request; nothing was sent). A preview answers 200 with `canSendNow: false`, the same reason and the same `message`. Do not send this dealership more messages about this request.
- **2026-10-13**: Added an optional `askId` to the message preview and send (dated 2026-11-06, no version change). It goes in the request body and is the id of a dealership question shown in the messages. No response lists an `askId` yet, so there is nothing to send until the messages show the questions. Send the same `askId` on the preview and the send. `no_request_sent` gains the `details.reason` value `ask_not_found`: the `askId` is not a question in this dealership's messages about this car. Nothing is sent, no limit is used, and the same Idempotency-Key can be used again. A body with no `askId` behaves as before.
- **2026-10-13**: A dealership message in `GET /api/v1/deal-sets/{id}/rows/{rowKey}/messages` can carry two optional fields (dated 2026-11-06, no version change), `askId` and `askAnswered`, for an account that has been granted them (off for every account until then, so the answer is unchanged). `askId`: present when this dealership message is a question. Send it as `askId` with the answer. `askAnswered`: true once the buyer replied after the question, or a message that named this `askId` was sent. Only a dealership message carries them. Without them, nothing changed.
- **2026-10-13**: The `unlock_preview` and `unlock_offer` tools, the `offers:unlock` scope and the unlock routes are removed. A dealership's name reaches an assistant only as described in Deal sets.
- **2026-10-13**: Dated 2026-11-06, no version change: `no_request_sent` gains the `details.reason` value `details_missing` for booking a visit (planned, not yet callable). A visit request needs the buyer's name, email and phone number; when one is missing, nothing is sent and `details.missing` lists the missing ones by name only (`name`, `email`, `phone`, in that order), never a value. The Idempotency-Key is used up: once the details are on file, preview the visit again and send it with a new key. Nothing in the existing endpoints changed.
- **2026-10-13**: Added the `no_request_sent` reason `terms_update_needed` for `POST /api/v1/requests` (dated 2026-11-05, no version change). When the send is refused because the buyer's agreement is at an older terms version and no consent record for this access is at the current privacy notice version (the latest one is older, or there is none), the send answers 422 `no_request_sent` with `details.reason` `terms_update_needed` and nothing is sent. It replaces `not_available_for_this_account` for that case. The `message` tells the buyer what to do: reconnect Ridekick in their assistant, then try again. Reconnecting writes a new consent record at the current privacy notice version. Do not retry the same call until the buyer has reconnected.
- **2026-10-13**: Where no person at a dealership has replied yet (dated 2026-10-30, no version change), the preview and the send now answer 422 `no_request_sent` with `details.reason` `channel_not_open`, and nothing is sent. It is checked before the text, the quiet hours and the message limits, so on such a thread it replaces the answers those gave: a preview that answered 200 (with `canSendNow: true`, or with `canSendNow: false` and `awaiting_dealer_reply`, `dealer_gone_quiet`, `message_limit_reached` or quiet hours), and a send that went out (200 `sent: true`) or was refused with another reason. Send again after a person at the dealership has replied. Once a person has replied, `awaiting_dealer_reply` is unchanged and still carries `details.nextAllowedAt`.
- **2026-10-13**: On previewing or sending a message to a dealership (dated 2026-10-25, no version change), `no_request_sent` gains the `details.reason` value `declared_kind_refused` (a declared card, Social Security, bank account or routing number is never passed to a dealership; nothing was sent, and the buyer can give that number to the dealership directly).
- **2026-10-13**: Dated 2026-10-25, no version change: the photo links in `car.revealed.imageUrls` of a deal set now point at Ridekick's image route instead of the dealership's site. The field and its shape do not change: an array of links, in the same order, now at most five per car.
- **2026-10-13**: Dated 2026-10-24, no version change: `no_request_sent` gains four `details.reason` values for booking a visit (planned, not yet callable): `changed` (the request changed since the preview: a question to the buyer is open, the dealership changed, or a visit was already asked for; nothing was sent), `agent_input_refused` (the call carried a field an assistant may not set; nothing was sent), `agent_send_failed` (the visit request did not reach the dealership, so no visit was booked; the same key returns this answer) and `visit_not_started` (Nothing was sent, so the visit isn't booked. This Idempotency-Key is used up: preview the visit again and send it with a new key.). When the outcome of a visit send is unknown, the answer is `contact_interrupted`: the request may have reached the dealership, so never send it again under any key. Nothing in the existing endpoints changed.
- **2026-10-13**: In the answer of `compare_listings` (dated 2026-10-15, no version change), each car's `label` is now the vehicle itself (for example the colour, year, model and trim), never a position. It is the same text as the car's `title` where the car has one; without a title it is the year and trim, and without those it is "This car". The compare card names its columns the same way. No key was added, removed or renamed. A label is display text: its words may change, never branch on it, and two cars can read the same; refer to a car by its `handle`.
- **2026-10-13**: `distanceMiles` and `lowestWrittenDistanceMiles`, dated 2026-10-15, no version change: both (`distanceMiles` on a deal-set result row and on its hero, `lowestWrittenDistanceMiles` on a deal-set entry) are now the LOWER BOUND of the distance band (0, 10, 25, 50 or 100) until the buyer has chosen that dealership, also on a row that is unlocked but not chosen. Before, an unlocked row carried the exact distance. A chosen row still carries the exact distance. `distanceBand` is unchanged: read it for the words.
- **2026-10-13**: Dated 2026-10-15, no version change: `canChoose` and `canUnlock` (on a deal-set result row and on its hero) are now also false on a row whose request can no longer be chosen: its status is `deal_reached` (a deal already reached), `cancelled`, or a `completed` one that did not succeed (a held-firm or unresponsive ending). For every account, with no flag. Before, they could be true on such a row, and choosing it was refused with 409 `moved_on` (a dead end). Their meaning, "this row may be chosen" and "this row may be unlocked", is unchanged; the values now match what choosing and unlocking accept. `POST /api/v1/deal-sets/{id}/rows/{rowKey}/unlock` (and its preview-confirmed commit, which an assistant's `offer_unlock` tool calls) on such a row now answers a closed 409 with the new error code `moved_on`: it spends no unlock, sends the dealer nothing, and is checked before the three-unlock cap. It is not a server error and a retry cannot work. A row the buyer already unlocked is still answered as already unlocked. Removed in PLT-1868 (2026-11-06); the route answers 404.
- **2026-10-13**: A row's `label` is no longer "Dealer N". Where the dealership is not named, `label` is now a description of the CAR: `{colour} {year} {model} {trim} · about {miles} mi · listed {price}` (the price is always marked "listed": it is the listing's asking price before taxes and dealer fees, never an offer or a written price; a part we do not have is left out; the miles are the listing's, rounded to the nearest 100). Once the buyer has unlocked or chosen a dealership its label is that dealership's name where an assistant is allowed to read it, otherwise the same car description. The same holds for `chosenLabels`, `dealerLabel`, the offer sheet's `label` and the unlock answer's `dealer.label`. A label is display text: its words may change, never branch on it, and two rows can read the same; refer to a row by `rowKey`. These listing fields are no longer withheld from an assistant: `listedAtCents` (the listed price, never an offer or a written price) and the listing trim (`quotedTrim`, `ranked[].trim`, `hero.trim` and the single check's `car.trim`). The listing's distance, the found count and the unchosen configuration stay withheld, and the exact miles are never sent. Email, text and push never carry a price. The car search (`GET /api/v1/listings/search`) gains three keys on each match, for every account: `label` (the same car description, from the one label function), `miles` (the listing's miles rounded to the nearest 100, or null) and `listPriceUsd` (the asking price in whole dollars, or null); it still carries no dealership and no distance. The key set of every other response is unchanged.
- **2026-10-12**: `POST /api/v1/requests` and its preview are planned, not yet open to developers; this entry says what holds once they are. Every send of `POST /api/v1/requests` now needs the `previewToken` that `POST /api/v1/requests/preview` returned for the same request and the same `Idempotency-Key`, for every account. Until now only an account named by a switch needed it; an account that did not require a preview sent without a token (the 2026-10-08 entry says so, and that was true then). A send without a token is now refused with `preview_required` (428) and nothing is sent; a `previewToken` that does not open, is older than 15 minutes, or belongs to another request or key is refused as before (`preview_invalid`, `preview_expired`, `preview_mismatch`). A request already sent is still replayed with no token. The preview is what the assistant shows the buyer before a send. Asking for the buyer's yes is the assistant's step: the token proves the order, not the yes. Additive for a client that previews first; a client that sent without a preview must now preview.
- **2026-10-08**: Added `POST /api/v1/requests/preview` (planned: not yet open to developers; it needs the read scope, and it already answers a connected assistant whose buyer has been let in and has grid access): it takes the same body and `Idempotency-Key` as a send, writes nothing and contacts nobody, and answers the request as sent, `upTo` (the `limit` the caller sent, never a count we found), the next steps and a `previewToken` valid for 15 minutes. `POST /api/v1/requests` takes an optional `previewToken` in its body. On an account that requires a preview, a send without a valid token is refused and nothing is sent: `preview_required` (428), `preview_invalid` (422), `preview_expired` (409) and `preview_mismatch` (409) are new error codes; a request already sent is replayed with no token. The success answer of a send now also carries `nextSteps`, `requestUrl` and `askMe`. An account that does not require a preview still sends without a token, and a `previewToken` such an account sends is still checked: a bad one is refused. Added the error code `test_dealer_not_ready` (HTTP 409) for `POST /api/v1/requests` and `POST /api/v1/requests/preview` (planned, not yet open to developers): the buyer's account is in test mode and the test dealership is not ready, so nothing was sent. The answer does not say why, nothing in the request is wrong, and a retry does not help until the test setup is ready. Additive: an account that is not in test mode never sees it. The preview answer of an account in test mode also carries `testMode: true` (the field is absent for every other account) and its `nextSteps` say the request asks only the test dealership.
- **2026-10-08**: Added the error code and refusal reasons of a buyer's assistant writing to a dealership (the routes are planned, not yet callable). `thread_not_yours` (409): Ridekick's own system is handling the conversation with this dealership right now, so the assistant cannot send a message to it; nothing was sent. `no_request_sent` gains four `details.reason` values: `text_refused` (the message was not accepted; it never says why and never repeats the text), `dealer_quiet_hours` (a message cannot be sent to this dealership right now; this reason also carries `nextOpenAt`, the ISO time in UTC when one can be sent; nothing was stored to send later), `message_limit_reached` (a limit on messages was reached; the answer says nothing more) and `channel_not_open`. Nothing in the existing endpoints changed.
- **2026-10-08**: `POST /api/v1/requests` (planned, not yet open to developers) takes ONE more body shape: instead of `configuration`, `radiusMiles`, `limit` and `acceptFewer`, a body may carry `listingId` (an opaque handle for one listed car that the assistant's car search returned; that search is not part of this API), `zip` and an optional `note`, to ask the ONE dealership that lists that car. The answer is the same `{ dealSetId, requested: 1 }`. A body that fits neither shape is refused (400 `invalid_request`). A `listingId` that is not valid for this grant is the same 400 and never says why. A car that cannot be requested right now (its handle is older than 24 hours, or it is no longer listed) is a 422 `no_request_sent` with the new reason `listing_unavailable`, and nothing is sent. The same `Idempotency-Key` with a different `listingId` is a 409 `idempotency_conflict`, never a replay. This is additive: a body with `configuration` works exactly as before.
- **2026-10-08**: Added the `no_request_sent` reason `cap_reached` for `POST /api/v1/deal-sets/{id}/rows/{rowKey}/unlock` (planned, not yet callable): the buyer has already used the three unlocks one request allows, so nothing was unlocked. It is a refusal, not a server error: do not send it again with this key or a new one. The unlock is a preview then a confirmation, and cannot be undone. Removed in PLT-1868 (2026-11-06); the route answers 404.
- **2026-10-07**: A plain `GET /api/v1/deal-sets` now means the buyer's ACTIVE requests, and `Ridekick-More` is `true` on a plain call only when an active request was left out. Before, any ended (inactive) request made every plain call say there was more, so a client that read to the end never finished. Now ended requests, including a request whose price is not in writing, come only with `since=1970-01-01T00:00:00Z`. A plain call also looks at up to 12 requests that have not ended (it was the newest 4). No field was added, removed or renamed. A client that counted ended requests from a plain call must read them with `since=1970-01-01T00:00:00Z`.
- **2026-10-06**: The list `GET /api/v1/deal-sets` now ALSO holds requests to one dealership, and every entry carries a `kind`: `deal_set` or `single`. Its meaning changed: it is every request the buyer's requests page shows, not only grid sets. A single entry's `id` is a price-check id, not a deal-set id, and `GET /api/v1/deal-sets/{id}` does not accept it. A client MUST skip an entry whose `kind` it does not know. Every successful list answer carries the header `Ridekick-More` (`true` when more entries exist beyond this response; `true` when that cannot be told). To read everything, call with `since=1970-01-01T00:00:00Z`, then repeat with `since` set to the `Ridekick-As-Of` you got, until `Ridekick-More` is `false`. An entry can appear on more than one page: keep one entry per id and `kind`. A plain call returns the newest grid sets (at most 4) and the newest 25 requests to one dealership that are not inactive.
- **2026-10-03**: `GET /api/v1/deal-sets` takes an optional `since` query parameter (an ISO 8601 time with a time zone) and then returns only the requests with activity after it, so an assistant can ask what changed. This is a poll: it does not notify. With `since`, the answer carries a `Ridekick-As-Of` header, the time to pass as the next `since`; it is set slightly before the read began, so an entry can be returned twice but is never skipped. A `since` that is not a valid time is a `400` `invalid_request`, never an empty list. Without `since` the answer is exactly what it was. The MCP tool `requests_list` takes the same optional `since` and returns the header as `asOf`. Additive: no version bump.
- **2026-10-03**: `distanceMiles` (on a deal-set result row and on its hero) and `lowestWrittenDistanceMiles` (on a deal-set entry, which copies the distance of the hero) changed meaning for a row the buyer has not yet unlocked or chosen: it is now the LOWER BOUND of the distance band (0, 10, 25, 50 or 100), not the distance, because an exact distance with the buyer's ZIP can identify a dealership. After the row is unlocked or chosen it is the exact distance, as before. Read the new `distanceBand` (additive, `string | null`: Under 10 miles, 10 to 25 miles, 25 to 50 miles, 50 to 100 miles or Over 100 miles) for the words. All three (`distanceMiles`, `distanceBand` and `lowestWrittenDistanceMiles`) are null for an AI assistant acting for the buyer.
- **2026-10-03**: RETIRED on 2026-10-13 (see the 2026-10-13 entry): a connected assistant no longer receives the numbered `Dealer N`. Where the dealership is not named, its `label` is a description of the car; after an unlock or a choice it is the dealership's name where an assistant may read it, otherwise the same car description. What this entry said on 2026-10-03: a connected assistant (a delegated agent) ALWAYS received the numbered `Dealer N` in every field that labels a dealer: `label` on rows, the hero and the questions and drafts that need the buyer, the question `heading` (rebuilt from its category with that label), and `chosenLabels`. The number is the same one the row had while hidden. The buyer's own session is unchanged. The type is unchanged, so there is no version bump; only the text of `label` and `chosenLabels` changed.
- **2026-10-03**: `POST /api/v1/requests` (planned, not yet callable): if a request fails with a 500 `internal` and nothing was sent to any dealership, send the request again with the same `Idempotency-Key` and the same body and it runs again, each time it fails that way (two concurrent retries: one runs, the other gets `idempotency_in_progress`). A different body with the same key is still `idempotency_conflict`. If the request was already answered (a success, a `no_request_sent` refusal, or `contact_interrupted`), the same key returns that same answer instead. A failure where a request was already created is also final.
- **2026-10-03**: Added the error code `no_request_sent` (HTTP 422) for `POST /api/v1/requests` (planned, not yet callable): the request was understood and refused, and nothing was sent to any dealership. It is not a server error. `error.details.reason` is one of `already_asked_today`, `already_requested`, `no_eligible_dealer`, `not_available_for_this_account`; it is the only `details` field that is a string, and it comes from this closed set. Until now these cases answered a false 500 `internal`. Sending the same key again returns the same answer.
- **2026-10-03**: Added `POST /api/v1/requests` (planned, not yet callable): a buyer's connected assistant sends a request for written offers under a grant with the `requests:submit` scope, with a required `Idempotency-Key` header. These error codes are now returned by it: `forbidden`, `invalid_request`, `idempotency_key_required`, `idempotency_conflict`, `idempotency_in_progress`, `agent_stopped`, `buyer_profile_incomplete`, `fewer_rooftops_found`, `contact_interrupted` and `note_refused`. The request body can also carry an optional `note` (1 to 600 characters of plain text, sent to the dealerships as the buyer's own message when it passes our check; the answer is the code `note_refused` and nothing is sent when it does not, and it never says why). The success answer can also carry `skipped`: how many dealerships were not contacted because this buyer's assistant already asked about that car in the last 24 hours. It is a count, present only when above 0. Nothing in the existing endpoints changed.
- **2026-10-03**: `counts.total`, `headerLine` (deal-set result) and `dealerCount` (deal-set entry) are now `integer | null`, `string | null` and `integer | null`. A client must accept null. Null means withheld from an AI assistant acting for the buyer (the three fields state how many dealerships the search found, which is third-party listing data), or unknown; the buyer's own session still always receives a value. The same release withholds, for an AI assistant only, `listedAtCents`, `distanceMiles` and `quotedTrim` on every row, `hero.listedAtCents`, `hero.distanceMiles`, `hero.trim`, `ranked[].trim`, entry `lowestWrittenDistanceMiles`, and `car.trim`, `exteriorColor`, `interiorColor`, `drivetrain` and `powertrain`, and `search.radiusMiles` (those fields were already nullable). The OpenAPI document marks every such field `x-ridekick-withheld-from-agent`.
- **2026-10-02**: `canChoose` (on a deal-set result row, and on its hero) changed meaning: it now means the row has been unlocked (the dealer is no longer hidden), is not yet chosen, carries a written price for the same car, and is not archived. In the prior version it meant the dealer was still hidden on such a row; that condition is now its own field, `canUnlock`, which is true while hidden and false once unlocked (or chosen). No deprecation window: v1 accepts only the buyer's own signed-in session, so our own website was the only client reading the old meaning, and it moved to the new one in the same deploy as this version.

## Headers on every answer

| Header | Value |
| --- | --- |
| `Cache-Control` | `private, no-store` |
| `Ridekick-API-Version` | `2026-10-13` |
