In this section: Stability

Stability

Learn what Miles promises to keep stable in the MCP server and Chat API and how breaking changes are handled.

The rule

Agents on the other side of an MCP connection cannot be redeployed by Miles. So:

  • A shipped tool's declared parameters are never renamed or removed. A test in Miles' build fails on any field or tool disappearing.
  • A breaking change ships as a new tool name plus a deprecation window on the old one, never an in-place edit of an existing field.
  • A pure addition, a new optional parameter or a new tool, can appear at any time without notice.
  • The resource URI miles://guidance/working-with-miles and the points_question prompt's question argument are never renamed either.

The Chat API

/v1/chat/completions follows the OpenAI request and response shapes. Two things are outside that contract and may change with a changelog entry and no deprecation window: the x-miles-budget-* headers, and the miles object on non-streaming responses.

Exceptions on record

On 2026-08-20 the refusal channel changed shape. Every declared parameter schema was untouched, but a refusal (a spent ceiling, a missing scope, a Membership gate) stopped arriving as the tool's ordinary JSON text and started arriving as an isError result with a structured code. Callers that parsed tool text for refusals received a plain sentence that caused a parse error. It shipped without a deprecation window because only two users were connected at the time, and this page records the exception to keep the stability promise clear.

On 2026-09-06 the wallet_card that add_card and update_card echo back renamed two keys in place, with no alias: the member's own sign_up_bonus became user_sign_up_bonus, and notes became user_notes. The write parameters kept their names. Callers that read either key from the echo found it missing. On the same day, a guarded write to a card without a stored updated_at began returning unguardable_card; it had returned stale_precondition. Neither change had a deprecation window because the founder's own account was the only one connected at the time. Both were recorded here late, on 2026-09-11, when an audit found them; the changelog entry has the details.

On 2026-09-21, get_wallet_card changed the error code for an ambiguous card_name from multiple_matches to ambiguous_holding and renamed its row list from matches to holdings. No parameter changed. It was renamed because analyze_keep_cancel already refused the identical situation under the second name, and a client had to learn both to handle one thing. The transition keeps matches as a copy of holdings and carries the old code in previous_error through 2026-12-31. The changelog entry has the details.

On 2026-10-03, first-year value fields changed in place with no deprecation window. get_card_info, get_top_offers and search_cards rows carry first_year_value, Miles' own figure, where they carried a third party's published estimate under another name. get_wallet_complement keeps first_year_value, which now holds Miles' figure. That third party's review text and link fields are dropped from every tool result, along with a card fact's source record and, from 2026-10-04, a credit's capture_source. An alias would have put a different number under a name clients already read one way. A handful of users were connected at the time. Recorded here on 2026-11-08. The changelog entries for get_card_info and get_top_offers, search_cards and get_wallet_complement and the dropped records have the details.

On 2026-10-27, nine purchase parameters narrowed from any string to their advertised values: get_best_card's category, merchant, channel, portal, housing, merchant_role and redemption_basis, and redemption_basis on get_spending_strategy and analyze_spending. No field was renamed or removed. A value outside the set is refused by field name before the tool runs. A business the registry does not list goes as merchant: null plus merchant_label, beside a category. Recorded here on 2026-11-08. The changelog entry has the details.

Credentials

Every API key and OAuth token Miles mints carries a prefix: miles_sk_ for a personal key, miles_at_ and miles_rt_ for OAuth access and refresh tokens, miles_ac_ for an authorization code. The prefixes are stable and safe to match on. A client_secret that dynamic client registration returns to a confidential client carries no prefix.