Skip to main content

// developers · versioning

365 days’ notice before anything is removed.

Within API version 1, changes are additive. Removing anything needs a dated announcement at least 365 days ahead, and the contract test that guards the API fails the build if one is shorter.

// the promise

What counts as breaking.

Breaking, so announced first

  • Removing a field, an endpoint, a tool or a scope
  • Narrowing an accepted input
  • Changing a field’s type, or what an existing value means
  • Changing the scope an existing operation requires, even to one that looks narrower

Never allowed at all

A read never becomes a write. An operation you integrated as a read will not start changing a store under any notice period; that would be a new operation with a new name.

A version that cannot be expressed additively would be served on a new path (/api/v2), with /api/v1 kept under the same window from the day it ships. MCP protocol revisions move on the specification’s schedule and are independent of the API version.

// announced

Current deprecations.

Read from the same table that writes the response headers and the changelog, so the three cannot disagree.
SubjectAnnouncedStops workingInstead
POST /api/oauth/register (Dynamic Client Registration)6 September 20266 September 2027Use a Client ID Metadata Document (CIMD): pass an https URL serving your client metadata as client_id. Existing registered client_ids keep working past the sunset date; only new registrations stop.
The per-connection auto-apply setting (api_keys.auto_apply, oauth consent auto_apply)28 October 202628 October 2027Ask the merchant for a write grant at Settings → Developers: a resource or tool, the effects it may have (money_refund, customer_send, …) and per-call and per-day limits. A connection holding any grant on a store is decided by its grants alone; connection_get shows which applies.
read_design.exports[].url28 October 202628 October 2027Use exports[].signed_url (a 15-minute signed URL, minted on every read) or open exports[].uri with resources/read. The public link in url cannot be revoked.
get_brand_kit.kit.logo.url28 October 202628 October 2027Open kit.logo.uri with resources/read for a 15-minute signed URL. The public link in url cannot be revoked. update_brand_kit returns the same kit and changes with it.
propose_design_post (risk tier auto_write → propose_write)30 October 202630 October 2027Read the reply as an approval card (plan_action_id, requires_approval): the post is created only when a person approves it in Magistry, in their name, and the policy and quality checks run then, not on the call; override_reason is shown on the card. A write grant cannot approve it. Send an idempotency_key; a call without one is refused idempotency_required. A file that already has an open post still returns that post_id at once.
enable_automation (risk tier auto_write → propose_write)30 October 202630 October 2027Read the reply as an approval card (plan_action_id, requires_approval): the automation is switched on only when a person approves it in Magistry. A write grant cannot approve it. An automation that is already on is answered at once.
tool run_research30 October 202630 October 2027Price the brief with research_quote (queries, markets, lanes, competitor shops), then propose the run with research_start and a max_credits; a person approves the card. Follow it with operation_get and read what it found with research_candidates_list.

// headers

Every affected response says so.

Every REST and OAuth response carries magistry-api-version. A response from something deprecated also carries Deprecation (RFC 9745, a structured-field date such as @1788652800), Sunset (RFC 8594, an HTTP-date) and a Link rel="deprecation" to the changelog, so a gateway or SDK that already watches those headers needs nothing Magistry-specific.

a deprecated response
POST /api/oauth/register  →  HTTP/1.1 201 Created
Deprecation: @1788652800
Sunset: Mon, 06 Sep 2027 00:00:00 GMT
Link: <https://app.magistry.io/api/v1/changelog.json>; rel="deprecation"; type="application/json"
magistry-api-version: 1
machine-readable changelog
curl https://app.magistry.io/api/v1/changelog.json

Not part of the contract: rate limits, the prose in tool descriptions (written for models and rewritten when that helps them), and the set of tools one particular credential sees, which follows its grant.

Build on the same tools the product uses.

Create a sandbox key on demo data, or start free and connect a real store.

MCP + REST · OAuth 2.1 or API keys · every call audited