Skip to navigation

REST API changelog

Every client-visible change to the REST API, newest first, by area: each area lists its changes under the version of its part of the API that they shipped in.

Organisation, risk and trading · Data

Organisation, risk and trading

Consumer-facing history of the trading gateway’s HTTP contract (openapi.json is the contract the gateway serves at /openapi.json; this file says what changed, for the people who parse it). Every client-visible change has its section here, newest first, each stating what each side of the deploy window sees.

From 0.1.0 the document carries its own version — info.version, semver, bumped by hand with the section that describes the change; what bumps which part is the API guide’s Versioning section. Every section from there on is headed by the version it lands and its date (## <version> — <YYYY-MM-DD> — …), and the contract test holds info.version equal to the newest heading here, so neither moves alone. The wire schemas the message shapes derive from are named beside it (info.x-immix-register-schema, info.x-immix-orders-schema, info.x-immix-custody-schema, info.x-immix-algos-schema). The sections below 0.1.0 are headed by the register schema’s version (114.v6, …) — which info.version carried until then — or by a word for what changed where the schema did not move, and are dated the same way.

0.85.0 — 2026-11-07 — ! A 202’s Location carries the command’s position; rotate an API key whose issue’s secret went unserved

A 202’s Location now carries the body’s commandGlobalSequence, when the body does, as ?minGlobalSequence= (/operations/{key}?minGlobalSequence=…); no route, field or error code is added or removed. Poll it as it is. Positioned, the member you reach answers only once it has folded the command, so its 404 means the key is gone. A 202 without a position keeps the bare path, where a 404 may still be a member’s lag (the guide’s Recovering after a 202). Its position belongs to one stream: across an announced stream cut, drop a kept Location with your other positions.

A break for a client that appends the parameter to the Location. Since 0.84.0 the guide has told you to state the body’s position on the poll yourself. A client that sets it — replacing any value the URL carries — keeps working: the value is the same, so one remains. A client that appends it does not: Location + "?minGlobalSequence=…" turns the value into one that is not a position, and adding it as a query parameter beside the one the URL carries (as many HTTP clients’ parameter arguments do) states it twice; either answers 400 MALFORMED_REQUEST on every poll. Poll the Location as it is, or add the parameter only where the URL lacks it.

A request may reach any of several members behind one host and needs no session affinity: every member answers every operation, a poll and a retry alike. The one exception the guide named — an API key issue’s secret, which no stream or operation record carries — now has its remedy: retry under the same Idempotency-Key, and where the answer’s secret is null (an answer that never held the secret the key’s row records), rotate the key (POST /api-keys/{id}/rotate), which mints a fresh secret, served once. The credential intake’s and the WebSocket tickets’ rate limits count on each member, as they always have: behind a host with several members, a principal’s budget is that many times the figure. The guide’s Writes, API keys and Errors sections say so.

The deploy window. A member before 0.84.0 refuses any query on GET /operations/{key}; every member serves 0.84.0 or later before this release reaches you, so the Location polls on whichever member you reach. Until this release, a 202’s Location names the operation alone: set the parameter from the body yourself, as before.

0.84.2 — 2026-11-07 — A retried register write the platform already answered reads the first answer; info.x-immix-register-schema reads 114.v29

info.x-immix-register-schema reads 114.v29. No route, field or code changes. A register write — an organisation’s, a user’s, an account’s, a key’s, an address’s, a portfolio’s, a policy’s or an approval rule’s — retried under the same Idempotency-Key within 24 hours of the first, that reaches the platform a second time, now answers as the first did: its 200, or the refusal the first earned with its status and code — a 409 where the first was refused one — and never a 409 that the first write’s own success caused (NAME_TAKEN, NOTHING_PENDING, ALREADY_APPROVED, ILLEGAL_TRANSITION). Two cases reach it a second time: the gateway’s journal dropped the key under its kind’s capacity and took the retry afresh, or the first write was still waiting on the member that took it when the retry reached another. In the same two cases the same key sent with the same command to another row — on the same route, or across a family’s create and its amend (portfolios, the three policies, credentials), PUT /users/{id} and PUT /me, or an invitation and its resend — judged on its merits before, is now refused 422 INVALID_FIELD, as the risk limits’ and the manual executions’ already are; a member still holding the key answers 409 IDEMPOTENCY_KEY_REUSED, as before. A retry past 24 hours is judged afresh, as before. The guide’s Writes and Errors sections say so.

The deploy window. Until the register runs this release, such a retry is judged afresh and can read the 409, as before. The gateway updates ahead of the register, so no member of the previous build meets a register of this one; should one (a gateway rolled back under it), it answers such a retry 202, and its record reads COMMITTED until the journal window ends — read the row itself for the outcome. Where the environment is wiped with the roll (dev), an operation you hold across it is gone: GET /operations/{key} answers 404 UNKNOWN_OPERATION, and the write retried under the same Idempotency-Key is taken afresh.

0.84.1 — 2026-11-07 — info.x-immix-orders-schema reads 111.v6

info.x-immix-orders-schema reads 111.v6: the orders schema appended what the operation journal concludes a cancel by — the canceller and the cancel’s Idempotency-Key on the order version that accepts it, and the key on a refusal — which no route here serves. No route, field or code changes. POST /orders/{id}/cancel answers and polls as it did; its record now binds to the answer by the cancel’s own key, where the previous build matched the platform’s answers to cancels by their order on the order — so a gateway holding more than 4096 unanswered cancels (an orders service away for long) could drop one and hand a later answer to another caller’s cancel of the same order. It no longer can, and the limit is gone.

The deploy window. The gateway is re-established after the orders owner serves the new schema, so no member of this build meets an owner that does not echo the pair. Should one (an owner rolled back under a re-established gateway), a cancel answers 202 where it answered 200 or its refusal, and its record reads COMMITTED until the journal window ends — the cancel itself is accepted or refused as before, and GET /orders/{id} shows which (cancelRequestedAtNs set, or the order unchanged after a refusal). A member of the previous build answers every cancel as before. An operation you hold across the roll: where the environment is wiped with it (dev), its record is gone — GET /operations/{key} answers 404 UNKNOWN_OPERATION, and the write retried under the same Idempotency-Key is taken afresh; where the gateway is re-established without a wipe, an operation older than the point the re-established gateway resumes from answers the same 404 and its retry is taken afresh, while a cancel newer than it that the previous build concluded can read COMMITTED again until its window ends — check the order itself.

0.84.0 — 2026-11-07 — ! Requests wait for a lagging member: minGlobalSequence; Location under the public base

  • ?minGlobalSequence= on every route. State a position you hold — an X-Immix-Global-Sequence you read, or a 202’s commandGlobalSequence — and the member answers only once it has folded the platform’s stream through it: a read is never older than what you have already seen on another member. A member behind it waits up to the gateway’s deadline — not at all when it already holds as many waiting requests as it takes, or you already hold 64 waiting on it, or your organisation’s keys and members 256 together (callers it does not admit yet, a key issued moments ago on another member among them, share 16) — then answers 503 PROJECTION_BEHIND with Retry-After; send the request again, to any member. A value that is not one to nineteen decimal digits, at most 9223372036854775807, is 400 MALFORMED_REQUEST, and so is the parameter stated twice. A position belongs to one stream: when the platform cuts its stream anew — an event the operator announces; the API carries no stream identity — positions start again from the beginning, so drop every one you kept from before it, and every ETag with them: across a cut the parameter guarantees nothing. Every 503 response now declares Retry-After, as the 429 did: the header was sent and described before, never declared, so a generated client could not read it.

  • A retried write no longer publishes twice. Send the retry of a 202’d write with its commandGlobalSequence as ?minGlobalSequence=: the member you reach waits until it has folded the command, then attaches to the live operation or replays its outcome — while the journal still holds the key; once it has dropped it, past its 24 hours or sooner when a flood of one kind evicts it, the retry is taken afresh, as before. State it on the poll the same way and the poll reads no stale 404; the 202’s Location stays the operation’s URL, so the position is yours to state.

  • A version above the member’s row is lag, not a conflict. The four writes whose body the gateway completes from its own image of the row — POST /users/{id}/enable, POST /users/{id}/invitation, PUT /me and PUT /accounts/{id}/keys/{keyId} — were answered 412 VERSION_CONFLICT by a member whose image was behind the version your If-Match names, though your version was the newer one, read off another member. Such a write now waits until the member reaches your version, up to the gateway’s deadline — not at all when the member already holds as many such writes waiting as it takes, or you already hold 8, or your organisation’s members 16 together — then is judged and composed from the row it reached; past the deadline it answers 503 PROJECTION_BEHIND with Retry-After, nothing taken — send it again, on any member. A version below the member’s row is still the stale precondition’s 412. A version no member will reach — an ETag kept from before an announced stream cut, another row’s, one made up — waits the same way each time, since no member can tell it from lag: a write members keep answering PROJECTION_BEHIND past a few retries wants the row re-read.

  • Location may be absolute — a break for a client that prefixes its base to it. A deployment that serves the API under a public base — behind a front door that strips a prefix, as https://api.immix.xyz/v1 does — answers every Location (a 202’s operation, a key write’s key) as an absolute URL under it; a deployment without one answers the path, as before. A client that builds its next URL as its base followed by Location reads a doubled URL there (https://api.immix.xyz/v1https://api.immix.xyz/v1/operations/{key}): resolve Location against your request’s URL instead (RFC 3986 §5), and the path and the absolute URL name the same resource.

  • Across the deploy window. A member on the previous build refuses minGlobalSequence on a read (400 MALFORMED_REQUEST, a parameter it does not take) and ignores it on a write, answers a lagged pinned write 412 VERSION_CONFLICT, and answers a Location without the base. A member on this build waits on the parameter and on the lagged write, and answers Location under the base where one is set. Send minGlobalSequence only once every member you reach serves 0.84.0; resolve Location against your request’s URL and treat PROJECTION_BEHIND like any retryable 503, and both builds read the same.

0.83.0 — 2026-11-07 — A 202 carries the command’s position; poll any member, then retry the write

  • The 202 body carries commandGlobalSequence — the command’s position on the platform’s stream — when the answering member had folded the command by the gateway’s deadline: the operation is COMMITTED, every member folds it, and a poll of the Location on any member answers once that member has folded past that position. The field is absent when the answering member held no position for the command as the deadline passed — parked on the member that took it, in flight, or already sequenced: absence never says the command is off the stream, and another member’s 404 is true only as of that member’s own position.
  • Recovering after a 202. Poll GET /operations/{key} on any member with a bounded patience — a few seconds past the deadline is usually enough for a carried command to land, longer across a platform leader change — reading each answer’s X-Immix-Global-Sequence against the 202’s commandGlobalSequence when you hold one: a 404 below it comes from a member that has not folded the command yet, so poll again; at or past it, the key is gone. Then send the write again under the same Idempotency-Key: on a member at or past that position a key the stream holds attaches to the live operation or replays its outcome; a key nobody carried any more is taken afresh and judged by the platform’s own dedup; a member behind it — which you cannot rule out behind one host, or holding no position — publishes the command again, the platform’s dedup refuses the second, and the record concludes on the first answer the stream carries for the key, the original’s unless that refusal lands first. A client that treated 404 UNKNOWN_OPERATION as “keep polling” drops it from its transient set: at or past its position it means not journaled, and the write retry is the recovery, not the poll. The one exception is an API key issue: its secret is served by the member that took it alone, so that retry goes there (the guide’s API keys section).
  • Across the deploy window. A member on the previous build answers a 202 without the position; a member on this one carries it when it has one. Both answer polls and retries on any member (since 0.82.0): nothing in the recovery depends on which member answered the 202 — the API key issue’s secret apart, held by the member that took it.

0.82.0 — 2026-11-07 — ! Any member answers an operation: the journal is the stream’s

GET /operations/{key} answers on every member of the gateway, whichever member carried the write: a poll, a retry of a concluded key (Idempotent-Replay: true) and a retry of a key still in flight — which attaches to the operation, never republishing — all work against any member that has folded the command (within its lag of the member that carried it), and a restarted member serves them again. The record’s origin names the member and instance that sequenced the command — any member’s, no longer the one you are reading from. 404 UNKNOWN_OPERATION means a key never used, another caller’s, or one past the journal window (24 hours from the command’s position, or the newest 32768 operations of the key’s kind — orders have a budget of their own, every other family shares one — whichever ends first), as of the answering member’s position (X-Immix-Global-Sequence) — never “the other member”, though in the seconds after a 202 a member that has not folded the command yet answers it too: poll with a bounded patience, then retry the write under the same key.

The deploy window. A member on the previous build still answers polls and retries only for the writes it carried; a member on this build answers for every write sequenced since it started. Keep polling the member that carried the write until every member serves 0.82.0, then drop the affinity.

0.81.0 — 2026-11-07 — ! A manual execution names who produced each state; the algos bodies drop commandKey

  • A manual execution row gains updatedBy — who produced the version: the maker on the draft, an approver on an approval, the withdrawer on the withdrawal — an Actor, never null, as the adjustment row has carried it since 0.80.0.
  • The register commands’ schemas list commandKey beside actor — the caller’s Idempotency-Key, which the platform writes onto the command itself: stamped, never sent. The register request bodies you send (SubmitAccountBody and the others) are as they were. The routes and their outcomes are as they were.
  • Every write refuses a body commandKey — 400 MALFORMED_REQUEST, as a body actor is refused: the register, risk, manual-execution, orders (POST /orders and the cancel) and algos writes alike, where 0.80.0’s register and orders writes ignored it as an unknown property (the risk and manual-execution writes refused it already). The key rides the Idempotency-Key header alone. The published CancelOrder message schema lists commandKey, stamped by the platform; the cancel body you send is as it was.
  • ! The seven algos bodies drop commandKey — CreateAlgoInstanceBody, SubmitAlgoConfigBody, StartAlgoInstanceBody, StopAlgoInstanceBody, DeleteAlgoInstanceBody, SetAlgoUpgradePolicyBody and HaltAlgosBody listed the key as an optional restatement of the Idempotency-Key; they list it no longer, a client generated from this document loses the property, and a body that states it is refused 400 MALFORMED_REQUEST — the one rule every write follows now. Send the key in the header alone, as the guide has always said.
  • Across the deploy window. A member of the previous generation serves the manual execution rows without updatedBy; a member of this one serves it. An algos write whose body states commandKey is accepted by a member of the previous generation and refused 400 by a member of this one, as a register or orders write whose body states it is — drop it from the body before the roll; the header alone has always been enough. A write sent during the window may be answered 202 with its operation’s Location at the gateway’s deadline, the operation COMMITTED and unanswered, or refused by the front door while the group is down; retry it under the same Idempotency-Key — it is judged afresh and answered once.

0.80.0 — 2026-11-07 — ! The risk rows name their actors; a risk write is refused by the platform, never at the door

Every risk row now names who acted as an Actor — {"kind", "id"}, the object every register row has carried since 0.68.0 — in place of the user ids it carried, and an API key’s risk write is refused by the platform rather than at the door. Nothing changes in what a member may do: the risk writes are still members’ alone.

  • Every actor on a risk row is an object. On a limit row, proposedByUserId → proposedBy, concludedByUserId → concludedBy, lastWithdrawalProposedByUserId → lastWithdrawalProposedBy, lastWithdrawalWithdrawnByUserId → lastWithdrawalWithdrawnBy, and updatedByUserId → updatedBy; on an adjustment and on a manual execution, proposedByUserId → proposedBy and withdrawnByUserId → withdrawnBy, and an adjustment gains updatedBy — who produced the state: the maker on the proposal, an approver on an approval, the withdrawer on the withdrawal — as a limit row has it. Each is the Actor component — always USER with a user id, since only members write risk — or null where the user id served null; the one exception is the limit row’s updatedBy, which is never null: it serves {"kind": "MACHINE", "id": 0} on the default row the platform gives every organisation, where updatedByUserId served null. The approvals entries keep userId: approvals are people’s.
  • Filters and sorts that named a user id leave. proposedByUserId and concludedByUserId on GET /risk/limits, proposedByUserId on GET /risk/adjustments and on GET /risk/manual-executions, as filters and as sort keys: an actor is an object no list orders by. A request naming one is 400 MALFORMED_REQUEST, as any unknown parameter is.
  • An API key’s risk write is refused by the platform. Every risk write a key sends — the limits’, the adjustments’, the manual executions’ — reaches the platform and is refused 403 CAPABILITY_MISSING, the refusal every actor without the capability gets, where it was 403 FORBIDDEN_PRINCIPAL at the door before; the operation record exists and names the refusal, as it does for any refused write. FORBIDDEN_PRINCIPAL keeps its other meanings. A key still reads the risk surface by risk:read.
  • Across the deploy window. A member of the previous generation serves the user-id spellings and answers a key’s write at the door; a member of this one serves the actors and lets the platform refuse. A risk write sent during the window may be answered 202 with its operation’s Location at the gateway’s deadline, the operation COMMITTED and unanswered, or refused by the front door while the group is down; retry it under the same Idempotency-Key — it is judged afresh and answered once.

0.79.1 — 2026-11-07 — PUT /users/{id} lists 409 LAST_ADMIN, and the user writes say who the last administrator is

Documentation only: nothing on the wire changes, and nothing is refused that was not refused before.

  • PUT /users/{id} lists 409 LAST_ADMIN. A restatement whose capabilities — stated, or a preset’s — leave users:manage out is refused 409 LAST_ADMIN when its target is the organisation’s last active holder of the bit, as disabling or deleting that member is. The platform already refused it; the description now says so.
  • The three user writes say who counts. POST /users/{id}/disable and POST /users/{id}/delete said “the last administrator”; they now say “the last active users:manage holder”, the member PUT /users/{id} names too. An administrator is an ACTIVE member holding users:manage, whatever else the row holds: the bit decides, not a match against the ADMIN preset. A member invited with the bit counts once their row turns ACTIVE, a disabled holder once enabled, and no API key holds the bit. The API guide’s Capabilities section states the rule in full.
  • Two phrases of PUT /users/{id}’s description are shorter, to make room, with the same meaning: “no maker-checker, so the write is live at once” now reads “live at once, no maker-checker”, and a DELETED row’s “a new invitation is the way back” reads “invite anew”.

During the deploy window a 0.79.0 member and a 0.79.1 member serve the same bytes; the document differs in its version and the three descriptions.

0.79.0 — 2026-11-05 — An algo can stop itself: lastCause STRATEGY

Additive: new enum values; nothing removed or renamed.

  • An algo can stop itself. An algo may now decide on its own that its work is done — a parent order filled, an inventory limit reached — and stop. Its instance then moves from STARTED to STOPPED, transitionSeq advances, lastCause is the new value STRATEGY, lastCommandKind the new REPORT_ALGO_INSTANCE_STOP, and lastUpdatedBy is null: the platform moved it, as with ENGINE_FAULT. Its orders are cancelled at the stop, as at any stop. Unlike a fault, nothing is lost: the algo keeps its state, so POST /algos/instances/{id}/start resumes it where it stopped. The reason the algo gave is not on the instance row: the row says that the algo stopped it, not why.
  • When your stop or a halt crosses it, whichever the platform records first stands. Yours first: the instance is STOPPED with lastCause COMMAND or HALT, and the algo’s own stop is discarded. The algo’s first: the instance is already STOPPED (STRATEGY), so your stop is refused 409 ILLEGAL_TRANSITION, as the stop of any stopped instance is, and a halt does not count it — before this version only you could stop an instance, so a client that treats that refusal as an error should read it as “already stopped”.
  • lastCause gains STRATEGY and the command kinds gain REPORT_ALGO_INSTANCE_STOP, on the row and in the GET /algos/instances lastCause and lastCommandKind filters. A refusal’s command may carry it too, but a refusal of the engine’s report names no member of yours and is never an answer to a request you sent. info.x-immix-algos-schema reads 121.v4.

During the deploy: a client on the previous version may meet STRATEGY and REPORT_ALGO_INSTANCE_STOP once an algo stops itself: read them as UNKNOWN, as the enums’ descriptions say. A client that validates enums strictly against the previous document rejects them before it can map them: move such a client first. No algo stops itself until its pool’s engines run a release that lets it, and until its algo is rebuilt to ask: until then nothing on the wire changes.

0.78.2 — 2026-11-05 — info.x-immix-register-schema reads 114.v27

info.x-immix-register-schema reads 114.v27: the register schema appended a field to the deployment’s one-off bootstrap command, which no route here takes or serves. No route, field or code changes. Ids stay opaque integers: an environment bootstrapped from this release gives its platform organisation and that organisation’s first members ids like any other row’s, where an older bootstrap gave them 1. Both sides of the deploy window serve the same responses; only the stamp differs.

0.78.1 — 2026-11-04 — The algo engines apply an instance’s upgradePolicy when its algo moves to a new version

The behaviour 0.77.0 describes for an instance whose algo moves to a new version now holds on the engines: nothing in the API’s shapes changes.

  • RESUME (the default): the instance’s orders are kept, its state is resumed on the new version, and it trades on. If the new version cannot read the state its predecessor saved, the instance does not restart silently: a STARTED one lands ERROR after its VERSION_RESUMED move, with lastCause ENGINE_FAULT and its orders cancelled; a STOPPED one lands ERROR the same way at its next start. Stop it, then start it, to run it afresh on the new version. The same holds for an instance set back to RESUME during the roll, after RESTART or STOP and once its orders have moved — a fill, a cancel, the old version’s last quotes: the state it saved no longer describes its orders, so it lands ERROR at its VERSION_RESUMED move rather than resume it. Set the policy before the roll.
  • RESTART: the instance’s own orders are cancelled and it starts afresh on the new version, under the document in force; its new orders’ client order ids continue from a higher handle (a<instanceId>-1000000000000 and up), so they never repeat the ids of the orders they replace. Events of the cancelled orders never reach the new run.
  • STOP: the instance’s own orders are cancelled and it lands STOPPED; your next start runs it afresh on the new version.
  • SCHEMA_MISMATCH: the instance lands ERROR and its orders are cancelled — unless it is still CREATED, which it stays (it holds no orders), as 0.77.0 says.
  • A start after ERROR replaces the strategy too: its new orders’ client order ids continue from the next multiple of a trillion, as a RESTART’s do, so an order the faulted strategy placed — and its late fills — never reaches the new one.
  • Prose: POST /algos/instances/{id}/upgrade-policy’s description and SetAlgoUpgradePolicy.upgradePolicy’s no longer say the engines ignore the policy, and upgradePolicy’s — on the row, the create and the set — say that a RESUME whose saved state cannot be resumed (above: the new version cannot read it, or its orders moved before a mid-roll return to RESUME) lands ERROR, its orders cancelled.

info.x-immix-algos-schema reads 121.v3: schema 121 appends three fields to an engine capture that no topic carries, so no message a client reads changes shape.

During the deploy: a pool rolls to a new version of an algo with every engine of the pool restarted together; an engine started on a different set of algo versions beside a running one refuses to come up, so a pool is never served by two versions at once. Between the restart and the move — usually well under a second — a RESTART or STOP instance places nothing, and its orders rest as they were. Until a pool’s engines run this release they ignore the policy, and you can see it: after a VERSION_RESTARTED or VERSION_STOPPED move the instance’s new client order ids continue below a<instanceId>-1000000000000, its saved state is lost, and one with resting orders at the move is contained (lastCause DIVERGED) — 0.77.0’s and 0.78.0’s notes.

Once, at the engines’ own rollout to this release: an instance started out of ERROR in the last half-minute or so before its pool’s engines restart onto this release can be contained at the restart — lastCause DIVERGED, its orders cancelled, recovered only by a new instance — because this release numbers that start’s orders from the next trillion and the previous one did not. Do not start a faulted instance in the minutes before a scheduled rollout. Later releases do not carry this.

0.78.0 — 2026-11-04 — Change an instance’s upgrade policy: POST /algos/instances/{id}/upgrade-policy

Additive: one route, its request body and two generated message schemas; nothing removed or renamed.

  • POST /algos/instances/{id}/upgrade-policy changes what a new version of the instance’s algo on its pool does to it — the row’s upgradePolicy, until now set only at the create. The body is { "upgradePolicy": "RESUME" | "RESTART" | "STOP", "remark"?: string }: the policy is required, and the remark optional as on every algos write. It needs algos:manage, takes the Idempotency-Key exactly as the start, the stop and the delete do (a retry of the key replays the answer with Idempotent-Replay: true; the key reused on another algos route or instance is 409 IDEMPOTENCY_KEY_REUSED), and, like the stop, takes no If-Match — one is refused 400 INVALID_IF_MATCH, so no version stamp can refuse it. A pool’s roll takes the policy in force when its report completes: set the policy, and see it answered, before the pool rolls; a set sequenced after the roll applies to the next one. It answers 200 with the instance row carrying the new upgradePolicy (or 202 with Location: /operations/{key} past the deadline, like every write).
  • It is not a move. It is legal in every state but DELETED, while the instance runs too, and nothing else on the row changes: status, transitionSeq, lastUpdatedBy, lastUpdatedAtNs, lastCause, lastCommandKind and the ETag stay as they were.
  • Its refusals. The policy’s parse is strict, as for every enum written: absent, null, UNKNOWN, or a name the API does not know is 400 MALFORMED_REQUEST, nothing sent. Another organisation’s or an absent instance is 404 NOT_FOUND from the gateway, and one the platform holds no instance under 404 UNKNOWN_INSTANCE. A DELETED instance is 409 ILLEGAL_TRANSITION (the message names the status). Without algos:manage, 403 CAPABILITY_DENIED. A remark past 256 bytes of UTF-8 is 422 INVALID_FIELD, as on every algos write.
  • SetAlgoUpgradePolicy, SetAlgoUpgradePolicyBody and AlgoUpgradePolicySet join the generated schemas — the command, the route’s body, and the fact the platform answers it with.
  • A required enum field’s description no longer tells you to omit it. The note on a field with an unset sentinel (UNKNOWN, or NONE) said “as input, omit the field instead” whatever its schema required: true of an optional field, false of a required one, where omitting it is refused as the sentinel is. It now follows the schema’s required list. Every required sentinel-enum field reads “as input the field is required, and explicit UNKNOWN refuses 400” — the request bodies’ (SubmitOrderBody’s side, orderType and timeInForce, DisableAccountBody.reason, DeclareAccountAddressBody.chain, SubmitChainPolicyBody.chain, and this version’s SetAlgoUpgradePolicyBody.upgradePolicy) and every generated message schema’s, commands and facts alike (SubmitOrder.side, OrderUpdated.status, AccountUpdated.pendingTransition and the rest: 71 fields across 27 schemas). An optional field keeps the omit wording, including one its message requires and its body makes optional (SubmitAccountBody’s and ConnectAccountBody’s ownership and purpose). The prose alone moves; every parse is as before.

During the deploy: the route is new, so a server still on 0.77.0 answers it 404 — do not call it until the server runs this release; until then the policy is the one the create stated. A client on the previous version sees nothing new: the row’s upgradePolicy is the field 0.77.0 added, now able to change after the create.

On the engines: the engines of a pool on this release ignore the policy, as 0.77.0’s note says; they act on it from 0.78.1’s release (above). Until then a moved instance restarts from its document without its saved state — its new client order ids continuing its old ones’, below a<instanceId>-1000000000000 — and one with resting orders at the move is contained for good: ERROR with lastCause DIVERGED (STOPPED under STOP), its orders cancelled, recovered only by a new instance.

0.77.0 — 2026-11-04 — An instance’s upgrade policy: upgradePolicy on the create and the row; four new lastCause values

Additive: one optional body field, one row field and new enum values; nothing removed or renamed.

  • POST /algos/instances takes an optional upgradePolicy: what a new version of the instance’s algo on its pool does to it — RESUME (the default when absent or null) keeps its orders and resumes its state on the new version, RESTART cancels its orders and starts it afresh, STOP cancels its orders and stops it. Like every enum written, the parse is strict: UNKNOWN or a name the API does not know is refused 400.
  • GET /algos/instances rows gain upgradePolicy, the instance’s policy. Every instance created before this version reads RESUME.
  • An instance follows its algo to a new version. When its pool’s engines load a new version of the instance’s algo, the instance’s algoVersionId moves to it and its transitionSeq advances, with a lastCause that says what the new version did: VERSION_RESUMED, VERSION_RESTARTED or VERSION_STOPPED by its policy (a STARTED instance under STOP lands STOPPED), or SCHEMA_MISMATCH when the new version’s params schema refuses the instance’s document: the instance lands ERROR, unless it is still CREATED, which it stays. An ERROR instance recovers with a corrected document, then a stop and a start — a start while the refused document is still in force is refused with the schema’s reason; a CREATED one needs only the corrected document, which the engine’s acceptance turns STOPPED, ready to start. lastCommandKind is then REPORT_ALGO_VERSIONS, and lastUpdatedBy is null: the platform moved it.
  • lastCause gains those four values, on the row and in its GET /algos/instances filter. SET_ALGO_UPGRADE_POLICY joins the command kinds: a refusal’s command carries it, and the shared enum and its filter list it, but no row’s lastCommandKind ever holds it — a policy change does not move the row’s attribution, which stays the last move’s. info.x-immix-algos-schema reads 121.v2.

During the deploy: a client on the previous version meets an upgradePolicy field it does not know on instance rows (ignore it, as the document has always said for unknown fields), and may meet the new lastCause values once a pool loads a new version (read them as UNKNOWN, as the enum’s description says). A client that validates enums strictly against the previous document rejects them before it can map them: move such a client first. A client moved to this version before the server is meets instance rows without upgradePolicy, which this version requires: validate against it once the server runs this release. A previous server does not know upgradePolicy on a create, so state it only once the server runs this release: until then every instance is RESUME.

On the engines: this version records the policy and moves the row; the engines of a pool on this release ignore the policy, and act on it from 0.78.1’s release (above). Until then an instance whose algo moves to a new version is re-pointed and its lastCause set, and its engine restarts it from its document in force without its saved state — its new client order ids continuing its old ones’, below a<instanceId>-1000000000000. An instance with resting orders at the move is contained for good: its orders are cancelled, a STARTED one lands ERROR (lastCause DIVERGED) — under STOP it lands STOPPED — and every later start lands it ERROR again; its recovery is a new instance.

0.76.0 — 2026-11-04 — GET /me and GET /org carry version: PUT /me and PUT /org take If-Match from the row

Additive: one field on two rows; nothing removed or renamed.

  • GET /me carries version, after apiKeyId: your row’s version as a decimal string — your own user row’s as a member, the key’s own as an API key. PUT /me’s answer carries it too.
  • GET /org carries version, after orgId: your organisation’s version, the same type and meaning as on every other row. PUT /org’s answer and each row of GET /me/orgs carry it too.
  • If-Match from the row you hold. Send the row’s version as If-Match on PUT /me and PUT /org, as on every other entity write — quoted, as HTTP spells an entity tag (If-Match: "3"); the gateway also takes it bare. These were the only two rows whose version came in the ETag header alone, so a client had to keep the header beside the body it read, or a refetch could pair a newer version with an older copy of the row; and a browser reads that header only because the API exposes it to cross-origin pages. The body field needs neither.
  • The ETag stays, carrying the same value quoted: a client that sends it keeps working unchanged.

Both sides of the deploy window. A gateway still at 0.75.0 serves these rows without version. A client generated from 0.76.0 that validates responses against the document rejects such a row before it can read the ETag, so until every gateway you call runs 0.76.0, either accept a row without version and take If-Match from its ETag, or keep the client generated from 0.75.0. A client generated from 0.75.0 meets one more member on a gateway at 0.76.0; the other members keep their order, and the ETag does not move.

What to do. Regenerate: generators add version, a required string, to Me and OwnOrg. Once every gateway you call runs 0.76.0 or later, If-Match on PUT /me and PUT /org can come from the row’s version alone.

0.75.0 — 2026-11-02 — ! An existing member is bound at once: ALREADY_MEMBER leaves invitationState, invitationFailure gains SUBJECT_BOUND, a disabled member’s address is EMAIL_TAKEN

A break (!): an invitation to an address that already belongs to a verified member of your organisation at the identity provider now binds that member at once, and the state that described the wait for their sign-in leaves the vocabulary.

  • ALREADY_MEMBER leaves invitationState — on every user row the API serves (GET /users/{id}, the /users page’s items and the answer to every user write) and in GET /users’s invitationState filter. Such an invitation used to sit INVITED with no email sent until the person happened to sign in. Now the row turns ACTIVE in the same act, with the capabilities and the name you granted: invitationState is ACCEPTED, idpUserRef is the member’s identity at the provider, idpInvitationRef is empty — no invitation was created (a claim no invitation reached, after a failed send say, leaves it empty too) — and invitationDetail names the member the address belonged to. No email is sent, and nothing tells the person they hold the seat: tell them yourself.
  • invitationFailure gains SUBJECT_BOUND, beside invitationState FAILED: the address belongs to a member of the provider’s organisation whose identity already holds another seat in yours — a disabled one, say. The invitation stays INVITED and cannot be bound while that seat holds the member; invitationDetail names the seat. Enable that seat (POST /users/{id}/enable) if it is disabled, and cancel this invitation (POST /users/{id}/delete).
  • EMAIL_TAKEN widens. POST /users/invitations answers 409 EMAIL_TAKEN for an address a disabled member holds, as it already did for an invited or an active one: a disabled member keeps the seat and their identity, so a second invitation at their address made a row they could never claim. Enable them instead. A deleted member’s address stays free.
  • A filter naming ALREADY_MEMBER — GET /users?invitationState=ALREADY_MEMBER — is 400 MALFORMED_REQUEST, as for any value the row cannot carry.
  • info.x-immix-register-schema reads 114.v26.

Deploy window: the register, the identity-provider connector and the gateway roll together, so no deployment answers with a mix. Before the roll an invitation of an existing member reads ALREADY_MEMBER and waits for the person’s sign-in; after it, a row that read ALREADY_MEMBER reads NONE — still INVITED, and the person’s next sign-in still claims it — while every invitation made from then on binds an existing member at once. A client built against 0.74.0 meets no ALREADY_MEMBER after the roll and meets SUBJECT_BOUND as a name it does not know, which the document has always said to read as NONE; it meets bound rows as ACTIVE and ACCEPTED, values it already knows. A client built against 0.75.0 that reaches a gateway before the roll may meet ALREADY_MEMBER — a name it does not know, read as NONE — and an invitation at a disabled member’s address that is accepted rather than refused.

0.74.0 — 2026-11-02 — ! Leverage over the margin equity: the record’s marginEquityUsd; nlvFloorUsd is marginEquityFloorUsd, NLV_FLOOR is MARGIN_EQUITY_FLOOR

A break (!): a field and an enum value renamed, and the leverage figures’ divisor changed.

  • The risk record gains marginEquityUsd: the net liquidation value of the account’s margin wallets alone — at OKX the trading account, at Bybit the unified account, at Binance the spot and USD-M wallets together (Binance margins USD-M on its own wallet, so its figure also counts the spot wallet). Money in a wallet the venue does not margin, such as OKX’s funding wallet, counts in nlvUsd and not here. null exactly when nlvUsd is.
  • The eight leverage figures divide by marginEquityUsd, where they divided by nlvUsd. The WithSpot figures count only the holdings in the margin wallets. An OKX account with 10,000 USDT in trading, 90,000 in funding and a 50,000 perpetual now reads 5×, as the venue does, not 0.5×; moving money between its wallets moves its figures.
  • A record also publishes when marginEquityUsd moves by the NLV step (1 % of its last published value), as it does for nlvUsd: the margin equity can halve while NLV barely moves.
  • The floor guards the margin equity, under a new name. On the limit rows and the POST /risk/limits / POST /risk/limits/{id}/proposal bodies, nlvFloorUsd is now marginEquityFloorUsd. On the posture, the arm value NLV_FLOOR is now MARGIN_EQUITY_FLOOR, and its observed is the margin equity.
  • Order admission’s exposure test reads the margin wallets. It applies under a HEDGE_ONLY or BLOCKED posture set by GROSS_LEVERAGE_WITH_SPOT or MARGIN_EQUITY_FLOOR (the floor is hard only, so it sets BLOCKED alone) from a breach on complete data: the posture’s arm has an observed value and its rateQuality is PRIMARY. There the exposure an order must shrink (a hedge under HEDGE_ONLY, a cut under BLOCKED) is the derivatives together with the holdings in the venue’s margin wallets alone; coins in another wallet (OKX funding) no longer count. An order that shrank only coins held outside the margin wallets passed before and is now refused, RISK_HEDGE_ONLY under HEDGE_ONLY and RISK_LIMIT_BREACHED under BLOCKED. Conversely, an order that shrinks the margin-wallet exposure now passes even where those outside coins once made it look like growth. With the data in doubt, only a cut passes, as before.

Generated clients — the break. The limit’s field and the arm’s enum value are renamed: code naming either stops compiling when it regenerates. A body sending nlvFloorUsd is refused as an unknown field.

During the deploy: the release rolls with a reset, so no row predates it. A client on the previous version reads limit rows without nlvFloorUsd and a posture arm it does not know — one that validates enums strictly rejects MARGIN_EQUITY_FLOOR before it can read it as UNKNOWN; move with the release. A client moved to this version before the server is meets records without marginEquityUsd and limit rows without marginEquityFloorUsd, which this version requires: validate against it once the server runs this release.

0.73.0 — 2026-11-02 — Funding is booked: a position’s funding, the record’s fundingUsd, the adjustment’s funding arm

Additive: one field and one enum value on the position row, and values where there were zeros; nothing removed or renamed.

  • GET /positions rows gain funding: the funding paid or received on the position since it first opened, in settleAssetId, positive when the account received it. It is cash beside realizedPnl, never part of it or of cost, and it survives the position returning to zero. null for an UNSUPPORTED row.
  • A position row’s lastCause gains FUNDING: the row a payment moves says so. Like MANUAL_ADJUSTMENT, it names no execution, so lastExecutionId still names the last fill.
  • The risk record’s fundingUsd moves. Each payment converts at its own rate, and a record published for a payment carries cause FUNDING with causeRef "0": the venue’s id for a payment is text, so the record names none. A payment on an instrument the account holds no position in still counts here, and in the account’s holdings, though no row shows it. A payment in an asset with no USD rate yet is left out until its first rate converts it, and the record is partial (isPartial) meanwhile. A payment is no longer counted in transfersUsd.
  • The adjustment’s funding arm is accepted on a position (POST /risk/adjustments with fundingMode and funding, in the settle asset). On an inventory it stays refused ARM_INVALID.

During the deploy: the release rolls with a reset, so no row predates it. A client on the previous version meets a funding field it does not know on position rows (ignore it, as the document has always said for unknown fields) and a lastCause of FUNDING (read it as UNKNOWN, as the enum’s description says). A client that validates enums strictly against the previous document rejects FUNDING before it can map it: move such a client with the reset. A client moved to this version before the server is meets position rows without funding, which this version requires: validate against it once the server runs this release.

0.72.1 — 2026-11-02 — info.x-immix-custody-schema reads 115.v4

info.x-immix-custody-schema reads 115.v4: the custody schema appended a message for funding payments. No route, field or code changes, and GET /account-balances answers as before. Both sides of the deploy window serve the same responses; only the stamp differs.

0.72.0 — 2026-11-02 — Manual executions: /risk/manual-executions; an execution’s provenance

Additive: four new routes, their row, three bodies, a refusal code set, one field on the execution row and one enum value; nothing removed or renamed, nothing refused that was not refused before.

  • /risk/manual-executions (tag Risk) — trades the platform never received from a venue, booked by hand: a missed or off-platform fill (MISSED_TRADE), an opening position at its real cost (OPENING_POSITION), a venue liquidation or auto-deleveraging with no fill (VENUE_LIQUIDATION, VENUE_ADL), a balancing trade for a quantity break (RECONCILIATION_BREAK), or OTHER with a remark:
    • GET /risk/manual-executions, GET /risk/manual-executions/{id} (risk:read, or any risk capability) serve ManualExecutionRow: the account, the instrument, side, liquidity, qty, price, fee with feeAssetId, venueTsNs, reason, reference, remark, status (PENDING_APPROVAL, RECORDED, WITHDRAWN), the maker-checker fields — proposedByUserId, proposedAtNs, approvals as {userId, approvedAtNs} objects — and, once recorded, recordedAtNs and the executionId it was booked as. manualExecutionId is a 64-bit integer, a decimal string.
    • POST /risk/manual-executions (risk:propose; 201), POST /risk/manual-executions/{id}/approve (risk:approve, a person), POST /risk/manual-executions/{id}/withdraw (the maker, or risk:approve). Every write takes an Idempotency-Key and no If-Match. A draft sends fee with feeAssetId, or neither — a zero fee is sent as neither; a fee of zero beside its asset is refused 422 INVALID_FIELD. An API key writes none of them: like every risk write, a key’s is refused 403 FORBIDDEN_PRINCIPAL at the door, and a key reads them by risk:read.
    • A draft needs the organisation’s risk approvals — read live at each approval — and at least one even where the rule’s count is 0. The approval that meets the count records it: one execution appears on GET /executions with provenance MANUAL, orderId "0", credentialId 0 and the draft’s reference as its venueTradeId, and the position moves as for any fill.
    • The reference must be one the account holds no execution of the instrument under: a draft that repeats a live draft’s, or one a connector already delivered, is refused 409 REFERENCE_TAKEN — and so is the approval that would record it, if such an execution arrived after the draft (the draft stays pending, for its maker to withdraw).
    • Refusals carry ManualExecutionRejectReason codes — the guide maps each to its status.
  • The execution row gains provenance: where the execution came from — the venue connector’s evidence (ACK, PUSH, QUERY, SWEEP) or MANUAL for a booking by hand; UNKNOWN on an execution recorded before this release. A manual execution has orderId "0" like an unattributed one: provenance tells them apart. The Provenance enum the order row already carries gains MANUAL; a client that switches over it reads a value it does not know as UNKNOWN.
  • OperationRecord.outcome gains manualExecutionId (a decimal string) and the family value risk-manual-executions, for a manual-execution write polled on /operations/{key}.

During the deploy: a gateway member below 0.72.0 has no manual-execution route and answers it 404 ROUTE_NOT_FOUND; one at 0.72.0 deployed without the manual executions answers every manual-execution route 503 RISK_UNAVAILABLE; one deployed with them before the orders owner runs this release answers a write 202 at the sync deadline, the operation staying COMMITTED until the platform answers it. Executions served by a member of the previous release carry no provenance; from this release every execution carries one.

0.71.0 — 2026-11-02 — Last active: lastActiveAtNs on every user and API-key row and on /me

Every user row, every API-key row and GET /me now carry lastActiveAtNs: when the principal was last seen acting — its last admitted request on this API, or its open trading socket — as epoch nanoseconds, null while no mark is recorded — the principal has not acted since marks were first kept, or ever; a reader cannot tell which.

  • A five-minute grain. The platform records activity at a floor of five minutes: a request inside five minutes of the mark need not move it, so read the value as “active within five minutes of this time”, never as the exact last request. A trading socket marks its principal when it connects and every five minutes while the principal holds one open; an API key’s mark is its last use.
  • A read replica records nothing. A request served by a read replica (a READ_ONLY member, a deployment’s second release for its reads) is not recorded: the replica publishes nothing. A principal is marked by its writes, by the reads an active member serves and by its trading socket, so where reads are served by replicas a key that only reads can carry an old mark or none — which is not an unused key.
  • A mark beside the row, not a field of it. It moves no version and no ETag: an edit you hold open never meets a 412 because a colleague signed in. It is not a sortable or filterable column.
  • Generated clients. The /users page’s items are the new UserItem and the /api-keys page’s the new ApiKeyItem — each the record and the mark, as AccountItem and CredentialItem are their records and what rides beside them — so a client generated from the document types lastActiveAtNs on a page’s items as it does on the row and on /me.
  • Across the deploy window. Before the roll the field is absent, and a reader built against 0.70.0 that ignores unknown fields sees nothing change; after it, null until the principal’s first admitted request, then the mark.

0.70.0 — 2026-11-02 — An approver reads the key change it judges: every keys[] entry carries name, canReadBalances, canServeAddresses and rotateByNs

Every entry of an account row’s keys[] now carries the key’s reviewable record beside its roles: name, canReadBalances, canServeAddresses and rotateByNs — the rest of what PUT /accounts/{id}/keys/{keyId} moves, trade being there already — so an approver holding accounts:approve without venue-keys:read (the TREASURY preset) reads the key change it judges: in the inbox item’s after.keys[] the proposed values, in before.keys[] the enforced ones. The four follow the view on every account read, as the entry’s other members do: the latest image’s entries carry a pending amend’s values, ?view=approved’s the enforced ones, and the two agree while nothing pends. GET /accounts/{id}/keys/{keyId} — the whole row, with the venue key id, the venue’s own permission and allowlist text and the probe’s detail — stays behind venue-keys:read.

  • The four members, required on every AccountKey: name, the key’s name, unique among your organisation’s live keys; canReadBalances, true on every exchange key the gateway has created since every exchange key read (a key pinned before that keeps its stated flag, which an amend restates); canServeAddresses, whether the key serves the account’s deposit addresses; rotateByNs, the rotation deadline as epoch nanoseconds, null when none is set.
  • Nothing else moves: no member leaves, no route or capability changes, and info.x-immix-register-schema still reads 114.v24.

Deploy window: a client on this version against an old gateway meets keys[] entries without the four members — required here, so a strictly generated client refuses every account read, every key verb’s answer and every inbox page holding an accounts item until the gateway moves; read them as optional until then, or move with the release. A client on the old version against the new gateway meets four members it does not know on every keys[] entry, and ignores them as the document has always said.

0.69.2 — 2026-11-01 — A key’s first dial no longer reads DOWN on its account

The account row’s connection and trading readings no longer read DOWN while the connector’s first dial of a key is in flight. A connector reports a dial in flight as DOWN with reason STARTUP, and the report that opens a lane’s outage with one is no verdict: the reading counts it as none and keeps serving what it served — CONNECTED where the key probe answered clean, CONNECTING where nothing has answered; a refused probe gets no such grace. The register tells that report from every other: it stamps transitionAtNs and reportedAtNs alike on the fact that begins a status, and holds the first across every later report under it. Every later report counts — the drop or refusal that ends the dial, a redial’s STARTUP after it, a dial still in flight when the connector restates it a heartbeat later — so a lane that never connects reads DOWN through its redials rather than blinking back to the probe’s verdict for the length of each.

  • Before the deploy, a key just added reads DOWN with reason STARTUP on its account’s connection (and on trading, where it trades) from the moment its lane dials until the venue answers, usually under a second, then CONNECTED.
  • After the deploy, the reading does not move for that report. A key nothing has answered on stays CONNECTING with reason NONE and readAtNs null, then reads CONNECTED; a key whose probe answered clean stays CONNECTED, reason NONE. A key whose probe was refused gets no such grace — its readings are DOWN either way, and the refusal may be stale by the time a lane redials (an allowlist fixed since, the lane connected for days) — so its dial reads as made, DOWN with reason STARTUP, then the connector’s own word, while the refusal and its fix stay on the key’s row in keys[]. The grace holds for the dial that opens any later outage of a clean or unprobed key’s lane — a connector gone without a word, redialling — until its next report; a connector stopped in order reports DOWN with reason SHUTDOWN first, and its restart’s dial reads DOWN like every report after the first. Where one key trades several markets (a Binance key’s spot and USDⓈ-M lanes), one market’s opening dial is left out before the lanes are weighed, so it never masks a sibling’s DEGRADED or refusal. Nothing else in the row moves: a reading is observed, not decided, so the version and ETag stand, and the key’s own health in keys[] keeps every report as made, its transitionAtNs and reportedAtNs telling an opening dial from a redial.

0.69.1 — 2026-11-01 — Whether a key trades is amended in place: canTrade on PUT /accounts/{id}/keys/{keyId} needs no new paste

Whether a key trades is now amended like its name. PUT /accounts/{id}/keys/{keyId} with canTrade true on a key pasted for balances alone — or false on one pasted for trading — is the key’s ordinary change: a proposal on its account under the accounts count (KEY_CHANGE; concluded at once at a count of 0), judged at its conclusion against what the venue granted the key — a key the venue granted no Trade is refused 409 SCOPE_INSUFFICIENT, one it granted Withdraw 409 SCOPE_MISMATCH, as its connection would have been; a change that declares no new scope, a rename say, is judged on no scope at all. Nothing is pasted again: from this version the gateway stores every key that is not a transfers key for the venue’s account connector and its order-entry connectors alike, so the order-entry connector finds the material in its own store the moment the flag is approved, and the account’s trading reading and capabilities.trade follow the flag. The one shape an amend still cannot move is the transfers flag: a key is pasted as a transfers key or as the account’s key and stays so (400 MALFORMED_REQUEST, naming the way out — paste it again for its new purpose).

  • Before the deploy, the amend is refused 400 MALFORMED_REQUEST (“pinned to material staged for connector group(s) …”), and the one road to a trading key was to delete the account and connect it again with canTrade.
  • After the deploy, it is accepted. A key pasted before the deploy was stored for the connectors its flags named at the paste: ticking canTrade on such a key is accepted, but its order-entry connector finds no material until the key is rotated (POST /accounts/{id}/keys/{keyId}/rotate; the same legs will do), and until then the key’s health.trading and the account’s trading reading read DOWN with reason CONFIG_ERROR. A key pasted after the deploy needs no rotation.
  • Unticking canTrade releases the key’s order-entry session, and the account’s capabilities.trade reads null until a key trades it again. The key’s material stays stored for that connector, as every trading key’s is — unless the check has found the key able to withdraw, in which case the untick retires it (the next bullet).
  • A key that neither trades nor transfers, which the check finds able to withdraw — pasted for balances alone, or a trading key unticked after its check read Withdraw — has its order-entry material retired at once (a key that can move money is never left where a trading process can read it): once Withdraw is removed at the venue and the re-check reads clean, ticking canTrade on it also needs a rotation (POST /accounts/{id}/keys/{keyId}/rotate, the same legs will do) — its health.trading and the account’s trading reading say DOWN with CONFIG_ERROR until then. A key that stays declared to trade keeps its material as before this version, so its fix is unchanged: remove Withdraw at the venue and let the re-check read it.

0.69.0 — 2026-11-01 — OwnOrg carries idpOrgRef: GET /me/orgs can drive the organisation switcher it describes

GET /me/orgs says it drives an organisation switcher, and each row now carries what a switch needs: idpOrgRef, the identity provider’s id for the organisation. GET /org and PUT /org’s answer share the shape, so they carry it too.

  • A switch is a new token. Ask your identity provider for a token for the row’s idpOrgRef: on Auth0, send it as the organization parameter when you authorize. The token’s org_id claim is the same value. The row’s orgId is this API’s own id, and its name is a label another organisation may carry, so neither names an organisation to the identity provider.
  • Which rows to offer. Offer ACTIVE rows with a non-empty idpOrgRef. A token for a DISABLED organisation is 403 ORG_NOT_ACTIVE, and "" means no identity provider fronts the organisation, so there is nothing to ask for. Because the list is read through the organisation your token names, a token for a DISABLED organisation reads no list either: sign in again through your identity provider’s organisation picker.
  • Opaque, and not a lookup. The value is a string of up to 256 bytes that never changes once it is set, a rename included. Never parse it. It is neither a filter nor a sort on GET /me/orgs: ?idpOrgRef= is 400 MALFORMED_REQUEST, as any undeclared parameter is.
  • Why it was missing. GET /me/orgs and GET /org served this field up to 0.47.0. 0.48.0 narrowed the row to OwnOrg and dropped it, and that version’s section did not say so. A client that read it before 0.48.0 reads the same value again.

Both sides of the deploy window. A gateway still at 0.68.0 serves these rows without the member, so a client generated from 0.69.0 can meet it absent: treat that as "", no switch to offer. A client generated from 0.68.0 meets one more member on a gateway at 0.69.0, and nothing else about the rows, their order or their ETag moves.

What to do. Regenerate: generators add idpOrgRef, a required string, to OwnOrg.

0.68.0 — 2026-10-31 — ! API keys: a second bearer and /api-keys; every row names its actor; POST /users and the user kind leave

Your organisation can now issue API keys: machine principals with a grant of their own, each authenticating with a bearer of its own and acting under its own id. With them every row that names who acted names an Actor — {"kind", "id"}: USER with a user id, API_KEY with a key id, MACHINE with 0 for the platform’s own acts — in place of the user ids it carried, and the user row is a person’s alone: POST /users and the row’s kind are gone.

  • A second bearer. Authorization: Bearer immix_<keyId>_<secret> authenticates as the key; a JWT authenticates as before. The key’s bearer is served once, by POST /api-keys and POST /api-keys/{id}/rotate, under Cache-Control: no-store; the platform holds its digest alone. A bearer naming no key, a deleted key or a wrong secret is 401 UNAUTHENTICATED (the three alike); a DISABLED key is 403 FORBIDDEN_PRINCIPAL.
  • /api-keys (api-keys:manage, a new capability, in the ADMIN preset): GET, POST (the IssueApiKeyBody: name, capabilities or preset — any capability but users:manage, api-keys:manage, risk:propose and the approve ones, so of the presets TRADER alone; and only capabilities the caller holds, unless it holds users:manage — 403 CAPABILITY_DENIED otherwise, on the issue, a restatement and a rotation alike, since the secret is answered to the caller), GET /{id}, PUT /{id} (RestateApiKeyBody), POST /{id}/rotate, /disable, /enable, /delete; filters apiKeyId and status, sort by apiKeyId, status, createdAtNs, name. The row (ApiKeyRow: apiKeyId, version, orgId, status, capabilities, createdBy, createdAtNs, rotatedBy — the member who last rotated the key, null until a rotation — name) never carries the secret or its digest; the issue’s and the rotation’s answers (ApiKeyIssuedRow) carry secret — the bearer, served once: by the answer, or after a 202 by the first accepted answer to a retry under the same Idempotency-Key on the same member; null on every later answer. The operation record never carries it. A key’s operation journals under the family api-keys (OperationRecord.outcome.family’s new value). A key’s POST /ws-tickets mints for the trading stream alone: {"stream":"market-data"} is 403 FORBIDDEN_PRINCIPAL.
  • A key’s proposal is its people’s. A key proposes under maker-checker as a member does, and never approves; its proposal counts as the members behind it — the one who issued it (createdBy) and the one its secret was answered to when it proposed (its last rotator then, else its issuer) — so neither may approve it: 403 SELF_APPROVAL, and the inbox leaves both out of the item’s approvers. Every register row under maker-checker (accounts, venue keys, addresses, the three policies, approval rules) gains keyHolder, that second member as an Actor on a key’s proposal and null on a member’s, kept beside proposedBy once the proposal concludes; rotating the key afterwards leaves it as it was — a proposal keeps the member it pinned, and the new holder may approve it. Another member holding the family’s approve capability concludes it. Nothing on either side of the deploy window approved a key’s proposal before: keys are new with this release.
  • Every actor is an object. OrderUpdated.userId → actor; a proposal’s proposedByUserId → proposedBy, concludedByUserId → concludedBy, lastWithdrawalProposedByUserId → lastWithdrawalProposedBy, lastWithdrawalWithdrawnByUserId → lastWithdrawalWithdrawnBy on every register row under maker-checker (accounts, venue keys, addresses, the three policies, approval rules); the inbox item’s proposedByUserId → proposedBy, concludedByUserId → concludedBy, returnedByUserId → returnedByActor (its returnedBy word stays); an algo instance’s createdByUserId → createdBy, lastUpdatedByUserId → lastUpdatedBy; a config document’s userId → actor; the halt answer’s userId → actor. Each is the Actor component, or null where the user id served null. The approvals entries and the inbox’s approvers keep userId: approvals are people’s. The risk rows keep their user ids: the risk surface’s writes are members’ alone — an API key’s risk write is 403 FORBIDDEN_PRINCIPAL, and no key is granted risk:propose (it reads by risk:read). The trading halt is a member’s too: POST /trading-policies/{id}/halt, which any member may send with no capability, is 403 CAPABILITY_DENIED for a key, whatever it holds.
  • Filters and sorts that named a user id leave. proposedByUserId and concludedByUserId on the register collections and the inbox, the inbox’s returnedByUserId, GET /orders’ and an instance’s orders’ userId, the algo instances’ createdByUserId and lastUpdatedByUserId, the config documents’ userId: an actor is an object no list orders by. invitedByUserId and pendingByUserId stay.
  • A body states no actor. The derived request bodies drop actor where they dropped userId; a body stating actor or userId is 400 MALFORMED_REQUEST. The order and algos writes refuse the same.
  • The user row is a person’s. UserUpdated.kind leaves, with GET /users’ kind filter and sort column and the InviteUserBody’s dropped kind — a user body (the invitation’s, PUT /users/{id}’s, PUT /me’s) that still states kind is 400 MALFORMED_REQUEST, naming the field; POST /users leaves — a person joins by invitation alone (POST /users/invitations), and a machine principal is an API key. GET /me describes either — its Me gains actor and apiKeyId and loses kind: actor, userId (a member’s; null for a key), apiKeyId (a key’s; null for a member), orgId, orgName, name, status, capabilities; GET /me/orgs for a key is its one organisation. PUT /me renames a member alone: a key’s is 403 FORBIDDEN_PRINCIPAL — an api-keys:manage holder restates a key’s name on PUT /api-keys/{id}.
  • The identity provider’s client path ends. A machine that authenticated as an M2M client — a client-credentials token whose sub is <client_id>@clients, bound to a SERVICE user row — admits nowhere from this release: no route binds such a subject any more, and the wipe takes the rows that did (a SERVICE row’s token would answer 403 NOT_REGISTERED). Issue the machine an API key instead: it needs no client at the identity provider and no secret the platform did not mint.
  • info.x-immix-register-schema reads 114.v24.
  • Before the deploy, a row names its users by id, POST /users creates a service user, and immix_… is no bearer. After it, every row names its actors as objects, a service user is gone (the platform is wiped at this roll, and every organisation re-registered: a desk’s machine clients are issued API keys), and a member holding api-keys:manage issues keys. Generate from the new document: the renamed fields, the removed parameters, the removed kind and the removed POST /users all fail a client generated from 0.67.x.

0.67.0 — 2026-10-30 — ! One name: displayName leaves the users rows and /me, PUT /me renames you, a member’s name is never NAME_TAKEN; DISCOVERED, UNFREEZE and REVOKE leave the wire

A break (!): a member has one name, and the register’s vocabulary sheds what no stream has carried for several releases.

  • One name. A member’s name is the one name — free text up to 128 bytes, set by the inviter and changed by the member or an administrator, a label two members may share. displayName is gone from UserUpdated (every users row and list item, and the user images of the approvals inbox) and from GET /me: what the identity provider calls the person is read nowhere any more. A client that showed displayName shows name.
  • PUT /me renames you: the body is {"name": "…"}, If-Match the ETag GET /me serves (428 PRECONDITION_REQUIRED without it; a stale one 412 VERSION_CONFLICT), an Idempotency-Key as on every write. Every ACTIVE member may — no capability is needed — and the rename is live at once, no approval. It answers your row as GET /me serves it, with the change’s position and the row’s new ETag. A body stating kind, capabilities, preset, roleId or idpUserRef is 400 MALFORMED_REQUEST — those are an administrator’s, on PUT /users/{id}; an empty name, or one past 128 bytes, is 422 INVALID_FIELD.
  • A member’s name is never NAME_TAKEN: POST /users, PUT /users/{id} and POST /users/invitations take a name another member holds. NAME_TAKEN still answers for an account’s, a key’s and a portfolio’s name within the organisation.
  • GET /me serves MeRow: the Me record — userId, orgId, orgName, name, kind, status, capabilities — composed with the row extras (globalSequence), as every served row is. The members on the wire are the same as before but for displayName; a generated client meets MeRow where it read Me, and Me without globalSequence.
  • UserStatus loses DISCOVERED, and the users status filter with it (?status=DISCOVERED is 400): no gateway has written such a row since 0.18.0. USER_NOT_ADMITTED answers an INVITED actor alone.
  • PendingTransition loses UNFREEZE and REVOKE: an account’s pending enable reads ENABLE and a key’s pending delete DELETE — the words every client has been told to read them as — and the pendingTransition filters take neither old word (400).
  • The error codes lose ALREADY_DISCOVERED and CREDENTIAL_UNASSIGNED, neither answered by any route for several releases; OrgRegisterRejected.commandKind loses REPORT_DISCOVERED_USER.
  • The register’s members no longer carry x-since-schema-version: every field is the schema’s own since its re-baseline, so the fields a served row always carries are now required where the marker left them optional — UserUpdated’s email, idpUserRef, invitationState and idpInvitationRef, OrgUpdated’s firstAdminName and firstAdminEmail, CredentialUpdated’s probe readings (observed…, probeOutcome, probeDetail, permissionDetail, allowlistDetail) and venueAccountRef. What the gateway serves is unchanged; a generated client’s types tighten. UpsertUserBody’s idpUserRef stays optional (absent reads as "", which keeps the row’s binding).
  • info.x-immix-register-schema reads 114.v23.

The register is wiped with this release, so no row carries a pre-0.67.0 shape. Deploy window: a client on this version against an old gateway meets 404 ROUTE_NOT_FOUND on PUT /me, displayName on the rows it reads (an unknown member, which the document has always told clients to ignore), 409 NAME_TAKEN on a member’s name another member holds, and UNFREEZE or REVOKE on a row with an enable or a key’s delete pending — values its generated enum no longer lists, so read an unknown enum value as the document says; a client on the old version against the new gateway meets no displayName (a member it may require, so a strictly generated client refuses every users read and GET /me until it moves), and 400 on ?status=DISCOVERED and on a pendingTransition filter naming UNFREEZE or REVOKE — move with the release.

0.65.0 — 2026-10-30 — ! Every key change is its account’s proposal: the key verbs answer the account row, /accounts/{id}/keys/{keyId}/approve and /withdraw leave, venue-keys:propose and venue-keys:approve leave the capabilities

A break (!) that folds a key’s lifecycle into its account’s: a key holds no proposal of its own.

  • Every change to a key is a proposal on its account — POST /accounts/{id}/keys (a transfers key, or a replacement for a deleted one), PUT /accounts/{id}/keys/{keyId} (the amend) and POST /accounts/{id}/keys/{keyId}/rotate|enable|delete take accounts:propose (the intake checks it before any material is stored, as POST /accounts does), and each answers the account row: its pendingTransition reads KEY_CHANGE, the key’s own pending transition and proposed image sit in keys[], and the row’s version and ETag move — a key change is the account’s own proposal — and Location names the key the write concerns by its route: on POST /accounts/{id}/keys the key the platform minted, the handle for its later writes, which nothing in keys[] singles out once an accounts count of 0 has concluded the create at once (a create’s key retried under another account is refused 409 IDEMPOTENCY_KEY_REUSED, as a key reused on another row is). POST /accounts/{id}/approve concludes it (a person holding accounts:approve, under the organisation’s accounts count; at a count of 0 the submit itself does) with the key’s change in the same answer, and POST /accounts/{id}/withdraw returns it — the key restated as its approved record, a key never approved left DRAFT. One change at a time per account: a change to another key, or to the account itself, while one pends is 409 PROPOSAL_PENDING — withdraw or conclude it first; the one submit that replaces in place is the same change to the same key, a rotation staged again onto fresh material included. POST /accounts/{id}/keys/{keyId}/disable is unchanged: it concludes at once (either accounts capability), with a proposal standing, and answers the account row too.

  • POST /accounts/{id}/keys/{keyId}/approve and /withdraw are gone (404), with the commands behind them (ApproveCredential, WithdrawCredentialProposal) and their two kinds in OrgRegisterRejected.commandKind. If-Match on a key write still names the key’s version, which keys[] now carries as version beside keyId — the account row’s ETag is the account’s, and the account family’s ETag header says so (AccountETag, on the row and on every answer that serves it, a key write’s included): never thread it into a key’s next write.

  • The inbox (GET /approvals) serves a key change as an accounts item whose transition reads KEY_CHANGE, read under accounts:read as every accounts item is (a venue-keys:read holder without it no longer meets key changes in the inbox); after.keys[] shows the change — the incoming key’s fingerprint and, once the account connector has read it, its observed — and before.keys[] the keys as enforcement reads them. family=venue-keys is gone from the inbox and from GET /approval-rules (400, as any unlisted value), and ApprovalImage lists seven shapes. PendingTransition appends KEY_CHANGE on the account row and on every pendingTransition filter.

  • keys[] follows the view. On the latest image each key’s latest image (so a pending change shows), on ?view=approved each key as enforcement reads it; the two agree while nothing pends.

  • Capabilities: venue-keys:propose and venue-keys:approve leave Capability and every preset — a grant naming either is 400, as any unknown scope is; venue-keys:read stays the keys’ read grant. Every holder of accounts:propose and accounts:approve now makes and concludes every change to an account’s venue keys — the TREASURY preset included, which held neither venue-keys verb bit before and still reads no key’s record: an organisation that gave treasury staff TREASURY to keep them out of key custody grants that authority with the next re-seed, so review who holds the accounts pair (a custom set without it keeps them out). The venue-keys approval family is gone: GET /approval-rules lists six rows per organisation (ACCOUNTS, ACCOUNT_ADDRESSES, ASSET_POLICIES, CHAIN_POLICIES, TRADING_POLICIES, RISK), the accounts count governing every change on an account and its keys.

  • ApprovalImage’s account shape is AccountImage — the account row’s members without globalSequence (keys[], capabilities, connection, trading, parentAccountId, readAtNs), which an accounts item’s before and after have carried since 0.61.0 under the narrower AccountUpdated name; a generated client now sees keys[] on the item, where a key change shows.

  • info.x-immix-register-schema reads 114.v21.

  • A key stated at the connection is corrected by re-staging the connection: while the connection pends or is parked, PUT /accounts/{id}/keys/{keyId} on one of its keys answers the account row restated ACTIVATE at its next version — PENDING_APPROVAL again from a withdrawn (DRAFT) connection — under the maker’s fresh record, its approvals cleared, the key’s new image and the connection’s other keys pending beneath it in keys[], Location naming the key; at an accounts count of 0 the connection concludes in the same answer, each key judged on its new image. The amend restates what an amend restates on any key — the name, keyCreatedAtNs, rotateByNs and canServeAddresses; the serving flags stay pinned to the material the intake staged for them (canTrade; an exchange key always reads), a body moving them 400 MALFORMED_REQUEST as on every pinned key — so a canTrade the probe contradicts (409 SCOPE_INSUFFICIENT at the approval) is corrected at the venue, the periodic re-probe reading the granted scope, or by connecting the account again. A delete pending on one of a parked connection’s keys still holds the slot (409 PROPOSAL_PENDING).

Nothing of the old key surface survives the deploy: the register is wiped with this release, so no row carries a pre-0.65.0 shape and every organisation’s rules and users are re-seeded. Deploy window: a client on this version against an old gateway meets the key row where it expects the account row on a key verb, 403 on a key verb under accounts:propose alone, and keys[] entries without version on every account row — a member this version requires, so a strictly generated client refuses every account read until the gateway moves; a client on the old version against the new gateway meets 404 on /accounts/{id}/keys/{keyId}/approve and /withdraw, the account row where it expected the key row, and 400 on a grant naming venue-keys:propose or venue-keys:approve — read unknown members as the document has always said, and move with the release.

0.64.2 — 2026-10-30 — A key of another venue account than its account’s reads no balances and places no orders

Every key is held to its account’s venue account. The account’s venueAccountRef is filled once, by the first answered read of a key beneath it. A key whose own venue account differs — one added beneath a connected account but created under another sub-account, say — now reads no balances and places no orders: the account’s connection reading (where that key reads the account) and its trading reading (where it trades; null, as before, when no key trades the account) are DOWN with reason CONFIG_ERROR, and so are the key’s own readings in keys[].health — its account reading’s detail naming both ids, its trading reading’s empty, as every order-entry reading’s is — until the key is rotated onto a key of the account’s own venue account. A transfers key can also be deleted on its own; an account’s reading key cannot (409 CREDENTIAL_IN_USE), so it is rotated, or the account is deleted with it. The register records the difference on the key when it judges a report of the key’s read (keys[].observed.outcome: CONFIG_ERROR). A key refused before any such report was judged — its report held back while a proposal pended on the key — keeps the outcome it had, and its readings above say why. Until this version the connectors went on reading and trading through the key once its lane had bound.

  • Before the deploy, such a key reads CONNECTED, beside a CONFIG_ERROR outcome once the register has judged its report: its balances flow, and so do its orders where it is the account’s trading key.
  • After the deploy, it reads DOWN(CONFIG_ERROR): none of its balances is published and it places no order. Orders it placed before keep reporting their fills under their own accounts, and can still be cancelled; a fill on an order the platform does not know is quarantined, not booked to the account.
  • A fill on an order the platform does not know that arrives just after a key connects, before its venue account is checked, while the platform’s records of the key and its account disagree — after a rotation, say — waits for the check. Once the check confirms the key, an OKX or Bybit key’s fill is read back and booked; a Binance key’s is not, since Binance serves no account-wide list of fills to read it back from.
  • A duplicate’s fills. A key the register holds as another live account’s duplicate (ACCOUNT_EXISTS) no longer books a fill on an order the platform does not know. Before the deploy such a fill was booked to the duplicate’s account; after it, it is quarantined there, and only the account that holds the venue account books it, through its own trading key.
  • A connection’s first key is unchanged: its read is the one that fills the account.

0.64.1 — 2026-10-30 — INVALID_FIELD leaves the gateway’s own 422 list

Error.code’s description no longer lists INVALID_FIELD among the gateway’s own codes. No route of this API answered it from the gateway itself; it is a record owner’s refusal, as OrgRegisterRejected.reason, OrderRejected.reason and the risk refusal enums list it, so it carries X-Immix-Global-Sequence and a retry of the same Idempotency-Key replays it — state the corrected body under a fresh key. Nothing on the wire changes on either side of the deploy window; a regenerated client sees one description change.

0.64.0 — 2026-10-30 — ! INVITATIONS_UNAVAILABLE leaves Error.code: every environment serves the invitation routes

INVITATIONS_UNAVAILABLE is no longer a code the gateway sends. It answered 503 on the invitation routes — POST /users/invitations, POST /users/{id}/invitation — on a deployment with no identity provider. Every deployment now authenticates through one, so those routes are served everywhere and the code leaves the Error.code table.

  • A client that branches on INVITATIONS_UNAVAILABLE can drop the branch: the routes answer as they always did where an identity provider fronts the gateway — which, from this version, is everywhere.
  • A bearer token with no exp claim (or one out of range) is refused 401 UNAUTHENTICATED from this version, on every route. Before it, the HTTP door admitted one that otherwise verified; the WebSocket edges already refused it. An identity provider’s access token always carries exp, so only a hand-minted token can see the difference.
  • On either side of the deploy window the routes, their bodies and every other code are unchanged, apart from the exp refusal above. A member before 0.64.0 behind the same identity provider never sent the code either, so a client sees no difference across the roll.
  • POST /internal-platform/orgs requires firstAdminEmail wherever it is served, as it already did where an identity provider fronted the gateway (the internal platform API’s 0.5.0).

0.63.0 — 2026-10-30 — ! One base URL for every path: GET /venues becomes GET /venue-key-specs, POST /v1/ws-tickets becomes POST /ws-tickets

Two paths move so that one base URL reaches every operation, and so that no path is also one of the data API’s. In production both APIs sit behind https://api.immix.xyz/v1, which sends each path to the one service that serves it.

  • GET /venues is now GET /venue-key-specs (listVenueKeySpecs), under the Venue keys tag. The document it answers is unchanged, member for member: egressAddresses, and venues with each venue’s identity, enabled, roles, probes, materialSchema, keyIdLeg, material and guidance. GET /venues is the data API’s: the venues as reference data, paged, under the same ids — a venue’s exchangeId here is its venueId there. The schemas follow the path: VenueDescriptor, Venue, VenueRoles and VenueGuidance are now VenueKeySpecs, VenueKeySpec, VenueKeyRoles and VenueKeyGuidance, and the Venues tag is gone. A generated client loses its venues resource class; the operation joins the venue keys’.
  • POST /v1/ws-tickets is now POST /ws-tickets. It was the one path that carried the API’s version, so no single base URL reached every operation: under https://api.immix.xyz/v1, a client generated from this document called /v1/v1/ws-tickets. Every path is now relative to the base URL. The request, the answer and every refusal are unchanged, and createWsTicket keeps its name.

Across the deploy window. A member below 0.63.0 serves GET /venues and POST /v1/ws-tickets and answers the new paths 404 ROUTE_NOT_FOUND. A member at or above it serves only the new paths and answers the old ones 404 ROUTE_NOT_FOUND. Neither old path keeps an alias, so move both calls when the member you reach moves. Until a browser calls the path its member serves, it cannot mint a ticket there, and so cannot open either WebSocket from that page. A client regenerated from 0.63.0 gains listVenueKeySpecs and the four renamed schemas and loses listVenues.

0.62.0 — 2026-10-28 — Binance accounts trade USD-M futures; health readings name their exchange

A Binance account now trades Binance USD-M futures (binance_usd-m, exchange 102) as well as spot, through its one trading key. There is no separate USD-M account or key: an order on a USD-M instrument names the Binance account (exchangeId 100), and the platform places it through that account’s key. Grant the key Enable Futures at Binance beside Enable Spot & Margin Trading. GET /venues says so in the Binance venue’s guidance.tradingPermissions, and the Binance material’s description says that one key trades both markets.

x-immix-intake-venues rows gain markets: the further exchanges a venue’s key trades, each with its exchangeName, exchangeId and the order-entry connector serving it (tradingGroup). Binance’s row lists binance_usd-m (102, binance-futures-oe); OKX’s and Bybit’s lists are empty (Bybit’s linear contracts share its one exchange, 166). A Binance trading key is staged for both order-entry connectors.

Health readings name their exchange. Every ConnectionHealth reading (a key’s health.account and health.trading, an account’s keys[].health and capabilities.trade.health) gains exchangeId: the exchange the reporting connector serves the key on. A Binance key has two order-entry connectors, one per market. Its health.trading (and the account row’s trading reading) is the worse of the two: DOWN before DEGRADED before CONNECTED, and spot’s on a tie. exchangeId says which market it is. Order admission reads the order’s own market: a USD-M outage refuses USD-M orders CONNECTION_DOWN and leaves spot orders admitted.

Both sides of the deploy window. OKX and Bybit bodies, rows and readings are unchanged except for the new exchangeId on each health reading. A USD-M order sent to an orders service below this release is refused CREDENTIAL_UNAVAILABLE: before it, a Binance key traded spot alone. On this release, a USD-M order is admitted whether or not the deployment runs the USD-M order-entry connector yet. Until it runs, the order waits and is never sent, and the key’s health.trading shows only the spot connector’s reading.

What to do.

  • Regenerate: generators add exchangeId (a nullable integer, never null on a served reading) to ConnectionHealth. x-immix-intake-venues is an extension, untyped by generators.
  • Rotate a Binance trading key added before this release (POST /accounts/{id}/keys/{keyId}/rotate with its legs), or add it anew, before the deployment runs the USD-M order-entry connector. The gateway stored that key’s material for the spot connectors only. Until it is rotated, the USD-M connector finds nothing for the key, its reading is DOWN, and the key’s health.trading reads DOWN with it. USD-M orders are admitted but never sent.
  • Tick Enable Futures on a Binance key that should trade USD-M; a key without it places spot orders only. Never tick Enable Withdrawals: the connectors refuse a key that can withdraw, at every session, on every venue.
  • Read health.trading per market on a Binance key: when it is DOWN, check exchangeId before telling the user that trading has stopped.

0.61.0 — 2026-10-27 — ! Accounts first, keys beneath them: POST /accounts connects an account with its key, /credentials leaves for /accounts/{id}/keys, venue-keys:* replaces credentials:*

A break (!) that reshapes the account surface around the thing a member connects: an account, with its keys beneath it.

  • POST /accounts connects a venue account (accounts:propose): exchangeId, displayName, the account’s key (the venue key’s material and whether it trades, canTrade) and, beside it, an optional transferKey (a dedicated key that transfers and never trades), with ownership, purpose, portfolioId and remark as PUT /accounts/{id} takes them. One command, ConnectAccount, lands the account row and its key rows in one answer — the row PENDING_APPROVAL until the organisation’s accounts count is met, ACTIVE at once at a count of 0 — and the answer is the account row. PUT /accounts/{id} is the amend (name, portfolio, ownership, purpose) and the re-proposal of a withdrawn connection (a DRAFT row, the new parked state); it carries no key fields. A delete pending on one of a withdrawn connection’s keys holds its re-proposal: 409 PROPOSAL_PENDING, naming the account — withdraw or conclude the key’s delete first.
  • The /credentials routes are gone. A key lives beneath its account: GET /accounts/{id}/keys (the account’s keys), POST /accounts/{id}/keys (a transfers key, or a replacement for a deleted one — the key’s account and venue are the path’s, so the body carries no exchangeId, providerKind or accountId), GET /accounts/{id}/keys/{keyId}, PUT /accounts/{id}/keys/{keyId} (the amend) and POST /accounts/{id}/keys/{keyId}/approve|disable|enable|delete|rotate|withdraw — the credential arms as they were, their bodies and refusals unchanged, under the new paths. A key of another account is 404. The key row (CredentialUpdated) carries accountId, the account it is beneath; the list sorts and filters by it.
  • One live key per role, and the reading key stays while the account lives. Beneath an account at most one live key trades (canTrade) and at most one transfers: a second proposed beside either is 422 INVALID_FIELD. The account’s reading key — every key that is not a transfers key — cannot be deleted while the account is ACTIVE or DISABLED (409 CREDENTIAL_IN_USE, the one case of it left): replace it through POST /accounts/{id}/keys/{keyId}/rotate, or delete the account, which deletes its keys with it. A transfers key deletes on its own.
  • The account row (AccountUpdated) loses its three key slots — credentialId, tradingCredentialId, transferCredentialId — and externalRef; it gains exchangeId (the venue), venueAccountRef (the venue’s own id for the account, as the key probe stated it; "" until a probe answers) and parentExternalRef (the parent’s venue id on a sub-account, as the probe stated it; "" on a master account). Beside the record the row serves keys[] (each live key beneath it: keyId, trade, transfer, status, pendingTransition, health, observed, keyIdSuffix, fingerprint, createdAtNs), connection and trading (readings {status, reason, readAtNs} — CONNECTING until the first answer, then the probe’s or the connector’s word: the venue’s word on the account is a reading beside status, never a status), parentAccountId (the organisation’s row for the parent, derived at the read, else null) and capabilities as before, now derived from keys[]. AccountStatus loses DISCOVERED and gains DRAFT; OrgRegisterRejected.commandKind lists CONNECT_ACCOUNT and no REPORT_DISCOVERED_ACCOUNT. The /accounts list’s credentialId, tradingCredentialId and transferCredentialId filters and sort keys leave; exchangeId arrives, with venueAccountRef and parentExternalRef as sort keys.
  • Capabilities respelled: credentials:propose, credentials:approve and credentials:read are venue-keys:propose, venue-keys:approve and venue-keys:read — the same bits, the family’s name on the page; the approval rule for keys is the venue-keys family, and a key added beneath an account rides that count while the keys stated at the connection ride the account’s.
  • HealthReason appends ACCOUNT_EXISTS (the probe found another live account of the organisation holding that venue account — the row is a duplicate to delete; until then it reads no balances and places no orders, its connection and trading readings DOWN with this reason, and deleting the other account instead returns it to service at the next re-check — about five to six minutes later, once the verdict is older than the five-minute refresh interval and the probe’s next retry asks again; its readings resume once its lane has dialled and read afresh) and ACCOUNT_DISABLED (the account connector’s reading while the account is DISABLED: its keys stay ACTIVE, their lanes park).
  • info.x-immix-register-schema reads 114.v19; info.x-immix-custody-schema reads 115.v3: a balance row (GET /account-balances) carries wallet, the wallet inside the venue account the reading is of (trading, funding, unified, spot — the venue’s own names), and the page is keyed and ordered by accountId, wallet then assetId (sort takes wallet); what an account owns in an asset is the sum of its wallets. The balance routes and filters are otherwise unchanged.

Nothing of the old account surface survives the deploy: the register is wiped with this release, so no row carries a pre-0.61.0 shape. Deploy window: a client on this version against an old gateway meets 404 on every /accounts/{id}/keys… path and 405 on POST /accounts, and reads rows with the old members; a client on the old version against the new gateway meets 404 on /credentials… and reads rows without the slots — read unknown members as the document has always said, and move with the release.

0.60.0 — 2026-10-27 — ! Capability and CapabilityPresetName are named schemas; a capability set carries the reads its verbs imply

A break (!) for generated code, not for the wire: three named schemas replace the enums each property carried inline, so a client generated from this version names those types afresh — nothing a row serves or a body takes is removed — and one change to the set the door stores.

  • Capability is the string enum of the capability scopes, users:manage to risk:approve, the same values in the same order. Every capabilities array references it as its items — UserUpdated, UpsertUser, InviteUser, UpsertUserBody, InviteUserBody, Me and CapabilityPreset — where five of them carried their own copy of the list and two pointed into UserUpdated’s. Its description states the read rule, as contract: any <family>:<verb> reads what <family>:read reads, and no other implication exists — approve implies no propose, and nothing reads across families.
  • CapabilityPresetName is the enum of the five preset names. CapabilityPreset.preset and the preset of UpsertUserBody and InviteUserBody reference it, so the name you read from GET /capability-presets and the name you send back are one type.
  • KeyPermission is the enum of a key’s venue scopes — read, trade, withdraw — which CredentialUpdated.observedPermissions references.
  • A capability set carries the reads its verbs imply. On POST /users, PUT /users/{id} and POST /users/invitations the door adds <family>:read beside any verb of that family a body states without it, where the family has one (org has none): ["accounts:propose"] is stored, and read back, as ["accounts:propose", "accounts:read"]. Every preset already holds the reads its verbs imply, so a body that leaves them out lands a preset’s set exactly, and a member matched against GET /capability-presets reads back the set the match compares. A preset beside capabilities now agrees when the two name one set once the reads are added — INITIATOR beside its seven :propose values alone, refused 400 MALFORMED_REQUEST before.
  • Taking a family away takes its read too. The row holds a verb’s read beside it, so a restatement that drops only the verb leaves the member reading the family: drop the <family>:read as well. A grid that shows a family’s read as implied while one of its verbs is held, and leaves it out when the last verb goes, sends exactly that.

Generated clients — the break. New: the types Capability, CapabilityPresetName and KeyPermission. The enums a generator inlined per property — one for each schema that carried the list, such as a nested CapabilitiesEnum or PresetEnum — are gone, so code naming one stops compiling when it regenerates: refer to the named types instead. No property, route or value is added or removed, and a client that never named an inline enum compiles as before.

Deploy window. The wire does not change. A 0.59.1 member stores a body’s capabilities exactly as stated and refuses a preset beside its verbs alone; a 0.60.0 member adds the implied reads and takes it. A row written before this version keeps the set it was written with until it is next written, and is served as it stands; the gate reads it the same either way, since a verb has always read its own family. To label members by preset across the window and on such rows, match after adding each verb’s <family>:read: every row compares the same way.

0.59.1 — 2026-10-27 — A browser page on a listed origin calls the API directly (CORS)

A page served from an origin the deployment lists can call the API straight from the browser, POST /v1/ws-tickets included — the ticket a page mints before every WebSocket connect — with no proxy or backend of your own in between. Each deployment lists the exact origins it serves; any other origin is granted nothing and is answered exactly as before. The document’s shapes do not change: no route, field or code is added.

  • Preflights are answered. An OPTIONS request from a listed origin — the preflight a browser sends before a call that needs one — answers 204, at any path and before admission, since a browser sends no token on one, with Access-Control-Allow-Origin naming that origin, Access-Control-Allow-Methods: GET, POST, PUT, Access-Control-Allow-Headers: Authorization, Content-Type, Idempotency-Key, If-Match, If-None-Match, X-Request-Id and Access-Control-Max-Age: 600.
  • Every answer is readable, a refusal’s included. A response to a listed origin carries Access-Control-Allow-Origin and Access-Control-Expose-Headers: X-Immix-Global-Sequence, X-Immix-As-Of-Seq-Ts, ETag, Idempotent-Replay, Location, Retry-After, X-Request-Id — every response header this document declares — so a page reads a 401’s envelope, or a 429’s Retry-After, as it reads a row and its ETag.
  • No credentials. The bearer rides Authorization and nothing is a cookie, so no answer carries Access-Control-Allow-Credentials: send requests with the default credentials mode, never credentials: "include", which the browser then refuses.
  • Vary: Origin rides every response of a deployment that lists an origin, requests without an Origin included, so a cache never hands one origin an answer stored for another. It is the one difference a client outside a browser can see.

Across the deploy window: a member at 0.59.0 serves no CORS — a preflight there answers 405 METHOD_NOT_ALLOWED and the browser refuses the call it guards — so move a page onto the direct calls once every member it reaches is at 0.59.1. A deployment that lists no origin answers exactly as 0.59.0 did, Vary included.

0.59.0 — 2026-10-24 — ! Organisations are created active: OrgUpdated loses its proposal record and its pending statuses; OrgRegisterRejected.commandKind loses the lifecycle pair’s three kinds

A break (!) on two shapes this document publishes, neither of which a trading-API route takes as input:

  • OrgUpdated — the organisation fact a member reads as their own organisation’s row (GET /org, GET /me/orgs serve its identity and standing) — carries no proposal record: proposedByUserId, pendingTransition, proposedAtNs, concludedAtNs, concludedByUserId, concludedTransition, lastWithdrawalProposedByUserId, lastWithdrawalWithdrawnByUserId, lastWithdrawalAtNs, approvals, remark and lastWithdrawalReason are gone. The organisation lifecycle is one platform administrator’s act at once: an organisation is created ACTIVE, and status is ACTIVE, DISABLED or DELETED — PENDING_APPROVAL and DRAFT leave the enum and GET /me/orgs’ status filter. name’s description says what the owner has ruled since 0.50.0: unique among live organisations at creation, a label from then on.
  • OrgRegisterRejected.commandKind lists no APPROVE_ORG, WITHDRAW_ORG_PROPOSAL or REPORT_DISCOVERED_ORG: the three commands left the register’s schema. No refusal a trading route answers ever named them.
  • info.x-immix-register-schema reads 114.v18.

Nothing a request to this API sends changes, and no route is added or removed. Deploy window: a client on this version against an old gateway may read a row with the old members and a PENDING_APPROVAL status — read unknown members and unknown enum names as the document has always said; a client on the old version against the new gateway reads rows without the record. The register is wiped with this release, so no row carries a pre-0.59.0 record.

0.58.0 — 2026-10-23 — Risk adjustments: /risk/adjustments

Additive: four new routes, their row, three bodies, a refusal code set and one enum value; nothing removed or renamed, nothing refused that was not refused before.

  • /risk/adjustments (tag Risk) — hand-made corrections of an account’s derivative position (cost basis, realized PnL, a fee) or of its inventory of an asset (cost basis, realized PnL in USD), never a quantity:
    • GET /risk/adjustments, GET /risk/adjustments/{id} (risk:read, or any risk capability) serve RiskAdjustmentRow: the account, the position’s instrumentId or the inventory’s assetId, four arms (costMode/cost, realizedPnlMode/realizedPnl, feeMode/fee with feeAssetId, fundingMode/funding), status (PENDING_APPROVAL, APPLIED, WITHDRAWN), reason, effectiveSeq and the maker-checker fields — proposedByUserId, proposedAtNs, and approvals as {userId, approvedAtNs} objects, the shape RiskLimitRow.approvals took in 0.55.0; no stamped count. adjustmentId is a 64-bit integer, a decimal string.
    • POST /risk/adjustments (risk:propose; 201), POST /risk/adjustments/{id}/approve (risk:approve, a person), POST /risk/adjustments/{id}/withdraw (the maker, or risk:approve). Every write takes an Idempotency-Key and no If-Match.
    • Every adjustment needs the organisation’s risk approvals — read live at each approval — and at least one even where the rule’s count is 0. Once approved it applies as of its proposal: the fills since are replayed through it.
    • Refusals carry RiskAdjustmentRejectReason codes — the guide maps each to its status.
  • OperationRecord.outcome gains adjustmentId (a decimal string) and the family value risk-adjustments, for an adjustment write polled on /operations/{key}.
  • Records and exposures now move with cause MANUAL_ADJUSTMENT (causeRef the adjustment’s id) when an approved adjustment applies — the value was already in their enum, never produced before — and the record’s adjustments counter counts them.
  • PositionRow.lastCause gains MANUAL_ADJUSTMENT: the position’s cost, realized PnL or fees corrected by hand; lastExecutionId still names the last execution. A client that switches over the values reads one it does not know as UNKNOWN.

During the deploy: a gateway member deployed without the adjustments answers every adjustment route 503 RISK_UNAVAILABLE; one deployed with them before treasury runs this release answers a write 202 at the sync deadline, the operation staying COMMITTED until the platform answers it.

0.57.0 — 2026-10-23 — Order admission enforces the risk posture; isReduceOnly on derivatives

Two new refusal codes and one field that is now accepted; nothing removed or renamed. Orders that were admitted before can now be refused, by the account’s risk posture.

  • POST /orders obeys the account’s posture (GET /risk/postures), checked right after the order’s fields:
    • NORMAL, or an account with no posture yet: nothing changes.
    • HEDGE_ONLY admits only an order that reduces the account’s risk, else 409 RISK_HEDGE_ONLY. When the posture comes from a breach on complete data — its arm a leverage limit or NLV_FLOOR with an observed value, its rateQuality PRIMARY, no positionDrift — an order on any instrument is admitted if, for each coin it touches other than cash, the account’s exposure comes out smaller in size whatever its sign, counting your live orders on the same side: a hedge on another instrument of the same coin passes. The exposure is the breached arm’s: derivative positions alone for the two *_NO_SPOT arms, where a spot order never passes; holdings and derivatives together otherwise. An inverse MARKET order states no price, so its exposure cannot be sized, and an order on an instrument the risk figures cannot value counts toward no limit: each is judged as a cut instead. When the data is in doubt (DATA_QUALITY, UNEVALUABLE, a fallback rate), only a cut is admitted: a derivative order with isReduceOnly on a venue that takes it; on a derivative venue that does not, an order that stays within the account’s position, net of your live orders on the same side; a spot sell within the account’s available balance; or a spot buy that repays a borrowed short of the coin, within what is owed.
    • BLOCKED admits only a cut, never a hedge — and from a breach on complete data a cut must also shrink the exposure — else 409 RISK_LIMIT_BREACHED.
    • Either refusal’s error.message is observed … against limit … (the account's risk posture), the posture’s own reading and threshold — a leverage multiple, or USD for the NLV floor; DATA_QUALITY and UNEVALUABLE state none. Cancels are never refused for the posture.
  • isReduceOnly is accepted where the venue takes it — OKX’s and Bybit’s linear perpetuals and futures — and passes to the venue, which holds the order to the position it reduces. Elsewhere (spot) it is 422 UNSUPPORTED_AT_VENUE, where every isReduceOnly: true was 422 INVALID_FIELD before. The order row’s isReduceOnly says how it was placed.
  • OrderRejected.reason gains RISK_LIMIT_BREACHED and RISK_HEDGE_ONLY. A client that switches over the codes treats an unknown one by its status, as the API guide’s Errors section says.
  • The risk limits’ and postures’ descriptions now say what the thresholds do, not what they are to do: past a soft threshold the account is held to reducing its risk; past a hard one, or under the NLV floor, it is blocked.

During the deploy: until the orders service runs this release, no order is refused for its posture and isReduceOnly: true is still 422 INVALID_FIELD; from then on both behave as above. A gateway member still on 0.56.0 answers either new refusal as a reason it does not know: 422 UNKNOWN.

0.56.0 — 2026-10-23 — Risk postures: GET /risk/postures, and a record’s LIMIT cause

Additive: one new read and its row; nothing removed or renamed, nothing refused that was not refused before.

  • GET /risk/postures (tag Risk, risk:read or any risk capability) lists each of your accounts’ posture (RiskPostureRow), one row per account: its latest risk record judged against the risk limits in force, the worst limit winning. posture is NORMAL, HEDGE_ONLY (past a soft threshold, on a record valued on a fallback price, or — under a configured limit — before the account’s first balance: the account may only reduce its risk) or BLOCKED (past a hard threshold, at or under the NLV floor, or under a configured limit the platform cannot evaluate: it may only cut). This release publishes the posture; order admission enforces it from a later release, announced in its own section. arm says what set it — a leverage limit or NLV_FLOOR, with observed (the reading when the posture changed, a ratio to NLV or USD for the floor) and threshold (the limit it reached), each a decimal string at eight places; DATA_QUALITY or UNEVALUABLE, which measure nothing, with both null; UNKNOWN on NORMAL. riskLimitId and riskLimitVersion name the limit row the arm came from — the account’s own or the organisation-wide default (GET /risk/limits/{id}) — null when the posture names none. recordPricedAtNs is the pricedAtNs of the account’s latest risk record published before the posture, which states the same verdict — observed is the reading at the change and may differ from that record’s figure (null before the account’s first record); previous, rateQuality, positionDrift and changedAtNs complete the row. A posture moves only when it changes — the posture, its arm, the row it names, or, under HEDGE_ONLY and BLOCKED, the rate quality or drift — so observed is the reading at the change, not a live figure: the live figures are the record’s. Every active account has a row from its first moment active. Filters accountId and posture (?posture=BLOCKED lists the blocked accounts); sort by those and changedAtNs. A member whose environment has not switched the postures on answers 503 RISK_UNAVAILABLE.
  • RiskRecordRow.cause gains a meaning, not a value: LIMIT (already in the enum) now appears — a record published because a change to the risk limits in force moved the account’s posture, causeRef the limit row. A record is also published whenever a valuation or an order event moves the posture, with those causes. The descriptions of cause and causeRef say so.

Across the deploy window: a client on 0.55.x sees nothing change except that records may now arrive with cause LIMIT — already a value of the enum; a client that reads an unexpected cause as UNKNOWN keeps working. A client calling GET /risk/postures meets 404 ROUTE_NOT_FOUND from a member still on 0.55.x, and 503 RISK_UNAVAILABLE from a member on 0.56.0 whose environment has not switched the postures on yet — treat both as “postures not available here yet”, never as an account with no posture.

0.55.0 — 2026-10-23 — Risk limits: /risk/limits, their proposals, and the risk family in /approvals

Additive: two reads, five writes, one approval family and fifteen refusal codes; nothing removed or renamed, nothing refused that was not refused before.

  • GET /risk/limits and GET /risk/limits/{id} (tag Risk, risk:read or any risk capability) serve your organisation’s risk limit rows (RiskLimitRow): the organisation-wide default row (accountId 0) — every organisation is given one, every threshold "0.00000000", no cap — and each account’s own row. A row carries seven thresholds, each a decimal string at eight places: gross and net leverage without spot and gross leverage with spot, each soft (past it the account is to be held to reducing its risk) and hard (to be blocked), as ratios to NLV ("5.00000000" is 5×), and nlvFloorUsd, the NLV in USD at or under which the account is to be blocked. This version records and judges the thresholds; no order or algo placement is refused because of a limit until a later version announces it. "0" is no cap; null is not stated — on an account’s row the default’s value then applies. Like every proposal-carrying resource the rows take view (latest, the default, shows a pending proposal’s thresholds; approved what is in force) and serve their version as the ETag; the maker-checker block is the register rows’ as 0.53.0 completed it: the maker proposedByUserId (kept once the proposal concludes or is withdrawn), pendingTransition ACTIVATE/AMEND/RETIRE, proposedAtNs, concludedAtNs, concludedByUserId and concludedTransition (what concluded: ACTIVATE, AMEND or RETIRE), approvals as {userId, approvedAtNs} entries, the remark and the last withdrawal; no count is stamped. Filters riskLimitId, accountId, status, proposedByUserId, pendingTransition, concludedByUserId; sort by those, proposedAtNs, concludedAtNs and updatedAtNs.
  • POST /risk/limits (SubmitRiskLimitBody: accountId and the thresholds) proposes an account’s first row and answers 201; POST /risk/limits/{id}/proposal (AmendRiskLimitBody) proposes a row’s next set of thresholds — both risk:propose. POST /risk/limits/{id}/proposal/approve (risk:approve) adds an approval; /proposal/withdraw (its maker, or a risk:approve holder) withdraws it with a reason; POST /risk/limits/{id}/retire (risk:propose) proposes an account row’s retirement — the account falls back to the default; the default row never retires. Every write takes an Idempotency-Key; the four on a row require If-Match (the row’s ETag), the create refuses one. A write answers the row as the platform now holds it.
  • A proposal is judged by its effect against what governs the account now: one that only tightens — a lower leverage cap, a higher floor, a cap where there was none — is in force at once; one that loosens any threshold (a soft cap dropped counts, however much the hard one tightens) waits for the approvals the organisation’s risk approval rule requires (GET /approval-rules?family=RISK), and what governed meanwhile keeps governing: the account’s approved row, or the default where it has none. Like every family’s, a pending proposal is judged by the rule in force at its next approval: raising the rule reaches it, lowering it concludes it at the next approval. A re-submit replaces the pending proposal and clears its approvals. A retirement whose fallback, the default, is no looser is in force at once.
  • Fifteen codes (RiskLimitRejectReason) can answer a limit write: 412 VERSION_CONFLICT; 403 CAPABILITY_MISSING, SELF_APPROVAL; 409 PROPOSAL_PENDING, NOT_PENDING, ALREADY_APPROVED, DUPLICATE_LIMIT (the account already has a live row: amend that one), ILLEGAL_TRANSITION (a retired row, or retiring the default); 422 LIMIT_UNKNOWN, ACCOUNT_UNKNOWN, ORG_MISMATCH, ARM_NEGATIVE, SOFT_ABOVE_HARD, INVALID_FIELD, UNKNOWN. SOFT_ABOVE_HARD judges the pair wherever the row governs: a default write is refused when its soft threshold would sit above an account row’s own hard one, and an approval is refused when the proposal it would conclude would leave a pair inverted. Only a person approves, as on every family since 0.46.1: a service client holding risk:approve is refused 403 CAPABILITY_MISSING (it may still return another’s proposal).
  • A retried limit write is answered once, by the platform as well as the gateway: for 24 hours after a limit write is answered, its Idempotency-Key (with you and the route’s command) is remembered by the platform, so the same key sent again — to a member restarted since, or to another member — returns the first answer and changes nothing: an approval is never counted twice nor refused ALREADY_APPROVED, a proposal is not refused VERSION_CONFLICT for its own earlier version, a create is the same row’s 201, a refusal the same refusal. A caller who has since lost the capability, or whose organisation is no longer ACTIVE, is refused for that instead; the same key sent to another row is 422 INVALID_FIELD. Past 24 hours a key is judged as new.
  • GET /approvals gains the risk family: a pending or returned risk limit proposal is an item (family risk, the before and after images RiskLimitRows), served to callers who read the risk family; its approvers are the organisation’s risk:approve holders. A retirement reads transition DELETE, as every family’s delete does. The family enums of the item, the filter and the operation record each gain risk.

Across the deploy window: a client on 0.54.x sees nothing change unless it lists approvals — GET /approvals may now carry items whose family is risk; treat an unknown family as one you do not act on. A client calling the new paths meets 404 ROUTE_NOT_FOUND from a member still on 0.54.x, and 503 RISK_UNAVAILABLE from a member on 0.55.0 whose environment has not switched the risk limits on yet — treat both as “limits not available here yet”, never as an account with no limit.

0.54.0 — 2026-10-23 — Risk: GET /risk/records, GET /risk/exposures, the risk capabilities and the risk approval rule

Two new reads, three new capability scopes, a seventh approval rule and wider presets; nothing removed or renamed.

  • GET /risk/records (tag Risk) lists each of your accounts’ latest risk record, one row per account the platform has valued (RiskRecordRow): nlvUsd (net liquidation value), the cumulative unrealizedPnlUsd, realizedPnlUsd, feesUsd, fundingUsd and transfersUsd, the eight leverage figures (grossActualNoSpot … netTotalWithSpot), the data quality (isPartial, worstSource, seven counters, positionDrift), balancesAsOfNs, and what last moved it (pricedAtNs, cause, causeRef). Every USD amount is a decimal string at eight places. A leverage figure is a ratio to NLV, as a decimal string at eight places: "0.42000000" reads 0.42× NLV; over an NLV barely above zero it saturates at "92233720368.54775807", the largest the wire holds — read that as at least, never as an exact ratio. A figure the platform could not evaluate is null, never 0: nlvUsd when a rate the account needs is missing, a leverage figure then or when NLV is zero or below, balancesAsOfNs before the first balance. The seventh counter, inventoryRefusals, counts the balances and fill legs refused because their quantity was too large to hold at the asset’s scale: each moved nothing, the record stays partial, and the count never resets. A record moves when the platform publishes one — on a fill, a balance or another business event, a change in data quality, a 0.1× leverage or 1 % NLV step, or a heartbeat — never on every price tick.
  • GET /risk/exposures lists each account’s exposure in each asset, one row per account and asset (RiskExposureRow): actualExposure (the holding plus every derivative position’s leg in the asset) and inventoryQty, each a decimal string at the scale it was stated — never finer than the asset’s unit scale (eight places for an asset without one), whatever digits the venue rendered; costBasisUsd and realizedPnlUsd on the holding — null for a cash asset (USD and USD stablecoins); the asset’s rateQuality; unvalued. A row moves on a business event touching its asset, or when its rateQuality or unvalued changes (cause VALUATION); never on a price move within a tier.
  • Both read with risk:read, or any risk capability; orders:read alone is refused 403 CAPABILITY_DENIED. Filters accountId (and assetId on the exposures), any of; sort accountId, pricedAtNs (and assetId); the page’s limit, cursor and include=total.
  • RISK_UNAVAILABLE (503, retryable: false) joins the Error.code set: a member deployed without the risk reads answers it on both routes, after admission and whatever the query; every other route is unaffected.
  • Three capability scopes join the set every capabilities array and GET /me spell: risk:read, risk:propose, risk:approve (a verb reads its own family). The presets GET /capability-presets serves expand to them: ADMIN gains all three, INITIATOR gains risk:read and risk:propose, APPROVER those and risk:approve (the risk family is a maker-checker family like the six the two were cut for), and TRADER and TREASURY gain risk:read. A preset expands when a user is created or restated, so an existing member gains the bits by one administrator’s restatement of the row.
  • GET /positions also reads with risk:read (or any risk capability), beside orders:read; the operation states the second grant as x-immix-reads-also.
  • A seventh approval rule, family RISK (segment risk): every organisation holds one, at 0 like the six, created by its activation; GET /approval-rules lists it, and ?family=RISK names it. It is the approvals a risk limit’s loosening will need; nothing uses it until those routes arrive. Raise and lower it as any rule (PUT /approval-rules/{id}).

Across the deploy window. The register’s wire format changes with this release (114 v17: the activation seeds seven rules), so the register and every gateway member upgrade together, and an environment takes it with a wipe that re-seeds every organisation — no window serves both shapes. A client written against 0.53.x never calls the new paths; it sees capability arrays that may name the three new scopes — treat an unknown scope as one you do not act on — and a seventh rule on GET /approval-rules. A client generated from 0.53.x whose generator closes enums refuses a rule page carrying RISK, so regenerate before the release. A client calling the new paths meets 503 RISK_UNAVAILABLE from a member whose environment has not switched the reads on yet — treat it as “risk not available here yet”, never as an account with no risk.

0.53.0 — 2026-10-23 — ! The proposal record is complete: the maker kept, each approval timed, the conclusion stamped; requiredApprovals and ready go; GET /approvals?status=concluded; account addresses under the shared protocol; invitations fixed once sent

A break (!), on every row under maker-checker — credentials, accounts, account-addresses, asset-policies, chain-policies, trading-policies, approval-rules — and on the approvals inbox. The proposal record on a row is now complete, and it is written on every write a member makes, a write the organisation’s count let through at once included:

  • pendingByUserId is proposedByUserId, and it stays on the row once the proposal concluded — who made the last change is on the record, not only in its history; pendingTransition alone says whether something is still pending (NONE once it is not).
  • approvals entries are {userId, approvedAtNs}: each approval carries the platform time it was given.
  • concludedAtNs and concludedByUserId are new: when the proposal concluded and who concluded it — the approver whose approval met the count, or the maker where the count was 0 and the write concluded at once (then concludedAtNs equals proposedAtNs); both null while the proposal pends and on a row whose last proposal was withdrawn.
  • concludedTransition is new beside them: what the concluded proposal proposed — the pendingTransition the conclusion cleared, kept — so a key rotation reads ROTATE and a scope edit AMEND however the row’s status has moved on since; NONE while the proposal pends or where the row never carried one. The inbox’s concluded item serves it as transition, which was null there.
  • requiredApprovals is gone from every row. The count a proposal is judged by is the organisation’s rule in force, read on the inbox item (requiredApprovals there is unchanged); a concluded row’s approvals says how many it took.
  • Account addresses are under the same protocol: the row carries pendingTransition (ACTIVATE while the verifications are outstanding) and the record above, declaredByUserId is proposedByUserId (null for an address a connector observed), each verification is an approval on the record (POST /account-addresses/{id}/verify by a person holding account-addresses:approve who is not the declarer; a second verification by the same person is 409 ALREADY_APPROVED), and the row lands VERIFIED when the organisation’s account-addresses count is met — 0 to 4 now, like every family’s (PUT /approval-rules/{id} admits 2 to 4 for it). GET /approvals lists the address family (family=account-addresses), and a declaration under a count of 0 lands VERIFIED in the same call, as before. A declaration deleted before it is verified comes back to its declarer: POST /account-addresses/{id}/delete takes an optional reason (absent reads as ""), the row records who deleted it, when and why as its last withdrawal, and GET /approvals?status=returned serves it under its DELETED row — where the declaration used to vanish from every list; a verified row’s delete records nothing.
  • The inbox gains status=concluded: the organisation’s audit list — the rows whose last proposal concluded, each item carrying who proposed it, who approved when, and concludedAtNs and concludedByUserId (new on every item; null while pending or returned); its after is the row as it stands now, which a later single-user act may have moved on. transition on a concluded item names what concluded (the record’s concludedTransition), where a returned item’s is null; mine=true with it refuses 400, as with status=returned. ready is gone from the item: a proposal whose approvals already meet a lowered count is concluded by the lowering itself (the next release), so none waits. A lowering of an approval rule that a colleague’s raise superseded is one row on both lists: its returned item carries the lowering’s maker and the raise’s withdrawal of it, with proposedAtNs null and remark empty (the row keeps neither once the raise’s own record took it), and its concluded item is the raise’s, under the raiser’s name.
  • The sortable and filterable columns follow: proposedByUserId, concludedAtNs and concludedByUserId replace pendingByUserId and requiredApprovals on every row above, and the inbox sorts by concludedAtNs and concludedByUserId too.
  • A count of 0 runs the credential family’s checks in the maker’s own call. Below 0.53.0, POST /credentials, POST /credentials/{id}/enable, /rotate and /delete on an organisation whose credentials count is 0 concluded unconditionally — the checks the approval runs never ran. From 0.53.0 the one conclusion path runs them in the maker’s call: 409 SCOPE_INSUFFICIENT or SCOPE_MISMATCH where the pinned probe’s observation disagrees with the key’s declared capabilities, and 409 CREDENTIAL_IN_USE on a delete of the key an account still trades or transfers through — the refusal the approver would have met, answered to the maker at once. The rotation’s continuity check (422 INVALID_FIELD where a probed incoming key reaches another venue account than the serving one) runs on the same path, though a direct cutover at 0 has no probe of the new pin to read.

Across the deploy window: a member below 0.53.0 reads a row with pendingByUserId and requiredApprovals, and a 400 on status=concluded or ?proposedByUserId=; from 0.53.0 the fields above, and ?pendingByUserId= or ?requiredApprovals= refuses 400 as any unknown parameter does. A returned item for a lowering of an approval rule that a raise superseded serves proposedAtNs null and an empty remark from 0.53.0 (below it, the lowering’s own clock and note), since the row’s record is the raise’s from then on. The register is wiped with this release (every proposal record restarts empty), so no row carries a pre-0.53.0 record.

  • Invitations are fixed once sent (in this release): POST /users/{id}/invitation takes no body — the row is restated as it stands under a fresh deadline — and a stated field is 400 MALFORMED_REQUEST, where the body could restate capabilities, name, email or expiresInHours; another address, name or capability set is the cancel and a new invitation. expiresInHours is gone from InviteUserBody: the lifetime is the deployment’s, 72 hours (an organisation’s first administrator’s seven days), and a stated expiresInHours is refused 400 by name, never read past. The user row gains invitationFailure (NONE, EXPIRED_UNSENT, MEMBER_UNVERIFIED, IDP_REFUSED) and invitationDetail — why a send failed, in the provider’s words — both cleared by the next re-invite. Expiry is a time, not a state: inviteExpiresAtNs is judged at the claim, nothing sweeps, and invitationState never reads expired. A removed member may be invited again, as a new user: a deleted row keeps its subject as history, and the subject’s next sign-in claims the new invitation at its address, where it was refused IDP_REF_TAKEN. A deleted member’s bare sign-in, with no invitation open at their address, is now 403 NOT_REGISTERED — it read 403 FORBIDDEN_PRINCIPAL naming the deleted row — and its remedy is the invitation.

0.52.0 — 2026-10-23 — Positions: GET /positions

Additive: one new read, nothing removed or renamed, nothing refused that was not refused before.

  • GET /positions (tag Positions) lists your organisation’s derivative positions, one row per account and instrument a fill has opened — the platform’s own derivation from the executions GET /executions serves, never a venue’s report. It reads with orders:read, or any orders capability: a position is built from fills that grant already shows you. A caller without one is refused 403 CAPABILITY_DENIED.
  • The row (PositionRow) is keyed by (accountId, instrumentId) and states family (LINEAR, INVERSE or UNSUPPORTED), the signed qty — coins for a linear contract, USD face value for an inverse one — and contracts, the count derived from qty at the instrument’s current definition (so after a venue changes a contract’s size it follows the venue, and qty does not move); cost and realizedPnl (cumulative, gross of fees) in settleAssetId; avgPx; fees, one entry per fee asset; and the last move’s provenance — lastCause, lastExecutionId, lastFillTsNs, lastSeq. A position that returns to zero keeps its row, its realized PnL and its fees. An UNSUPPORTED row — an instrument type the platform does not value — states its raw contract count and null for settleAssetId, cost, avgPx and realizedPnl. Every amount is a decimal string at the scale the row holds it. No mark and no unrealized PnL are served in this version.
  • Filters accountId and instrumentId, any of; sort accountId, instrumentId or lastSeq, default accountId,instrumentId; the page’s limit, cursor and include=total. Spot holdings are not positions: they are on GET /account-balances.
  • POSITIONS_UNAVAILABLE (503, retryable: false) joins the Error.code set: a member deployed without the positions surface answers it on GET /positions, after admission and whatever the query; every other route is unaffected.

Across the deploy window: a client on 0.51.x never calls the new path and sees nothing change. A client calling it meets 404 ROUTE_NOT_FOUND from a member still on 0.51.x, and 503 POSITIONS_UNAVAILABLE from a member on 0.52.0 whose environment has not switched the surface on yet — treat both as “positions not available here yet”, not as an empty book; once the surface is on, every fill since the platform began counting positions is in the rows.

0.51.0 — 2026-10-23 — A balance states the unrealized PnL its total includes

Additive: one property on every balance row, nothing removed or renamed, nothing refused that was not refused before.

  • unrealizedPnl on GET /account-balances rows (AccountBalanceRow, from the AccountBalance schema, x-since-schema-version 2). Some venues report a trading pool’s total as its equity, the unrealized PnL of the pool’s open positions included; such a reading now states that unrealized PnL beside the total, as a decimal string at the reading’s own scale, so total − unrealizedPnl is the pool’s cash. It is null where the venue’s total leaves unrealized PnL out — every pool whose venue does not state one — or where the reading predates the field — a connector not yet on the release that states it, whose total may still include the unrealized PnL; a stated zero is a reading, never null. info.x-immix-custody-schema reads 115.v2.

Across the deploy window: a client on 0.50.x or earlier ignores the new property; until the account connectors are deployed with the change, every row serves unrealizedPnl: null, and a reading republished after it states the value where the venue reports one. The platform’s risk record reads this property to take the unrealized PnL out of an equity total, and a reading from a connector that predates it is indistinguishable from a total that leaves unrealized PnL out — so the OKX account connectors run this change, and every OKX trading pool has restated under it, before the risk record is switched on; no risk figure is published from an OKX equity total read without its unrealizedPnl.

The AccountBalanceRow description no longer calls total, available and held a partition of the holding: available + held equals total only where the venue’s own model is additive, as the AccountBalance schema already said. That rewording changes no served value; the response change in this version is the unrealizedPnl property above.

0.50.0 — 2026-10-23 — Your organisation renames itself: PUT /org

PUT /org renames your organisation: a member holding org:manage sends {"name": "…"} under the row’s ETag (If-Match, as every entity write takes it) and the change is live at once — no approval, whatever your approval rules say — answered with your organisation as GET /org serves it, under the new name with a fresh ETag. The name is a label, not a key: another organisation may carry the same one (the platform tells organisations apart by id, your identity provider by its own organization), restating your current name is accepted, and a rename tells you nothing about other organisations — no name is refused for being held. An empty name, or one past 128 bytes, is 422 INVALID_FIELD; a member without org:manage is 403 CAPABILITY_DENIED; a stale ETag is 412 VERSION_CONFLICT naming the current version. productProfile and the organisation’s lifecycle stay the platform’s: the body takes name and nothing else. A minor: a route is added, and nothing a request already sends changes meaning.

What changed

  • PUT /org and its body AmendOrgBody (name; expectedVersion rides If-Match): the one write under /org, published beside GET /org’s row with the Organisations tag and answering OwnOrgAnswer — the OwnOrg row with the answering change’s position. A member of the deploy window before it meets 404 on the route; after it, the write.
  • What follows a rename. GET /org, GET /me/orgs and GET /me’s orgName serve the new name from the answer on, as does the platform’s list on the internal platform API. Your identity provider’s organization takes it as its display name on the platform’s next pass (within minutes); the organization’s own name — what a sign-in names — never changes, so no login moves. A lifecycle proposal the platform has pending on your row rides the rename untouched.
  • org:manage now covers your organisation’s name beside its approval rules: the capability’s sentence in the API guide and PUT /org’s description say so.

0.49.0 — 2026-10-23 — One clock per account: readAtNs on the account row; the balance row’s venueTsNs is now venueUpdatedAtNs, the venue’s own stamp and never freshness

Every account row now says when the account was last read at its venue, and the balance row’s venue clock is named for what it is. A break, shipped as a minor headed !: a field of AccountBalanceRow is renamed, with no alias (Versioning).

What changed

  • readAtNs on every account row — GET /accounts, GET /accounts/{id} on both views, and the answer of every account command (AccountRow and AccountItem gain the AccountFreshness half, beside capabilities). It is the platform time of the latest report from the account connector reading the account through the key that reads it — the key that found it (credentialId) while that key is ACTIVE, else the designated trading key, else the transfer key, standing in for a suspended finder (one rule, the connector’s own); its health.account.reportedAtNs — epoch nanoseconds as a decimal string, served while that report says the lane’s sweeps read every pool: CONNECTED, or DEGRADED for any reason but RATE_LIMITED and VENUE_UNAVAILABLE (the push stream alone, stale or refused, every sweep still reading every pool); null while it is DEGRADED as RATE_LIMITED or VENUE_UNAVAILABLE (the lane’s sweeps read some of its pools or none — 429s on every sweep, or one pool’s endpoint failing while another answers — and nothing in the report says when the account was last read cleanly); null on a status’s first report (reportedAtNs equal to transitionAtNs) until a later one under the same status — a lane that comes up reports CONNECTED before its first sweep answers, so each move into a reading status costs a heartbeat of null rather than a fresh clock nothing read; null while it says DOWN or no connector has reported on the key — and null once the account is DELETED, whatever its key’s lane reports: the connector reads live rows alone. It is the one clock to age for an account: it advances on the connector’s heartbeat (every 30 s by default) for as long as the account is being read, so a time that stops advancing is a connector that stopped without saying so, and null is a report that establishes no clean read of the account (nothing reads it, or a partial sweep may have read its pool without saying so) — the key’s health.account says why. It is derived, not decided: it changes without the row’s version moving, so the ETag and If-Match never involve it, and it reads the same on view=latest and view=approved.
  • venueTsNs is now venueUpdatedAtNs on AccountBalanceRow (the generated AccountBalance shape) and among GET /account-balances’s sort columns. Same position, same type (a decimal string or null), same value: the venue’s own stamp on the balance as it stood at the latest observation of the pool — the holding’s change time where the venue stamps that (OKX), the account’s update time where it stamps that (Binance), the answer’s time where it stamps only that (Bybit) — null where the venue stated none. The name says what the old one let a reader forget: it is the venue’s as-of, never freshness on this platform. It can move without the holding moving and stand still while the platform reads the holding every 30 s, so a client that aged venueTsNs called an idle OKX account stale.
  • observedAtNs is unchanged, and its description is corrected. It is the platform time of the reading, moved by every change and by every heartbeat restatement for as long as the connector serves the key — the venue answering or not — and it stops when that lane stops. It is the row’s clock, not the account’s freshness: age readAtNs for that.
  • Generated clients. AccountRow and AccountItem gain the required, nullable readAtNs (the AccountFreshness component). AccountBalance.venueTsNs is AccountBalance.venueUpdatedAtNs; AccountBalancesSort’s listed columns follow. Nothing else a generator emits moves.

Both sides of the deploy window. A member below 0.49.0 serves no readAtNs and spells the balance row’s venue clock venueTsNs; a member at 0.49.0 serves readAtNs on every account row and spells the clock venueUpdatedAtNs — never both, and never the old name. A client built from 0.49.0 meets an older member as readAtNs absent — read absent as null, an account whose freshness that member does not state — and the venue clock absent too; a client built from 0.48.0 meets a new member the same way round, every other field reading as before. GET /account-balances?sort=venueTsNs on a 0.49.0 member is 400 MALFORMED_REQUEST, a column the collection does not sort by: send venueUpdatedAtNs, and fetch the first page again — a cursor is bound to the sort it was minted under. The amounts, the keys, observedAtNs and every other collection read the same on either side. There is one member per environment, so the window is the restart itself.

0.48.0 — 2026-10-23 — ! The organisation lifecycle leaves for the internal platform API; GET /org is identity and standing; org:manage

A break (!): the organisation lifecycle — GET /orgs, GET /orgs/{id}, POST /orgs and the five arms under /orgs/{id} — is no longer served here. It is the internal platform API’s, a document of its own (/internal-platform/openapi.json, version 0.1.0) served by the same gateway on a second port with no public host, to the platform organisation’s lifecycle holders alone. Three things on this document change with it.

  • GET /org and GET /me/orgs serve your organisation as OwnOrg: orgId, name, status, productProfile (and the position; the ETag is still the row’s version). The lifecycle record — the transition, the proposal’s maker, approvals, remark and withdrawal, the first administrator the activation named, isInternalPlatform — leaves the row: it was the platform’s, served masked. GET /me/orgs filters and sorts by what the shape serves (orgId, status, productProfile, name); isInternalPlatform and pendingTransition are no longer filters. A client that read GET /orgs/{id} for its own organisation reads GET /org.
  • GET /me is identity and capabilities alone. approvalPolicy leaves it: the counts in force are the approval rules’ own rows, GET /approval-rules (view=approved on a rule is the count in force). isInternalPlatform leaves it: a platform member’s standing on the lifecycle is GET /internal-platform/me on the internal platform API. A client that read GET /me for either regenerates.
  • The vocabulary is respelled. orgs:manage is org:manage — your organisation’s own settings, every organisation’s to grant, on the row, the bodies, the presets and the WebSocket’s capabilityScope alike; a client sends the new spelling (the old is refused 400, as any unknown name is). The platform’s two bits are internal-platform:propose and internal-platform:approve, and this document’s capabilities enum no longer lists them: they are the internal platform document’s. A platform member’s row and GET /me still carry them — a row serves every bit it holds, so PUT /users/{id} restating a colleague’s set keeps them — as names this document does not list, which a client treats like any name it does not know (the capabilities description says so). The six command schemas (SubmitOrg, ApproveOrg, DisableOrg, EnableOrg, DeleteOrg, WithdrawOrgProposal) and their bodies, OrgRow and the orgs filters leave the document with their routes; ApprovalItem.family and GET /approvals?family= no longer carry orgs (the lifecycle’s proposals are the internal platform API’s inbox). A generated client loses its orgs module and the six types; the Me type loses two members.
  • The users family serves your organisation alone. A platform member no longer reads an activated organisation’s unclaimed first administrator under GET /users?status=INVITED or GET /users/{id}, nor re-sends their invitation with POST /users/{id}/invitation: the seat is on the organisation’s row (firstAdmin) and the resend on the internal platform API.
  • Deploy window. A client on 0.47.0 meets 404 on /orgs and absent members on /org, /me/orgs and /me once a member serves 0.48.0; a client on 0.48.0 meets the old spelling refused (org:manage is 400 on 0.47.0) until every member serves it. The gateway’s release is one restart, both listeners together; the console is synced at the same tag. ClickHouse’s users rows persisted before it carry the old spellings in capabilities (the sink writes the scope strings): no environment persisting 114 outlives this release unwiped — dev is wiped on the next 114 cut, prod persists no 114 — and a query filtering by scope reads both spellings until then.

0.47.0 — 2026-10-21 — Users are searched by name or email: GET /users?search=

GET /users takes search: the users whose name or email contains the text sent, ignoring case — GET /users?search=alice finds alice and alice@acme.example, search=@acme.example everyone invited at that domain, and search=ALI the same rows as search=ali. The text is matched anywhere in the value, not as a word or a prefix: search=ice finds alice too. displayName, what the identity provider states, is not searched. The spaces at either end are stripped, and a search left empty — search=, or spaces alone — narrows nothing, so a search box cleared to nothing reads the whole list. Every other character is part of the text, so send a + as %2B: a query reads + as a space, and search=dave+ops looks for dave ops. The parameter takes one value: repeated, it is 400 MALFORMED_REQUEST. No other collection takes search yet; each refuses it as a parameter the read does not take (400). A minor: a parameter is added, and nothing a request already sends changes meaning.

What changed

  • Beside the filters. A search narrows after your organisation’s predicate and together with the filters, sort and include=total: GET /users?search=acme&status=ACTIVE is the active users at acme, and total counts the matches. It does not stand the deleted-rows default down — a deleted user, or an invitation cancelled before 0.38.0, is found only under include=deleted or a status filter, as without a search. A platform administrator’s search reads the rows they already read, an activated organisation’s unclaimed first administrator among them.
  • The cursor. A cursor is bound to the search as to a filter: one minted under search=acme is 400 INVALID_CURSOR under search=acm or without the search — drop it and fetch the first page — and the spellings that compare alike (ACME, acme) are one query and mint one cursor. An empty search is no search, so every cursor minted before this version still pages.
  • Generated clients. listUsers gains the optional search parameter, a plain string (the component UsersSearch). Nothing else a generator emits moves.

Both sides of the deploy window. A member below 0.47.0 refuses search on GET /users as a parameter the read does not take — 400 MALFORMED_REQUEST, the message naming it — empty or not; a 0.47.0 member serves it. Behind one load balancer during a roll, any page of a searched walk, its first included, can land on either side: take that 400 as “not served here yet” — read the list without search from its first page and narrow every page you read — or hold the search until every member is at 0.47.0. Send search only when there is text to search: an empty one is refused by the older side where the newer reads it as no search. Without search, both sides serve the same rows in the same order, and every cursor pages on either.

0.46.4 — 2026-10-21 — A rotation is judged on the incoming key, and stays on its venue account

While a rotation (POST /credentials/{id}/rotate) awaits approval, the venue’s account connector now probes the incoming key at the material the rotation staged. Once that probe answers, the credential’s observed fields — observedKeyFingerprint, observedKeyId, observedPermissions, observedAllowlist, venueAccountRef, probedAtNs — describe the new key, with pendingTransition still ROTATE and the record’s version moving as it does on every probe answer. A probe that fails (probeOutcome other than NONE) records its outcome and leaves venueAccountRef as it was — a failed read states nothing about the account — where before this release a failed report emptied it. Before this release nothing probed a pending rotation, and those fields stayed the outgoing key’s throughout.

The approval of a rotation judges that observation and no other. Its scope refusals — 409 SCOPE_INSUFFICIENT, 409 SCOPE_MISMATCH — now describe the incoming key; before, the approval read the outgoing key’s scopes as if they were the new key’s, refusing a good rotation or passing a bad one. A rotation nobody probed (a connector below this release, or an organisation whose credentials conclude at submit) concludes as before with no scope claim, and the record’s observed fields stay the outgoing key’s: nothing re-reports a live key’s observation today, so they describe the new key only once a later rotation’s probe answers.

A rotation onto a key of another venue account — the probe’s venueAccountRef and the record’s both stated and different — is refused at approval 422 INVALID_FIELD, the code the platform already answers when a key of another venue account is designated to an account: withdraw the rotation (POST /credentials/{id}/withdraw) and rotate onto a key of the account’s own sub-account. Where a rotation concluded unprobed, the connector’s next dial refuses such a key instead — the credential’s health reads DOWN(CONFIG_ERROR) naming both account ids, frozen until the record moves.

Across the window: a register on this release with connectors below it judges every rotation unprobed, so it refuses nothing it did not refuse before; connectors on this release with a register below it report the incoming key, which that register records on the proposal and judges by its older rule — the incoming key’s observation once the probe has answered, the outgoing key’s until then, as before. Nothing on the wire moves.

0.46.3 — 2026-10-21 — A re-submit on a record not yet live keeps its pending delete: 409 PROPOSAL_PENDING

A re-submit of a record that is not yet live — PUT /accounts/{id} on a DISCOVERED account, PUT /credentials/{id} on a DRAFT credential, the PUT /{resource}/{id} of a DRAFT asset, chain or trading policy, or any of them on a PENDING_APPROVAL row — replaces only that record’s own activation proposal. While a delete pends on such a record — a DISCOVERED account, a DRAFT credential or policy; a PENDING_APPROVAL row carries its activation alone — the re-submit is now refused 409 PROPOSAL_PENDING: withdraw the delete (POST /{resource}/{id}/withdraw), then re-submit. An approver concluding the delete instead is terminal — the record is DELETED, a re-submit of it is 409 ILLEGAL_TRANSITION, and what you wanted is a new create. Before this release the re-submit silently replaced the pending delete — its proposer and the approvals it had collected were gone, and no withdrawal was recorded. Live records (ACTIVE, DISABLED) are unchanged: a re-submit there is an amend, and a pending enable or delete has always refused it PROPOSAL_PENDING. A patch: no shape or code is added; which requests the platform refuses changes.

One more refusal, nothing a client sends: a venue account first seen by a credential whose delete is pending is not discovered — the connector withholds the report, and the platform would refuse it — so such a pool appears only once the delete is withdrawn. Until now it appeared at once, as a DISCOVERED account that then blocked the credential’s delete at approval (CREDENTIAL_IN_USE).

Across the deploy window. The gateway serves the same document on both sides; the register’s roll changes the answers. A re-submit reaching a register below descriptor 31 replaces the pending delete as before; one reaching descriptor 31 is refused 409. A client that meets the 409 withdraws the delete first — the same call it would make on a live record.

0.46.2 — 2026-10-21 — An order on an account no key’s orders land in is refused, and such an account trades through no key

Behaviour only: nothing on the wire’s shape changes. CREDENTIAL_UNAVAILABLE (422 on POST /orders) also refuses an order on an account no key’s orders land in: an OKX funding account, or a sub-account’s wallet read through the main account’s key. On such an account capabilities.trade is null, as it is on an account no key trades. Before this version, such an order was accepted, placed in the key’s own trading account and booked to the account you named, and capabilities.trade named that key. After it, the order is refused at submit and capabilities.trade says in advance that the account trades through no key. Trade a sub-account through its own key’s trading account. The two sides are rolled separately — the orders owner refuses, the gateway reads — so inside the deploy window a gateway on the previous version may still show capabilities.trade on such an account while the orders owner already refuses the order, or the reverse; the orders owner’s answer is the one that counts for an order. The GET /accounts and GET /approvals examples now show an account’s externalRef as the venue’s account connector writes it — trading for an OKX account, spot for a Binance one — where they showed a <uid>:<pool> spelling nothing writes.

0.46.1 — 2026-10-21 — Only a person approves: a service client’s approval is refused

An approval is now a person’s act. A service client — a machine-to-machine token bound to a SERVICE user — that calls POST /{resource}/{id}/approve, POST /account-addresses/{id}/verify or POST /approval-rules/{id}/approve is refused 403 CAPABILITY_DENIED, whatever capabilities its user holds; approving its own proposal is still 403 SELF_APPROVAL, as it is for anyone. The approvals inbox follows: approvers names people only, so a service client is never listed there, and GET /approvals?mine=true holds nothing for one. Service clients still propose (a create or amend that lands pending), withdraw their own proposals and — holding a family’s approve capability — return another’s with /withdraw. And a user’s kind is fixed once its row exists: PUT /users/{id} stating the other kind is refused 422 INVALID_FIELD, so a service client’s row is never restated as a person’s. The one exception is a DISCOVERED row’s admission, which states the kind: discovery recorded every row HUMAN, a client credential’s too. A patch: no field, route, code or schema changes — behaviour inside the published shapes: an approval and a kind change are refused, and an approver left out of approvers, in cases that were admitted before.

  • What you change: if an integration approved through a service client, a person now approves instead — the proposal waits in the inbox for a person holding the family’s approve capability. A pending proposal whose only possible approver was a service client now shows an empty approvers: no one else can approve yet, so invite or grant a person. A PUT /users/{id} must state the row’s own kind (read it off GET /users/{id}); a user of the other kind is a new row — a person is invited, a service client created.
  • Across the deploy window: approvals and user writes are judged by the register, so until it runs this release a service client’s approval and a kind change are still admitted, whichever gateway member forwards them; from then on both are refused. A gateway member on this release stops naming service clients in approvers; one still on 0.46.0 names them. An approval a service client gave before the register’s upgrade stays in its proposal’s approvals and still counts toward the count.

0.46.0 — 2026-10-21 — An organisation’s approval policy is its approval rules: one row per family, under /approval-rules

Your organisation’s approval policy moves off the organisation row into rules of their own: one approval rule per family — credentials, accounts, account addresses, asset policies, chain policies and trading policies — each with its own ETag, read and changed under /approval-rules. A raise takes effect at once; a lowering waits for a second administrator, family by family, so a change to one family never waits on another’s. A minor: before 1.0.0 a removal lands in a minor, and this one removes the policy routes and the six counts and adds the rules’ routes.

What changed

  • GET /approval-rules lists your organisation’s six rules — ?family=CREDENTIALS names one — and GET /approval-rules/{id} serves one by its approvalRuleId, as every row is served. A rule’s count is the number of approvals a proposal in its family needs; 0 lets a permitted member’s change take effect at once. Its family names the family as the wire spells it (CREDENTIALS, ACCOUNTS, ACCOUNT_ADDRESSES, ASSET_POLICIES, CHAIN_POLICIES, TRADING_POLICIES). Membership reads the rules, no capability needed, and every organisation holds all six from its activation, at 0.
  • PUT /approval-rules/{id}, body {"count": n, "remark": "…"}, restates one rule (orgs:manage) under that rule’s ETag. Raising the count, or restating it, takes effect at once and reaches proposals already pending; it also withdraws a lowering pending on the rule, which its maker then finds returned in the inbox. Lowering it is a proposal another orgs:manage holder concludes with POST /approval-rules/{id}/approve, and its maker or any holder withdraws with POST /approval-rules/{id}/withdraw — unless you are your organisation’s only person, when it too takes effect at once. While a lowering is pending, the rule’s default view=latest shows the proposed count and view=approved the count in force.
  • GET /me carries approvalPolicy in place of its six top-level counts: an object keyed by family segment, each value the count in force — a pending lowering is not in force yet.
  • GET /approvals lists a lowering pending on one of your rules under the family approval-rules, the rule as its before and after, judged by your orgs:manage holders at a fixed 1; it is acted on at /approval-rules/{entityId}, as every item is. The orgs family is only ever the organisation lifecycle now, which the platform’s administrators decide.
  • The organisation row (GET /org, GET /orgs, GET /orgs/{id}) no longer carries the six *Approvals counts, and its pendingTransition is only ever the platform’s lifecycle (ACTIVATE, ENABLE, DELETE); its proposal record is the platform’s, served to your organisation’s members as nothing recorded.
  • Removed. PUT /org/approval-policy, POST /org/approval-policy/approve and POST /org/approval-policy/withdraw answer 404. POST /orgs/{id}/approve takes no counts: a body stating one of the six is refused 400 MALFORMED_REQUEST rather than ignored, since the activation it meant to configure would otherwise land with no approvals required.
  • Regenerate a generated client. The operations updateApprovalPolicy, approveApprovalPolicyChange and withdrawApprovalPolicyChange are gone with their schemas (SetApprovalPolicy, SetApprovalPolicyBody, ApprovePolicyChangeBody, WithdrawPolicyChangeBody). The new Approval rules tag brings listApprovalRules, getApprovalRule, updateApprovalRule, approveApprovalRule and withdrawApprovalRuleProposal, with ApprovalRuleRow, ApprovalRuleUpdated, the three commands and their bodies. Me, OrgUpdated, ApproveOrg and ApproveOrgBody lose the six *Approvals properties, Me gaining approvalPolicy; ApprovalImage gains a seventh oneOf member, ApprovalRuleUpdated; the closed enums ApprovalItem.family and OperationRecord.outcome.family gain approval-rules; OrgRegisterRejected.commandKind loses SET_APPROVAL_POLICY and gains SUBMIT_APPROVAL_RULE, APPROVE_APPROVAL_RULE and WITHDRAW_APPROVAL_RULE_PROPOSAL; and info.x-immix-register-schema moves from 114.v13 to 114.v14.

Across the deploy window. The register’s wire format changes with this release, so the register and every gateway member upgrade together and no window serves both shapes at once. A client written against 0.45.0 meets 404 on the policy routes, finds no counts on the organisation row or at the top of GET /me, and is refused 400 when its activation body states a count; it reads approvalPolicy for the counts and changes them through the rules’ routes. A client generated from 0.45.0 whose generator closes enums and oneOf unions refuses a GET /approvals page as soon as one item names the approval-rules family — which the first lowering pending on a rule does — so regenerate before anyone lowers a rule.

0.45.0 — 2026-10-21 — A proposal is judged by the approval policy in force, every count starts at 0, and the inbox says when one is ready

An organisation’s approval policy now governs every proposal at the moment it is approved, not only the proposals made after the policy changed; every count starts at 0, so a new organisation needs no approvals until it turns them on; and the approvals inbox says when a pending proposal’s approvals already meet the policy. A minor: a field is added, two defaults change and one rule tightens.

What changed

  • A proposal is judged by the policy in force. An approval (POST /{resource}/{id}/approve) compares the approvals collected with your organisation’s count for the family as the policy stands at that moment. Raising a count reaches proposals already pending: one made when credentials needed one approval needs two once you raise it to two. Lowering a count concludes nothing by itself: a pending proposal whose approvals already meet the lower count concludes at its next approval, from someone who has not approved it yet; with nobody left to approve, its maker restating it starts it over under the lower count, its approvals cleared (concluding at once only at 0), and a fresh approval concludes it. On every row under maker-checker, requiredApprovals is a record: the count in force for its family when the proposal was last made or approved, and on a concluded row the count it met. On an organisation’s own row a pending proposal needs 1, and with nothing pending the field is the row’s last record: 1 after a proposal on the row concluded or was withdrawn, 0 after a policy change that took effect at once (a raise, or a lowering by an organisation’s only person) and where no proposal was ever made (the platform’s own organisation). Before 0.45.0 a proposal kept the count it was made under.
  • GET /approvals serves the count as the policy stands, and ready. An item’s requiredApprovals is your organisation’s current count for its family (1 on an organisation’s own lifecycle or policy-change proposal; on a returned item, the count the proposal carried when it was withdrawn, as of its last submit or approval). ready, new and always present, is true when a pending item’s approvals already reach it — the case a lowered count leaves — and false otherwise.
  • Every count starts at 0. An activation (POST /orgs/{id}/approve) that does not state a family’s count leaves it at 0: a permitted member’s write is the record, with no approval. Before 0.45.0 an absent count read 1. An organisation turns on dual control itself, family by family, with PUT /org/approval-policy — one orgs:manage holder, effective at once. An organisation activated earlier keeps the table it was activated with, and a pending organisation’s row shows 0 in every family until its activation states the table.
  • Lowering alone needs you to be the only person. A PUT /org/approval-policy that lowers a count concludes at once only when you are the organisation’s only person, with no other person active or disabled; otherwise it is a proposal for a second orgs:manage holder. Before 0.45.0 the rule counted the active members of any kind, so disabling your only colleague let a lowering conclude alone, and a service client counted as a member. A service client never lowers alone now.

Across the deploy window. Approvals are judged by the register, so the new rule holds from the moment the register runs it, whichever gateway member serves the route; until then a proposal keeps the count it was made under. A gateway member below 0.45.0 serves inbox items without ready, and its requiredApprovals is the proposal’s own count; treat a missing ready as unknown. An activation’s absent counts are filled by the member that serves it — 1 below 0.45.0, 0 from it — so a client that wants a definite table states every count in the body.

0.44.0 — 2026-10-20 — What was kept for older clients leaves: the 0.37.0 route aliases, the old filter spellings, unscaled, firstAdminUserId and two codes nothing answers

Everything this API still carried only so an older client would keep working is removed: the lifecycle routes that 0.37.0 replaced, the old spellings the filters still read, the unscaled marker that no member has served since 0.3.3, the activation’s retired firstAdminUserId, and two codes that no member answers. A break, shipped as a minor headed !: until 1.0.0 a minor may remove a route, field, code or enum member, and the changelog says which (Versioning). Every successor has been served since 0.37.0, so a client that already uses them needs nothing but a regeneration.

What changed

  • The old lifecycle routes are gone. Each answers 404 ROUTE_NOT_FOUND. Call its successor, which takes the same body, headers and If-Match and answers the same way:

    Removed (POST)Call instead
    /orgs/{id}/suspend, /reactivate, /retire/orgs/{id}/disable, /enable, /delete
    /credentials/{id}/suspend, /reactivate, /revoke/credentials/{id}/disable, /enable, /delete
    /accounts/{id}/freeze, /unfreeze, /retire/accounts/{id}/disable, /enable, /delete
    /account-addresses/{id}/retire, /portfolios/{id}/retire, /asset-policies/{id}/retire, /chain-policies/{id}/retire, /trading-policies/{id}/retirethe same row’s /delete
  • Filters take the published names alone. A spelling the lifecycle vocabulary retired is refused 400 MALFORMED_REQUEST, like any value off the parameter’s enum, and the message names what the parameter takes: ?status=SUSPENDED, FROZEN, RETIRED or REVOKED (send DISABLED or DELETED), ?pendingTransition=REACTIVATE or RETIRE (send ENABLE or DELETE), and on the approvals inbox ?transition=REACTIVATE, UNFREEZE, RETIRE or REVOKE (send ENABLE or DELETE). A row’s pendingTransition filter still publishes UNFREEZE and REVOKE and takes them as before: rows written before the register’s switch carry them. A walk paged under an old spelling is refused on its next page. Resend it with the new spelling: the cursor you hold was minted for that spelling and stays valid.

  • unscaled is gone from RowExtras, AccountBalanceRow and the page schemas of GET /orgs, /users, /credentials, /accounts, /account-addresses, /portfolios, /asset-policies, /chain-policies, /trading-policies, /orders, /executions and /account-balances. No member has served it since 0.3.3 (0.3.2 on an order or an execution, 0.3.1 on a balance), so no response changes.

  • firstAdminUserId leaves the activation’s body. ApproveOrgBody no longer publishes it. A POST /orgs/{id}/approve body that states it, whatever the value, is refused 400 MALFORMED_REQUEST; since 0.35.0 it had been ignored. The activation still creates the first administrator the organisation’s row names, so send the body without it. POST /org/approval-policy/approve refused the field already.

  • Two codes leave the published list. ErrorBody.code no longer lists AWAITING_ADMISSION, which no member has answered since 0.18.0, or SCALE_UNKNOWN, which none has answered since 0.3.4. A client that branches on either can drop the branch. code stays open: treat a code you do not know by its HTTP status.

  • Prose. The Credentials and Accounts tags now name their acts in the 0.37.0 words: a credential is disabled and deleted, no longer revoked, and an account is disabled and deleted, no longer frozen or retired. ErrorBody.code’s description no longer calls the code set append-only: until 1.0.0 a minor may remove a code, as this one does, and its changelog names it. The API guide says the same of enum values and sets: append-only from 1.0.0.

  • Generated clients. Gone: the fourteen operations suspendOrg, reactivateOrg, retireOrg, suspendCredential, reactivateCredential, revokeCredential, freezeAccount, unfreezeAccount, retireAccount, retireAccountAddress, retirePortfolio, retireAssetPolicy, retireChainPolicy and retireTradingPolicy; the unscaled property of RowExtras, AccountBalanceRow and the twelve pages; and ApproveOrgBody’s firstAdminUserId. Nothing is added or renamed. Regenerate, and move any call to a removed method to its successor (disableOrg, enableCredential, deleteAccount, …).

During the deploy window a member below 0.44.0 still serves the old routes, takes the old spellings and ignores firstAdminUserId. A 0.44.0 member answers the routes 404 ROUTE_NOT_FOUND and refuses the spellings and the field 400 MALFORMED_REQUEST. Both sides serve every successor, so a client that already calls /disable, /enable and /delete, filters by the new words and leaves firstAdminUserId out sees no difference between them; make that move before the roll. Nothing else differs on either side: every response is what it was, and the platform behind the gateway does not change.

0.41.2 — 2026-10-20 — Three reads’ bodies do not restate the position, and the position header now says so

Documentation only: nothing on the wire changes. The description of the X-Immix-Global-Sequence response header said that a 200 body restates the position as globalSequence. Three reads never did, and still do not:

  • GET /venues and GET /capability-presets each answer one document, which does not move with the position.
  • GET /operations/{key} answers an operation’s record. Its commandGlobalSequence and outcome.globalSequence are the command’s position and the answer’s, not the position the read was served at.

On those three reads the position is in the X-Immix-Global-Sequence header alone, as it always was. The header’s description now names them, and says that a refusal’s body never restates the position either; the API guide’s Reads says the same. A client that reads globalSequence from the body keeps doing so on every other success, and reads the header on those three. A regenerated client differs only in the header’s doc comment.

During the deploy window a 0.41.1 member and a 0.41.2 member serve the same bytes; the document differs in its version and the header’s description.

0.41.1 — 2026-10-20 — People are invited: POST /users creates a service principal, or adopts a subject

Documentation only: nothing on the wire changes, and nothing is refused that was not refused before. POST /users (createUser) now says who it is for:

  • People join by invitation. POST /users/invitations is the one way a person becomes a member: the row is created INVITED, the platform emails the address, and the first verified sign-in at it claims the seat. Nothing about that changed.
  • POST /users creates a user who is not invited. A service principal — kind SERVICE, idpUserRef its client’s subject (<client_id>@clients), which no invitation can create — or a person whose identity-provider subject you already hold, bound ahead of their first sign-in. The operation’s summary now reads Create an uninvited user; its operationId (createUser), its body and its answers are unchanged, so nothing regenerates.
  • A HUMAN row created without a subject cannot sign in where an identity provider admits: the door admits a bound subject or the claim of an open invitation, and such a row is neither. The gateway still accepts the request, as it always has; a later release will refuse it once no environment runs the roster. The roster lane (local and test), which sends no invitation, creates everyone this way and is unaffected.

During the deploy window a 0.41.0 member and a 0.41.1 member serve the same bytes; the document differs in its version and the texts above.

0.41.0 — 2026-10-20 — The capability presets are served: GET /capability-presets

GET /capability-presets lists the five capability presets a user or invitation body’s preset names — INITIATOR, APPROVER, ADMIN, TRADER and TREASURY — each with its capabilities as scope strings and a sentence on what it grants, so a client can offer them in a picker and fill a member’s capabilities from the one picked. Every admitted member reads it, whatever their capabilities: it describes the platform’s vocabulary, not your organisation’s state. It is one document, the same for every member, with no paging and no ETag; the position headers ride the answer as on every read. The route is new, and the x-immix-preset-capabilities extension it replaces is removed: a client that read the expansions there reads them from the route.

What changed

  • A new read, GET /capability-presets (tag Users, operation listCapabilityPresets), answering { "presets": [ { "preset", "capabilities", "description" } ] } in a fixed order. preset is the value the bodies’ preset takes; capabilities are the scope strings the door expands it to, in the order a user row lists its own; description is one sentence for a person choosing. The organisation lifecycle pair, orgs:propose and orgs:approve, is in no preset, as since 0.40.0.
  • A preset is still not a record. The route lists starting points. A member’s row records the capabilities alone and never names a preset, so a later change to a preset changes no member. A client’s label for a member is still derived: a row whose capabilities equal a preset’s exactly may be shown with the preset’s name, anything else is Custom, an empty set No access.
  • x-immix-preset-capabilities is gone from the preset property of UpsertUserBody, InviteUserBody and ReinviteUserBody. The route serves the same expansions, which generated clients never saw as an extension; the property’s description now points at the route.
  • Generated clients. New: the operation listCapabilityPresets under the Users tag, and the schemas CapabilityPresets and CapabilityPreset — its preset the same enum as the bodies’ alias, its capabilities the scope enum a user row uses. Nothing a generator emits is removed. Regenerate to call the route.

During the deploy window — a member still on 0.40.0 answers GET /capability-presets 404 ROUTE_NOT_FOUND, and its /openapi.json still carries x-immix-preset-capabilities; a 0.41.0 member serves the route, and its document no longer carries the extension. Two requests can reach members on either side, so a client reading the presets while the window is open takes them from the extension when the document it loaded still carries one, and otherwise from the route, asking again later on a 404. Nothing else changes on either side: the user and invitation bodies, their two spellings and every other route answer as before.

0.40.0 — 2026-10-20 — There are no roles: the roles routes, roleId and the PLATFORM preset leave — presets of capabilities are the vocabulary

There are no roles. A preset is a named bundle of capabilities the door expands on the create, edit and invite of a user — never a record a member is linked to — and the routes that made it one leave: GET /roles, GET /roles/{id}, POST /roles, PUT /roles/{id}, POST /roles/{id}/delete and its deprecated 0.37.0 alias POST /roles/{id}/retire are gone, with no deprecation window — every 0.40.0 member answers each of them 404 ROUTE_NOT_FOUND. The roleId spelling leaves the user and invitation bodies, and the PLATFORM preset leaves the preset enum. A break, shipped as a minor headed !: until 1.0.0 a minor may remove a route, field, enum member or generated identifier, and the changelog says which — this section is the first (Versioning).

What changed

  • Two spellings of the capability set, as before 0.26.0. POST /users, PUT /users/{id}, POST /users/invitations and POST /users/{id}/invitation take capabilities (the scope strings) or preset (INITIATOR, APPROVER, ADMIN, TRADER or TREASURY — expanded at the door, never forwarded); stated together they must agree (400 MALFORMED_REQUEST). A body stating roleId — alone or beside a spelling — is refused 400 MALFORMED_REQUEST, the message naming the removal: there are no roles; state capabilities or preset. The refusal is deliberate where a silent read would have been wrong: a re-invite naming only roleId would otherwise keep the row’s capabilities and answer 200. A re-invite whose body names neither spelling keeps the row’s capabilities, as before. The row records bits and never a preset, and nothing records which preset a member was last given: the “role” a client shows is a label it derives by matching the row’s capabilities against the presets — an exact match names the preset, anything else is Custom, an empty set No access.
  • The PLATFORM preset is gone. The five presets are the ones an organisation grants itself. The organisation lifecycle pair, orgs:propose and orgs:approve, is no preset’s: grant it as capabilities scope strings — inside the platform’s own organisation, as before, the way algos:manage has always been granted. preset: "PLATFORM" is refused 400 MALFORMED_REQUEST (preset must be one of [INITIATOR, APPROVER, ADMIN, TRADER, TREASURY]). The platform’s first administrator holds the same capabilities as before.
  • Nothing an organisation holds is a role. An activation, and the platform’s bootstrap, write the organisation and its first administrator — two records — and no templates. Named bundles of an organisation’s own return only on a customer’s ask, and then not as templates.
  • The operation record. OperationRecord.outcome.family no longer answers roles.
  • Generated clients. Gone: the Roles tag and its operations listRoles, getRole, createRole, updateRole, deleteRole and retireRole; the schemas RoleUpdated, RoleRow, UpsertRoleBody and DeleteRoleBody; the responses RoleAnswer and RoleRow; the parameters RolesRoleIdFilter, RolesStatusFilter and RolesSort; the roleId member of UpsertUserBody, InviteUserBody and ReinviteUserBody (their spellings’ anyOf is two branches again — preset or capabilities); the roles member of OperationRecord.outcome.family; the PLATFORM member of the preset enum (a closed enum loses a member) and its entry in x-immix-preset-capabilities. The register schema the document derives from is 114.v13. Regenerate.

During the deploy window — there is none to straddle: this release does not roll onto a running platform. Removing the roles family takes a machine out of the register’s, this gateway’s and persistence’s state, and the platform cannot restore state saved before the release by a build that no longer carries it. So dev is rebuilt from an empty register when 0.40.0 deploys: the API is unavailable while that runs, and afterwards every member serves 0.40.0 from its first answer. The platform’s own organisation is bootstrapped again, and every other organisation, member, key, account, portfolio and policy is re-created by its owners, under new ids — an id a client held from before the release names nothing afterwards (404), so re-read what you need, and expect the operation records of earlier writes to be gone with them. Any other environment that ran 0.26.0 or later meets the same constraint, and its operator schedules its own move to this release. A client generated from 0.40.0 never sees /roles, roleId or PLATFORM; one generated from 0.39.0 keeps working against 0.40.0 as long as it sends neither — a stated roleId (alone or beside a spelling) or preset: "PLATFORM" is refused 400, loudly, never silently dropped.

0.39.0 — 2026-10-16 — Lists leave deleted rows out unless asked: include=deleted, or a status filter

Every register collection — GET /me/orgs, the switcher’s list, included — and GET /algos/instances now list the rows their terminal state has not reached: a DELETED organisation, user, role, credential, account, address, portfolio, policy or algo instance — on users, an invitation cancelled before 0.38.0 too — is left out of the list unless you ask. Two ways to ask, each the grammar you already use: status=DELETED is the filter — the deleted alone, or among the statuses you send it with (status=ACTIVE,DELETED); include=deleted is the toggle — one more member of include beside total — and serves the deleted rows among the live ones, composing with any filter sent. A by-id read serves a deleted row as it always did. A minor: an include value is added, and a default narrows.

What changed

  • The default. A list with no status filter and no include=deleted serves the non-DELETED rows — on users, a cancelled invitation written before 0.38.0 (DISABLED, an email, no idpUserRef) is left out too. Such a cancel comes back under include=deleted, or under status=DISABLED (its own status, which a status filter reads); status=DELETED lists the DELETED rows alone: an archive view of users is status=DELETED plus the unclaimed rows of status=DISABLED, and include=deleted is every row — the live ones beside those the default leaves out. include=total counts the set served. view=approved reads the approved image’s status, as every filter does.
  • GET /me/orgs is a register collection too: an organisation you hold a seat in but which was deleted is left out of the switcher’s list unless you ask (include=deleted, or status=DELETED) — the seat stands as history, and that organisation refuses its members ORG_NOT_ACTIVE in any case.
  • include=deleted changes the set served, so it binds into the cursor as a filter does (total never did: it changes only the envelope): a cursor minted with it is INVALID_CURSOR without it, and the other way round. A cursor minted before this release walks on from its anchor and meets no deleted row.
  • The feeds and readings — orders, executions, account-balances, approvals, an instance’s configs and orders, the catalogue — have no terminal state and take include=total alone (their parameter is IncludeTotal in the document); include=deleted on them is 400 MALFORMED_REQUEST, as any value off the grammar.
  • The WebSocket images are untouched: a deleted row stays in the image spelled DELETED — that contract’s rule is that a row never leaves the image and status is the signal.

Across the deploy window. A member below 0.39.0 lists deleted rows without a filter and refuses include=deleted 400 as a value off its enum; one at 0.39.0 lists them under status=DELETED or include=deleted only. A client that wants every row during the roll sends status= with every status it reads, which both sides serve alike; one that wants the live rows alone filters by the live statuses until every member is at 0.39.0 (on users, a cancel written before 0.38.0 rides DISABLED there, as it always did).

0.38.0 — 2026-10-16 — A user can be deleted: POST /users/{id}/delete, and the cancel of an invitation is a delete

A user now has the terminal state every other record gained in 0.37.0. POST /users/{id}/delete ends a user for good, at once (users:manage): the row answers DELETED, keeps its name, capabilities and subject as history, is still served by id and in lists (hiding deleted rows from default lists is a later minor), and is never re-enabled, restated or re-invited. Its name and address are free for a new row — and only an invitation cancelled before anyone signed in is sent again that way (a new POST /users/invitations, a new userId): a subject that signed in stays bound to the deleted row, so that identity cannot rejoin the organisation. Delete is the end of a membership, as the disable is its pause — disable, not delete, a member who may return. It is legal from every status but DELETED: on an ACTIVE member it needs no prior disable; on a DISABLED one it is the leaver’s end; on an INVITED row it is the cancel of the invitation (the platform withdraws the identity provider’s invitation while its deadline stands); on a DISCOVERED row it is the dismissal. The organisation’s last administrator refuses 409 LAST_ADMIN, as the disable does. A minor: a route is added, and a status member the contract already declared is now written.

What changed

  • POST /users/{id}/delete — body DeleteUserBody (nothing to state), If-Match as on every entity write (* accepted). 200 with the row at DELETED; 409 ILLEGAL_TRANSITION on a row already deleted; 409 LAST_ADMIN on the organisation’s last active users:manage holder; 404, 412 VERSION_CONFLICT, 422 ORG_MISMATCH and 403 CAPABILITY_DENIED as on every user write.
  • POST /users/{id}/disable narrows to ACTIVE → DISABLED. An INVITED or DISCOVERED row now refuses it 409 ILLEGAL_TRANSITION: cancel the invitation, or dismiss the discovery, with /delete. A disabled member comes back as before (/enable, or PUT /users/{id}).
  • UserStatus.DELETED is written. GET /users?status=DELETED lists the deleted rows; a client switching on the status meets the member 0.37.0 declared. An invitation cancelled before this release still reads DISABLED with an email and no idpUserRef — treat such a row as deleted, as the platform does: it is never re-enabled or re-invited either.
  • PUT /users/{id}, POST /users/{id}/enable and POST /users/{id}/invitation refuse a deleted row 409 ILLEGAL_TRANSITION.
  • A deleted member cannot return. The subject stays bound to the deleted row — the rule that keeps a disabled member from being re-discovered — so a new invitation at the address is accepted but can never be claimed by that subject (409 IDP_REF_TAKEN), and the subject’s own sign-in is refused 403. The same holds for a dismissed discovery. Disable the members who may return; delete the ones who will not.

Across the deploy window. A gateway below 0.38.0 answers /users/{id}/delete 404 and cancels an invitation with /disable; from 0.38.0 the cancel is /delete and /disable refuses it. The platform’s register moves first: in the minutes between its roll and the gateway’s, a cancel through the old route is refused ILLEGAL_TRANSITION while the new one is not yet served — retry once GET /openapi.json reports 0.38.0. A client that keyed “a cancelled invitation” on status == DISABLED && email && !idpUserRef keeps working for the rows written before this release and should add status == DELETED for the rows after it.

0.37.0 — 2026-10-16 — One lifecycle vocabulary: DISABLED, DELETED, and the verbs disable, enable, delete on every record

Every record on this API now spells its lifecycle in two words — DISABLED, the reversible stop, and DELETED, the end — and acts on it with three verbs, /disable, /enable and /delete. Where an organisation was suspended and retired, a credential suspended and revoked, an account frozen and retired, and an address, portfolio, role or policy retired, one vocabulary now says the same thing. The old routes stay as deprecated aliases for a window, so a client generated before this release keeps its routes. Its enums are another matter: a client with generated, closed enums parses one side of the window only — one generated before this release has no DISABLED or DELETED member, one regenerated from it has no old one — so regenerate once the fleet is level (a deployment rolls in minutes), and a client that must span the window reads the lifecycle members as text; the old spellings stay accepted as filter values throughout. A minor: routes and enum members are added, and the renamed members are at the positions the old ones held (1.0.0 is not yet pinned, so a renamed identifier takes a minor, as the API guide’s Versioning says).

What changed

  • Statuses. OrgStatus: SUSPENDED → DISABLED, RETIRED → DELETED. CredentialStatus: SUSPENDED → DISABLED, REVOKED → DELETED. AccountStatus: FROZEN → DISABLED, RETIRED → DELETED. AddressStatus, PolicyStatus, PortfolioStatus, RoleStatus: RETIRED → DELETED. UserStatus gains DELETED, which nothing writes yet (a later release adds the user’s delete; until then a cancelled invitation still reads DISABLED with an email and no idpUserRef). Every other value stands, at the position it held. The status filter of each collection lists the new spellings (GET /users?status= accepts DELETED and matches no row yet).

  • Routes. On every family that has the state, the new verbs and the old as aliases:

    FamilyNew routesDeprecated aliases (same action)
    /orgs/{id}/disable, /enable, /delete/suspend, /reactivate, /retire
    /credentials/{id}/disable, /enable, /delete/suspend, /reactivate, /revoke
    /accounts/{id}/disable, /enable, /delete/freeze, /unfreeze, /retire
    /users/{id}/enable (new; /disable already)—
    /account-addresses/{id}, /portfolios/{id}, /roles/{id}, /asset-policies/{id}, /chain-policies/{id}, /trading-policies/{id}/delete/retire

    An alias is published deprecated: true, keeps its operationId (suspendOrg, freezeAccount, …) so a generated client’s method names stand, and takes exactly the body, headers and answers of its successor. What each verb is has not changed: /disable concludes at once; /enable and /delete are proposals where the family is under maker-checker (the approver concludes with /approve) and conclude at once on users, portfolios, roles and addresses.

  • POST /users/{id}/enable re-enables a disabled user at once (users:manage): the gateway restates the row as it stands — name, kind, capabilities, subject — so the body states nothing ({} or empty; a field stated is 400). PUT /users/{id} still re-enables by restating the row in full — and is the way back for a dismissed discovery, which holds no name and no capabilities: its enable is refused 400 INVALID_FIELD (the restate carries the empty name), so state both on PUT. A member whose capabilities were emptied before the disable is re-enabled holding none. A cancelled invitation is never re-enabled (409 ILLEGAL_TRANSITION): invite the person again.

  • A write composed from the row is pinned to the version you read. On the three routes whose body the gateway completes from its own image of the row — POST /users/{id}/enable (the whole body), POST /users/{id}/invitation and PUT /credentials/{id} (the fields a body leaves unstated) — If-Match must name the version you read: * is refused 428 PRECONDITION_REQUIRED, and a member whose image is behind your read answers 412 VERSION_CONFLICT with its currentVersion and ETag — retry, as for any stale precondition; a retry under the same Idempotency-Key of a write that was accepted still replays its 200. Before this release the two existing routes took *; a client that sent it there reads the row’s ETag first now. Every other write takes * as before.

  • Filters take the old spellings too. Every enum filter — a collection’s status, a row’s pendingTransition, the inbox’s transition — reads a retired spelling as the name that replaced it: ?status=SUSPENDED or FROZEN narrows as DISABLED, RETIRED or REVOKED as DELETED, ?pendingTransition=REACTIVATE or RETIRE as ENABLE or DELETE, and on the inbox ?transition=REACTIVATE or UNFREEZE as ENABLE, RETIRE or REVOKE as DELETE (a row’s pendingTransition filter still publishes UNFREEZE and REVOKE and takes them as themselves: the rows a register wrote before its switch); the value is normalized before the match and before the cursor is minted, so the two spellings are one query and one cursor. The published enums list the new names alone (an enum member cannot be marked deprecated in the document), and the aliases leave with the routes’. A member below 0.37.0 refuses the new spellings 400 as values off its enum.

  • Request bodies and operation ids follow the verbs: DisableOrgBody, EnableOrgBody, DeleteOrgBody, DisableAccountBody, …, DeleteRoleBody replace SuspendOrgBody, ReactivateOrgBody, RetireOrgBody, FreezeAccountBody, …, RetireRoleBody (the shapes are unchanged); the new routes’ operation ids are disableOrg, enableOrg, deleteOrg, disableAccount, … and enableUser. The account’s disable body names its reason’s type DisableReason (was FreezeReason); the three values stand. The field is still reason.

  • Proposals read as one word per act. The approvals inbox’s transition — the item’s field and its filter — is ACTIVATE, AMEND, ENABLE, DELETE, ROTATE, RESUME_TRADING: an organisation’s, credential’s or account’s enable reads ENABLE, any family’s delete DELETE. A row’s own pendingTransition spells its proposal the same way for an organisation and every policy, and for an account’s enable and a credential’s delete it may still read UNFREEZE or REVOKE for a while: the register keeps writing those two numbers until every reader is on this release, then switches — read UNFREEZE as ENABLE and REVOKE as DELETE, which is what the inbox does for you. The row filters (?pendingTransition=) list both spellings.

  • Prose. Descriptions across the document say disable, enable and delete where they said suspend, freeze, reactivate, unfreeze, retire and revoke; the x-immix-register-schema stamp reads 114.v12.

During the deploy window a member below 0.37.0 serves the old words and refuses the new routes 404 — one row reads two ways until the fleet is level. Switch on both spellings (SUSPENDED and FROZEN as DISABLED; RETIRED and REVOKED as DELETED), send the old routes and the old filter spellings until every member answers the new ones (a 0.37.0 member takes both, a 0.36.x member the old alone); a client regenerated from 0.37.0 types the enums with the new members only and may call either route — and should wait for the fleet before it filters by the new words. The aliases are removed in a later minor, after every in-house consumer has regenerated, and that minor’s section names it.

0.36.1 — 2026-10-16 — The approval and trading-policy texts say what the platform enforces

Documentation only: nothing on the wire changes, and nothing is refused that was not refused before. Four texts in this document now say what the platform does:

  • accountAddressesApprovals is 0 or 1. Wherever the count appears (the organisation row, GET /me, the body of PUT /org/approval-policy and of POST /orgs/{id}/approve) it was described as “up to 4”. The platform has always refused a count of 2 to 4 for this family with 422 INVALID_FIELD, because one other user verifies an address: a verification never collects more approvals. The other five counts still run from 0 to 4.
  • The organisation-wide trading policy takes every field but the two caps. The description of POST /trading-policies said the organisation-wide row (instrumentId absent) takes count ceilings only. It also takes the price collar and the timing windows (priceCollarBps, refFreshnessNs, instructFreshnessNs, degradedGraceNs). Only maxOrderQty and maxOrderNotional refuse 400 there, as they always have.
  • The GET /trading-policies example shows a row the platform can hold. Its organisation-wide row carried maxOrderNotional: "250000.00", a cap that row refuses; it now reads null. Size and value caps live on per-instrument rows.
  • A trading policy’s instrumentId was described as “0 = the organisation-wide default row”. The API serves null on that row, as the API guide’s Ids, sentinels, enums and sets section says, and the description now says so.

During the deploy window a 0.36.0 member and a 0.36.1 member serve the same bytes; the document differs in its version and the texts above.

0.36.0 — 2026-10-16 — Every collection filters: “any of” parameters over its ids, enums and flags

Every collection takes filters over its rows’ ids and the references between rows, its statuses and other enums, and its flags — one query parameter per property, named as the property is and declared on the collection’s operation: GET /orders?instrumentId=5001&side=BUY, GET /accounts?credentialId=100&status=ACTIVE, GET /algos/instances?status=STARTED. The operation’s parameters are the whole list, each typed by the row’s schema — the enum less UNKNOWN, the positive 32-bit integer, the 64-bit integer’s decimal digits, the boolean — so a console or a generated client reads what filters structurally, with no extension to parse. Any of: repeat the parameter, comma-separate its values, or both — a row is served when its value is one of them — and separate parameters narrow together; each value is stripped, the set de-duplicated and sorted, so two spellings of one filter are one query. At most 100 values a parameter, a repeat counted. A value the row cannot carry — an empty value, an enum name off the list, an id that is not a positive integer in decimal digits, a flag other than true or false, more than 100 values — is 400 MALFORMED_REQUEST, the message naming the parameter and what it takes; a well-formed value naming no row yields an empty collection, and a row that states no value (null) is matched by no value. What filters: ids and references, statuses and the other enums, flags. What does not, in this version: clocks and counts, names and free text, money, opaque references and sets, and on /orgs the members a platform reader meets masked. The API guide’s Reads has the rule in full.

The four filters this edge already served keep their names and widen to “any of”: GET /users?status=, GET /executions?orderId=, GET /account-balances?accountId= and GET /approvals?family= are served as before at one value — one spelling loosens: a value padded with spaces, which status and family refused, is stripped as every filter value now is — and each now also takes several (status=ACTIVE,INVITED). In the document each is now an array whose items is the schema it had; a TypeScript client regenerated from this document types the four as arrays where they were one value — pass [value]. The inbox’s status, mine and proposedBy keep their own grammar. One degenerate spelling moves: a blank accountId= or orderId=, which the code read as “every account” or “every order” though the document promised 400 for a non-integer, now refuses 400 as the document says — as do 050 and +50, which an older member read as 50.

A cursor is bound to the filters as it is to the sort: one minted under a set of values is 400 INVALID_CURSOR under another set or without the filter — drop it and fetch the first page, as before — and two spellings of one filter (the values reordered, repeated or spaced) are the same query. A filter this version adds joins the binding only when sent, so every cursor minted before this version still pages: a walk in flight across the roll goes on.

Both sides of the deploy window. Without a filter nothing changes: the same rows in the same order, and every cursor minted before this version still pages. A member below 0.36.0 refuses a filter it does not declare as a parameter the read does not take (400 MALFORMED_REQUEST). On the four filters it has, a comma-separated second value (status=ACTIVE,INVITED) is a value off its grammar (400), but the parameter repeated (status=ACTIVE&status=INVITED) is read as its first value alone and served 200 — the ACTIVE rows, with nothing to say INVITED was asked for. So during the roll, comma-separate several values and take that 400 as “unfiltered here” (narrow the page you hold), or hold several values and every new filter until every member declares them. A client generated from this document repeats the parameter unless the document says otherwise (explode), which it does not: hold its lists until the roll completes. Behind one load balancer during a roll, any page of a filtered walk — its first included — can land on either side. A client regenerated from this document gains optional parameters on every list method, and nothing else moves.

0.35.1 — 2026-10-16 — A credential’s diagnostic text spells its symbols in ASCII

Behaviour only: no field, schema or code changes. A credential’s diagnostic text — health.account.detail (the account connector’s reading), and the probe’s probeDetail, permissionDetail and allowlistDetail — is ASCII, and until now every character outside ASCII that the connector or the venue wrote arrived as ?: §4.3 — denied read ?4.3 ? denied. The connector serving the credential now spells those characters in ASCII before the text is recorded, so the same text reads section 4.3 - denied:

  • a dash or a minus sign as -, § as section, an ellipsis as ..., curly quotes as straight ones, no-break and thin spaces as a space, × as x and → as ->;
  • any other character outside ASCII still reads ?, one per character.

The fields remain text for people: display them, do not parse them.

During the deploy window a 0.35.0 member and a 0.35.1 member serve the same bytes: a row carries what its connector last reported. A health.account.detail reported before that connector was upgraded keeps its ? until the connector reports again — at the next change of status or reason, or at its restatement, at least every 30 seconds. probeDetail, permissionDetail and allowlistDetail change only when the credential is probed again — when a key is staged, and every five minutes while it is PENDING_APPROVAL — so a row probed before the upgrade keeps its text.

0.35.0 — 2026-10-16 — The organisation’s row names its first administrator; the activation creates their user

The first administrator of a proposed organisation now lives on the organisation’s row, and their user is created by the activation, not by the proposal.

Two fields on every organisation row. firstAdminName and firstAdminEmail name the first administrator the organisation’s activation proposal names, and the activated row keeps them as its record. They appear wherever an organisation row is served: GET /orgs, GET /orgs/{id}, GET /org, the answers of POST /orgs and the five /orgs/{id} arms, and the approvals inbox. Both sides read them unmasked: a platform administrator, and the organisation’s own members (it is their administrator’s own address, which the user row serves after the claim). Both are empty on the platform’s own organisation and on an organisation proposed before this version (see the deploy window below). firstAdminEmail is empty where no identity provider fronts the platform.

POST /orgs creates no user. The answer is the organisation’s row alone, naming the administrator, and nothing exists inside the organisation until it is activated: GET /users?status=INVITED no longer lists a pending organisation’s first administrator, and a platform administrator reads no member of a PENDING_APPROVAL or DRAFT organisation any more (404 on GET /users/{id}, absent from the lists). Read the administrator off the organisation’s row instead. A withdrawn proposal leaves nothing behind. A re-submit (a POST /orgs with the name of an organisation awaiting activation, or parked DRAFT) replaces the row’s administrator with the body’s name and address. It no longer adds a second invited user beside the first, and no longer answers EMAIL_TAKEN.

firstAdminName is optional. Absent, null or empty, it is taken from the address’s local part (ann.lee@customer.example names ann.lee), held to the same 128-byte bound. A proposal with neither a name nor an address is refused 422 INVALID_FIELD.

The activation creates the first administrator. POST /orgs/{id}/approve on a pending activation creates the administrator the organisation’s row names, holding the ADMIN preset’s capabilities. With an address they are INVITED with a seven-day claim deadline, and the invitation is emailed as before. Without one they are ACTIVE at once. Their userId is new at the activation, their row starts at version 1, and the proposal’s maker is invitedByUserId. The keys are judged at that moment: another member of the organisation holding the address is refused 409 EMAIL_TAKEN, and one holding the name 409 NAME_TAKEN. Only an organisation proposed before this version can hold such a member, as the next paragraph explains. The answer is still the organisation’s row.

firstAdminUserId is retired. The activation reads it no more. ApproveOrgBody keeps the property, marked deprecated and described as ignored, so a client generated from an earlier version stays valid. Any value sent, a valid one included, is ignored, never refused. The wire message keeps the field and the gateway sends it as 0.

Both sides of the deploy window. Two parts of the platform move in one deploy: the register behind the gateway, then the gateway. Roll the register first.

  • Proposals made before this version keep their old shape. Their row names nobody (both fields empty), and their proposal already created the first administrator as an INVITED user with nothing sent. Their activation, after the register’s upgrade, takes that user as before. An organisation holding two such users, which happens when a re-submit renamed the administrator before this version, is refused 422 UNKNOWN_ENTITY: the activation cannot tell which one is the administrator. Re-submit it naming the administrator; no withdrawal is needed. The re-submit names them on the row, and the activation then takes the earlier user holding that address (or, failing that, that name) rather than creating a second. An organisation the platform registered from a sign-in before 0.18.0 is activated the same way, through its one DISCOVERED member. With several, re-submit it naming the member by the name their identity provider gave, or by their subject. Use the subject when two members share a name, since a name several members answer to is refused 422 UNKNOWN_ENTITY too. Since 0.35.0 the API serves no pending organisation’s members, so a platform operator reads that name from the platform’s records.
  • Proposals during the roll. Every gateway member matches the register’s answers to every client’s register writes in the order the writes were made. A member below 0.35.0 expects two answers to a proposal (the organisation, then its first administrator’s user), and an upgraded register sends one. So a POST /orgs made between the register’s upgrade and the last gateway member’s, through any member, puts each member still below 0.35.0 out of step. Until it notices, such a member can answer that proposal, or any register write after it, with 202, or with another write’s answer: a 201 naming a user someone else invited, for instance. The writes themselves are made as sent and the records stay right. Only those members’ answers mislead. The platform makes no proposal in that window. If you were answered by a member below 0.35.0 while one was made, read the record you wrote (its row, or the collection you wrote to) before acting on the id an answer names. GET /operations/{key} is no check: it replays the answer that member recorded. An upgraded member answers exactly. The reverse order, an upgraded gateway against an older register, would misalign the upgraded members the same way, and their activations would fail: the older register still requires firstAdminUserId. Rolling the register first avoids both.
  • Activations during the roll. A client of an earlier version that picks the first administrator from a pending organisation’s members finds none for a proposal made after the register’s upgrade. Send the activation without firstAdminUserId. If you send it, it is ignored either way.
  • Reading a pending organisation’s members. A member below 0.35.0 still serves a pending or parked organisation’s members to a platform administrator; an upgraded one answers 404.
  • Generated clients. A client generated from 0.34.x parses every response unchanged: the row’s two fields are additions.

0.34.0 — 2026-10-15 — The platform reads an activated organisation’s first administrator until they claim the seat

A platform administrator — a member of the platform’s own organisation holding orgs:propose or orgs:approve, with users:read as the PLATFORM preset carries it — now reads an activated organisation’s first administrator until they claim the seat: the row the activation left INVITED, holding users:manage, in an ACTIVE organisation where no ACTIVE member holds users:manage yet. GET /users/{id} serves it with its ETag, and GET /users and GET /users?status=INVITED list it, beside the members of a PENDING_APPROVAL or DRAFT organisation the platform already read. Its invitationState and inviteExpiresAtNs say whether the invitation was sent, failed or found the address already a member, and until when it can be claimed.

With that ETag an orgs:propose holder re-sends the invitation: POST /users/{id}/invitation under If-Match, with {} — a fresh deadline (72 hours, or the body’s expiresInHours) and a fresh email, the row otherwise restated as the activation seated it. A body that changes its capabilities, name or address is refused 422 INVALID_FIELD. The platform held this right before this version, but the row answered 404, so no client could name its version. Every other write on the row — a cancel, a restatement — now reaches the platform and is refused where it answered 404: 422 ORG_MISMATCH (403 CAPABILITY_DENIED for a caller without users:manage), since the row is the organisation’s, exactly as a pending organisation’s members are. At the claim the organisation governs itself and the row reads 404 to the platform again, its re-invite too.

Nothing else moves: no schema, no field, no code. The descriptions of GET /users, GET /users/{id} and POST /users/{id}/invitation say who reads and re-sends the row. A customer’s own members see no change.

Both sides of the deploy window. The read is the gateway’s alone — the platform’s register does not change. A member below 0.34.0 serves the row 404, leaves it out of the lists and answers its re-invite 404; an upgraded member serves all three. During the roll a console that read the row through an upgraded member may meet that 404 from one not yet upgraded: the request succeeds once every member runs 0.34.0. A client generated from 0.33.x parses every response unchanged. On a deployment that serves no invitations (the roster lane), the read widens the same way and the re-invite still answers 503 INVITATIONS_UNAVAILABLE.

0.33.0 — 2026-10-15 — A pending organisation re-submits in place; firstAdminEmail is required behind an identity provider

Five changes to POST /orgs, the platform’s proposal of a new organisation.

A re-submit replaces a pending proposal in place. POST /orgs with the name of an organisation whose activation is still pending (status PENDING_APPROVAL, pendingTransition ACTIVATE) now re-proposes that organisation on its row, as it already did for one whose activation was withdrawn (DRAFT); until now it was refused 409 NAME_TAKEN. The answer is the organisation’s row at its next version, carrying this body’s productProfile and — when the organisation binds no identity-provider organization yet — a stated idpOrgRef, under a fresh proposal: you are its proposer (pendingByUserId), any approval collected on it is cleared, and its remark is this body’s. A binding the organisation holds stands: absent or restated it is kept, and another idpOrgRef is refused 409 NAME_TAKEN, because members may sign in through that organization; to rebind, withdraw the proposal first, which parks it (DRAFT), and re-submit. Since you are now the proposer, a different orgs:approve holder activates it, which may be the person who proposed it first. The first administrator is the organisation’s row under the body’s firstAdminName, restated, its address replaced when the body states one. A new name adds another invited row beside the first, which POST /orgs/{id}/approve can name instead, and is refused 409 EMAIL_TAKEN if it reuses the first row’s address. A name that an active, suspended or retiring organisation holds is still refused 409 NAME_TAKEN. Fixing a typo in a proposal’s profile or address, or adding the binding it lacks, no longer takes a withdrawal. A re-submit replaces whatever the row holds, a colleague’s re-submit included, so read the organisation (GET /orgs/{id}) before you re-post it. The approver’s If-Match still pins the version they approve: an approval of a version a re-submit has replaced is refused 412 VERSION_CONFLICT.

Where an identity provider fronts the platform, firstAdminEmail is required. The invitation is how the first administrator registers, so a proposal without an address would be activated with an administrator nobody can sign in as. Such a gateway now refuses a body whose firstAdminEmail is absent, null or empty with 422 INVALID_FIELD, before anything reaches the platform: the Idempotency-Key is not used up, and the same key with the address goes through. The platform’s own INVALID_FIELD on the same route (a reserved profile, a malformed address) is still a recorded answer: it carries the position header and its key replays it, so correct such a body under a fresh key. A gateway that runs without an identity provider (the one that answers the invitation routes 503 INVITATIONS_UNAVAILABLE) takes the body without an address as before, and the administrator is ACTIVE from activation. INVALID_FIELD is the platform’s own code for a field it will not take (a malformed address was already refused with it), so it joins the gateway’s own codes at the same status, 422.

productProfile takes PRINCIPAL_DESK alone. AGENCY_OEMS and DESK_CLIENT stay in the enum, since its values are append-only, but no product surface serves them, so a proposal naming one is refused 422 INVALID_FIELD.

A taken identity-provider binding answers IDP_REF_TAKEN. An idpOrgRef that another organisation binds, retired ones included, is refused 409 IDP_REF_TAKEN instead of 409 ALREADY_DISCOVERED. It is the code the platform already answers for the same collision when it binds an organization it created itself. A binding held by an organisation whose activation was withdrawn (DRAFT, nothing pending) re-proposes that organisation under the body’s name, as before. POST /orgs no longer answers ALREADY_DISCOVERED.

firstAdminIdpUserRef leaves SubmitOrgBody. The property has taken only the empty string since 0.17.0, and it is no longer published. A body that states it, even empty or null, is refused 400 MALFORMED_REQUEST, as a body userId is. The wire message (SubmitOrg) keeps the field and the gateway sends it empty.

The descriptions of POST /orgs and of SubmitOrgBody’s productProfile, idpOrgRef and firstAdminEmail say all of this, and ErrorBody.code lists INVALID_FIELD under the gateway’s 422s.

Both sides of the deploy window. Two parts of the platform move in one deploy: the register behind the gateway (the re-submit, the profiles, IDP_REF_TAKEN) and the gateway itself (the address rule, firstAdminIdpUserRef). Until the register is upgraded, re-submitting a pending organisation’s name is refused 409 NAME_TAKEN, a reserved profile is accepted and a taken binding answers 409 ALREADY_DISCOVERED, through any gateway member; from its upgrade on, all three behave as described above. A gateway member below 0.33.0 accepts a proposal without an address where an identity provider fronts it, and takes firstAdminIdpUserRef empty or absent; a 0.33.0 member refuses both. A client that states the address and leaves firstAdminIdpUserRef out sees the same on both. The new door judges a body before its key is looked up, so a proposal a member below 0.33.0 took, retried under the same key through a 0.33.0 member without the address or with firstAdminIdpUserRef, is refused there although the first attempt went through: read a write’s outcome with GET /operations/{key} rather than re-posting it.

What to do. Regenerate: SubmitOrgBody no longer has firstAdminIdpUserRef, so stop sending it, even empty. Send firstAdminEmail on every proposal to a gateway an identity provider fronts. A client that branches on ALREADY_DISCOVERED from POST /orgs branches on IDP_REF_TAKEN, and one that withdrew a pending proposal to correct it can re-submit it instead.

0.32.0 — 2026-10-15 — Every collection sorts: sort=

Every collection takes sort: comma-separated properties from the list its own sort parameter names, a leading - for descending — GET /users?sort=orgId, GET /orders?sort=status,-acceptedAtNs. The parameter may be repeated; the values join. The order is always complete: the collection’s key breaks every tie in the collection’s own direction (a set’s id ascending, a feed’s newest first); a value a row does not state (null) sorts last whichever way the column goes, an id or clock served as a decimal string compares by value, text by code point. A property the collection does not sort by, an empty term or a property named twice is 400 MALFORMED_REQUEST, the message naming what the collection sorts by. What sorts: a row’s ids and the references between rows, its statuses and other enums, flags, counts, clocks and the names people read; money, free text, opaque references (a venue’s account id among them), every set or object, and a column that can reorder nothing — orgId on a list only ever served for one organisation — do not, in this version. Each collection’s sort parameter carries the list as x-immix-sortable and the collection’s own order as its default, so a generated console offers exactly the columns the gateway sorts by. The API guide’s Reads has the rule in full.

A cursor is bound to the sort as it is to the filters: one minted under a sort is 400 INVALID_CURSOR under another, or without it — drop it and fetch the first page, as before. A sort that spells the collection’s own order, or writes its key out (sort=orgId,userId for sort=orgId), is the same query. One thing a sorted walk does not promise: under a sort by a column whose value can change, a row whose sorted value moves across the walker between two pages is served twice or not at all, since the cursor holds the values the row had — walk the collection’s own order for a complete set, as the guide’s Reads says.

Both sides of the deploy window. Without sort nothing changes: the same rows in the same order, and every cursor minted before this version still pages — a walk in flight across the roll goes on. A member below 0.32.0 takes no sort and refuses it as a parameter the read does not take (400 MALFORMED_REQUEST, as it refuses any undeclared parameter), so send it only to a member whose document declares it, or take that 400 as “unsorted here” and order the page you hold. Behind one load balancer during a roll, any page of a sorted walk — its first included — can land on a member below 0.32.0 and meet that 400: restart the walk without sort, or retry it after the roll. A client regenerated from this document gains one optional sort parameter per list method; nothing else moves.

0.31.0 — 2026-10-15 — A withdrawn organisation reads DRAFT

OrgRow.status gains DRAFT: an organisation whose activation was withdrawn now reads status DRAFT with pendingTransition NONE, where until now it read PENDING_APPROVAL with pendingTransition NONE. DRAFT is the parked state every other record family already has (a credential’s or a policy’s withdrawn activation reads DRAFT, an account’s DISCOVERED): the organisation holds its name and identity-provider binding, the next POST /orgs with that name re-proposes it on the same row (back to PENDING_APPROVAL with pendingTransition ACTIVATE), and POST /orgs/{id}/retire ends it when it binds no identity-provider organization — the row then reads DRAFT with pendingTransition RETIRE until /approve concludes it RETIRED. Its members are refused 403 ORG_NOT_ACTIVE, as before. A platform reader (orgs:propose or orgs:approve) still sees a DRAFT organisation in GET /orgs and its first administrator’s INVITED row in GET /users, as it saw them while the organisation read PENDING_APPROVAL. The descriptions of GET /orgs, POST /orgs/{id}/retire and POST /orgs/{id}/withdraw say DRAFT where they said “pending approval”.

The value set is append-only, as the field’s description says: a client generated from 0.30.x does not know DRAFT and reads it as UNKNOWN, never as an error.

Both sides of the deploy window. The platform’s register writes DRAFT from its upgrade on, and the gateway serves what the register wrote. An organisation withdrawn before the upgrade keeps reading PENDING_APPROVAL with pendingTransition NONE until its row is next written — re-proposed, retired or approved — because rows are never rewritten in place; one withdrawn after it reads DRAFT. A gateway member not yet upgraded does not list DRAFT in its document and serves a DRAFT row’s status as UNKNOWN; the deploy upgrades every member together, so that window is the roll itself. Nothing else moves: no route, field or code is added, renamed or removed.

What to do. Regenerate (a closed enum type gains a member). A client that shows where an organisation stands reads status: DRAFT is a withdrawn activation, parked; a PENDING_APPROVAL row with pendingTransition NONE is the same thing written before this release, and PENDING_APPROVAL with ACTIVATE awaits activation. Treat the two parked spellings alike until every organisation your client knows has been written since this release, after which the second no longer occurs.

0.30.2 — 2026-10-14 — A withdrawn onboarding can be retired

POST /orgs/{id}/retire now accepts an organisation whose activation was withdrawn (status PENDING_APPROVAL with pendingTransition NONE) when it binds no identity-provider organization (idpOrgRef empty), which is the case for every organisation proposed without an idpOrgRef. Until now it answered 409 ILLEGAL_TRANSITION, so such an organisation stayed pending approval for good, and its first administrator stayed among the invitations. The retirement is a proposal like any other. The row stays PENDING_APPROVAL with pendingTransition RETIRE until a different orgs:approve holder concludes it with POST /orgs/{id}/approve, which answers the row RETIRED. The organisation was never active and binds no identity-provider organization, so nothing was ever sent to its first administrator, and nothing will be. As with every retirement, its name is free for a new organisation.

While the retirement is pending, the row holds its name: POST /orgs with that name is refused 409 NAME_TAKEN instead of re-proposing the row. POST /orgs/{id}/withdraw withdraws the retirement and leaves the organisation as it was (pending approval, nothing pending). Two cases are unchanged. A withdrawn organisation that binds an identity-provider organization (one proposed with an idpOrgRef to adopt) is still refused 409 ILLEGAL_TRANSITION: it stays pending approval, and the next POST /orgs with its name re-proposes it. An organisation whose activation is still pending is refused 409 PROPOSAL_PENDING, so withdraw the activation first.

Both sides of the deploy window. No request or response shape changes, and there is no new status or code: a PENDING_APPROVAL row with pendingTransition RETIRE is a new combination of existing values. Until the platform’s register is upgraded, /retire on a withdrawn organisation still answers 409 ILLEGAL_TRANSITION; after it, the retirement of one that binds no identity-provider organization is proposed. The description of /retire says so.

What to do. A client that shows every PENDING_APPROVAL organisation as awaiting activation should read pendingTransition: ACTIVATE awaits activation, RETIRE awaits retirement, and NONE is a withdrawn activation. Nothing else is required.

0.30.1 — 2026-10-14 — A Bybit key’s expiry is watched, not only logged

BybitCredentialMaterial’s description now states what the platform does about a Bybit key’s 90-day expiry: the connector reads the key’s expiry date at each session’s readiness probe, publishes it per credential and raises an operator ticket 14 days before it. It also states that a key bound to an IP allowlist naming the platform’s egress IP escapes that expiry (an account password change at Bybit can still set one). 0.30.0 said the gauge and the alert would follow; this is the release they follow in.

Both sides of the deploy window. Nothing a client sends or reads changes: the schema, its fields and every status are as in 0.30.0. Only the description text differs, so regenerating changes doc comments and nothing else.

What to do. Nothing is required. Rotate a Bybit key through POST /credentials/{id}/rotate before its 90-day expiry (the operator raises it with you 14 days ahead), or bind the key at Bybit to the platform’s egress IP — ask the operator for it — so it escapes the 90-day expiry. A key bound to any other address, such as your own office or VPN, is refused on every call the platform makes (10010), so the binding must name the egress.

0.30.0 — 2026-10-14 — Bybit credentials

POST /credentials and POST /credentials/{id}/rotate accept a Bybit API key (exchangeId 166) beside OKX and Binance spot. CredentialMaterial’s oneOf gains a third branch, BybitCredentialMaterial (key, secret — an HMAC key, the system-generated type; RSA keys are not accepted), and x-immix-intake-venues gains the venue’s row: legs ["key", "secret"], key-id leg key, tradingGroup: "bybit-oe", accountGroup: "bybit-account". Both are rendered from the venue spec, as every venue’s are since 0.22.0. Bybit is one unified venue here — a Unified Trading Account’s key serves spot and USDT linear through the one connector — so there is one exchangeId, not a spot and a derivatives pair as Binance has.

Both sides of the deploy window. OKX and Binance bodies are unaffected: their branches are unchanged. A Bybit body sent to a member below 0.30.0 is refused 422 VENUE_UNSUPPORTED, because that member serves no Bybit connector. Roll the fleet before onboarding Bybit keys.

What to do.

  • Regenerate, and expect generated source to change the way 0.8.0 described: structural generators widen the CredentialMaterial union by one member; nominal generators add the class BybitCredentialMaterial. Code that narrows the union by its legs now has a third shape to narrow to.
  • For Bybit, send the HMAC key: the API key id as key and its secret as secret. A key created without an IP allowlist expires at Bybit 90 days after creation; the connector logs the remaining days at each session’s readiness probe (a gauge and an alert follow in a later release), and a rotation (POST /credentials/{id}/rotate) is the remedy.
  • Every Bybit key reads; a trading key trades too — the 0.27.0 model. The account connector (bybit-account) serves every Bybit key and the order-entry connector (bybit-oe) a canTrade one as well. bybit-account is named ahead of its connector, so until a deployment runs it a Bybit key stages and waits rather than being refused, and its balances do not move.
  • GET /venues lists Bybit with its two legs’ form hints and its guidance, and enabled: false until a deployment runs both Bybit connectors: a client that offers only enabled venues does not offer it yet.

0.29.0 — 2026-10-13 — Your organisation’s own surface: orgs:manage governs its approval policy, and /org serves its row and the policy’s routes without an id

Your organisation’s own settings now have their own capability and their own routes. Changing the approval policy — how many approvals each family’s proposals need — is governed by orgs:manage, one value added to the capabilities enum, where it was users:manage; and everything about your own organisation lives under /org, which names no id: its row, the policy’s restatement, and the approval and the withdrawal of a policy change. PUT /me/approval-policy is removed — its operation (updateApprovalPolicy) moves to PUT /org/approval-policy, under the Organisations tag. This is a minor before 1.0.0 (regenerate: a typed client’s capability enum gains a member, the operation moves path and tag, three operations are added); the break is the one removal above.

What changed

  • capabilities may carry orgs:manage, served in declared order after algos:read — on the user and role rows, GET /me, and the user, invitation and role bodies. Every organisation grants it to its own members, and it acts on the holder’s own organisation only.
  • GET /org, new (getOwnOrg): your organisation’s row — GET /orgs/{id} for the organisation you are signed in to, the same row, view, ETag and position headers, without its id. No capability gates it: membership reads it, as GET /orgs/{id} on your own.
  • PUT /org/approval-policy (updateApprovalPolicy, moved from PUT /me/approval-policy and from the Users tag to Organisations) restates the policy under GET /org’s ETag and needs orgs:manage: a caller without it is refused 403 CAPABILITY_DENIED. The rules are otherwise unchanged: raising counts concludes at once; lowering any lands on your organisation’s row as a proposal for a second orgs:manage holder, unless you are its only active member.
  • POST /org/approval-policy/approve (approveApprovalPolicyChange) and POST /org/approval-policy/withdraw (withdrawApprovalPolicyChange), new: the second orgs:manage holder concludes the pending change (never its proposer: 403 SELF_APPROVAL), and its proposer or any orgs:manage holder withdraws it with an optional reason — each under GET /org’s ETag, answering the organisation row. Their bodies are optional and carry no org and none of an activation’s fields (ApprovePolicyChangeBody: expectedVersion alone; WithdrawPolicyChangeBody: and reason); a body stating targetOrgId, firstAdminUserId or a family’s count is refused 400. With nothing pending either answers 409 NOTHING_PENDING; a proposal of the platform’s on your organisation’s row is not yours to decide (403 CAPABILITY_DENIED). POST /orgs/{id}/approve and /withdraw still conclude and return your own change for a client that names the org by id — and, on your own organisation’s row with nothing pending, now answer 409 NOTHING_PENDING too, where they answered 403 CAPABILITY_DENIED.
  • GET /approvals names orgs:manage holders as the approvers of your organisation’s own policy change, and mine=true brings it to them.
  • The ADMIN preset carries orgs:manage (twenty-five scopes), and so does the Admin role template of every organisation activated from this release, whose first administrator holds it from the activation.
  • An organisation already active holds no orgs:manage until a users:manage holder grants it — to themselves or to whoever owns the policy — by restating the user with PUT /users/{id}: the whole set plus orgs:manage, or preset: ADMIN. Until then nobody in it can change its approval policy, and a lowering pending from before is concluded or returned by an orgs:manage holder only. A seeded Admin template gains the scope the same way, by PUT /roles/{id}.
  • orgs:propose and orgs:approve are unchanged: the platform organisation’s alone — refused 422 INVALID_FIELD in any other organisation — and they alone make a platform member a reader of every organisation; orgs:manage does not.
  • Descriptions that now state the rule. POST /orgs/{id}/approve and POST /orgs/{id}/withdraw named only orgs:approve; they now state your own policy change’s holders too. GET /orgs, GET /orgs/{id} and POST /orgs/{id}/suspend name the two lifecycle scopes where they said “an orgs capability”; POST /roles names orgs:propose and orgs:approve where it said orgs:*; the preset description lists orgs:manage under ADMIN. And POST /orgs/{id}/suspend said a pending proposal survives the suspension: a pending lifecycle proposal does, but the organisation’s own policy change is withdrawn by it, the policy in force standing — the platform’s behaviour since 0.23.0, now stated.
  • info.version moves from 0.28.0 to 0.29.0; info.x-immix-register-schema stays 114.v10 — a set choice is a bit in a field that already exists, and the /org routes carry the commands they always did.

Each side of the deploy window

The bit is the platform’s rule, not the gateway member’s: from the moment the platform runs this release, a policy change — and the second approval or the return of a lowering — by a caller holding users:manage and not orgs:manage is refused 403 CAPABILITY_DENIED, whichever member answers; before it, users:manage decides as it did, and a grant naming orgs:manage is refused 422 INVALID_FIELD. The routes are the gateway member’s: a 0.28.0 member answers GET /org and every /org/approval-policy route 404 ROUTE_NOT_FOUND and still serves PUT /me/approval-policy; a 0.29.0 member serves the /org routes and answers PUT /me/approval-policy 404 ROUTE_NOT_FOUND — retry a 404 on either spelling against the other, or wait for the roll. A 0.28.0 member never serves orgs:manage — a scope its build cannot name is dropped from the array — and refuses a body naming it (400, an unknown scope); a 0.29.0 member serves and accepts it. Deploy order is platform → gateway → grant: grant orgs:manage only once every gateway member serves 0.29.0. A user read through a 0.28.0 member and restated through any member loses the scope — PUT replaces the whole set, and the array the old member served never carried it — so hold restatements of administrators until the roll completes, and restate a grant made mid-roll after it. A client generated from 0.28.0 whose capability enum is closed regenerates before it reads a user holding the new scope; a client that does not validate the enum keeps working against either.

0.28.0 — 2026-10-13 — Venues as data: GET /venues describes every venue’s key with form hints, says which venues this deployment serves, and lists the addresses to allowlist

A new read describes the venues before a key is pasted — which venues this deployment takes keys for, what each key looks like, and the addresses to allowlist — so a client renders its “connect a venue” flow from the API and nothing hard-coded; and every refusal about a key’s leg names the leg, as a rule.

  • GET /venues, a new route under a new Venues tag, for every admitted member. No capability gates it: the venue table is the platform’s and the addresses are the deployment’s, nobody’s row. It answers one document (VenueDescriptor), never a page — it describes the deployment, not the platform’s state; the two position headers ride it as on every read, though nothing in the document moves with the position. Its venues lists every venue the platform describes, in the platform’s order; its egressAddresses the addresses this deployment’s connectors reach venues from.
  • Each venue (Venue). exchangeId (the id a credential body names — the data gateway’s venue id too, one id space across the two APIs), exchangeName, brand (the slug the venue’s markets share, for icons and colours — nothing to parse out of the name any more), displayName; enabled — whether this deployment serves the venue, its connectors running beside the gateway (a venue not enabled is described, so a client can name it, and never offered: a key for it would idle); roles (VenueRoles: balances and trading, the roles the venue’s connectors fill — canReadBalances needs the first, canTrade the second); probes (whether a pasted key is checked at the venue before approval); materialSchema, the name of the venue’s CredentialMaterial variant in this document; keyIdLeg, the leg served back as venueKeyId; material, the key’s legs as a JSON Schema; and guidance (VenueGuidance: the permissions to grant for each role, in the venue’s own words, and the venue’s key documentation).
  • material is the published schema with form hints. The same closed object schema materialSchema names, with, under x-immix-ui, on each leg a label, secret (mask the input), multiline (a PEM block) and the patternMessage to show when its pattern fails, and on the object the order to ask the legs in (a JSON object’s member order is no contract; the array is). Render the key form from it and validate by it alone: the schema is the whole validation contract. A standard validator allows the x-immix-ui annotations (ajv: strict: false) and registers pkcs8-ed25519 or leaves it to the intake’s refusal. The edit path is a rotation, rendered from the same schema; what a credential shows of its key stays venueKeyId and keyFingerprint, never a leg.
  • The published CredentialMaterial variants now carry every check the intake applies. Each leg gains a pattern requiring one non-space character somewhere beside its minLength (non-blank — the intake always refused a blank leg; now the schema says so; anchored, so a generator’s whole-string validator and a search-semantics validator agree), and a leg the intake checks beyond that carries its JSON Schema format (pkcs8-ed25519 on Binance Spot’s privateKey, which the intake reads as an Ed25519 PKCS 8 key). Additions: a generated client’s types do not move (a string stays a string); a validating client now refuses before the intake would.
  • A trailing line break on a leg is dropped, never refused. A PEM copied from a file ends with one; the intake used to refuse it with a message that named no leg. It drops the break — one or several, CRLF too — before the format check and the staging, so the stored material and its fingerprint never carry it, and nothing the schema accepts is refused.
  • egressAddresses is the list the account connectors judge a pasted key’s IP allowlist against — one value, two readers, so the key check’s verdict and the list on a screen cannot disagree. Empty while the deployment has no fixed egress address (every environment today): nothing to allowlist yet, and the check reads UNKNOWN.
  • A refusal about a leg names it — the rule, for every venue and every leg. POST /credentials and POST /credentials/{id}/rotate refuse a leg that is missing or blank, a leg the venue has not, or a leg off its published format with 400 MALFORMED_REQUEST and a message that starts with the leg — material.privateKey is required …, material.pin is not a leg of okx … — so a form attaches the message to the input. Stated until now for Binance spot’s key type alone; the CredentialMaterial prose and the guide state it for every leg, and nothing about the refusals themselves moved.
  • Across the deploy window. A member below 0.28.0 answers GET /venues 404 ROUTE_NOT_FOUND; at or above it, the document. Nothing a client already reads or sends changed: a client generated from 0.27.0 keeps working, and one regenerated from 0.28.0 gains the listVenues operation and four schemas (VenueDescriptor, Venue, VenueRoles, VenueGuidance); the Venues tag precedes Credentials, so a generated client’s resource classes gain one. One title moved: BinanceSpotCredentialMaterial is titled Binance Spot (exchangeId 100), the venue’s displayName as reference data spells it (it read Binance spot), so the two gateways show one name. The material variants’ pattern and format are additions a 0.27.x client never sent anything against.

0.27.2 — 2026-10-13 — A scope beyond what a credential declares no longer refuses its approval, unless it is withdraw

An approval judges the key’s probed scopes — observedPermissions, read from the venue before anyone approves — against what the credential declares. It used to refuse any scope beyond the declared ones; now the only extra scope it refuses is the one that moves money.

  • What still refuses. POST /credentials/{id}/approve on an activation, a reactivation or a rotation — and POST /credentials/{id}/reactivate in an organisation whose credentials approval count is 0, where the reactivation concludes at once — answers 409 SCOPE_INSUFFICIENT when the key lacks a scope the credential declares (read for canReadBalances, trade for canTrade, withdraw for canExecuteTransfers), exactly as before, and 409 SCOPE_MISMATCH when the key can withdraw and the credential is not declared canExecuteTransfers. When both apply, the answer is SCOPE_INSUFFICIENT.
  • What no longer refuses. Any other scope beyond the declared ones — trade on a balances-only credential (canTrade: false), trade on a transfers credential — no longer answers SCOPE_MISMATCH: the approval goes through, and observedPermissions keeps showing the extra scope, as it always has. Show it as information (this key can trade at the venue; it is not used for trading here), never as an error. A key never probed, a probe that failed, and a probe whose venue states no scope (scopeUnobserved) approve as before. The document’s observedPermissions description now states the rule.
  • A credential refused for a trade scope is still pending. A refusal never changes the credential: approve it again once the platform runs this release, and the approval goes through. For a new credential refused because its key can withdraw, remove the withdraw permission at the venue: a PENDING_APPROVAL credential is probed again every five minutes, and once observedPermissions no longer lists withdraw the approval goes through.

The deploy window. The rule is the platform’s, not the gateway member’s: until the platform runs this release, an approval of a key with any scope beyond its declared ones is refused 409 SCOPE_MISMATCH, whichever gateway member answers; from then on the same approval goes through unless the extra scope is withdraw. A SCOPE_MISMATCH on a key whose observedPermissions holds no withdraw was answered by the earlier release: approve again after the rollout. A 0.27.1 member and a 0.27.2 member serve the same shapes; the document differs in its version and the one description above.

0.27.1 — 2026-10-13 — An invitation is claimed by a verified email address, in a client’s terms

Documentation only: nothing on the wire changes. The API guide’s Invitations section, and the 0.18.0 section below, say what a first sign-in needs to claim an invitation in a client’s terms: a verified email address that an open invitation names. The token claims that carry it, and the rules the platform applies to them, are unchanged.

During the deploy window a 0.27.0 member and a 0.27.1 member send the same bytes.

0.27.0 — 2026-10-13 — One venue key is one credential: every key reads, the intake names an unnamed key and refuses a key pasted twice, a transfers key is dedicated, and an account says which keys trade and transfer it

One venue key is one credential. The platform used to need two credentials for a key that reads balances and trades — one per connector — and discovered an account once per credential; now one credential is served by every connector role of its venue, an account is one row however many keys see it, and the credential intake asks one question of a key: whether it trades.

  • Every exchange key reads balances. POST /credentials and PUT /credentials/{id} set canReadBalances on the record whatever the body says: a venue key reads its own account, and the venue’s account connector discovers and probes every key through it. State canTrade for a key that trades; a key that only reads balances is canTrade: false. canReadBalances stays in SubmitCredentialBody for generated clients and is ignored as input — with one exception: a key registered before this release as trading-only, whose material is pinned to its connector groups, keeps the flag the amend states (absent, its own shape), so a rename or any other amend of it goes through as before; stating canReadBalances: true on such a key is the group change the amend refuses (400), and the key reads once re-registered.
  • name is optional on POST /credentials. Absent (or blank), the credential is named for the venue and the last four characters of the key id — OKX ...a3f9 — and the name must still be unique in your organisation: two keys that share a suffix send the second back 409 NAME_TAKEN; name it. A stated name is taken as sent.
  • The same key pasted twice is refused: 409 KEY_ALREADY_REGISTERED, a new code. The intake fingerprints the material and refuses it when a live credential of your organisation already pins that fingerprint; the message names the credential. Nothing is staged. Rotate that credential to replace its material, or revoke it. A rotation onto another credential’s material is refused the same way; onto the credential’s own it is not.
  • A key that can withdraw is a dedicated key: 422 DEDICATED_KEY, a new code. A body declaring canExecuteTransfers beside canTrade is refused before anything is stored, on the create and the amend; the platform refuses the same shape 422 INVALID_FIELD. Paste a separate key for trading. A transfers key is served by the account connector alone.
  • An account is one row however many keys see it. Discovery is keyed by the venue account — your organisation, the venue, the account the venue reports the key under (the venueAccountRef its pre-approval probe observed) and the venue’s own pool identifier — not by the key that found it: a second key probed to the same venue account that sees the same pool attaches to the existing row and fills an empty role slot it holds — tradingCredentialId for a key that trades, transferCredentialId for a transfers key — where the key that found the account does not hold that role, while the account is still DISCOVERED. The first key in takes a slot; move it at the submit, or later with PUT /accounts/{id}. From that first submit on the slots are yours: a key joins a decided account through a designation, never through its discovery, and a slot you cleared stays cleared. A designation names a key the venue reports under the same account id as the key that found the account, when both were probed (INVALID_FIELD otherwise — a sub-account’s key cannot trade a master account’s row); a key never probed is your call, as before. A key that both reads and trades finds its account and trades it with no designation at all: tradingCredentialId stays null. A key that was never probed (an organisation that approves credentials at submit) keeps rows of its own, a key that already found a row of its own keeps it (two rows from before this release stay two), an attach waits for an open proposal on the row to settle, and a retired venue account is not rediscovered by any of its keys while the key that found it is live. Once that key is revoked (its accounts retired first — the platform refuses the revocation while a live account rides it), a surviving key of the same venue account discovers the account afresh, as a new row.
  • One row, one reader. An account’s balances are read by the key that found it while that key is ACTIVE. While it is suspended, the account’s designated trading key — else its designated transfer key — reads in its stead when it reads balances itself (every key registered since this release does; a trading-only key from before it cannot stand in), so suspending a key never freezes the balances of an account that goes on trading through another reading key; the finding key reads again when it returns. Each balance names the key that stated it (credentialId on GET /account-balances). An account whose only key is suspended is simply not read until the key returns.
  • The account row says which keys trade and transfer it: capabilities. Every account read and command answer carries capabilities (the new AccountCapabilities): trade and transfer, each null when no key holds the role, else the key (credentialId), its lifecycle status and that role’s latest health reading (ConnectionHealth or null) — trade from the trading key’s health.trading, transfer from the transfers key’s health.account (the account connector executes transfers). A trade of null is an account nothing can trade; a transfer of null reads can’t transfer: add a transfers key. Judged on the account’s approved slots and each key’s approved record, like every enforcement: a pending amend that moves a slot shows nothing here until it is approved, so the field reads the same on both views.
  • health.trading reads from here. The order-entry connectors report on the credentials they trade through from this release: a trading key’s health.trading is null until its connector has opened a session for it (once an ACTIVE account trades through the key), DOWN while that session cannot place orders — connecting, logging in, reconciling, or refused by the venue — and CONNECTED once it can. An order on an account whose trading key reads DOWN is refused CONNECTION_DOWN, where it was queued before any connector reported on the key.
  • A pending key is probed again every five minutes. A PENDING_APPROVAL credential’s probe used to run once per material: its verdict — probeOutcome NONE with the observed scope and allowlist, or the venue’s refusal of the key — stood until the material changed. Now a verdict older than the venue connector’s refresh interval (five minutes by default) is probed again, so an allowlist or a permission set fixed at the venue reads back on the row — probedAtNs moves and observedAllowlist, observedPermissions and probeOutcome follow — with no re-submit. Each answer is a CredentialUpdated as before, so the row’s version, and with it its ETag, moves while the proposal stands: an approval sent with an If-Match read before the re-probe meets 412 — read the row again and retry. A transient outcome keeps its one-minute retry.
  • Generated clients. SubmitCredentialBody.name becomes optional; AccountRow gains capabilities and the /accounts page’s items are the new AccountItem — AccountUpdated plus capabilities — in place of AccountUpdated (AccountCapabilities, with AccountCapabilitySet and AccountCapability); KEY_ALREADY_REGISTERED and DEDICATED_KEY join the code list. Regenerate.

The deploy window. A 0.23.0 member (or 0.24.0, 0.25.0, 0.26.0) refuses a body without name 400, records canReadBalances as sent, stages a second credential for a key pasted twice and takes a trading key that transfers; a 0.27.0 member answers as above. A 0.23.0 member serves accounts without capabilities; a client that reads it treats its absence as unknown until every member is at 0.27.0. The register’s keying of discovery is the platform’s, not the member’s: once the register is at this release every account connector’s report lands on one row per venue account, whichever gateway member serves it.

0.26.1 — 2026-10-13 — Every text on a register row has a stated bound

Every string on a register row — a name, an identity provider’s reference, a credential’s secretRef, key id and fingerprint, a venue’s account reference, an address and its memo, a user’s display name, a diagnostic — now states its bound in the document, and the register refuses a write past it. No shape changes; the bounds are generous for what each field holds, and were unstated before.

  • The bounds. A name (an organisation’s, a credential’s, a portfolio’s, a role’s, a user’s name and a first administrator’s) is at most 128 bytes. A reference minted by another system (idpOrgRef, idpUserRef, idpInvitationRef, secretRef, venueKeyId, keyFingerprint, observedKeyId, observedKeyFingerprint, venueAccountRef, externalRef) is at most 256. A user’s displayName, an address and a memo are at most 256. The diagnostics the platform’s connectors quote from a venue (a connection health detail, a credential’s permissionDetail, allowlistDetail and probeDetail) are at most 512 — the connector clips what the venue said to that, so a row never carries more. The bounds already published stand: a remark and a withdrawal reason 256, an email address 254, an account’s displayName 64. Each bounded property’s description says so, in the same words as the notes’: At most N bytes; longer refuses INVALID_FIELD.
  • What a write past a bound sees. 422 INVALID_FIELD from the register — the same code and the same place a remark past 256 bytes meets today, judged before anything else about the write is — with the position header and the key journaled, as every register refusal is. A write at the bound is admitted. Nothing the gateway’s door refuses has changed: a string past its bound still reaches the register and is refused there.
  • Across the deploy window. The gateway and the register roll on one release; the document states the bounds from this version, and the register refuses by them once it runs. A write sent to an older register with a text past a bound was admitted and is still on its row — reading it is unchanged; restating it under the new register is refused until the text is within its bound. Bytes are characters here: the wire folds a character outside ASCII to ?, so a bound of 128 bytes is 128 characters of whatever you send.

0.26.0 — 2026-10-12 — Roles: an organisation’s own capability templates, and roleId on the user and invitation bodies

An organisation now holds its own named capability templates — roles — and a user write may name one instead of spelling the capabilities out. Five routes and one body member are new; no existing row or body changes shape.

  • Roles are the organisation’s templates. GET /roles lists them and GET /roles/{id} serves one: roleId, version, orgId, status (ACTIVE or RETIRED), capabilities (scope strings, as on a user row) and name, unique among the organisation’s live templates. POST /roles creates one (name and capabilities), PUT /roles/{id} restates both under the row’s ETag, and POST /roles/{id}/retire retires it for good, freeing its name. All three take users:manage (403 CAPABILITY_DENIED without it) and conclude at once — a role is not under maker-checker. A name another live template carries is 409 NAME_TAKEN; a write on a RETIRED template 409 ILLEGAL_TRANSITION; an empty name, a scope the platform does not know, or an orgs:* scope outside the platform’s own organisation 422 INVALID_FIELD. The answer is the row (RoleRow), as every register write answers, and the operation record’s outcome.family is roles. Reading them takes users:read — or any users capability, as every read since 0.24.0 takes its family’s grant: a template is the users family’s, and GET /roles and GET /roles/{id} carry x-immix-reads: users:read.
  • A role is a template, not a group. Applying a role copies its capabilities onto the user at that moment: the user row records capabilities and never a role, and GET /me serves capabilities as before. Restating a template changes no member who holds it — re-apply it (PUT /users/{id} naming the roleId) to each member it should follow — and retiring one leaves its members’ capabilities as they are.
  • roleId on the user and invitation bodies. POST /users, PUT /users/{id}, POST /users/invitations and POST /users/{id}/invitation take roleId as a third spelling of the capability set, beside preset and capabilities: the gateway resolves it to the template’s capabilities before anything is sent, and the record never carries the role. Stated beside preset or capabilities, the spellings must agree (400 MALFORMED_REQUEST, as preset beside capabilities always was). A roleId that names no live template of your organisation — unknown, RETIRED, or another organisation’s — is 400 MALFORMED_REQUEST. A re-invite whose body names none of the three keeps the row’s capabilities, as before.
  • Five templates arrive with every organisation. At its activation — and at the platform’s own bootstrap — an organisation receives the five presets as templates: Initiator, Approver, Admin, Trader and Treasury, holding the capabilities the preset alias expands to, so GET /roles lists five rows before anyone creates one. They are ordinary templates: rename, restate or retire them. The activation’s answer arrives once the five are recorded too. An organisation activated before this release holds none until an administrator creates them.
  • Generated clients. New: the Roles tag and its five operations (listRoles, getRole, createRole, updateRole, retireRole) and the schemas RoleUpdated, RoleRow, UpsertRoleBody and RetireRoleBody; roleId (an int32, at least 1) on UpsertUserBody, InviteUserBody and ReinviteUserBody — the first two publish the three spellings as one anyOf (preset, roleId or capabilities) where 0.25.0 published two. OperationRecord.outcome.family answers roles, reserved since 0.23.0. Regenerate.

During the deploy window a 0.25.0 member answers every /roles route 404 ROUTE_NOT_FOUND, and does not read roleId on a user or invitation body: a body naming a role and nothing else is refused 400 there (capabilities or preset is required), and a body naming a role beside preset or capabilities lands those — the same set, since the spellings must agree. A 0.26.0 member serves the shapes above. No existing row or body changed, so a client generated against either version reads the other’s members without an absent required member — a 0.25.0 client simply never sees roleId or /roles. Activate organisations outside the window: a member and a register on different sides of it disagree on how many records an activation writes, and the activation’s POST /orgs/{id}/approve may answer late or 202 Pending; the organisation activates either way, and GET /orgs/{id} and GET /roles show it. A 0.26.0 member that correlated an activation a 0.25.0 register answered — two facts where it awaited seven — faults on the next fact and stays misaligned from there, its own writes answering 202 Pending and its faults counter climbing, until that member is restarted; a 0.25.0 member meeting the five extra RoleUpdated facts absorbs them and needs nothing. Both consumers of the roles fold (this gateway and clickhouse-persistence) also change composition at this release — their lockstep restarts precede the first activation (the operations runbooks).

0.25.0 — 2026-10-12 — The approvals inbox: GET /approvals lists every proposal with what changed and who may approve, and every proposal now carries its clock, its remark and its withdrawal

One route is new, and the fields 0.23.0 published as placeholders now carry what they promised.

  • GET /approvals is the organisation’s inbox. One item per proposal across the families under maker-checker — credentials, accounts, the three policies and the organisation’s own policy change — in one of two states: pending (the default) or returned (?status=returned: withdrawn, by the maker or by a checker, with the reason, until the row’s next proposal). Each item carries family and entityId (the row, and the /approve and /withdraw routes under it), transition, proposedByUserId, proposedAtNs, requiredApprovals and approvals as the row carries them, approvers (the active members who may still approve: the family’s approve holders other than the maker and those who already did — empty means nobody can yet, and always empty once returned), before (the approved record beside a pending proposal — what the row returns to if it is withdrawn — null on an ACTIVATE, where nothing stands yet) and after (the proposed one), each in the family’s own row shape (the new ApprovalItem), the maker’s remark, and on a returned item — where before is null and after the row as it stands after the withdrawal, the enforced record restated where one was enforced — returnedByUserId, returnedAtNs, reason and returnedBy (maker or checker). The filters: mine=true (the pending items awaiting you — its total with include=total is a bell’s count), proposedBy=me, family=<segment>; the page’s three as on every collection; a set ascending by family then entityId. The inbox is filtered by the read grants, never refused for one: only the families your capabilities read are listed (a member who reads none sees no family’s items — a page, never a 403), and the organisation’s own policy change is read by membership, so every member sees it. A platform orgs reader’s inbox is the organisation lifecycle — activations, reactivations and retirements across every organisation — and never an organisation’s own items.
  • Every proposal carries its clock and its remark, every withdrawal its record. On the rows under maker-checker, proposedAtNs is stamped when the proposal is made, remark carries what the maker’s body stated (at most 256 bytes — a longer remark or reason is refused 422 INVALID_FIELD), and a withdrawal writes lastWithdrawalProposedByUserId, lastWithdrawalWithdrawnByUserId, lastWithdrawalAtNs and lastWithdrawalReason on the row (the pair clears, the record stands until the next proposal). A suspension of an organisation that releases its pending policy change records the release the same way, as the platform’s: lastWithdrawalWithdrawnByUserId null and no reason — an organisation never learns which platform member acted. A write that concludes at once (a family whose count is 0) carries no proposal content, as before.
  • An organisation reads its own proposal records, the platform its own. The org row carries one proposal record, and it belongs to one side: a lifecycle proposal’s — an activation, reactivation or retirement, pending, returned or concluded — is the platform’s, so a member of the organisation reads it on GET /orgs/{id}, GET /orgs and GET /me/orgs with pendingByUserId, approvals, remark, lastWithdrawalProposedByUserId, lastWithdrawalWithdrawnByUserId and lastWithdrawalReason served as nothing recorded (null, [], ""); the organisation’s own policy change is the organisation’s, served to a platform orgs reader the same way. pendingTransition, requiredApprovals, proposedAtNs and lastWithdrawalAtNs read as they are on both, so each side learns that something is pending or came back, never who or why from the other.
  • Generated clients. One operation (listApprovals), one tag (Approvals), two schemas (ApprovalItem, and ApprovalImage — the one six-way union its before and after share, so a generator mints one type for both) and four parameters are new; nothing is removed or renamed. The inbox has one surface: view=latest is accepted as on every one-surface collection, view=approved refused 400.

During the deploy window a 0.24.0 member answers GET /approvals 404 ROUTE_NOT_FOUND, and serves proposedAtNs: null, remark: "" and the withdrawal members at their sentinels on every row; a 0.25.0 member serves the inbox, and — once the register behind it has rolled — the stamped values. The register rolls in lockstep ahead of the gateway: a proposal made before its roll keeps proposedAtNs: null and an empty remark for its life (the inbox lists it, with no clock), and a withdrawal made before it recorded nothing, so such a row never serves a returned item. A client generated against 0.25.0 that reads a 0.24.0 member meets nothing it cannot parse; one generated against 0.24.0 that reads a 0.25.0 member meets the same shapes with the sentinels filled.

0.24.0 — 2026-10-12 — Reads need a read grant: ten <family>:read capabilities gate every read, a verb reads its own family, secretRef leaves the credential row

Until now any admitted member read everything its organisation holds — every credential row, every order, every balance — and capabilities governed writes alone. From this release every read needs a read grant, and the ten <family>:read capabilities the register has carried since 0.23.0 are what the gateway reads them for.

  • Every read of a family stands behind that family’s read grant. GET /users and GET /users/{id} need users:read; the credentials, accounts, account addresses, portfolios and the three policy families their own <family>:read; GET /orders, GET /orders/{id}, GET /executions and GET /executions/{id} orders:read; GET /account-balances accounts:read (a balance is the account’s); every read under /algos algos:read. Each operation states its grant — x-immix-reads on the operation, and the sentence in its description — and refuses without it 403 CAPABILITY_DENIED at the door: no position header, retryable: false, the message naming the grant. The gate is judged right after admission, before the request’s shape and the row lookup, so a caller who may not read a family meets 403 on an absent id and on a malformed query alike. The Forbidden response names the code.
  • A capability reads its own family. Holding any <family>:<verb> reads that family: accounts:propose reads accounts, orders:trade reads orders and executions, algos:manage the algos surface, users:manage the users. That is the one implication the set carries — nothing crosses a family, so a trader reads accounts only with accounts:read. The <family>:read grants are for members who may only look.
  • Three reads take no grant: GET /me and GET /me/orgs (your own identity, however little you may read — configure a client from /me’s capabilities), and GET /operations/{key} (your own operation). GET /orgs and GET /orgs/{id} take none either: the organisation lifecycle has no read grant — a customer reads their own organisation’s row by membership, and the platform’s orgs holders read every organisation as before.
  • The presets spell their reads. Each preset now carries the read grant of every family it holds a verb in, and the cross-family reads it needs: TRADER gains accounts:read and orders:read; ADMIN every read (twenty-four capabilities); PLATFORM users:read (an activation names a pending organisation’s first administrator among its members); INITIATOR, APPROVER and TREASURY their own families’ reads. x-immix-preset-capabilities publishes the new expansions, and the platform grants both first administrators — the bootstrap’s and an activation’s — every read.
  • secretRef leaves the credential row and every command answer. It was the platform’s own store reference, of no use to a client; venueKeyId and keyFingerprint stay as the key’s audit handles, behind credentials:read. A body stating secretRef is still refused 400, as it was.
  • Generated clients. CredentialUpdated loses secretRef; every gated read operation gains x-immix-reads; the preset expansions change. Regenerate, and grant the reads before the deploy reaches you: a member whose row holds no bit of a family it reads today is refused that family once a 0.24.0 member answers it.

During the deploy window a 0.23.0 member serves every read to every admitted member and secretRef on every credential row; a 0.24.0 member refuses a read the caller’s capabilities do not cover and serves no secretRef. A client generated against 0.24.0 that reads a 0.23.0 member meets secretRef on credential rows (ignore it) and is never refused a read; a client generated against 0.23.0 that reads a 0.24.0 member finds secretRef absent — a parser that requires it (zod, pydantic, a non-null model) fails on credential rows until regenerated — and meets 403 CAPABILITY_DENIED on a read its principal’s row does not cover. Grant the reads first, then roll: a member of your organisation holding a verb in every family it reads loses nothing; one holding bits in some families and reading others needs those families’ :read grants (PUT /users/{id} with the capabilities restated, or a preset) — an existing administrator restates their own row to gain orders:read and algos:read, which no verb of theirs implies.

0.23.0 — 2026-10-12 — The register’s re-cut: accounts are submitted whole, approvals are a per-family policy, every proposal carries its record, a credential’s health reads per connector

The register was re-cut for the platform’s design review, and this document follows it. Six things change for a client, and one route is new.

  • An account is submitted whole: PUT /accounts/{id} replaces POST /accounts/{id}/classify. The body is the record — displayName required; ownership and purpose optional (absent, the platform records its defaults, HOUSE and TREASURY); portfolioId, tradingCredentialId and transferCredentialId optional (absent or 0: none) — under the row’s ETag. On a DISCOVERED row it proposes the activation, on an ACTIVE row an amend (pendingTransition ACTIVATE or AMEND), and the answer is the row. location and temperature leave the account row, and their enums the document; transferCredentialId arrives on it — the credential transfers out of the account ride, null when none. The /classify route is gone: a 0.23.0 member answers it 404 ROUTE_NOT_FOUND.
  • The organisation’s approval policy is a table, one count per record family. credentialsApprovals, accountsApprovals, accountAddressesApprovals, assetPoliciesApprovals, chainPoliciesApprovals and tradingPoliciesApprovals arrive on the org row and on GET /me — each 0 to 4, accountAddressesApprovals 0 or 1 (an address is verified by one checker). requiredApprovals leaves GET /me; on the org row it stays with a new meaning: the count the organisation’s own last proposal was made under — kept with its approvals on the concluded row as the record of who approved it, until a re-submit or a withdrawal clears it; 0 until the first proposal, as on every pending-capable row below, and pendingTransition alone says whether one is pending — a client that read it as the dual-control setting reads the six counts instead. POST /orgs/{id}/approve states them at the activation — every count absent reads as 1, dual control — and the new PUT /me/approval-policy restates the organisation’s own table: the whole table in the body, If-Match the org row’s ETag (required, as on every entity write since 0.22.0: absent is 428 PRECONDITION_REQUIRED, stale is 412 VERSION_CONFLICT), no id in the path (the caller’s organisation is the record), users:manage to call it, a count outside 0..4 422 INVALID_FIELD, and the org row as the answer. A table that lowers no count concludes at once; one that lowers a count is a proposal a second users:manage holder approves, unless the organisation has one active member. A proposal already pending keeps the count it was made under.
  • Every proposal carries its record. The rows under maker-checker — credentials, accounts, the three policies and organisations — gain requiredApprovals (the approvals this proposal needs, fixed when it was made), approvals ([{userId}], who has approved it so far — and, once it concludes, who did: both stay on the row until the next proposal, so pendingTransition, not an empty list, says nothing is pending), proposedAtNs, remark (the maker’s note) and its last withdrawal (lastWithdrawalProposedByUserId, lastWithdrawalWithdrawnByUserId, lastWithdrawalAtNs, lastWithdrawalReason). The register stamps requiredApprovals and approvals from this release — each approval appends its user, and the proposal concludes when the list meets the row’s own count; proposedAtNs, remark and the four withdrawal members are sentinels (null, "") until a later release fills them. Where a family needs more than one approval each comes from a different user: the same user approving twice is 409 ALREADY_APPROVED, a new code.
  • Makers may say why, and so may a withdrawal. Every maker body (SubmitCredentialBody, SubmitAccountBody, RetireAccountBody, …) takes an optional remark, and the six Withdraw…ProposalBody an optional reason; absent reads as "". Both reach the register now; the row’s remark and lastWithdrawalReason carry them from a later release and read "" until then.
  • A credential’s health is one reading per connector. health is now an object, the new CredentialHealthReadings: account (the venue’s account connector) and trading (its order-entry connector), each a ConnectionHealth or null, and ConnectionHealth gains role (ACCOUNT or ORDER_ENTRY). One key is served by both connectors when it reads balances and trades; a balances-only key never has a trading reading. A client that read health.status reads health.account.status or health.trading.status — the role it depends on.
  • appGroup leaves the credential row and its bodies. Which connectors serve a key follows from its venue and its flags (canReadBalances: the account connector; canTrade: the order-entry connector as well), and the intake stages the material for each. A body still stating appGroup is refused 400 MALFORMED_REQUEST. An amend cannot change which connectors serve a key whose material the intake staged: adding or dropping canTrade, any change that gains or loses the account connector, or a move to a venue or provider kind the intake does not serve is refused 400. Create the credential anew with the flags it is for, and revoke the old one.
  • Retired: the register no longer answers CREDENTIAL_UNASSIGNED.
  • Generated clients. SubmitAccountBody replaces ClassifyAccountBody and submitAccount the classifyAccount operation; SetApprovalPolicyBody and updateApprovalPolicy are new, as are CredentialHealthReadings and ConnectionHealth.role; AccountLocation and AccountTemperature go; OrgUpdated, Me and ApproveOrgBody carry the six counts in place of requiredApprovals; the proposal members and remark join every pending-capable row, reason the withdraw bodies; OperationRecord.outcome.family gains roles, reserved for the roles family’s routes in a later release — no operation names it yet. Regenerate.

During the deploy window a 0.22.0 member serves /classify, requiredApprovals on /me and as the policy on the org row, appGroup, location and temperature, and a single health reading or null; a 0.23.0 member serves the shapes above — the org row’s requiredApprovals now the last proposal’s count — answers /classify 404 and PUT /me/approval-policy 200. A 0.22.0 member answers PUT /accounts/{id} 405 METHOD_NOT_ALLOWED and PUT /me/approval-policy 404 ROUTE_NOT_FOUND: retry against a 0.23.0 member. A client generated against 0.23.0 that reads a 0.22.0 member meets members it does not know (ignore them), and health as one reading without role (treat it as the account connector’s). It also finds members it requires absent:

  • on the org row, the six <family>Approvals counts, approvals, remark and lastWithdrawalReason;
  • on GET /me, the six <family>Approvals counts;
  • on the account, credential and three policy rows, requiredApprovals, approvals, remark and lastWithdrawalReason.

A parser that enforces required members (zod, pydantic, a non-null Kotlin or Java model) fails on those rows from a 0.22.0 member. Either read those members as optional until every member serves 0.23.0, or hold the regeneration until then.

0.22.0 — 2026-10-11 — If-Match is required on every entity write

Every entity write — PUT /{resource}/{id} and every POST /{resource}/{id}/{verb} action, PUT /algos/instances/{id}/config included — now requires If-Match. A write that carries none is refused 428 PRECONDITION_REQUIRED at the door, before the body is read: nothing reached the platform and the key was not journaled, so the same request sent again with the header goes through as a first attempt.

  • What to send. The ETag the row was read at, quoted or bare — the version the write was computed against — as the guide has always asked. * still means “write unconditionally” and is accepted everywhere If-Match is: it is for the kill switches (a freeze, a suspension, a halt) and for a script that means the overwrite. Nothing else about the header changes: a weak validator is still 400 INVALID_IF_MATCH, a stale value still 412 VERSION_CONFLICT (412 CONFIG_SEQ_CONFLICT on the config write) with currentVersion.
  • Why. Every write restates the whole record. An absent header used to mean *, so a client that never read the row’s version overwrote every field from its own copy — including a colleague’s amend since its read — and an approval concluded whatever the row held at that moment rather than what the approver had read. Now a client says which it means.
  • What does not change. Creates (POST /{resource}) take no If-Match, as before. The routes that take no precondition by design keep refusing a stated one 400 INVALID_IF_MATCH: POST /orders/{id}/cancel, POST /algos/instances/{id}/start, /stop and /delete, and POST /algos/halt.
  • The re-invite. POST /users/{id}/invitation already required the header; an absent one is now 428 PRECONDITION_REQUIRED there too (it was 400 MALFORMED_REQUEST), and * is accepted as on every other entity write.
  • In the document. If-Match is one parameter, IfMatch, required: true, on every entity write; the separate IfMatchRequired spelling the re-invite carried is gone — the generated header type of that one route is renamed, which a minor may still do before 1.0.0. Every entity write publishes a 428 response (PreconditionRequired), and Error.code gains PRECONDITION_REQUIRED under 428 — retryable false, since the request itself has to change. Regenerate: the header becomes a required argument on every entity write.

During the deploy window a 0.21.0 member takes an entity write without If-Match as unconditional and answers it as before; a 0.22.0 member refuses it 428. A client that already sends the row’s ETag, or *, sees no difference on either side. A client that never sent the header reads the row’s version first — every entity read carries it, as the ETag header and as version in the row — and sends it; the refused request sent again unchanged meets 428 again.

0.21.0 — 2026-10-09 — A credential says whether a connector is serving it

An approved credential is not always a served one, and every credential read now says which it is: the items of GET /credentials, GET /credentials/{id} and the answers of the credential commands carry health.

  • health is the latest report from the connector serving the credential — the new ConnectionHealth schema: status (CONNECTED, DEGRADED or DOWN), reason, sinceNs, transitionAtNs, reportedAtNs, venueRoundTripNs (null when not measured) and detail. The trading WebSocket’s credential channel already carries the same report.
  • health: null means no connector has reported on the credential. On an ACTIVE credential that is the case to act on: it is approved, and nothing is using it.
  • Judge it by reportedAtNs. A serving connector restates its report on a heartbeat (every 30 s by default), so a reportedAtNs that stops advancing means nothing is reporting on the credential any more, whatever the last status says.
  • It is observed, not decided. health changes without the row’s version moving, so it never touches the ETag or If-Match, and it reads the same on view=latest and view=approved.
  • Who reports today. The connectors that read balances report. The connectors that place orders do not yet, so a credential only an order-placing connector uses reads health: null even while it trades, until those connectors report too.
  • Generated clients. CredentialRow gains health (through its new member CredentialHealth), the collection’s items are the new CredentialItem — CredentialUpdated plus health — in place of CredentialUpdated, and ConnectionHealth is a new schema. Regenerate.

During the deploy window a 0.20.0 member serves credential rows without health, and a 0.21.0 member serves it on every row. A 0.21.0 member that has just started can serve null for a credential that is being served, until that credential’s next report (within 30 s by default); where the gateway was already running, a credential whose connector stopped reporting before the upgrade reads null rather than its last report.

0.20.0 — 2026-10-09 — A page leads with its items; every collection carries an example

Nothing a client parses changes: the same members, with the same types and values, on every page. Two things a reader of the document sees do:

  • A page’s members are written in one order: items first, then nextCursor, prevCursor and total, then globalSequence and asOfSeqTsNs — the rows, then the walk, then the position the page was read at. The gateway writes them in that order, and the document lists them in it: each collection’s 200 is its own items followed by PageInfo, whose properties (and required) are listed in the same order. A JSON object is unordered, so a client that reads members by name is unaffected; one that compared a page’s bytes, a schema’s member list, or the parameter order of a model generated from it sees them move: a client regenerated from 0.20.0 whose generator flattens the allOf into a positional constructor (a Kotlin data class, a C# record, a Java all-args constructor) of PageInfo or a collection’s page has its positional constructions — usually its own tests and fakes — stop compiling until reordered. Parsing is unaffected. It is a minor for that reason: a client that regenerates before each new minor, as the guide asks, meets it then.
  • Every collection’s 200 carries an example: the first page of a limit=2&include=total read of one organisation’s rows, as the gateway serves it — every member at its served spelling, ids as the platform mints them, money as decimal strings, times in epoch nanoseconds.

During the deploy window a 0.19.1 member writes globalSequence and asOfSeqTsNs ahead of items and a 0.20.0 member after total. Both send the same members with the same values.

0.19.1 — 2026-10-09 — A cancelled invitation is final: invite the person again

Documentation only: nothing on the wire changes. POST /users/{id}/disable, PUT /users/{id} and POST /users/invitations now say what cancelling an invitation leaves behind, and so does the API guide’s Invitations section:

  • A cancel is final. Disabling an INVITED user cancels the invitation. The row stays DISABLED: it is never re-enabled (PUT /users/{id}) or re-invited (POST /users/{id}/invitation) — both refuse 409 ILLEGAL_TRANSITION, as they did before this version said so.
  • The address and the name are free again. POST /users/invitations with the same email and name creates a new user, with a new userId, and the person’s first sign-in claims that invitation. The cancelled row stays as the record of the one withdrawn.
  • A cancelled invitation reads DISABLED with an email and no idpUserRef — nobody ever signed in to it. Its invitationState keeps the value it had when it was cancelled (SENT, say), so read status before invitationState.

During the deploy window a 0.19.0 member and a 0.19.1 member send the same bytes.

0.19.0 — 2026-10-08 — WebSocket tickets open the market-data WebSocket too

POST /v1/ws-tickets takes a second stream: {"stream": "market-data"} mints a ticket that opens the market-data WebSocket, as {"stream": "trading"} mints one for the trading WebSocket.

  • WsTicketRequest.stream and WsTicket.stream gain the member market-data. The answer names the stream the request asked for. A closed enum gained a member: regenerate.
  • A ticket opens only the stream it was minted for. A market-data ticket is refused by the trading WebSocket and a trading ticket by the market-data WebSocket, each as an invalid credential (401 on the handshake). Mint one ticket per connection attempt, for the stream you are connecting to.
  • The same admission as every route. As for a trading ticket, the caller must be an admitted user of an active organisation: a refused principal gets its 401 or 403 here and no ticket. A client that is not a browser can still open the market-data WebSocket with its bearer token on the handshake, without a ticket.
  • One budget for both streams. The per-user limit is unchanged — 60 tickets a minute — and both streams draw on it, so a client reconnecting both sockets spends two. Past it the route answers 429 RATE_LIMITED with Retry-After, as before.
  • The ticket’s description no longer says how long a session lasts. A ticket only opens its session; how long the session then lives is each WebSocket’s own rule, which its contract states (the trading WebSocket ends a session at the token’s expiry).

During the deploy window a 0.18.0 member answers {"stream": "market-data"} with 400 MALFORMED_REQUEST, and a 0.19.0 member mints the ticket. {"stream": "trading"} is answered the same by both.

0.18.0 — 2026-10-07 — A first sign-in claims its invitation; the door discovers nobody

A member joins by invitation, and now the invitation can be claimed. An administrator invites a person by email — POST /users/invitations creates the user INVITED with the capabilities stated (scope strings or a preset) and a lifetime (expiresInHours, 1 to 720, default 72); the platform emails the invitation. Their first sign-in claims it: a token whose organization the platform knows, whose subject binds no user yet, and whose verified email address is an open invitation’s, claims that invitation inside the door — on any route, GET /me being the natural first call — and is answered as the ACTIVE member it just became. The door discovers nobody any more: nothing a sign-in does writes a row for an unknown person or an unknown organization. Organizations are registered by a platform member (POST /orgs, adopting the identity provider’s organization by its id), never proposed from a token.

  • Three routes. POST /users/invitations (InviteUserBody: email, name, preset or capabilities, optional expiresInHours; answers as POST /users does, the row INVITED), POST /users/{id}/invitation (re-invite or resend an INVITED row — If-Match required, the version the re-invite replaces; the body may restate capabilities, name, email or expiresInHours, absent fields keeping the row’s; a fresh deadline opens and the platform withdraws the outstanding invitation and sends anew), and GET /me/orgs (the organizations the caller holds an active seat in, as a page — limit, cursor, include=total — ascending by orgId; for an organization switcher). POST /users/{id}/disable on an INVITED row cancels the invitation, as since 0.17.0.
  • Four door codes join error.code. NOT_REGISTERED (403): the platform holds no user for the principal and no open invitation at its verified address, or its organization is not registered, or its row is one nobody has claimed — an administrator invites; the message names the organization and, when the token states one, the address. EMAIL_UNVERIFIED (403): an invitation is open at the token’s address but the identity provider has not verified it — verify, then sign in again; nothing was proposed. INVITATION_EXPIRED (403): the invitation passed its deadline — an administrator re-invites. REGISTRATION_PENDING (503, with Retry-After, the one retryable newcomer): the claim is in flight — the door waited its claim wait (2 s by default) without the platform’s answer, the invitation moved under the claim (re-invited), or another member’s claim bound the subject first (a first sign-in’s two requests behind a load balancer each propose; the loser is this answer, never NOT_REGISTERED); the identical request succeeds once it lands — unless the re-invite moved the invitation to another address, when the person signs in with that address. A fifth, INVITATIONS_UNAVAILABLE (503, retryable: false), is a deployment posture: the invitation routes need an identity provider, and a member on the roster lane (local and test) answers them with it — users are created directly there (POST /users).
  • AWAITING_ADMISSION is no longer emitted — documented, kept in the vocabulary, retired in practice: there is no admission to await when the door discovers nobody. A DISCOVERED row left by an earlier version authenticates nowhere (NOT_REGISTERED) until an administrator admits it (PUT /users/{id}) — an invitation cannot bind a subject a row already holds, so inviting that person is no remedy. GET /me serves ACTIVE rows alone.
  • Descriptions that described the door’s discovery describe the claim-only door — the organisation withdraw and approve operations, GET /users and the UserStatus parameter: a DISCOVERED row is one an earlier release left, a parked organisation is re-proposed by POST /orgs alone. Prose only; no field changes.
  • The token’s orgName and productProfile claims are no longer read by any route; a tenant may stop stamping them. The namespaced email and email_verified are read instead, at the claim.
  • /status (off-contract) gains admission.claimed, admission.claimRefused, admission.claimPending, admission.emailUnverified and admission.notRegistered; the discovered* counters and admission.subjectUnknown / admission.awaitingAdmission retire.

During the deploy window a 0.17.0 member still discovers an unknown subject under a known organization (and answers AWAITING_ADMISSION), while a 0.18.0 member claims an open invitation or answers NOT_REGISTERED. Under an organization whose administration is still its open invitation (no active users:manage holder) the register refuses the discovery (since 0.17.0), so the invited first administrator’s sign-in through a 0.17.0 member lands no row and their next sign-in through a 0.18.0 member claims. Under an established organization it does not: an invited person whose first sign-in lands on a 0.17.0 member is discovered, their subject is bound to a DISCOVERED row, and that invitation can no longer be claimed by them — an administrator admits the discovered row (PUT /users/{id}) and cancels the invitation (POST /users/{id}/disable). Send no invitations into an established organization until every member runs 0.18.0 (a rolling deploy’s window is minutes). The invitation routes answer 404 ROUTE_NOT_FOUND on a 0.17.0 member and GET /me/orgs likewise; a client generated from 0.17.0 keeps its default arm for the new codes — treat an unknown 403 as not admitted and an unknown 503 as retry-later.

0.17.0 — 2026-10-07 — A user carries its invitation; the first administrator is invited

A member joins by invitation. An administrator invites a person by email with the capabilities they will hold; the platform registers them at once as a user in the new status INVITED; their first sign-in with that address will claim the row — ACTIVE from then on, with nothing to admit — once the door claims invitations, which arrives with the routes that create and resend them in the next version (until then an INVITED user authenticates nowhere). This one puts the invitation on the user record so every reader can see it:

  • UserStatus gains INVITED — a row an invitation created that nobody has signed in to yet. GET /users?status=INVITED lists them. A client that switches on the status keeps its default arm: the value set is append-only.
  • UserRow gains five properties, served on every row by a 0.17.0 member. The schema leaves them optional — a 0.16.0 member omits them during the deploy window — so a client generated from it reads them as possibly absent until the fleet is on 0.17.0:
    • email — the address the user was invited at, lowercased; the empty string on a user no invitation created. It stays after the sign-in as the address the user was registered by.
    • invitedByUserId — who proposed or invited the user: the proposing platform member on an organisation’s first administrator (stamped at the proposal, whether or not an email follows), the inviter on an invited member; null on a user created directly or discovered.
    • inviteExpiresAtNs — the deadline the user was last invited under, as epoch nanoseconds in a string like every …Ns; null on a user never invited. It stays on the row after the sign-in and after a cancelled invitation — status and invitationState say whether an invitation is open, the deadline alone does not.
    • invitationState — the new InvitationState enum: NONE (no invitation was created for the user — a proposed first administrator before activation included), PENDING (the platform still has to create it with the identity provider), SENT, ALREADY_MEMBER (the address already belonged to a member of the identity provider’s organization, so no email went out), FAILED (the platform could not send it) and ACCEPTED (the sign-in claimed the row). The state is kept after a cancelled invitation (the user DISABLED): an invitation is open while status is INVITED, so read the two together. The value set is append-only.
    • idpInvitationRef — the identity provider’s id for the invitation, as the platform reported it; informational, never a key; the empty string until reported.
  • SubmitOrgBody gains firstAdminEmail (optional). Stated, the first administrator of the new organisation lands INVITED and is emailed an invitation once the organisation is activated — they hold the administrator’s capabilities from that moment and sign in to claim them. Absent, they are ACTIVE from activation, as before. Either way the first administrator now lands INVITED, not DISCOVERED, when the organisation is proposed: POST /orgs/{id}/approve names that row as firstAdminUserId.
  • firstAdminIdpUserRef must now be absent. A stated subject is refused 422 INVALID_FIELD: the first administrator binds their own subject when they accept their invitation. The property stays in the document for the one value it still takes.
  • Three refusal codes join OrgRegisterRejected.reason, for the commands behind the invitation: EMAIL_TAKEN (409 — another invited or active user of the organisation already carries the address — re-enabling a disabled user who kept one is held to it too), NOT_INVITED (403 — the signed-in address is not the one the row was invited at; also a first login discovered under an organisation whose administration is still an open invitation: until its invited administrator claims the seat, nobody is discovered there) and INVITATION_EXPIRED (403 — the sign-in came after the deadline; an administrator re-invites). PUT /users/{id} on an INVITED row is refused 409 ILLEGAL_TRANSITION, and so is re-enabling a DISABLED user whose invitation was never claimed (an email, no idpUserRef): an invitation is changed only by re-inviting or disabling it, and a cancelled one is replaced by a new invitation at the address. POST /users/{id}/disable on an INVITED row cancels the invitation.

During the deploy window — the owner rolls first — a 0.16.0 member serves user rows without the five properties and serves an INVITED row as "status": "UNKNOWN": a first administrator proposed once the owner carries this release reads UNKNOWN through that member, is absent from its ?status=DISCOVERED list, and ?status=INVITED is refused 400 MALFORMED_REQUEST there (the filter’s values are the member’s own) — find the row by name in the unfiltered GET /users list or read it by id; POST /orgs/{id}/approve names it as firstAdminUserId through either member. A 0.17.0 member serves the five properties on every row and INVITED by name. Once the owner carries this release, POST /orgs with a firstAdminIdpUserRef is refused 422 INVALID_FIELD through either member; firstAdminEmail is refused 400 MALFORMED_REQUEST (an unknown property) on a 0.16.0 member and accepted on a 0.17.0 one. A first administrator a pre-v9 proposal already bound to a subject lands ACTIVE on activation even when a re-submit stated an email — there is nothing left to claim. A client generated from 0.16.0 ignores the properties it does not know and reads INVITED as an unknown status — treat an unknown status as not active.

0.16.0 — 2026-10-07 — The remark on an algos write is optional

Every algos write no longer requires a remark: POST /algos/instances, PUT /algos/instances/{id}/config, POST /algos/instances/{id}/start, /stop and /delete, and POST /algos/halt.

  • Absent, null or "" all mean no remark. The write goes ahead and records the remark as "". A stated remark is recorded as before, and one past 256 bytes of UTF-8 is still refused 422 INVALID_FIELD naming remark.
  • The six request bodies no longer list remark as required, and its description states the default. The start, stop, delete and halt bodies now require nothing, so their request body is optional: send {}, or no body at all.
  • Reads are unchanged in shape: remark is still a string on every document (AlgoConfigRow) and on the halt’s answer (AlgosHalted), and it is "" for a change made without one.

Regenerate to leave the field out. A client generated from an earlier version still sends a remark and keeps working unchanged.

During the deploy window a write without a remark can still be refused. A 0.15.x member answers 400 MALFORMED_REQUEST when remark is absent or null (a stated "" passes it). Until the platform behind the gateway runs this release, a write without a remark answers 422 INVALID_FIELD naming remark: nothing changed, and the key is spent, so retry under a new key. A client that always sends a remark sees no change on either side.

0.15.2 — 2026-10-07 — WebSocket tickets are documented with the trading WebSocket

Documentation only: nothing on the wire changes. The API guide’s WebSocket tickets section moves to the trading WebSocket’s contract, which states the ticket’s flow and rules with its ticket credential, and POST /v1/ws-tickets describes itself without a link to the guide. The document’s externalDocs no longer lists WebSocket tickets among the guide’s topics. The route, its body, its answer and its refusals are unchanged.

During the deploy window a 0.15.1 member and a 0.15.2 member send the same bytes.

0.15.1 — 2026-10-07 — The door judges every instrument a config document references

On POST /algos/instances and PUT /algos/instances/{id}/config the gateway now judges every instrument the document references before anything is sent — a symbol it just resolved, or an id stated as written, which the name pass never read — and refuses 422 REFERENCE_UNKNOWN_INSTRUMENT when the instrument is not held here and 422 REFERENCE_INSTRUMENT_NOT_LIVE when it is held but not open to trading: the codes the platform answered before, now the gateway’s, so a client branching on them keeps both branches — the first means fix the reference, the second wait for reference data to reopen the instrument. The message names the value’s path and the instrument’s id. As with the name pass, nothing is sent and the key retries fresh, and a key the member’s journal already holds is answered as that key’s retry, never refused. The platform no longer judges instruments at the algos owner: an instance’s placements on a closed instrument are still refused, deterministically, by the order path (INSTRUMENT_NOT_LIVE).

The one document the gateway does not judge is one for a version this member has not yet heard reported — a version loaded moments ago, or one that does not exist. As before, it crosses as written for the platform to judge: 404 UNKNOWN_ALGO_VERSION, a fact, when the version does not exist, else accepted — so a 201 or 202 for such a version does not say its instruments were checked. An instrument the document names before reference data lists it reads as unknown to the strategy until the listing, hears its feed status from the listing on, and its placements meet the order path’s refusal meanwhile.

Across the deploy window: a gateway below 0.15.1 sends such a document and the platform refuses it 422 REFERENCE_INSTRUMENT_NOT_LIVE or 422 REFERENCE_UNKNOWN_INSTRUMENT with a position header — a fact, so the key is spent; from 0.15.1 the door refuses it under the same codes, with no position header and the key free. A platform whose owner no longer judges instruments, behind a gateway below 0.15.1, accepts the document and refuses the instance’s placements instead.

0.15.0 — 2026-10-06 — The error envelope’s and the page’s members are required

Nothing changes on the wire. The document now requires what every member has served since 0.12.0 and 0.13.0:

  • ErrorBody: message, requestId and retryable are required beside code. Every refusal carries all four.
  • PageInfo: asOfSeqTsNs, nextCursor, prevCursor and total are required beside globalSequence, and stay nullable. Each is on every page, null where it does not apply.

No member below 0.13.0 is left, so a client generated from this version never meets a refusal or a page without them. Regenerated, it types the seven members as always present (the four page members can still be null) and needs no fallback for their absence. A client generated from an earlier version keeps working unchanged.

The API guide’s Writes section now names POST /v1/ws-tickets as the one write the gateway answers itself, with no position header and no ETag. The document has declared it that way since 0.14.0.

During the deploy window a 0.14.0 member and a 0.15.0 member send the same bytes.

0.14.0 — 2026-10-05 — WebSocket tickets

One operation under a new WebSocket tickets tag: POST /v1/ws-tickets exchanges your bearer token for a short-lived, single-use ticket that opens the trading WebSocket from a browser, which cannot send a bearer token on the WebSocket handshake. Nothing existing moves. The trading WebSocket’s contract states the whole flow, with its ticket credential.

  • The request is {"stream":"trading"} — stream is an enum with one member today (WsTicketRequest); anything else is 400 MALFORMED_REQUEST.
  • The response is {"ticket", "expiresAtNs", "stream"} (WsTicket), served Cache-Control: no-store. ticket is opaque and URL-safe: put it in the WebSocket URL as ?ticket= unchanged. expiresAtNs (an epoch-nanosecond string) is when it stops opening sessions: 10 seconds after it is created, or your token’s expiry if that comes first.
  • Refusals. The route is admitted like every other (401, 403, NOT_PRIMED); a token with no expiry cannot create a ticket (401 UNAUTHENTICATED); at most 60 tickets a minute per user (429 RATE_LIMITED with Retry-After; a request refused for its body or its token costs none of it); and a member that holds no signing key answers 503 TICKETS_UNAVAILABLE, a new Error.code — a retry there changes nothing, and its retryable is false.
  • No Idempotency-Key, unlike every other write: a replayed answer would hand a retry the same single-use ticket, so every call mints a new one.
  • From a browser on another origin the call needs CORS, which the gateway does not serve yet: call it from the gateway’s own origin or through your backend until it does.
  • The first /v1 route. Every other route keeps its path.

During the deploy window: a member below 0.14.0 does not know the route and answers 404; one on 0.14.0 mints, or answers 503 TICKETS_UNAVAILABLE where no signing key is configured. A ticket opens a session once the trading WebSocket authenticates on the handshake — its own changelog’s 1.4.0 says so; a client that is not a browser needs no ticket, and sends its bearer token on that handshake.

0.13.0 — 2026-10-05 — Every collection is a page

Every collection now answers a page, and can be walked a page at a time:

{"globalSequence": "1042", "asOfSeqTsNs": "1759570000123456789",
"items": [], "nextCursor": "AQAAb3…", "prevCursor": null, "total": null}
  • Three parameters on every collection. limit is the page size, 1 to 100; a larger value is clamped. cursor is the nextCursor or prevCursor of a page you were served, sent with the same filters. include=total adds the exact number of rows matching the filters. Without limit the whole collection is served as one page, as before.
  • Four members beside globalSequence and items: nextCursor, prevCursor, total and asOfSeqTsNs. Each is on every page, null where it does not apply.
  • A second position token. asOfSeqTsNs, and an X-Immix-As-Of-Seq-Ts header on every read served from the platform’s state — the collections, single rows and their 404s, GET /me and GET /operations/{key} — are the platform’s timestamp of the change X-Immix-Global-Sequence names. A response holds every change at or before the position it states and may already hold later ones. Before a member has applied its first change the header is absent and asOfSeqTsNs is null. A write’s answer carries the position of the fact that answered it and no timestamp, as before; the one write response that gains the header is the 404 for a path entity the member does not hold, which is a read’s miss.
  • One order per collection, stated on its operation. orders, executions and an algo instance’s orders are newest first, by descending id. This moves three orders: orders and executions were unordered by contract and ascending in practice, and an instance’s orders were published ascending. The register’s collections (orgs, users, credentials, accounts, account-addresses, portfolios and the three policies) were unordered and now ascend by id. Balances, algo instances, an instance’s documents and the algo catalogue keep the order they had.
  • A query parameter a read does not take is refused 400 MALFORMED_REQUEST. It was ignored. A misspelt filter no longer serves the unfiltered collection, and a single row takes view alone: a client that re-sends its list’s filters on a row read, such as GET /users/{id}?status=DISCOVERED, is refused. GET /me and GET /operations/{key} take no parameter. A query string that does not decode is refused the same way.
  • INVALID_CURSOR (400) joins Error.code: a cursor that does not decode, or that came from another query — another collection, filter, view or organisation. Drop it and fetch the first page.

Pages are read from live state, so merge them by the row’s key and never append them, and take a finished walk as complete as of its first page’s position. The guide’s Reads section has the walk.

In the document, each collection’s 200 is the new named schema PageInfo together with the collection’s own items: a regenerated client gains one type and four optional, nullable members on every list response. Every collection gains the parameters Limit, Cursor and Include, and every read response the header AsOfSeqTs. The four members become required in a later version, once no member below this one is left.

Across the deploy window, a 0.13.0 member serves every collection in its stated order with all six members, honours the three parameters and refuses a parameter it does not take, on a collection and on a single row alike. A 0.12.0 member ignores limit, cursor and include, ignores any other parameter it does not know, and answers the whole collection in its own order with globalSequence and items alone and no X-Immix-As-Of-Seq-Ts. A walk can cross the two versions: its first page from a 0.13.0 member, then the cursor request answered by a 0.12.0 member with the whole collection and no nextCursor. A reader that merges pages by key and takes a page without a nextCursor as the end then holds no row twice. Merging does not drop a row that left the collection after its page was read: as on any walk, take the result as complete as of the first page’s position (the guide’s Reads). A reader that needs strict pages sends limit only once the environment runs 0.13.0 throughout.

0.12.0 — 2026-10-05 — Every refusal names its request and says whether to retry

Every refusal now says three more things, in the same envelope:

{"error": {"code": "NOT_PRIMED", "message": "…", "requestId": "01K6S7Z0Q4…", "retryable": true}}
  • error.requestId is the request’s id. Every response carries the same value in an X-Request-Id header, a success included, so quote it when you ask about a request. Send your own X-Request-Id — 8 to 128 of [A-Za-z0-9._-] — and it is the id used; anything else is replaced with a fresh one.
  • error.retryable says whether sending the identical request again, its Idempotency-Key included, after Retry-After or a short pause, can succeed with nothing else changed. It is true for a 429 and a 503 and for INTERRUPTED, and false otherwise, with two kinds of exception. Four 503s are false because they state how the service is deployed: BALANCES_UNAVAILABLE and ALGOS_UNAVAILABLE always, INTAKE_UNAVAILABLE on a member that stores no credentials, and NOT_SERVING on a read replica. And a refusal a record owner judged is always false: it is the recorded answer to its Idempotency-Key, and that key sent again replays it. So the orders owner’s 429 RATE_CEILING is false: send the order again under a fresh key once Retry-After has passed. The guide’s Retrying section lists every code that is true.
  • error.message is now on every refusal. Where neither the gateway nor the platform has something specific to add, it is a standing sentence for the code. It is still display text: never parse it.

A request no route answers is refused in the envelope too. An unknown path answers 404 ROUTE_NOT_FOUND, before authentication. The code is its own, so NOT_FOUND keeps one meaning, no such row in your organisation, and a misspelt path, or a member older than the operation you call, never reads as a missing row. A path asked with a method it does not take answers 405 METHOD_NOT_ALLOWED with an Allow header; it answered 404 before. A request whose Content-Length declares a body past 1 MB answers 413 PAYLOAD_TOO_LARGE, one whose Content-Type names a charset the gateway cannot read answers 400 MALFORMED_REQUEST, and an unexpected fault answers 500 INTERNAL_ERROR. Each of these left with the web server’s own body until now. Error.code grows by ROUTE_NOT_FOUND and METHOD_NOT_ALLOWED. Two answers still carry no envelope: a request the web server turns away before the gateway reads it, such as a request line it cannot parse, and a failure too deep for the gateway to answer.

In the document, the envelope’s inner object is now the named schema ErrorBody, and Error.error references it: a regenerated client gains one type name where it had an anonymous one, and no field moves. message, requestId and retryable are published optional in this version, because a member below it does not send them all; they become required in a later version, once no such member is left. X-Request-Id is declared on every operation, as an optional request header and as a header of every response: a regenerated client gains one optional parameter on each operation.

Across the deploy window, a 0.12.0 member sends all four members of error on every refusal and X-Request-Id on every response. A 0.11.x member sends code, sometimes message, and neither requestId nor retryable; it sends no X-Request-Id and ignores yours, answers a wrong method 404, and answers an unknown path or an oversized body with a body that is not the envelope. Where retryable is missing, decide by the status and the code, as before: treat a record owner’s refusal as final for its key, and bound any retry of INTAKE_UNAVAILABLE and NOT_SERVING, whose deployment case that member cannot tell you apart from an outage.

0.11.4 — 2026-10-04 — A write a stalled member could not look up answers 503, never a 202 that leads nowhere

A member that cannot look a request’s key up within the write deadline now answers 503 NOT_SERVING: nothing was stored or sent, so retry. That covers POST /credentials and POST /credentials/{id}/rotate, and POST /orders and the algos document writes when a name the body states resolves to nothing here. Until now it answered 202 with a Location for an operation the request never took, which polling could answer 404 UNKNOWN_OPERATION. The Unavailable response’s description names the case.

Across the deploy window: a gateway below 0.11.4 answered such a request 202 with a Location; from 0.11.4 it answers 503 NOT_SERVING. On either side, retry such a request under the same key — below 0.11.4 once its Location answers 404, from 0.11.4 at once.

0.11.3 — 2026-10-04 — A retried credential key stores nothing the member already answered

POST /credentials and POST /credentials/{id}/rotate now ask the member’s journal before they store any key material. A retry of a key the member answering it already holds stores nothing and answers as any retry does: the first attempt’s answer, replayed with Idempotent-Replay: true and its position; the attempt still being carried, attached to; or 409 IDEMPOTENCY_KEY_REUSED for a key used on another record or resource. The intake’s store-time refusals — 409 INTAKE_KEY_REUSED, 429 RATE_LIMITED, and 503 INTAKE_UNAVAILABLE when the store refuses the write — meet only a key the member holds no answer for. The guide’s Writes section has the rule.

Across the deploy window: a gateway below 0.11.3 answered most such retries the same way, with two exceptions. Near the end of the time a member keeps a key’s answer, it stored the legs again before replaying, and could answer INTAKE_KEY_REUSED, RATE_LIMITED or INTAKE_UNAVAILABLE where the replay belonged. And a retry sent while the first attempt was still being carried, if the platform then lost that attempt in transit, could be accepted while the key material it named was disabled in the store — a credential no connector can use. From 0.11.3 the late retry replays its key’s answer, and the retry sent mid-flight answers the lost attempt’s 503 — the next retry then stores the legs and sends them. On either side, retry under the same key with the same legs; new legs are a new key.

0.11.2 — 2026-10-02 — A retried order key replays, whatever its names resolve to now

On POST /orders, the gateway’s own 422 for a name — INSTRUMENT_NOT_LIVE for a symbol the member holds no instrument under, ACCOUNT_NOT_ACTIVE for a display name no live account of your organisation holds — now stands only for a key the member answering it holds no answer for. A retry of a key it already holds answers as any retry does, whatever the name resolves to now: the order the first attempt placed, or the platform’s refusal of it, replayed with Idempotent-Replay: true and its position; a submit still being carried, attached; a key used for another operation, 409 IDEMPOTENCY_KEY_REUSED. A key the member holds nothing for meets the 422 as before — the same message, nothing sent, no position header, and the key free to retry. The 422 now comes from the member’s journal, so a member that cannot carry writes answers 503 NOT_SERVING or OWNER_ABSENT, or 429 INBOX_FULL, ahead of it, as it does any write. The guide’s Orders section has the rule.

Across the deploy window: a gateway below 0.11.2 answered such a retry with the 422 — after the account was renamed or deactivated, or once the member stopped holding the symbol — while the order its first attempt placed stood, and its message said nothing was sent: a client that minted a fresh key on it placed a second order. From 0.11.2 the retry replays the first attempt’s answer. On either side, after the gateway’s 422, fix the name and retry under the same key: it is the order’s clientOrderId, so a retry under it can never place a second order, and a fresh key can.

0.11.1 — 2026-10-02 — Name an algo’s account and instrument

A config document — the document of POST /algos/instances and of PUT /algos/instances/{id}/config — may now name an account or an instrument wherever the algo’s params schema types a reference, instead of stating its id: an account by its display name in your organisation ("account": "okx-main"), an instrument by its platform symbol ("instrument": "OKX@BTC/USDT") — the names POST /orders already accepts. A JSON number is still an id, and a JSON string is a name: "700" names an account called 700.

The gateway resolves each name when it receives the request and sends the document with the name replaced by the id it names, keeping the name beside it as a comment, so a document you read back (GET /algos/instances/{id}/configs/{seq}, or the config write’s 200) shows "account": 118310760 /* okx-main */. Everything else in the document — your comments, the layout, every other value — is kept exactly as you wrote it. A name is resolved once: a later rename never moves a running instance, and submitting the document again resolves it again. When the comments would take the document past its 6,144-byte bound — or for a name a comment cannot carry — the ids are written without them.

  • A name nothing here holds is 422 REFERENCE_UNKNOWN_ACCOUNT or REFERENCE_UNKNOWN_INSTRUMENT — the codes the platform gives an id it does not know — answered by the gateway with nothing sent: no position header, nothing journaled, and the key retries fresh. The message names the value’s path and the name.
  • The 6,144-byte bound holds for the document as written and as sent: one that fits as written but not once its names are replaced by their ids is 413 DOCUMENT_TOO_LARGE.
  • A retried key the member answering it already holds replays its answer, as before, whatever its names resolve to now: a refusal answers only a key’s first attempt.
  • A version that member has not caught up with yet — one loaded a moment ago — sends the document as written, and the platform refuses its names 422 FIELD_TYPE_MISMATCH — a fact, so the key is spent: once GET /algos/versions lists the version, retry under a new key.

Across the deploy window: a gateway below 0.11.1 sends a named document as written, and the platform refuses it 422 FIELD_TYPE_MISMATCH at the reference’s path — a fact, so the key is spent. From 0.11.1 the name is resolved. A document that states ids crosses unchanged on both sides.

0.11.0 — 2026-10-01 — The algos surface

Twelve operations under a new Algos tag serve your organisation’s algo instances — strategies the platform runs for you, each created from a loaded algo version with a config document — and the reads around them. Nothing existing moves.

The reads. GET /algos/instances lists every instance your organisation ever created, DELETED ones included, in id order; GET /algos/instances/{id} serves one, with its attribution (who created it, who or what last changed it — lastUpdatedByUserId is null when the engine or the platform’s own rule moved it, and lastCause says which) and ETag: "<configSeq>", the sequence number of its latest document. GET /algos/instances/{id}/configs and …/configs/{seq} serve the document history: each document verbatim (the JSONC text you sent), its outcome (STAGED, APPLIED, REFUSED), outcomeAtNs (null while the engine’s verdict is out), the engine’s detail on a refusal, and the account and instrument references the platform projected from it. GET /algos/instances/{id}/orders is exactly that instance’s orders, in the OrderUpdated row shape (algoInstanceId set, userId 0). GET /algos/versions is the catalog — the platform’s, not an organisation’s: every loaded version per engine pool, with its manifest and the JSON Schema a document for it must conform to. The algos reads have one surface (?view= other than latest is 400) and no status filter (?status= is 400). Another organisation’s instance is 404 on every route, indistinguishable from an absent id.

The writes all need algos:manage, judged at the platform (a refusal is a fact with the position header; the door checks nothing but the request’s shape). On every algos write the Idempotency-Key is the command’s commandKey — one grammar, 1 to 64 of [A-Za-z0-9._~-]; a body commandKey may restate it and never contradict it — and a body userId is refused 400: the principal is stamped. POST /algos/instances creates an instance with its document in one request (algoVersionId, pool, displayName, remark, document); the document is one JSON string holding the JSONC text, and a document past 6,144 bytes of UTF-8 is 413 DOCUMENT_TOO_LARGE at the door — nothing is sent, and the key retries fresh. The create answers 201 with the row once the platform has recorded both the instance and its first document (configSeq 1), or 202 with Location: /operations/{key} past the sync deadline, as every write; the operation record’s outcome then names the instanceId and the configSeq the pair minted. PUT /algos/instances/{id}/config stages a new document (remark, document), while the instance runs too, under If-Match: "<configSeq>" — the instance’s ETag; absent or * is unconditional, a weak validator is 400 INVALID_IF_MATCH, and a stale one is 412 CONFIG_SEQ_CONFLICT with currentVersion and a fresh ETag (re-read, reapply, retry). It answers 200 with the staged document — no ETag: documents carry no version — and the engine’s verdict is a later state, read on …/configs/{seq}; one document awaits a verdict at a time (409 CONFIG_PENDING). POST /algos/instances/{id}/start, /stop and /delete take { remark } and no If-Match (one is 400 INVALID_IF_MATCH: stopping is the safe direction, and no version race may lose it); each answers 200 with the row. A delete is terminal: the row and its documents stay readable, the id is never reused. POST /algos/halt stops every started instance of your organisation and answers 200 with count — 0 when nothing was started, so the call always has an answer.

Error.code grows by the door’s 413 DOCUMENT_TOO_LARGE and 503 ALGOS_UNAVAILABLE, and by the algos owner’s reasons — the AlgoRejected.reason enum, published in the document; the guide’s Algos section places each under its status. OperationRecord.outcome.family gains algos, and outcome gains instanceId and configSeq. info.x-immix-algos-schema names the wire schema the algos message shapes derive from (121.v0).

Across the deploy window, a 0.10.0 member answers every /algos path 404 — a route it does not serve — and a 0.11.0 member deployed without the surface answers them 503 ALGOS_UNAVAILABLE after admission, with no position header. The 503 is the environment’s posture, not a transient: it clears when the environment gains its algos owner, never by retrying, so a client renders “not available here” on it rather than an empty table, as for BALANCES_UNAVAILABLE. Every other route is unaffected on both sides.

0.10.0 — 2026-10-01 — Binance spot accepts balances-only credentials

POST /credentials now accepts a balances-only Binance spot credential — exchangeId 100 with canReadBalances: true and canTrade: false — where it answered 422 VENUE_UNSUPPORTED before. In CredentialMaterial’s x-immix-intake-venues, binance_spot now names accountGroup: "binance-account" instead of null. Nothing else moves: the legs are the same two (key, privateKey), and a canTrade row is served by binance-oe as before. Such a credential’s scopeUnobserved is true on Binance’s demo environment, which serves no read of a key’s own scope (0.9.0).

Across the deploy window, a 0.9.0 gateway still refuses the row VENUE_UNSUPPORTED and a 0.10.0 gateway accepts it. A client that retries a refused submission after the upgrade stages it normally.

0.9.0 — 2026-10-01 — scopeUnobserved on the credential

A credential gains scopeUnobserved (boolean, optional — absent reads false). It is true when the pre-approval probe answered but the venue offers no way to read the key’s own permissions — today Binance’s Demo Mode. On such a row observedPermissions is empty because nothing stated a scope, not because the key has none, and the approval’s permission checks (SCOPE_INSUFFICIENT, SCOPE_MISMATCH) are not applied to it: render it as “scope not observed”, never as “no permissions”.

false means what observedPermissions always meant: the venue stated the key’s scope, and approval judges it.

Across the deploy window: a gateway still on 0.8.0 omits the field — read it as false, the value every credential had before. After it, every credential carries it; only a credential probed by a venue without a permissions read is ever true. No existing field changes.

0.8.0 — 2026-10-01 — Binance spot credentials

POST /credentials and POST /credentials/{id}/rotate accept a Binance spot API key (exchangeId 100) beside OKX. CredentialMaterial is now one schema per venue, a oneOf of OkxCredentialMaterial (key, secret, passphrase — unchanged) and BinanceSpotCredentialMaterial (key, privateKey). The body’s exchangeId names the venue, and the material must carry exactly that venue’s legs.

Both sides of the deploy window. An OKX body is unaffected: the same three legs validate against the same closed schema, now under its own name. A Binance body sent to a member below 0.8.0 is refused 422 VENUE_UNSUPPORTED, because that member serves no Binance connector. Roll the fleet before onboarding Binance keys.

What to do.

  • Regenerate, and expect generated source to change. The wire is unchanged for OKX; the generated types are not, and how they change depends on the generator:
    • Structural generators (TypeScript — openapi-typescript and the like) emit CredentialMaterial as a union, so an OKX object literal still type-checks where CredentialMaterial is expected. Code that reads a leg (.secret) off the union no longer type-checks until it narrows to OkxCredentialMaterial.
    • Nominal generators (openapi-generator’s Java, Kotlin and C# targets) emit CredentialMaterial as a oneOf wrapper holding an instance, and the three legs move to the new class OkxCredentialMaterial. Code that built the material directly — new CredentialMaterial().key(k).secret(s).passphrase(p) — stops compiling: build an OkxCredentialMaterial and wrap it in CredentialMaterial.
  • For Binance, send an Ed25519 key. Binance’s order-entry session accepts no other key type, so the intake reads privateKey as an Ed25519 PKCS 8 key and refuses anything else — an HMAC secret, an RSA key — with 400 MALFORMED_REQUEST naming material.privateKey, before anything is staged. Send the API key Binance issued as key and the Ed25519 private key you registered as privateKey (PKCS 8 form, PEM or its base64 body).
  • Trading keys only. A Binance credential must set canTrade. A balances-only Binance credential is refused 422 VENUE_UNSUPPORTED, because no Binance balance connector exists yet; x-immix-intake-venues shows this as a null accountGroup.

0.7.0 — 2026-10-01 — algos:manage: the capability enum gains the algos surface’s one scope

The register’s UserCapabilities set gains its eighteenth choice, algosManage, and this document follows: one value added to the capabilities enum — on the user row, GET /me and the two user bodies — which is why this is a minor (regenerate: a typed client’s capability enum gains a member). No route, code or request of yours changes.

What changed

  • capabilities may carry algos:manage, served in declared order after orgs:approve. It is the one bit that admits every command of the algos surface (create, configure, start, stop, delete, halt — the routes arrive with their own section) and the organisation’s authority for its robots to trade: an algo instance’s orders carry no user (0.6.0), so no orders:trade sits anywhere in their chain, and this bit is granted as a trading permission. It is in no preset — TRADER stays orders:trade — so grant it by scope string on the user create and restate routes, as a Trader’s bit is granted outside the maker-checker presets; the door refuses a body naming it beside a preset whose expansion lacks it, as for any other scope.
  • info.version moves from 0.6.0 to 0.7.0; info.x-immix-register-schema stays 114.v7 — a set choice is a bit in a field that already exists, so the wire layout and the schema version are unchanged.

Each side of the deploy window

A 0.6.0 member never serves the scope — the serializer walks the scopes its build names, as the field’s description states, so a bit it cannot name is dropped from the array — and refuses a body naming it (400, an unknown scope); a 0.7.0 member serves it on every user granted it and accepts it in a body. A client generated from 0.6.0 whose capability enum is closed regenerates before it reads a user holding the new scope (the closed-enum trade-off 114.v6 recorded); a client that does not validate the enum keeps working against either. Deploy order is register → gateway → grant: a gateway that admits the scope forwards it to an owner that recognises it, never the other way round, and the scope is granted to nobody until every gateway member serves 0.7.0 and the platform’s other readers of the user record (the orders owner, the persistence writer) run this release — an older reader drops a bit it cannot name, and keeps it dropped across its restarts. The org-register pair restarts lockstep (its owner’s snapshot version moves: it now grants the bit its previous version refused, so a mixed pair would answer one grant two ways). The roll itself is the reason: a user read through a 0.6.0 member and restated through a 0.7.0 one loses the scope — PUT replaces the whole set, the array the old member served never carried it, and no member can tell that restate from a revocation. The scope is in no preset, so a grant is always an explicit act through a 0.7.0 member; holding grants until the roll completes leaves nothing an old member could drop, and a grant made mid-roll anyway is exposed until the roll completes and is restated after it. The loss is of authority, never a grant.

0.6.0 — 2026-10-01 — algoInstanceId on the order reads: an order placed by an algo instance carries the instance and userId 0

The orders wire schema moves to 111.v2, appending algoInstanceId to the four order messages, and this document follows: one property added on two reads, which is why this is a minor (regenerate: a generated row type gains an optional property). No route, code or request of yours changes; what you send on POST /orders and POST /orders/{id}/cancel is exactly what 0.5.1 took, and the platform’s autonomous algos — the reason for the field — place their orders on a lane of their own, never through this edge.

What changed

  • OrderUpdated and OrderRejected gain algoInstanceId (x-since-schema-version: 2, nullable, never required — an appended field). On an order a human placed — every order this edge has ever served, and every order placed through it — it serves null, and userId is the user it always was. On an order an algo instance placed it names the instance, and userId serves 0: an algo’s order carries no user. Exactly one of the two is ever set. GET /orders is the organisation’s list and serves them like any other order; a client that filters it by its own userId will not see them, by design — which robot placed an order is the instance, and which human is behind the robot is that instance’s own record, served by the algos surface when it lands. Read algoInstanceId != null (never userId == 0) as “machine flow”.
  • The two write bodies stay as they were, and now say so. SubmitOrderBody and CancelOrderBody publish neither userId nor algoInstanceId: both are the gateway’s to stamp — the session’s user, and an instance of 0 — and a body that states either is refused 400 MALFORMED_REQUEST, as a body userId always was. No session can dress a click order as an algo’s.
  • A human may still cancel an algo’s order. POST /orders/{id}/cancel on an order whose algoInstanceId is set is accepted for a user of the same organisation, exactly as for any order the organisation holds; the row keeps its algoInstanceId and its userId of 0 — the cancel’s actor rides the cancel command, never the order.
  • The trading edge’s WebSocket order channel does not carry algoInstanceId yet. Its row keeps serving userId as before and no instance field, by choice: no machine-flow order can exist before the platform release that lets the algos place orders, and that release’s version of the trading-ws contract adds the field (null where this document serves null), amends its userId prose and ships a section of its own changelog. Until then a subscriber there has no machine-flow rows to read, and the rule above — the instance field, never userId == 0 — is the one to build on for both lanes.
  • info.version moves from 0.5.1 to 0.6.0; info.x-immix-orders-schema moves from 111.v1 to 111.v2. The API guide’s Writes and Orders notes carry the rule.

Each side of the deploy window

A 0.5.1 member serves rows without algoInstanceId — the property is absent, not null — and a 0.6.0 member serves it on every order row, null on every order placed to date. A client generated from 0.5.1 keeps working against either (an unknown property is ignored; a null optional is one it never had to read); one generated from 0.6.0 reads null from a 0.6.0 member and absent from a 0.5.1 member for the same order — treat the two alike. Between an older gateway member and the newer orders owner the wire frames carry the field and the older member reads past it, exactly as an appended field is meant to be read; no stream reset rides this release. Nothing you send differs between the two.

0.5.1 — 2026-09-25 — the guide and this changelog move with the gateway’s new name

No wire change: no path, parameter, body, schema, status, header, operation id or tag moves, and info.title is still Immix API. The gateway that serves this document is now called the trading gateway — it was the org gateway — and the two documents it links were renamed with it.

What changed

  • The links to the API guide and to this changelog — in info.description, in externalDocs.url and in every operation description that points into the guide — follow the two documents to their new addresses. Before the deploy the document links the old addresses; after it, the new ones, and the old addresses no longer resolve.
  • POST /credentials’ description opens its list with “Refusals” where it read “Its refusals” — the same six codes and the same link, in fewer characters.

What to do. Nothing, unless you store the guide’s address: take the new one.

0.5.0 — 2026-09-25 — name the account, not just its id

POST /orders gains an account alias for accountId: name the account by its display name within your organisation ("okx-main") instead of its numeric id. The same rule the instrument alias already states, spelled the same way — at least one of the two, both stated must agree — and accountId leaves the body’s required list so a body naming only the name validates against the published document.

Both sides of the deploy window. Nothing moved: a client sending accountId is unaffected, and accountId is still the stable address. A client that starts sending account gets 400 MALFORMED_REQUEST (“the order names no account”) from a member below 0.5.0, because the alias is stripped there and no id is left — so roll the fleet before switching, or send both spellings through the window. Regenerate: the body’s schema gained a property and its anyOf became an allOf of two anyOfs, one rule per alias.

Only the id crosses. The edge resolves the name and puts the id on the wire. A name is your organisation’s to change; a command carrying one would name a different account after a rename, and served rows would have to answer in a name the register no longer holds. The same reasoning already keeps the instrument symbol off the wire.

A new 422: ACCOUNT_NOT_ACTIVE — a display name no live account of your organisation holds. Answered at the door, where nothing has been sent: no position header, and your Idempotency-Key retries fresh. The orders owner answers the same code, as a fact with the position header, to an id it will not trade — one meaning for the consumer, whichever spelling named the account. Error.code has always been open, so a client that treats an unknown code by its status already handles it.

Resolution is org-scoped by construction. The org is the admitted principal’s, never the body’s. Another organisation holding an account of the same name is invisible here: naming it answers exactly as an unheld name does, so the alias is not a way to discover other tenants. An account still being classified carries whatever the venue called it, binds no name, and is addressable by id alone.

The WebSocket door takes the same alias, resolved through the same predicate. One submit body serves both lanes, which is the reason this landed with the WS door rather than a rung later.

0.4.3 — 2026-09-25 — money is served at the scale it states, and reference data leaves the read path

Sections 0.3.1 through 0.4.2 said every balance, order, execution and policy amount — each a Decimal on the platform’s wire since 0.3.1, a scaled integer carrying its own scale — was served at no fewer places than the referenced record’s: an amount widened to the asset’s unitScale, a quantity to the instrument’s qtyScale, a price or notional to its priceScale. That widening is removed. Every money value is now served at exactly the scale its own value states, and the read path consults no asset and no instrument at all.

What you see change. Only the number of trailing zeros, and only where a value was recorded at fewer places than its reference record. Examples, all of them the same numbers as before:

FieldWasNow
an asset-policy maxTicketAmount recorded at 2 places, asset unitScale 6"2.500000""2.50"
an order price recorded at 1 place, instrument priceScale 2"100.50""100.5"
an execution fee of a stated zero"0.000000""0"

A value recorded at more places than its record was already served in full and is unchanged. A value recorded at exactly its record’s places — the overwhelming majority, since the order path states the record’s pair at acceptance — is unchanged.

What to do. If you parse money as a decimal and compare numerically, nothing. If you compare money as strings, or read the digit count as meaning, that breaks: "2.5" and "2.500000" are the same number, and which one you get is now the precision the platform recorded rather than a width derived from reference data. The guide has said to parse and never assume the scale since 0.1.0; this makes it load-bearing.

The other half. 0.3.4 made the way in refdata-free — the door encodes each decimal at its own minimal scale and reads no record to do it. This is the way out. Together they take reference data off this gateway’s money path entirely, in both directions.

Why. The widening was never the design this API meant to have, and removing it restores the one it did: a read serves each value at its own scale. The widening was bought to keep the served width independent of the precision a publisher happened to state. It never actually delivered that: it degraded to the stated scale whenever this member did not hold the asset or instrument — during catch-up, or for a venue listing an asset before refdata carries it — so the same row could serve two different widths depending on when you asked. Serving the stated scale is independent of reference data unconditionally, which is the property the widening was reaching for. It also lets the websocket edge render money identically without putting a refdata lookup and a BigDecimal allocation on its per-row push path: one number, one string, whichever edge serves it.

Either side of the deploy window. A reader on the old build and a reader on the new one see the same numbers, and differ only in trailing zeros on rows recorded coarser than their record. No field is added, removed or retyped; unscaled stays absent and deprecated as it has been since 0.3.3.

0.4.2 — 2026-09-22 — fees and fills at the venue’s precision: a fee where null was, executions that used to be refused, more places on some orders

Nothing in this document moves — no route, field, enum member, code or schema keyword — and the rule you read money by is the one 0.3.2 stated: every value is served at the scale the platform holds it at, never fewer places than the referenced record’s, more only where a venue reported finer. What changes is what the platform holds: the order-entry connector now states every amount at the digits the venue rendered — a working scale per instrument and family, and per fee asset, learned from the wire and widened, never narrowed — where it used to read fills against the instrument record’s scales and fees at a fixed eight places. A patch, by the guide’s Versioning rule: behaviour inside the published shapes, what a value is served as. Three things you can see:

  • A fill’s fee where you used to read null. A fee the connector could not state — finer than eight places, as a BTC-denominated fee on a buy is (the venue charged -0.00000124914: eleven places) — was served as null, “not stated”, and the execution stood without it. It is now stated exactly, at the fee asset’s working scale, and served at no fewer places than that asset’s unitScale ("0.000001249140" for a unitScale of 12), positive for a charge as before. null still means what it meant — the venue named no fee currency this platform holds, or an amount no 64-bit integer carries at 18 places — and both are counted on the connector, never on you. If your reconciliation read null as “no fee charged”, it was undercounting these fees; expect those totals to move.
  • Executions that used to be missing arrive. A fill whose quantity or price carried more places than the instrument record’s qtyScale or priceScale was refused whole by the connector — the execution, its trade id and the order’s progress lost until a reconcile. It now reaches the order, whose holders widen to take it; the one refusal precision has left is a value no 64-bit integer holds at its scale, the FILL_PRECISION_OVERFLOW rejection 0.4.0 published.
  • More places on some orders. An order touched by a value the venue rendered finer than the instrument record — a fill, or the venue’s derived average price, which can carry one place more than the tick — reads with those places from then on, on every money property of the row (price, qty, cumQty, leavesQty, avgPx, lastFillPx, lastFillQty): "50000.12" may become "50000.120". Exact — trailing zeros only — and 0.3.2’s promise; parse money as a decimal, never by counting places.

Across the deploy window the change lands with the order-entry connector’s roll, not the gateway’s: until it rolls, such fees read null and such fills are refused; after it, they are stated and admitted, and an order’s places widen the first time the new connector reports it. Nothing you send changes, nothing already served is rewritten, and no client needs regenerating.

0.4.1 — 2026-09-22 — the door holds money to the published pattern, and its 64-character bound is published as maxLength

Every money property in this document has always published one grammar — pattern ^-?[0-9]+(\.[0-9]+)?$: an optional minus, digits, and at most one point with digits on both sides of it — but the gateway never checked it. It handed your string to a general-purpose decimal parser, which reads more than that grammar does. And in the other direction the gateway refused a money string longer than 64 characters, which the schema did not say. Both gaps close: the gateway now accepts exactly what the schema admits. A patch, by the guide’s Versioning rule — behaviour inside the published shapes and code set, which requests the door refuses; the one change to the schemas is a constraint keyword stating a rule the gateway already enforced, a case the rule now names. No route, field, enum member or code moves.

If every money string you send already matches the published pattern, nothing changes for you. Check the place your client turns a number into a string: a general-purpose formatter switches to exponent form for small or large values — JavaScript’s String(0.0000001) is "1e-7", Java’s BigDecimal.toString() and Python’s str(Decimal) give "1E-7" — and that spelling is now refused. Format money from an exact decimal type in plain notation (BigDecimal.toPlainString(), Python’s format(d, 'f')), or carry the string you were given. In JavaScript keep money in a string or a decimal library, never a Number: toFixed is no fix — it rounds a binary float, (0.0000001).toFixed() is "0" (which the gateway reads as “unset”), and from 1e21 it gives exponent form again.

What changed

  • A money string off the published pattern is refused 400 MALFORMED_REQUEST, on every route that takes money — POST /orders (price, qty) and POST / PUT of /asset-policies, /chain-policies and /trading-policies — where it used to be read as the number it spells. The spellings that stop working: an exponent ("1e3", "1E-3"), a leading plus ("+5"), a point with no digit on one side (".5", "5."), surrounding whitespace (" 1.5 " — the gateway used to trim it, and no longer does), and digits outside ASCII (fullwidth "12.5" used to read as 12.5). error.message names the field, the accepted form and the string it was sent. It is the door’s refusal, like every other MALFORMED_REQUEST: nothing reached the platform, the response carries no position header, and the key is not spent — correct the spelling and retry under the same Idempotency-Key.
  • What is still accepted is everything on the grammar: leading zeros ("007.50"), trailing zeros ("1.50" and "1.5" are one value, 0.3.4’s rule), a minus sign, and "-0", which is "0" — “unset”, as null and an absent field are. What a value is judged for has not moved: more than 18 fractional digits, or past a 64-bit integer at its own scale, is still the door’s 400, and everything else is still the platform’s to judge.
  • Every money property now publishes maxLength: 64 beside its pattern — request bodies and served rows alike. On a request it is the bound the gateway has enforced since 0.3.4, now written where a generated client and a form can read it, so a schema-valid request is no longer one the door can refuse for its length. On a response it is simply true: the widest decimal this API serves is 39 characters. The length is counted over the string as sent; a string past it is refused for its length before anything else reads it.
  • BadRequest’s description (the 400 every write route shares) names the two money rules by their schema keywords instead of the bare 64. info.version moves from 0.4.0 to 0.4.1; no info.x-immix-*-schema moves — nothing on the platform’s wire changed. The API guide’s Money section states the grammar.

Each side of the deploy window

For the length of a deploy a request can meet a member on either side. A member below 0.4.1 still accepts "1e3", "+5", ".5", "5.", a string padded with whitespace and digits outside ASCII, reads each as the number it spells, and sends that value on — so an off-pattern order or policy write can succeed on one member and be refused on the next. A member at 0.4.1 answers each of them 400 MALFORMED_REQUEST. Both refuse a money string longer than 64 characters, and both serve the same rows: nothing you read changes on either side, only the document’s schemas gain maxLength. A client that sends only on-pattern strings cannot tell the two apart. No wire schema version moves and no stream reset rides this release.

0.4.0 — 2026-09-22 — FILL_PRECISION_OVERFLOW joins OrderRejected.reason; nothing you send or read changes

The orders owner gained one refusal reason, named one it already had, and made its ticket-cap comparison exact in every case. The one change to the document is an enum member, which is why this is a minor: a client generated with a closed enum type gains a member when it regenerates. No route, field or status moves, and no request of yours can earn the new reason.

What changed

  • OrderRejected.reason gains FILL_PRECISION_OVERFLOW (appended; the enum is append-only — branch on what you know). The orders owner answers it to a connector’s progress report, or to an attribution of a discovered fill — never to POST /orders or a cancel — when a venue states a fill at a precision the order cannot hold in a 64-bit integer. The fill is refused whole, never rounded to fit and never applied, the platform’s operators are paged, and none is expected. You meet it only if you read refusals off the platform’s stream; it sits under 422 in the guide’s table because that table is total, not because a request can answer it. Until now the same refusal was the overflow half of INVALID_FIELD.
  • NO_REFERENCE_PRICE has a second cause, now written down. An order needs a fresh reference price, and the owner places the quote on the instrument record’s price grid: a quote that grid cannot hold exactly — a venue quoting finer than reference data has registered — is no reference, and every order on that instrument is refused until reference data catches up. That is a decision (fail-closed: the record’s tick, bounds and minimum notional are as stale as its grid), not a fault, and nothing about the refusal changed: the same code, the same 409, no detail. Your handling does not change either — the refusal is the owner’s, so retry under a fresh key (0.3.4’s rule). What is new is on the platform’s side: the owner counts this cause apart from a dead feed.
  • A ticket cap compares exactly whatever scale it was written at. 0.3.4 let a trading policy’s maxOrderQty and maxOrderNotional ride at the scale you stated, so a cap and the order it judges differ in scale as a rule. The owner now compares them as products, restating neither — no verdict moved, and the one case it used to refuse on caution (a notional and a cap both past a 64-bit integer at the instrument’s priceScale) is decided exactly. A breach that large states no observed leg in error.message — the figure does not fit the platform’s decimal — and reads limit … (notional) alone.
  • info.version moves from 0.3.4 to 0.4.0; info.x-immix-orders-schema stays 111.v1 — an enum member appends without a schema version, as ORG_NOT_ACTIVE did. The API guide’s Orders table lists the reason with its note.

Each side of the deploy window

Nothing a client sends or reads differs between a 0.3.4 member and a 0.4.0 one: the new reason cannot answer an HTTP request, and the other two items are the owner’s. Between an older gateway member and a newer orders owner, a FILL_PRECISION_OVERFLOW refusal on the stream decodes as a reason that member does not know — which it has always treated as the validation class, and which concludes no operation of yours. No wire schema version moves and no stream reset rides this release.

0.3.4 — 2026-09-22 — money in crosses at its own scale: the door’s two scale refusals retire

Until now the gateway scaled every decimal you sent to the referenced record’s scale — an amount to the asset’s unitScale, a quantity to the instrument’s qtyScale, a price or a notional to its priceScale — which is why it had to hold that record, and why it refused what that scale could not express. Every money value on the platform’s wire has stated its own scale since 0.3.2 and 0.3.3, so the gateway now encodes each decimal at its own minimal scale — the fractional digits you sent, trailing zeros dropped, so "1.50" and "1.5" are one value — and reads no reference data to do it. The two refusals 0.3.2 and 0.3.3 said would retire do, and the platform judges the value instead. No route, field or schema shape moves, and no code leaves the document; request and response bodies are the same decimal strings. What does move is behaviour inside those shapes — which requests the door refuses, and one code it answers. A patch: the guide’s Versioning section now says what 0.3.1 to 0.3.3 already did, that behaviour inside the published shapes and code set is a patch.

The one thing to do before you deploy against it: requests this door used to stop now reach the platform, and the platform’s refusal spends the key. A door refusal was never journaled, so the same Idempotency-Key retried fresh; an owner’s refusal is a journaled fact, and a retry of its key answers the stored refusal again with Idempotent-Replay: true for as long as that member’s journal holds the key (a day by default). For INSTRUMENT_NOT_LIVE, which both the door and the orders owner now answer, the position header tells them apart — the window section at the end has the rule in full.

What changed

  • Digits beyond the record’s scale no longer refuse 400 at the door. On POST /orders a price finer than the instrument’s priceScale, or a qty finer than its qtyScale, reaches the orders owner, whose grid answers: 422 TICK_SIZE_VIOLATION or QTY_STEP_VIOLATION, with the observed value against the tick or step in error.message (observed 50000.001 against limit 1.00 (price)) — or 422 INVALID_FIELD where the instrument states no tick or step to be off, or the value is past a 64-bit integer at the instrument’s scale. That refusal is a fact on the platform’s stream: it carries the position header, the operation is journaled, and the key is spent — a retried key replays the refusal, so a corrected order needs a fresh Idempotency-Key (a fresh clientOrderId), where the door’s 400 left the key free.
  • A policy amount finer than its record is accepted, on POST and PUT of /asset-policies, /chain-policies and /trading-policies, and compared exactly: a maxOrderQty of "1.123456789" on an instrument whose qtyScale is 8 is that cap, not a refusal. The amounts of one asset or chain policy share one scale — the platform holds a row’s amount family at the finest scale any of its amounts states — which has two consequences you can see. A row reads back at that shared scale or the asset’s unitScale, whichever is finer: on an asset whose unitScale is 6, send maxTicketAmount "2.5" beside a reconciliationToleranceAmount of "0.0000001" and the ticket reads "2.5000000". And amounts that do not fit a 64-bit integer together at that scale — about nineteen digits between the largest amount’s integer part and the finest amount’s places — are refused by the register, 422 INVALID_FIELD, where the door used to refuse the oversized one 400 by name. A trading policy’s two caps are two families and do not share.
  • SCALE_UNKNOWN (422) is retired. No member at 0.3.4 or above answers it. A policy naming an asset or instrument this member does not hold is accepted — its amounts need no record to be encoded — and reads back at the scale the row holds, with no places added for a record the member does not hold (0.3.3’s rule). An order naming an instrumentId this member does not hold now reaches the orders owner, whose own reference data decides: it is accepted if the owner holds the instrument open — an order a lagging member used to stop at the door can now trade — and otherwise answered 422 INSTRUMENT_NOT_LIVE, the code the owner has always answered for an instrument it does not hold or that is not open. The retired code stays listed in Error.code’s description and the guide’s table until the next major: a member below 0.3.4 still answers it.
  • POST /orders by symbol: an instrument this member holds no instrument under answers 422 INSTRUMENT_NOT_LIVE at the door, where it answered 422 SCALE_UNKNOWN. The symbol resolves to no id, so nothing is sent and nothing is journaled — the same key retries fresh — and the code is the one the owner answers to an unheld id, so you meet one meaning by either spelling. Tell the two apart by the position header, as for every code both the door and an owner answer: with X-Immix-Global-Sequence it is the owner’s fact and the key is spent; without it, the door’s, and the key is free. INSTRUMENT_NOT_LIVE joins the door’s codes in Error.code’s description and the guide’s table; it was already in the document as an OrderRejected.reason.
  • What the door still refuses for money, all 400 MALFORMED_REQUEST: a value that is not a decimal string; one no value on the platform can state — more than 18 fractional digits, or past a 64-bit integer at its own scale; a string longer than 64 characters (new: the widest decimal this API serves is 39, and the bound keeps a body-sized string of digits from costing the gateway seconds to parse); a scale of your own (priceScale, maxTicketAmountScale, …); and an amount stated beside an assetId or instrumentId that is absent or 0, which is still how the organisation-wide default trading policy is told it takes no money caps. "0", null and an absent field still mean “unset”.
  • A cap breach’s limit leg reads at the scale the cap was stated at. The observed … against limit … text in error.message renders each leg at the scale the platform’s fact states for it (0.3.2), and a trading policy’s cap now rides at the scale its write stated: a maxOrderQty sent as "1" reads observed 2.00000000 against limit 1 (quantity); trading policy 1 v2 where it read … against limit 1.00000000 …. The policy’s row still serves the cap at the instrument’s places ("1.00000000"); error.message is free text by the contract either way, never parsed.
  • No string you read changes on a row whose every amount sits at or coarser than its record. A read serves each family from the scale its row holds at no fewer places than the referenced record’s (0.3.2, 0.3.3): "2.5" sent as a BTC amount crosses as 25 at one place and reads back "2.500000000000", exactly as before, and an order’s values, which the owner aligns to the instrument’s pair on acceptance, read as they always did. What is new is a policy amount stated finer than its record: it reads back with every digit you sent, and its row’s other amounts with it (the shared scale above).
  • The descriptions of the nine input money properties (SubmitOrderBody’s price and qty; the three asset-policy amounts, the two chain-policy bounds and the two trading-policy caps on their Submit* bodies) state the input rule above in place of “scaled at the edge to the referenced record’s scale … digits beyond it refuse”; the three policy POST descriptions, POST /orders, the instrument alias, Error.code, and the BadRequest and Rejected responses say the same. The API guide’s Money, Errors, Orders and Versioning sections follow; info.version moves from 0.3.3 to 0.3.4.

Each side of the deploy window

A member below 0.3.4 refuses at the door what a 0.3.4 member sends on: digits beyond the record’s scale (400 MALFORMED_REQUEST) and an asset or instrument it does not hold (422 SCALE_UNKNOWN) — neither journaled, so the same Idempotency-Key retries fresh. A 0.3.4 member accepts the same requests or hands them to the platform, which may accept them or refuse with TICK_SIZE_VIOLATION, QTY_STEP_VIOLATION, INVALID_FIELD or INSTRUMENT_NOT_LIVE — facts on the stream, so the key is spent and a retry needs a fresh one: the member that carried the request replays the stored refusal, with Idempotent-Replay: true, for as long as its journal holds the key (a day by default; a restarted member, or another member, judges the key afresh). That is the difference a client must carry across the window, and it is not new — it is how every owner’s refusal has always behaved. Do not give INSTRUMENT_NOT_LIVE the handler you gave SCALE_UNKNOWN (“wait for reference data, send the same request again”) unchanged: on POST /orders the key is the clientOrderId, and against a 0.3.4 member that loop is answered the owner’s stored 422 each time, even after the instrument lands. Keep the SCALE_UNKNOWN handler for as long as a member you reach may report an info.version below 0.3.4. For INSTRUMENT_NOT_LIVE — one of the codes both the door and an owner answer, like ORG_NOT_ACTIVE and CAPABILITY_DENIED — the position header says whose it was: without X-Immix-Global-Sequence it is the door’s (an unresolvable symbol; nothing journaled, the same key retries once reference data has landed), with it the orders owner’s (retry under a fresh key). On the platform side there is nothing to coordinate: the owners have aligned a command’s values to their own holder since 111.v1 and 114.v7 (0.3.2, 0.3.3), so a gateway at either version may stand beside them, no wire schema moves, and no stream reset rides this release.

0.3.3 — 2026-09-22 — a policy amount states its own scale: never served raw

On the platform’s wire the seven policy money fields became Decimals — an asset policy’s maxTicketAmount, approvalThresholdAmount and reconciliationToleranceAmount, a chain policy’s minTransferAmount and maxTransferAmount, a trading policy’s maxOrderQty and maxOrderNotional — each carrying its own scale beside its integer, where until now the gateway looked the scale up in reference data: the asset’s unitScale, the instrument’s qtyScale and priceScale. With it the last raw fallback on this API stops happening. No route, field, code or schema shape moves; the seven descriptions say why. A patch, per the guide’s Versioning section, on the same reasoning as 0.3.1 and 0.3.2.

What changed

  • GET /asset-policies, GET /chain-policies, GET /trading-policies, their /{id} routes — and the row every policy write answers with (POST, PUT, approve, retire, withdraw, halt, resume) — never serve a row raw. Every amount and cap is read at the scale the row holds for its family and served as an exact decimal at no fewer places than the record’s — the asset’s unitScale for an amount, the instrument’s qtyScale for maxOrderQty, its priceScale for maxOrderNotional — so a row whose asset or instrument you already saw reads the same string as before ("1.500000", "2.5000", "12345.00"). What changes is the row whose asset or instrument this member does not hold, or whose asset leaves unitScale unstated: 0.3.2 served its money as raw scaled integers ("250") under "unscaled": true; 0.3.3 serves the decimal ("2.50"), because a value that states its scale needs no reference data to be read exactly. null still means unset — no cap, no bound, every transfer requires approval, an exact reconciliation — exactly as before.
  • unscaled is never present anywhere on this API now — not on any register row, not as any collection’s coarse marker; the balance surface lost it at 0.3.1, the order surface at 0.3.2, and the three policy families were the last rows that could carry it. Every unscaled property stays in the document, marked deprecated, so a client generated from 0.3.2 still compiles; all of them go at the next major.
  • The input side is unchanged. POST and PUT bodies take the same decimal strings, scaled at the edge to the record’s pair: digits beyond the asset’s unitScale (or the instrument’s qtyScale / priceScale) refuse 400, an asset or instrument this member does not hold refuses 422 SCALE_UNKNOWN, and a cap on the organisation-wide default trading policy refuses 400, exactly as before — the two scale rules retire with a later slice, which will say so here. What moved is on the wire: the edge now states the scale it encoded at beside each value, so no reader guesses. A body that sends a scale of its own (maxTicketAmountScale, maxOrderQtyScale, …) is refused 400, as priceScale is on POST /orders: the document never advertised one.
  • info.x-immix-register-schema moves 114.v6 → 114.v7. No published shape moves; the descriptions of the seven money properties on AssetPolicyUpdated, ChainPolicyUpdated, TradingPolicyUpdated and their Submit* bodies now say Decimal instead of naming a typedef (amount_t, qty_t, notional_t) whose scale to look up — and three of them (minTransferAmount, maxOrderQty, maxOrderNotional) were reworded for consumers with the re-cut, saying what their 0 means and nothing about the wire’s history.
  • The API guide’s Money section says the same — its typedef table is now one rule for every money value on the API; info.version moves from 0.3.2 to 0.3.3.

Each side of the deploy window

A 0.3.2 member serves a policy whose asset or instrument it does not hold as raw integers under the marker; a 0.3.3 member serves the decimal and no marker. Only a client that reads the marker is correct against both: under "unscaled": true a money string is the raw scaled integer ("250" is 2.50 at two places), which no amount of careful decimal parsing recovers — so keep honouring unscaled for as long as a member you reach may report an info.version below 0.3.3, and treat every money field as the exact decimal it says from 0.3.3 on. On the platform side there is no mixed window: 114.v7 is a clean break under a schema floor, so the environment that takes this release takes it with a stream reset (the gateway and the register it serves are dev-only), and a 0.3.2 member is never live beside a 0.3.3 one on the same stream.

0.3.2 — 2026-09-22 — an order states its own scales: never served raw, and a refusal’s legs are decimals

On the platform’s wire every money value on the order surface became a Decimal: each carries its own scale beside its integer, where until now the gateway looked the scale up in reference data — the instrument’s priceScale and qtyScale, the fee asset’s unitScale, and, for a refusal’s detail, a scale chosen by reason code. No route, field, code or schema shape moves; one fallback stops happening, one free-text detail reads from the fact instead of a table, and the descriptions say why. A patch, per the guide’s Versioning section, on the same reasoning as 0.3.1.

What changed

  • GET /orders, GET /orders/{id}, GET /executions, GET /executions/{id} — and the order row POST /orders and POST /orders/{id}/cancel answer with — never serve a row raw. Every price and quantity is read at the scale the row holds for its family and served as an exact decimal at no fewer places than the instrument’s priceScale or qtyScale (a fill’s fee: its asset’s unitScale), so a row whose instrument you already saw reads the same string as before ("50000.00", "0.01000000"). What changes is the row whose instrument — or whose fee asset — this member does not hold: 0.3.1 served its money as raw scaled integers ("5000000") under "unscaled": true; 0.3.2 serves the decimal, because a value that states its scale needs no reference data to be read exactly.
  • A fill’s fee on an asset whose unitScale is not 8 reads correctly for the first time. okx-oe parses every fee at scale 8, and until 111.v1 each reader scaled that integer by the fee asset’s unitScale instead: a 0.3.1 member served such a fee 10^(unitScale − 8) out. The connector now states 8 beside the value, and 0.3.2 serves the fee from the value at no fewer places than the asset’s unitScale. A fee on an asset at unitScale 8 reads the same string as before.
  • A stated zero fee serves as "0.000000", not null. A fill’s fee is unstated only when it names no asset (feeAssetId null): a zero fee whose asset is named — a zero-fee promotion — is a measurement, and 0.3.2 serves it as the decimal the persistence lane already lands. 0.3.1 served every zero fee as null, asset or no asset.
  • unscaled is never present on the order surface — not on an order or execution row, not as the two collections’ coarse marker. The collections’ property stays in the document marked deprecated; the row’s rides RowExtras, shared with the register rows where it is still live (a trading policy’s caps are scaled from reference data until the register’s own re-cut), so its description says which rows never carry it. All of it goes at the next major. A client generated from 0.3.1 still compiles.
  • A refusal’s detail legs are the decimals the owner stamped. The observed … against limit … text in error.message — on a refused POST /orders (403/409/422) and on the polled operation’s outcome — renders each leg at the scale the fact states for it, whatever the reason. Where this member held the instrument the string is unchanged (observed 2.00000000 against limit 1.00000000 (quantity); trading policy 1 v2); where it did not, 0.3.1 wrote the raw integer and said so (quantity, raw at the instrument's qtyScale), 0.3.2 writes the decimal. error.message is free text by the contract either way, never parsed.
  • POST /orders takes the same body. price and qty are decimal strings, scaled at the edge to the instrument’s pair: digits beyond it refuse 400, and an instrument this member does not hold refuses 422 SCALE_UNKNOWN, exactly as before — both retire with a later slice, which will say so here. What moved is on the wire: the edge now states the scale it encoded at beside each value, so no reader guesses. The two properties’ descriptions say they are Decimals on the wire instead of naming a typedef whose scale to look up.
  • info.x-immix-orders-schema moves 111.v0 → 111.v1. No published shape moves; the descriptions of every money property on OrderUpdated and ExecutionRecorded now say Decimal, and OrderRejected’s observedValue and limitValue — published for the reason value set, never served as JSON — are described and patterned as money, since each leg states its own scale.
  • The API guide’s Money and Orders sections say the same; info.version moves from 0.3.1 to 0.3.2.

Each side of the deploy window

A 0.3.1 member serves an order or execution whose instrument (or fee asset) it does not hold as raw integers under the marker, words such a refusal’s detail as raw, and serves a fee on an asset whose unitScale is not 8 at the wrong magnitude; a 0.3.2 member serves the decimal, no marker, the decimal detail, and the fee as stated. Only a client that reads the marker is correct against both: under "unscaled": true a money string is the raw scaled integer, which careful decimal parsing does not recover (corrected with 0.3.3, whose section says the same of the policy rows). On the platform side there is no mixed window: 111.v1 is a clean break under a schema floor, so the environment that takes this release takes it with a stream reset (the order path is dev-only), and a 0.3.1 member is never live beside a 0.3.2 one on the same stream.

0.3.1 — 2026-09-22 — a balance states its own scale: never served raw

On the platform’s wire a balance’s three amounts became Decimals: each carries its own scale beside its integer, where until now the gateway looked the scale up in reference data. No route, field, code or schema shape moves; one fallback stops happening and three descriptions say why. A patch, per the guide’s Versioning section.

What changed

  • GET /account-balances never serves a row raw. total, available and held are read at the scale the reading itself stated and served as exact decimals — at no fewer places than the asset’s unitScale, so a row whose asset you already saw reads the same string as before ("2.500000"). What changes is the row whose asset this member does not hold, or whose unitScale reference data leaves unstated: 0.3.0 served its amounts as raw scaled integers ("2500000") under "unscaled": true; 0.3.1 serves the decimal, because a value that states its scale needs no reference data to be read exactly.
  • unscaled is never present on this surface — neither on a balance row nor as the collection’s coarse marker. Both properties stay in the document, marked deprecated, so a client generated from 0.3.0 still compiles; they go at the next major. The marker is unchanged everywhere else (register rows, orders, executions), where the scale is still read from reference data.
  • info.x-immix-custody-schema moves 115.v0 → 115.v1. AccountBalance’s published shape does not move — three decimal strings, as before — but the descriptions of total, available and held now say they are Decimals on the wire, served at the value’s own scale and never raw, instead of naming a typedef whose scale to look up.
  • The API guide’s Money and Balances sections say the same; info.version moves from 0.3.0 to 0.3.1.

Each side of the deploy window

A 0.3.0 member serves a balance whose asset it does not hold as raw integers under the marker; a 0.3.1 member serves the decimal and no marker. Only a client that reads the marker is correct against both, mid-roll included: under "unscaled": true a money string is the raw scaled integer, which careful decimal parsing does not recover (corrected with 0.3.3). A client that required the marker to be present on a balance row was never promised one.

0.3.0 — 2026-09-17 — account balances: GET /account-balances

Additive: one route, one tag, one query parameter, two schemas, one response and one error code added; nothing existing moves. A minor, per the guide’s Versioning section.

What changed

  • GET /account-balances (tag Account balances, operation listAccountBalances) serves your organisation’s latest observed balance per (account, asset): what each of your accounts holds at its venue, as the venue states it, republished by the platform’s account connector as a reading — keyed latest-wins, a reading superseded by the next and never corrected. Every row is the custody domain’s AccountBalance record (schema 115, named by the new info.x-immix-custody-schema, 115.v0) plus two fields of the gateway’s own:
    • accountId, assetId, credentialId — the references (GET /accounts and GET /credentials serve the rows they name; a balance carries no venue or symbol of its own — join on them).
    • total, available, held — the venue’s partition of the holding, decimal strings at the asset’s unitScale like every other asset amount on this API (the amount_t row of the guide’s money table); available is what the venue would let move now (a withdrawal or transfer amount, never what is usable as margin), held what the venue itself has locked (order margin, pending withdrawals, venue-side freezes), total the whole. Zero is a reading: the three are required and never null — "0.00000000" is a value.
    • venueTsNs, venueRevision — the venue’s own clock and sequence for the reading where it states one; null otherwise (the 0 sentinel, as everywhere).
    • observedAtNs (new, the gateway’s) — the platform time of the reading, epoch nanoseconds as a decimal string, never null: a changed reading and a restatement on the connector’s heartbeat both move it, so a row whose observedAtNs stops advancing is an account the venue has stopped reporting. Judge freshness from it, never from venueTsNs.
    • unscaled (new, per row) — present and true only while that row’s amounts are served raw: the asset is not yet held by the member, or its unitScale is unstated (typically an asset the venue lists before reference data carries it). The collection also carries the coarse top-level marker every collection carries, while any row carries its own.
  • The rows are your organisation’s by construction: a reading names its account, the account row names the organisation, and a reading whose account the member does not hold — or another organisation’s — is indistinguishable from absent. A DISCOVERED account’s balances are served while the account is being classified.
  • ?accountId= narrows the collection to one account’s balances (a positive int32; an account outside your organisation, or one with no reading, yields an empty collection; 0, a negative or a non-integer is 400 MALFORMED_REQUEST). Rows are ordered by accountId then assetId, ascending.
  • One surface, no entity route, no ETag: ?view=latest is accepted and ?view=approved refuses 400, as on /orders; ?status= refuses 400, as on every collection but /users; the key is the (account, asset) pair and a reading carries no version, so there is nothing to address by id or to precondition on.
  • The tag joins the resource list after Accounts, in onboarding order: a generator that names a class per tag emits AccountBalancesApi beside the twelve it emitted before, and nothing it emitted moves.
  • X-Immix-Global-Sequence moves on balance readings too: the position advances on every change the gateway sees — records, orders and, from now on, readings. A reader polling the header for “anything new?” will see it move on every heartbeat restatement (every 30 s per account and asset, by the connector’s default) even when nothing else changed; read the rows it wants rather than treating the token as a change flag.
  • A member deployed without the balance surface answers 503 BALANCES_UNAVAILABLE on this route — after authentication and admission, before the query is read, with no position header — and every other route exactly as before. Composing the surface is a per-environment choice of the deployment (the gateway’s balances knob, on by default): an environment into which no account connector publishes readings yet runs the edge with it off — dev, until the connector is deployed there — and turns it on with no change to this document. The code joins Error.code’s 503 set, and the route’s 503 response names both it and NOT_PRIMED.
  • info.description and externalDocs.description mention balances; the guide gains a Balances section; info.version moves from 0.2.1 to 0.3.0 — a minor: a route and its schemas added.

What each side of the deploy window sees: a member on the previous build answers GET /account-balances with a plain 404 Not Found (no error envelope, no position header), and its /openapi.json reads 0.2.1 with no x-immix-custody-schema; a member on this build answers the rows and reads 0.3.0 — or, deployed with the surface off, answers the route 503 BALANCES_UNAVAILABLE and serves the same 0.3.0 document: the document describes the contract, the code says what this member composes. Every other route, body, header and code answers exactly as before. A member on this build also moves the position header on readings, so two members mid-roll can report different positions for the same register state — the header is a consistency token, not a change counter, on both.

0.2.1 — 2026-09-17 — the generated property descriptions written for the consumer

No wire change: no path, parameter, body, schema, status or header moves; the text of the generated schemas’ property descriptions changes, and the one refusal detail below.

What changed

  • Every property description under components.schemas — the message shapes generated from the register and orders wire schemas — is one line of prose written for the reader: what the field is, its sentinel where it has one, then the encoding note. The engineering citations the text carried (internal convention, decision and design-section references) are gone from the document; a client that scraped a description for one (none is known) reads the API guide instead.
  • The encoding notes every generated property ends with are reworded the same way: money (“a scaled integer on the wire, served as an exact decimal string — the money rules this document links list the typedef’s scale source and the unscaled fallback”; on input, “a decimal string on input, scaled at the edge by the typedef’s scale, whose source the money rules this document links list by typedef”), int64 (“int64 as a decimal JSON string”), boolean (“a boolean; absent reads false”), and the enum and set notes minus their IDs. The API guide’s Money section gains the typedef → scale table those notes point at.
  • The 400 MALFORMED_REQUEST detail for an int64 field sent as a JSON number (or, where the field is required, absent) reads <field> must be an int64 as a JSON string — the parenthesised internal reference it used to end with is gone.
  • Two trading-policy ceilings say how they are counted today: maxOpenOrders and maxOrdersPerMinute are counted over the organisation’s orders as a whole, the tighter of the governing row’s and the organisation-wide default row’s stated ceilings binding — the text had described a per-instrument row’s ceiling as scoped to its instrument, which the orders owner does not do yet. The behaviour is unchanged; the description now matches it.
  • info.version moves from 0.2.0 to 0.2.1 — a patch: prose only (the guide’s Versioning section).

What each side of the deploy window sees: nothing behavioural on either side — every route, body, header and code answers exactly as before, and a client generated from the 0.2.0 document carries the same identifiers. A member on the previous build serves the old descriptions and the old refusal detail.

0.2.0 — 2026-09-17 — tags are resources; update* operationIds; summaries and descriptions rewritten

No wire change: no path, parameter, body, schema, status or header moves; the document’s grouping and prose change, and with them the names a generated client carries.

What changed

  • One tag per resource, in onboarding order: Users, Credentials, Accounts, Account addresses, Portfolios, Asset policies, Chain policies, Trading policies, Orders, Executions, Operations, Organisations — every operation carries exactly one, and Organisations (the platform’s lifecycle arms) goes last with its audience stated. Organisation, Venue access, Policies and Trading retire. A generator that names a class per tag emits UsersApi, CredentialsApi, AccountsApi, AccountAddressesApi, AssetPoliciesApi, ChainPoliciesApi, TradingPoliciesApi, OrdersApi, ExecutionsApi and OrganisationsApi where it emitted OrganisationApi, VenueAccessApi, PoliciesApi and TradingApi; PortfoliosApi and OperationsApi are unchanged.
  • Six operationIds: upsertUser, upsertCredential, upsertPortfolio, upsertAssetPolicy, upsertChainPolicy and upsertTradingPolicy are updateUser, updateCredential, updatePortfolio, updateAssetPolicy, updateChainPolicy and updateTradingPolicy — a generated client’s method names move with them; every other operationId stays.
  • Every summary is an imperative of at most six words (List credentials, Get a credential, Withdraw a credential proposal, Halt trading under a policy) and every description at most three sentences — what the operation does, who may call it (the capability), what it answers — with a link into the guide where the long form lives. The mechanics every write shares (the key, the precondition, the 202, the position header) are stated once, on the shared parameters and responses, never per route. The fourteen broken summaries (“Read one of orgs by entity id”, “Disable an user”) go with the rest.
  • The shared components’ prose (View, Id, Idempotency-Key, If-Match, the headers, the responses, the nine *Row schemas, RowExtras, Me, Error, PendingOperation, OperationRecord, CredentialMaterial, the security scheme) is rewritten under the same rule; Error.code lists the gateway’s own codes by status and points at the two owners’ published reason sets.
  • /docs gains a search box over the operations, keeps the bearer across a reload and shows request durations.
  • info.version moves from 0.1.0 to 0.2.0 — a minor, since before 1.0.0 a minor may rename generated identifiers (the guide’s Versioning section).

What each side of the deploy window sees: nothing behavioural on either side — every route, body, header and code answers exactly as before. A client generated from the 0.1.0 document keeps working against a member on this build (paths, parameters and schemas are unchanged); regenerated from this document it carries the class and method names above, and nothing else moves. A member on the previous build serves the old grouping and names.

0.1.0 — 2026-09-17 — the document’s own version, title and intro; the API guide

No wire change: no path, parameter, body, schema, status or header moves; this section is about the document’s first screen and where its rules are written.

What changed

  • info.title is Immix API — it read immix org-gateway — the register edge, the module’s name and its design, neither of which a consumer has a word for.
  • info.version is the document’s own version — 0.1.0, semver, bumped by hand with the changelog section that describes the change (the guide’s Versioning section is the rule). It read the register schema’s version (114.v6) before, which the sections below share while the document changed under it — a schema version identifies the wire, not the document. A client that read info.version to learn which schema the messages derive from reads info.x-immix-register-schema (114.v6) from now on; info.x-immix-orders-schema (111.v0) is as it was.
  • info.description is an eight-line introduction (Markdown — Swagger UI renders it): what the API covers, then authentication, reads, writes and money in one line each, and the links to the guide and to this changelog. Every rule the previous description stated — one paragraph of 10,529 characters, rendered above the fold at /docs — moves, unchanged in meaning and rewritten for its reader, to the API guide: authentication and admission, principals, reads, writes, maker-checker, money, ids and sentinels, errors, orders, the organisation lifecycle, versioning. Nothing is deleted, and the half that is schema (nullable, pattern, enum, uniqueItems, x-since-schema-version) stays where it was.
  • externalDocs (new, top level) points at the guide.

What each side of the deploy window sees: nothing behavioural on either side — every route, body, header and code answers exactly as before. A client comparing info.version across members during the roll reads 114.v6 from a member on the previous build and 0.1.0 from one on this build; a client reading the version for the schema reads x-immix-register-schema, absent on the previous build (fall back to info.version there).

Vocabulary — 2026-09-17 — connections become credentials: /credentials, credentialId, credentials:propose|approve, CREDENTIAL_*, material, /rotate

The register’s venue-key entity is a credential — what a user holds when they set a venue up: one venue API key, what the platform may do with it, which connector serves it, and what the venue says about it. “Connection” now names only the runtime axis: the health a connector reports for the connection it holds with a credential. Nothing on the SBE wire moves — every template id, field id, ordinal and byte offset is unchanged (114 stays v6, 111 and 115 at their versions) — but every client-visible name does:

  • Routes. /connections → /credentials, and the arms under it (approve, suspend, reactivate, revoke, withdraw); POST /connections/{id}/rotate-credential → POST /credentials/{id}/rotate. PUT /credentials/{id} is the amend.
  • Bodies. SubmitConnectionBody → SubmitCredentialBody, AmendConnectionBody → AmendCredentialBody; the legs object is material (CredentialMaterial, formerly ConnectionCredential) on the create and on the rotation.
  • Rows. ConnectionUpdated → CredentialUpdated with credentialId; connectionId is credentialId on every row that carries it — AccountUpdated (and tradingConnectionId → tradingCredentialId), OrderUpdated, ExecutionRecorded — and on the stream facts ConnectionHealth (114) and AccountBalance (custody, schema 115); ConnectionStatus → CredentialStatus (values unchanged); pendingTransition reads ROTATE where it read ROTATE_CREDENTIAL.
  • Capabilities. connections:propose → credentials:propose, connections:approve → credentials:approve (bits 1 and 2 unchanged; the presets follow).
  • Refusal codes. CONNECTION_IN_USE → CREDENTIAL_IN_USE, WRONG_CONNECTION → WRONG_CREDENTIAL, CONNECTION_NOT_ACTIVE → CREDENTIAL_NOT_ACTIVE, CONNECTION_UNASSIGNED → CREDENTIAL_UNASSIGNED; on orders, CONNECTION_UNAVAILABLE → CREDENTIAL_UNAVAILABLE. CONNECTION_DOWN keeps its name — it is the pipe’s health.
  • The operation journal reports "family":"credentials"; the command kinds read SUBMIT_CREDENTIAL … ROTATE_CREDENTIAL and REPORT_CREDENTIAL_PROBE (REPORT_CONNECTION_HEALTH and ConnectionHealth keep their names).
  • The tag Connectivity is Venue access: a generator naming a class by tag emits VenueAccessApi where it emitted ConnectivityApi, and one row type per family, now Credential.
  • Metrics. The lane gauges (oe_*, custody_lane_*) label lanes by credential where they said connection; the alert rules and their scenarios follow.
  • The service principal’s kind is described as an M2M client (UserKind.SERVICE’s description); the wire value is unchanged.

Deploy window: none is offered. No environment runs the org tier with rows — dev’s org is not bootstrapped and prod has no org tier — so dev takes a flag-day and no member serves both shapes. A client on the old shape answers 404 on /connections, and a create body still naming credential answers 400 MALFORMED_REQUEST (material is required) — nothing is staged either way; a client on the new shape against an old member sees the mirror image. Pin clients to upgraded members.

Entity ids — 2026-09-17 — minted from the sequencer timestamp

The owners now mint every id — the register’s int32 keys (orgId, userId, connectionId, accountId, accountAddressId, portfolioId, assetPolicyId, chainPolicyId, tradingPolicyId) and the orders’ int64 keys (orderId, executionId) — from the sequenced time of the creating command rather than from a dense counter, so an id no longer tells its holder how many rows other orgs created before it.

What changed

  • Values, not types. Every id keeps its JSON shape — int32 ids as integers, orderId and executionId as decimal strings — and its place in every path, body and operation outcome. What changes is the magnitude: a register id minted after this deploy is the whole seconds since 2023-01-01T00:00:00Z (about 117,000,000 in September 2026, reaching 2,147,483,647 in 2091); an order or execution id is 16.384 µs ticks since the same epoch (thirteen digits today). Ids are strictly increasing in mint order and are never 0.
  • Treat ids as opaque. They were never promised small or contiguous; now they are neither. Do not size columns, pre-allocate by id, or infer counts from the gaps.
  • Both sides of the deploy window. Ids minted before the deploy keep their small values and stay addressable forever — the bootstrap org and its first admin remain 1; ids minted after are large. An id a client stored does not change. Nothing re-numbers.
  • Unique within a family, never across them. A user and an account minted in the same second carry the same number: keys are per-family, so storage and every route are unaffected, but a bare id in a log line, a ticket or a URL is ambiguous without its family, and a mistyped cross-family lookup can now find a real row instead of a 404.
  • Why. Under the dense counter an org’s own ids revealed platform-wide populations and rates: how many users, accounts or orders every other org created between two of its own. The sequenced-time tick carries elapsed time instead.

114.v6 — 2026-09-15 — the credential intake: POST /connections takes the venue key’s legs, the edge mints secretRef and fingerprints the material; AmendConnectionBody; rotate-credential carries material

No wire change: schema 114 stays at v6 — SubmitConnection and RotateConnectionCredential carry the same fields; ConnectionUpdated.keyFingerprint’s description now states the one fingerprint (fp- + 16 hex of SHA-256 over the canonical payload). This section is about three request bodies that changed shape — a breaking change for any client that built them — six new door codes, and one door gate.

What changed

  • POST /connections takes the material, once. SubmitConnectionBody gains a required credential object (ConnectionCredential: the venue’s legs — for OKX key, secret, passphrase, each a non-blank write-only string, no other leg) and loses secretRef, appGroup, venueKeyId and keyFingerprint: the edge stages the legs in its write-only store, mints secretRef (org<orgId>-<ulid>), resolves appGroup from the venue and the flags (canTrade → the order-entry group okx-oe; canReadBalances alone → okx-account), fingerprints the material and fills venueKeyId from the key leg — and only then proposes the command with references and metadata. A body carrying any of the four derived fields answers 400 MALFORMED_REQUEST; the row (200) carries all four as derived.
  • PUT /connections/{id} has its own body, AmendConnectionBody: SubmitConnection minus the same four fields and with no credential — an amend restates the row’s secretRef, venueKeyId and keyFingerprint from the row and re-derives appGroup from the flags (a row at a venue the intake does not serve keeps its group); a credential in an amend answers 400. An amend that would move a pinned row — one whose keyFingerprint the intake stamped — to another connector group (canTrade flipped on an OKX row) answers 400 MALFORMED_REQUEST too: the credential store addresses the material by group, so the row’s new connector could not read it; the road is a new connection through POST /connections.
  • POST /connections/{id}/rotate-credential requires a body: credential (the new legs) replaces venueKeyId and keyFingerprint, which the edge now derives; the legs are staged under the row’s existing secretRef before RotateConnectionCredential crosses. An empty body — legal before — answers 400.
  • One door gate. The intake checks connections:propose on the caller’s row before any material is staged: a principal without the bit answers 403 CAPABILITY_DENIED at the door — the owner’s code, the same meaning, but no X-Immix-Global-Sequence (nothing reached the stream). Every other route is gated by the owner alone, as before.
  • Six door codes, all in Error.code’s description: INTAKE_UNAVAILABLE (503 — the member runs no sink, secrets.sink=none, or its store refused the write), VENUE_UNSUPPORTED (422 — an exchangeId the intake’s venue registry does not name, a providerKind other than EXCHANGE, or a row that neither trades nor reads balances), INTAKE_KEY_REUSED (409 — the Idempotency-Key already staged different material), PAYLOAD_TOO_LARGE (413 — the 16 KiB intake body cap), RATE_LIMITED (429, with Retry-After — 20 stagings a minute per principal), and CAPABILITY_DENIED as the door’s. Staging is idempotent by key: a retried key restates the same secretRef and adds no second version of the material — a version a refusal withdrew is staged again before the command re-crosses.
  • ConnectionUpdated.keyFingerprint is described as the intake’s fingerprint (fp- and the first 16 hex characters of SHA-256 over the canonical payload), the pin a connector lane adopts material at; empty on a row seeded before the intake. Prose only; the value set for rows the intake wrote is the fp-… form.
  • The off-contract /status gains an intake section (the sink, stagings, replays, one counter per refusal).

The deploy window (member by member): a client on the previous body shape against a member on this build answers 400 MALFORMED_REQUEST (it sent secretRef, or no credential); a client on the new shape against a member on the previous build answers 400 too (the old body’s required secretRef, venueKeyId and keyFingerprint are absent, and credential is an unknown field it ignores) — nothing is staged either way. Pin connection creates, amends and rotations to upgraded members until the roll completes (a member on the previous build also accepts an amend that moves a pinned row to another connector group); every other route is unchanged. Row state on the connectors’ side: a connector lane now adopts material only at the row’s keyFingerprint in the fp-… form; an empty pin keeps the unpinned bind. A row pinned under a retired scheme — the oe connector’s key tail, the account connector’s 64-hex digest — would refuse its lane (CONFIG_ERROR, never a session under a mismatched pin) until it is rotated through POST /connections/{id}/rotate-credential or its pin cleared by an amend the owner accepts. No environment is known to hold such a row: every seed and every runbook walk wrote an empty keyFingerprint (the old schemes were only ever checked, never stamped). The observed axis (observedKeyFingerprint, the probe’s readout) is not a pin — a probe lane simply re-reports a pending row once in the new form.

114.v6 — 2026-09-15 — org activation at the edge: POST /orgs and the five /orgs/{id} arms, the platform’s read exception, ReportDiscoveredOrg at the door

No wire change: schema 114 stays at v6; the six org command messages and ReportDiscoveredOrg were on the wire since the v6 break and are now served and proposed. This section is about six new operations, one widened predicate and one new door behaviour.

What changed

  • Six org operations, under the Organisation tag: POST /orgs (SubmitOrg — a new org and its first admin, two facts: the org PENDING_APPROVAL under dual control and the admin’s DISCOVERED row), POST /orgs/{id}/approve (ApproveOrg — on an activation the body names firstAdminUserId among the org’s DISCOVERED rows and fixes requiredApprovals, and two facts land: the org ACTIVE, the first admin ACTIVE with the Admin bits; on a reactivation or retirement the transition concludes), /suspend (SuspendOrg, immediate), /reactivate and /retire (ReactivateOrg, RetireOrg — proposals an approver other than the maker concludes), /withdraw (WithdrawOrgProposal). They take Idempotency-Key, and the entity arms If-Match, exactly as every command route; 200 is the org row (OrgAnswer — OrgRow with the fact’s position and ETag). The bodies are the commands’ derived bodies (SubmitOrgBody … WithdrawOrgProposalBody): userId removed, targetOrgId and expectedVersion route-sourced. Two defaults at the door: SubmitOrgBody.idpOrgRef and firstAdminIdpUserRef absent read as "" (unbound — the roster-mode shape), and ApproveOrgBody.requiredApprovals absent reads as 1 (dual control — the stricter side; 0 is stated, never defaulted). The owner’s reasons on these arms ride as ever: CAPABILITY_DENIED (403 — also the platform clause: every org arm needs an internal platform org actor holding the arm’s orgs bit), SELF_APPROVAL, NOT_PROPOSER (403), NAME_TAKEN, ALREADY_DISCOVERED, ILLEGAL_TRANSITION, PROPOSAL_PENDING, NOTHING_PENDING (409), UNKNOWN_ENTITY, INVALID_FIELD (422), VERSION_CONFLICT (412).
  • The read predicate’s one exception. An internal platform org member holding an orgs bit (orgs:propose or orgs:approve) now reads every org’s row on GET /orgs and GET /orgs/{id} — PENDING_APPROVAL ones included — and, on GET /users and GET /users/{id}, the members of every PENDING_APPROVAL org (the DISCOVERED rows an activation names its first admin among; ?status=DISCOVERED narrows to them plus the caller’s own queue). Nothing else widens: an ACTIVE org’s members and every other family stay the caller’s own org’s. What moved: GET /orgs was “at most one row” for every caller; for these principals it is the list. The org entity arms ride the same predicate — to any other principal another org’s /orgs/{id}/… is 404 NOT_FOUND, indistinguishable from an absent id, exactly as its row is; POST /orgs has no path entity and reaches the owner, whose platform clause refuses a non-platform maker CAPABILITY_DENIED. The users write arms ride the same predicate too: a platform orgs reader’s PUT /users/{id} or POST /users/{id}/disable on a pending org’s DISCOVERED row passes the door (the row is theirs to read) and is refused by the owner — CAPABILITY_DENIED without users:manage, ORG_MISMATCH with it: the platform activates an org, it admits nobody inside it; every other principal keeps the 404. Both operations’ descriptions say so.
  • The door reports an unknown organization. In jwt mode a token whose org_id binds no org used to be refused 403 ORG_NOT_ACTIVE with awaiting activation and nothing else. Now the door first proposes ReportDiscoveredOrg — the org_id with the orgName and productProfile claims the tenant’s post-login Action stamps from the Auth0 organization’s metadata — and ReportDiscoveredUser under it, then refuses the same code; the message says the door has reported the organization ”…” (or could not report — a replica). A token whose org_id binds a parked org — an activation the platform withdrew, its name and binding held — is reported the same way, and the owner re-proposes on that row: the member’s next login re-queues it, once per withdrawal (the report is keyed on the parked row’s version, so a burst of logins proposes once); the refusal is a bound org’s — orgNotActive on /status, the message naming the withdrawal and its remedies — and the member is reported under the parked org even when the token carries no metadata claims (then the message says the door cannot re-propose it, and what does). The org lands PENDING_APPROVAL, its first member DISCOVERED, and a platform approver activates on POST /orgs/{id}/approve. A token carrying no orgName or no known productProfile claim is refused ORG_NOT_ACTIVE with cannot report the organization naming the missing claim — nothing is proposed. A non-ASCII org_id is refused 403 FORBIDDEN_PRINCIPAL as a non-ASCII sub already was (the wire’s rule). The Forbidden response’s and Error.code’s descriptions say so; /status’s admission section gains discoveredOrgs.
  • info.description’s Authentication paragraph and the Organisation tag describe the org lifecycle surface.
  • The order surface’s reason set grows by one (schema 111, appended): ORG_NOT_ACTIVE, answered 403 on POST /orders when the acting user’s org is not ACTIVE (the orders owner’s admission gained an org-liveness check: a suspended org’s members trade nothing, and POST /orders/{id}/cancel stays ungated). The same string the door and the register answer, one meaning at all three; it rides error.code with no detail pair, like ORG_MISMATCH. A client switching on the reason set adds the case; one that maps unknown reasons to “refused” needs nothing.
  • SubmitOrgBody and ApproveOrgBody describe their optional fields as optional. The document had called idpOrgRef, firstAdminIdpUserRef and requiredApprovals “route-sourced — the route injects them”, the wording of the path-sourced ids; they are body fields a client may set, read as the door’s default when absent (unbound; dual control), and each property and the body’s description now say so (a fourth derivation arm, optional). Prose only: the wire, the routes and the defaults are as they were.

The deploy window (member by member, no wire change): a member on the previous build answers 404 on the six org routes for everyone, serves GET /orgs as the caller’s own org alone, and refuses an unbound org_id without reporting it; a member on this build serves the routes and the widened reads to the platform’s orgs readers and reports the organization. A client of the new surface should be pinned to upgraded members until the roll completes; nothing changes for any other caller.

114.v6 — 2026-09-15 — admission at the edge: jwt mode, AWAITING_ADMISSION and ORG_NOT_ACTIVE, GET /users?status=, the preset expansion

No wire change: schema 114 stays at v6 and every message shape is as the section below states; this section is about how a caller is admitted and two additions to the document.

What changed

  • Authentication has two lanes, and the deployed one is the IdP’s. In jwt mode (dev and prod) the bearer is a JWT verified against the tenant’s JWKS with aud and iss pinned; its org_id claim names the organization (the org row’s idpOrgRef), its sub the member (the user row’s idpUserRef — an M2M client’s is <client_id>@clients on a SERVICE row). In roster mode (local and test) a static per-user token binds to a register user by name, as before. Either way the register decides: nothing on a token is a role, a permission or an org id. info.description’s Authentication paragraph now says exactly this — a client reading the old paragraph (“static per-user bearer tokens”) is not wrong about the local lane, only incomplete.
  • Two new door codes, both 403. AWAITING_ADMISSION: a verified subject the register holds no row for, or holds a DISCOVERED row (a DISABLED row is FORBIDDEN_PRINCIPAL, below) — on its first request the door reports the discovery (ReportDiscoveredUser, a machine proposal; a DISCOVERED row lands holding no capabilities) and until a users:manage holder admits the row every route but GET /me answers this code; GET /me serves the row so a UI can say “awaiting admission”. ORG_NOT_ACTIVE: the bearer’s org is not ACTIVE — bound but suspended, pending or retired, or not registered at all (the message says awaiting activation; the section above makes the door report such an organization, the code stays) — its members are refused whatever their rows say. What moved: a DISCOVERED row was refused FORBIDDEN_PRINCIPAL before this change and is refused AWAITING_ADMISSION now, in both lanes — a client that branched on FORBIDDEN_PRINCIPAL to mean “not admitted” branches on AWAITING_ADMISSION for that case and keeps FORBIDDEN_PRINCIPAL for the outright refusals (a roster binding with no row, a token with no org_id, a DISABLED row). Both codes are named in Error.code’s description; ORG_NOT_ACTIVE is the same string the owner already answers to a command whose actor’s org is not active — one meaning at both ends. Also moved, in both lanes: a principal whose org is bound but not ACTIVE (SUSPENDED, PENDING_APPROVAL) was admitted to the reads before this change and is refused ORG_NOT_ACTIVE now — the org’s status gates its members at the door as it already gated their commands at the owner.
  • GET /users?status= — a new optional query parameter on the user collection alone (DISCOVERED | ACTIVE | DISABLED, the wire enum less its sentinel): status=DISCOVERED is the admission queue. Absent, every row as before; an unknown value, or the parameter on any other collection, refuses 400 MALFORMED_REQUEST.
  • UpsertUserBody.preset carries x-immix-preset-capabilities: the expansion of each preset name to its scope strings, in declared order — what a UI’s preset picker pre-fills before the human edits the bits; pinned to the view library’s bundles by the contract test. An extension keyword: generators ignore it, and the preset enum is unchanged.
  • The alias bodies state their “at least one” rule in schema. UpsertUserBody and SubmitOrderBody carry an anyOf with one branch per spelling (preset | capabilities; instrument | instrumentId), so a body naming neither fails schema validation at the client where before it validated and met the door’s 400 MALFORMED_REQUEST. The “both stated must agree” half stays prose (JSON Schema has no cross-field equality). Nothing changes for a conforming client: every body the gateway accepted still validates.

The deploy window (member by member, no wire change): a member on the previous build answers a DISCOVERED row FORBIDDEN_PRINCIPAL, admits a member of a non-ACTIVE org to the reads, and ignores ?status= (it serves the whole collection); a member on this build answers AWAITING_ADMISSION, refuses that member ORG_NOT_ACTIVE, and honors the filter. Nothing else differs in roster mode. jwt mode is new — a gateway is switched to it by configuration (auth.mode, auth.jwk.domain, auth.audience, auth.issuer), and a member so configured refuses every static token 401 from its first request.

114.v6 — 2026-09-15 — capabilities replace roles; the user’s kind, subject and display name; the org’s approval count; GET /me

This is a clean break, not an append: schema 114 was re-baselined at v6, the stream it fed was reset, and the role string is gone from every user row and body. It is the last such break — from v6 the wire is append-only.

What changed

  • UserUpdated loses role and gains kind, capabilities and displayName. capabilities is an array of scope strings — users:manage, connections:propose, connections:approve, accounts:propose, accounts:approve, account-addresses:propose, account-addresses:approve, portfolios:manage, asset-policies:propose, asset-policies:approve, chain-policies:propose, chain-policies:approve, trading-policies:propose, trading-policies:approve, orders:trade, orgs:propose, orgs:approve — served in that (declared) order, unique, never null: an empty array is a read-only member. Every bit stands alone (approve does not imply propose). The set is append-only on the wire, and the published schema is an array of an enum listing the seventeen, so a generated client gets a typed set — which also means a scope appended later arrives with a contract version bump and its own changelog section, and a client that validates responses against an older document regenerates before it meets the new scope (the closed-enum trade-off Error.code once made and 114.v3 reversed). kind is HUMAN (logs in through the IdP) or SERVICE (an M2M credential). displayName is what the IdP stated at discovery — informational, "" when none was.
  • UserStatus renumbers around a new value: DISCOVERED (a subject the door met, no capabilities yet) → ACTIVE ⇄ DISABLED. Names are what the contract carries; a client comparing names is unaffected, one that hard-coded ordinals is not.
  • UpsertUserBody (POST /users, PUT /users/{id}) takes kind (required), capabilities (the scope strings above, a strict allow-list — an unknown or repeated scope refuses 400) or preset, an edge alias the door expands and never forwards: INITIATOR, APPROVER, ADMIN, TRADER, TREASURY, PLATFORM. At least one of the two is required; both stated must agree (the preset’s expansion equals the listed set) or the body refuses 400. The row records bits, never the preset — GET /users renders the expansion. role in a body is ignored like any unknown property, so a 114.v5 body without kind and capabilities refuses 400 at the generated parse.
  • OrgUpdated gains requiredApprovals (integer, 0..255): how many approvals a maker-checker mutation in the org needs — 1 is the dual-control pair; 0 means the maker’s fact is the concluded row (local and throwaway stacks; a production guard refuses it elsewhere). It is a plain count: 0 is a value, never null.
  • GET /me (new): the caller’s own row joined to its org — userId, orgId, orgName, name, displayName, kind, status, capabilities, requiredApprovals, isInternalPlatform, globalSequence. The one read a DISCOVERED principal may make; every UI configures itself from it and from nothing in a token.
  • Refusal codes: ROLE_DENIED is renamed CAPABILITY_DENIED (403 — the owner’s register reason now spells the same as the orders owner’s); new USER_NOT_ADMITTED (403, the actor is DISCOVERED) and ORG_NOT_ACTIVE (403, the actor’s org is not ACTIVE). IDP_REF_TAKEN (409) stays. The OrgRegisterRejected.reason enum publishes them all.
  • info.version moves from 114.v5 to 114.v6.

What each side of the deploy window sees

  • There is no mixed window on the register: the break resets the stream, and the org-register pair, the orders owner, the gateway and the persistence pair roll together onto v6. Nothing fail-stops a 114.v5 member that meets a v6 frame — it misreads it silently (UserUpdated.status renumbered: a v6 DISCOVERED row reads as v5 ACTIVE, the kind byte reads as a role), which is why the group rolls as one. The other direction is refused: a v6 owner answers a 114.v5 UpsertUser or bootstrap frame INVALID_FIELD (detail schema version 5 is below the 114 v6 floor) rather than reading a grant out of its bytes, and a v6 users or orgs fold fail-stops on a pre-v6 UserUpdated/OrgUpdated — a stream the break did not reset. Roll the clients with them.
  • A client on 114.v5 parsing role finds no such property on a 114.v6 gateway: read capabilities instead, and branch on CAPABILITY_DENIED where ROLE_DENIED was. A client posting a 114.v5 user body (role, no kind) is refused 400 (MALFORMED_REQUEST) — loudly, never with a silently defaulted grant.

114.v5 — 2026-09-15 — the IdP subject binding

The register records which IdP subject a principal is; the read edge serves it.

What changed

  • UserUpdated gains idpUserRef (string, x-since-schema-version: 5): the IdP subject bound to the user — the token’s sub (an Auth0 user id such as google-oauth2|1111… or auth0|6aa2…), opaque: compare it, never parse it. Empty means unbound — a principal admitted before the IdP, or a local lane without one — served as "", never null. A subject resolves to at most one live user per org.
  • UpsertUserBody gains idpUserRef (string, x-since-schema-version: 5, not required) on POST /users and PUT /users/{id} — the subject to bind, read off the IdP’s dashboard (the token’s sub). An appended field is lenient: absent, null and "" all mean unstated. On a create that leaves the new user unbound; on a PUT restate it keeps the row’s current binding (unstated, never unbind — a rename never strands a login), and a value re-binds. A row read from GET /users/{id} round-trips into its PUT body unchanged.
  • A new register refusal, IDP_REF_TAKEN, in NAME_TAKEN’s class (409): an UpsertUser stating a subject another live user of the org already carries. A DISABLED user’s subject is free; a row restating its own subject is no collision.
  • info.version moves from 114.v4 to 114.v5.

What each side of the deploy window sees

  • A client on 114.v4 ignores the new property; nothing it already parses changes.
  • A gateway still serving 114.v4 renders a user the register has already bound without the property — so “absent = unbound” only holds once the serving gateway is on 114.v5; check info.version before concluding a user carries no subject.
  • A gateway on 114.v5 serves idpUserRef: "" for every row the register wrote before v5 and every row no ADMIN has bound; the bootstrap of a deployment an IdP fronts binds its first ADMIN at birth.
  • A client posting a 114.v4 user body (no idpUserRef) to a 114.v5 gateway is accepted unchanged — the appended field reads as unstated. The other direction is the hazard: a 114.v5 body against a 114.v4 gateway is accepted too, and the binding is silently dropped (the edge ignores properties it does not know; only userId is refused). Check info.version before binding a subject through the edge.
  • The org-register pair restarts lockstep (its owner’s snapshot version moves); roll the gateway after the register, so the property appears as soon as the register can set it — and before any subject is bound through the edge. A 114.v4 gateway’s generated codec does not degrade on a reason it does not know: its lookup throws on the ordinal (IDP_REF_TAKEN is 26) rather than answering UNKNOWN, so an IDP_REF_TAKEN refusal reaching a 114.v4 gateway fail-stops that member — it rejoins and replays, and the request that earned the refusal concludes on the 202 sweep, never as a 409. From 114.v5 the command lane reads the reason through a guard that maps an unknown ordinal to UNKNOWN, so the next appended reason is served 422 (the outcome table’s documented arm) until the gateway rolls, instead of stopping it.

114.v4 — 2026-09-15 — the HTTP order surface: POST /orders, the cancel, the orders and executions reads

The document’s info.version stays 114.v4 — no register message moves — and gains info.x-immix-orders-schema: "111.v0", the orders schema the new messages derive from.

What changed

  • Six routes under a new Trading tag. GET /orders and GET /orders/{id} serve the orders domain’s rows; GET /executions (with an optional ?orderId= join filter) and GET /executions/{id} serve the executions; POST /orders proposes SubmitOrder; POST /orders/{id}/cancel proposes CancelOrder. Org-predicated exactly like the register families (a foreign id is 404, indistinguishable from absent). The two reads have one surface: no view parameter — view=approved refuses 400 MALFORMED_REQUEST. Order ids are int64 and cross as decimal strings, in the path too.
  • The submit’s Idempotency-Key IS the order’s clientOrderId — the orders owner’s business idempotency key: 1 to 36 characters of the key grammar (its own parameter, OrderIdempotencyKey; a longer key refuses 400 INVALID_IDEMPOTENCY_KEY). A body clientOrderId may restate it, never contradict it (400). A retried key replays or attaches at the edge as every key does; a retry that reaches the owner afresh (a restarted instance, an evicted key) restates the same order under it — the same key can never mint a second order — and another user’s key answers 409 CLIENT_ORDER_ID_CONFLICT.
  • A submit must name its instrument, by id or by name. instrumentId (the int64, as a decimal string) and instrument (refdata’s platform symbol — OKX@BTC/USDT, with the venue’s product suffix where it has one) are two spellings of one field: at least one is required, both stated must agree (400 MALFORMED_REQUEST), and the symbol is resolved at the edge against the instruments that member holds — only the id ever rides the command, and every served row carries the id. SubmitOrderBody publishes both properties and requires neither on its own; a client that sends instrumentId today is unaffected. Symbols are refdata’s to change, so an id remains the stable address and a name the convenience; a symbol two instruments share resolves to the higher id, the same rule refdata’s own symbol index keeps.
  • The named instrument is the scale source: price (LIMIT only; absent, null or "0" for MARKET) scales by the instrument’s priceScale, qty by its qtyScale, exactly — more fractional digits than the scale refuses 400; an instrument the projection does not hold refuses 422 SCALE_UNKNOWN unsequenced, by either spelling (the message names what was asked for).
  • Money on orders and executions serves like the register’s: price-shaped fields (price, avgPx, lastFillPx, fillPx) as decimals at priceScale, quantity-shaped fields (qty, cumQty, leavesQty, lastFillQty, venueCumQty, fillQty) at qtyScale, an execution’s fee at the fee asset’s unitScale; a required money field always serves a decimal ("0.00000000" is a quantity), the optional ones serve null at their sentinel — venueCumQty’s is -1, the one non-zero sentinel on the served surface; a value whose scale source is not held serves raw under unscaled, as the register’s does.
  • The cancel takes no If-Match (a cancel must never lose a version race — no version precondition applies; a stated one refuses 400 INVALID_IF_MATCH); its body is optional, a body orderId may restate the path, and CancelOrderBody carries no clientOrderId — the path names the order, and a stated key refuses 400 (an empty string is that field’s unset sentinel: tolerated, never addressing). The accept answers the row with cancelRequestedAtNs set and the status unchanged — the venue-async window; CANCELED arrives later on the venue’s word as an ordinary order update the reads serve. An order’s ETag is its per-order version, a read token only; executions carry no version and no ETag. A replayed 200 whose order has since been released (the owner’s retention outran the journal window) answers 404 NOT_FOUND under Idempotent-Replay — the read’s own answer, never a fabricated row.
  • The orders owner’s reasons ride verbatim as error.code (the OrderRejectReason value set, published on OrderRejected.reason), mapped by class: 403 CAPABILITY_DENIED (the edge pre-checks no role — the owner refuses a principal who is not a live TRADER); 404 UNKNOWN_ORDER; 409 CLIENT_ORDER_ID_CONFLICT, ACCOUNT_NOT_ACTIVE, CONNECTION_DOWN, TRADING_HALTED, NO_REFERENCE_PRICE, OPEN_ORDER_CEILING, ORDER_TERMINAL, ORDER_STATUS_UNKNOWN; 429 RATE_CEILING (with Retry-After: 60, the window); 422 the field, reference, sizing and cap refusals. A refusal’s error.message restates the owner’s detail — the observed value against the limit in the reason’s own unit, and the trading-policy pin — and a replay keeps it.
  • The projection position moves on every fact this edge folds, the orders domain’s included: a reader observing position S observes every register row AND every order and execution at or before S (before, the token moved on register facts only). The GlobalSequence header’s and GlobalSequenceValue’s descriptions say so.
  • OperationRecord.outcome gains orderId (an int64 string) and family admits orders: an orders operation names its order there, never in the int32 entityId. It also gains message — the free text the same outcome answered synchronously as error.message — so a client that polled a 202 reads the refusal’s detail too; absent when the outcome stated none (every accept, the register owner’s refusals, the door’s).
  • New components: parameters OrderIdempotencyKey, OrderId, ExecutionId, OrderIdFilter; schemas OrderUpdated, ExecutionRecorded, OrderRejected, SubmitOrder/SubmitOrderBody, CancelOrder/CancelOrderBody; responses OrderAnswer, OrderRow, ExecutionRow. Error.code’s description names the order reasons; Forbidden and Backpressure describe their order-side arms.

What each side of the deploy window sees

  • A client of the register contract keeps working unchanged: no path, property, type or required set of any register route moves. The only shared change is the token’s meaning — it now also advances on order facts — which a client comparing tokens for monotonicity never notices.
  • A gateway still on the previous build answers every order route 404 (the route does not exist); a gateway on this build answers the contract above. The gateway now borrows the orders owner’s two folds (orders, executions): it must be deployed where the orders owner runs, and its boot order follows the owner (the genesis-floor rule — a borrower refuses to cold-start until the owner it borrows has an acknowledged snapshot where a store is wired). Locally, start the orders owner before the gateway.
  • The owner-liveness gate is the register owner’s: an absent orders owner does not refuse at the door — a submit commits and answers 202 at the sync deadline, its record standing COMMITTED until the owner returns.
  • The instrument alias is additive on both sides of the window: a body naming instrumentId is the shape a gateway on either build accepts, and one naming instrument is refused 400 by a gateway still on the previous build (the body then names no instrument at all). A client that wants the name must therefore know it is talking to this build — read info.x-immix-orders-schema and the presence of SubmitOrderBody.properties.instrument, or simply keep sending the id.

114.v4 — 2026-09-15 — the two freshness arms’ 0 sentinels are described correctly

A prose correction only: no message shape moves, no served value changes and info.version stays 114.v4 — the published descriptions of two TradingPolicyUpdated fields stated the opposite of what the orders owner and the oe connector do with them.

What changed

  • TradingPolicyUpdated.refFreshnessNs’s description. 0 now reads as disables the age comparison alone — the reference itself stays mandatory for every order type, so an absent reference refuses either way, where it read “0 = nothing admits (the strict arm — state a window to trade)”. The owner’s admission arm guards the comparison with refFreshnessNs > 0, so 0 is the permissive setting — no staleness bound at all — not a lockout. NO_REFERENCE_PRICE still refuses when no reference exists, at any refFreshnessNs.
  • TradingPolicyUpdated.instructFreshnessNs’s description. 0 now reads as the connector’s configured default window (instruct.freshness.default.ms), never a lockout, where it read “0 = nothing instructs (strict arm)”. The oe connector substitutes its configured default whenever the governing policy states 0; the first-instruction gate always applies, only its window is operator-set.
  • degradedGraceNs is untouched — its “0 = any DEGRADED refuses” was, and stays, accurate. The three duration sentinels on this row genuinely differ from one another; read each field’s own description rather than generalising from a neighbour.

What each side of the deploy window sees

  • Nothing behavioural, on either side. No arm changes, so a client sends the same values and gets the same answers from a gateway on either build; the document is catching up to arms that have always worked this way.
  • What moves is what a reader believes 0 means, and the old text pointed the wrong way on a risk control. An operator who read it and left refFreshnessNs at 0 believing it refused everything was in fact running with no reference-staleness bound; one who left instructFreshnessNs at 0 for the same reason was running the connector’s default window rather than a lockout. Both are worth re-checking against the intended policy — state a non-zero refFreshnessNs to bound reference age (5 s is the recommended bound) and a non-zero instructFreshnessNs to override the connector’s default.

114.v4 — 2026-09-15 — the command surface: 40 routes over the register’s commands

The document’s info.version stays 114.v4: no message shape moves; the document grows routes, request bodies and components.

What changed

  • Three route shapes per family, 40 routes over 34 commands. POST /{family} creates (users, connections, account-addresses, portfolios, asset-policies, chain-policies, trading-policies); PUT /{family}/{id} amends or restates (the same families minus account-addresses); POST /{family}/{id}/{verb} acts — users/disable; connections/approve|suspend|reactivate|revoke|rotate-credential|withdraw; accounts/classify|approve|freeze|unfreeze|retire|withdraw; account-addresses/verify|retire; portfolios/retire; asset-policies and chain-policies approve|retire|withdraw; trading-policies/approve|retire|withdraw|halt|resume. orgs and accounts have no create; the connector-proposed commands and the bootstrap never ride this edge.
  • Request bodies are the command schemas minus what the edge supplies, published as derived <Command>Body schemas beside the generated <Command> schemas: userId is absent from every body schema and refused if sent (400 MALFORMED_REQUEST) — it is stamped from the admitted principal; the entity ref (connectionId, targetUserId, …) and expectedVersion are route-sourced (the path, If-Match) and not required — a body may restate them, never contradict them (400). A create’s ref must be absent, null or 0. String fields are required as the schema states them (send "" for none — the empty-not-null rule the rows already follow); optional wire fields are lenient (absent or null = the 0 sentinel); enums by name, strictly (the sentinel refuses 400); booleans as booleans, absent = false. An action’s body is optional ({} or empty is legal).
  • Idempotency-Key is required on every unsafe route: a URL-safe string of 1–64 characters from [A-Za-z0-9._~-] (a UUID fits), scoped by the admitted principal. A retry of a concluded key replays the stored outcome with Idempotent-Replay: true and publishes nothing; a retry of a live key attaches (one publish total); a key reused on another family or entity refuses 409 IDEMPOTENCY_KEY_REUSED.
  • If-Match on entity routes carries the command’s expectedVersion: the ETag an entity read minted, quoted or bare; absent or * = unconditional; weak validators refuse 400 INVALID_IF_MATCH. A stale precondition answers 412 VERSION_CONFLICT with the entity’s currentVersion in the envelope and a fresh ETag: re-read, reapply, retry.
  • Every write is a full-record restatement — send If-Match. A register command carries the whole record and the answering fact replaces latest wholesale, so a write with no precondition restates every field from the client’s copy, including the ones it never meant to touch: two admins editing one row from stale reads silently revert each other, both answered 200 (the owner’s pending book keeps two commands from clobbering each other inside the owner; it cannot know the second was assembled from a stale read — only the token can). Round-trip the ETag of the read the edit was based on, and on 412 re-read before retrying. The same shape one step less visible: an amend against an entity whose proposal is still pending replaces that proposal wholesale — a classify on an account with a pending AMEND is a revision of that proposal, not a collision with it, so without If-Match the second maker’s body simply becomes the proposal. The If-Match parameter’s description states both, on every entity route.
  • Responses are the owner’s answer from the stream. 200 is the family’s row (the same shape the reads serve, plus globalSequence) with the answering fact’s position in X-Immix-Global-Sequence and the row’s ETag; the same instance’s reads already reflect it. A refusal the owner answered carries the refusal’s own position, and the same instance’s reads are at or past it too (every register fact moves the position, a refusal folding to nothing); a replayed 200 restates its original answer’s position, no newer than the projection’s. 202 is committed-or-pending: {"status":"PENDING","key":k} with Location: /operations/{key}. The owner’s rejection reasons ride verbatim as error.code, mapped to statuses by class: 412 VERSION_CONFLICT; 403 SELF_APPROVAL, ROLE_DENIED, NOT_PROPOSER, USER_DISABLED; 409 for state and uniqueness refusals (ILLEGAL_TRANSITION, PROPOSAL_PENDING, NOTHING_PENDING, NAME_TAKEN, DUPLICATE_POLICY, DUPLICATE_ADDRESS, CONNECTION_IN_USE, PORTFOLIO_IN_USE, LAST_ADMIN, CONNECTION_NOT_ACTIVE, ALREADY_DISCOVERED, ALREADY_BOOTSTRAPPED — and, from 114.v5, IDP_REF_TAKEN); 422 for field and reference refusals (UNKNOWN_ENTITY, INVALID_FIELD, MISSING_VENUE, WRONG_CONNECTION, ORG_MISMATCH). Door refusals: 400 (MISSING_IDEMPOTENCY_KEY, INVALID_IDEMPOTENCY_KEY, INVALID_IF_MATCH, MALFORMED_REQUEST), 422 SCALE_UNKNOWN, 404 NOT_FOUND (an entity route’s id absent from, or outside, the principal’s org — exactly as the read answers), 429 INBOX_FULL / IN_FLIGHT_FULL (Retry-After), 503 NOT_PRIMED / NOT_SERVING / OWNER_ABSENT. A replayed refusal (403, 409, 412, 422 — the owner’s rejections, sequenced and journaled) carries Idempotent-Replay: true and the position of the rejection fact exactly as a replayed 200 does; the edge’s and the platform’s own refusals (the 400s, 409 IDEMPOTENCY_KEY_REUSED, 413 TOO_LARGE, 422 SCALE_UNKNOWN, 429, 503) are never journaled and carry neither header — a retry takes fresh. In the document each family’s row is one named schema (OrgRow, UserRow, …: the fact plus RowExtras) that both its read’s 200 and its commands’ 200 reference, and every operation carries an operationId (listOrgs, createUser, approveConnection, …): generated clients get one row type per family, by construction, and stable method names.
  • Money in mirrors money out. amount_t, qty_t and notional_t fields are decimal strings scaled at the edge by the same source the reads render by — the referenced asset’s unitScale, the referenced instrument’s qty and price scales — exactly: more fractional digits than the scale refuses 400; a scale the projection does not hold for the asset or instrument the body names refuses 422 SCALE_UNKNOWN naming the ref (a client may retry once refdata lands); a cap stated with no ref at all (assetId or instrumentId absent), or a ref off its grammar, can never scale and refuses 400; absent, null or "0" is the 0 sentinel, so a row read from GET round-trips into a PUT body. The org-default trading policy (instrumentId absent) takes no caps (400).
  • GET /operations/{key} serves the principal’s own operation records (key, phase, commandGlobalSequence, origin{memberId, instanceId}, timestamps, outcome{httpStatus, code, family, entityId, globalSequence}); another principal’s key is 404 UNKNOWN_OPERATION, indistinguishable from an unknown one. The journal is member-local: poll the instance that carried the request (session affinity behind N instances); a restarted instance answers 404, and a retried key then republishes — safe, because every create is natural-key-unique and every action state-gated at the owner.
  • Error.code opens. It was a closed enum of five read-side codes; it is now a string whose description lists the door codes and points at OrgRegisterRejected.reason (now published) for the owner’s set — append-only. Error gains currentVersion (412 only). The Rejected responses declare the position header (the refusing fact’s).
  • New components: parameters IdempotencyKey, IfMatch, OperationKey; header IdempotentReplay; schemas PendingOperation, OperationRecord, OrgRegisterRejected and the 34 command/body pairs; responses Pending, BadRequest, Rejected, VersionConflict, Backpressure, Unavailable, InternalError, UnknownOperation (ForbiddenPrincipal is renamed Forbidden; the response is unchanged). The document’s title and description say the edge is the register’s reads and commands.

What each side of the deploy window sees

  • A client of the read contract keeps working unchanged: no path, property, type or required set of any GET moves. A client whose generated Error.code type was a closed enum must regenerate before it meets the new codes (a stale enum would have refused them as unparseable — that is why the field opened).
  • A gateway still on the previous build answers every unsafe route 404 (the route does not exist); a gateway on this build answers the contract above. Roll the gateway before any client that writes; the register owner needs no change for this one (the commands are the ones it has always accepted).
  • The 202 path is honest about a quiet or slow owner: a command committed but not yet answered within the sync deadline answers 202 and concludes on the record later; a client that needs the row polls /operations/{key} on the same instance, or re-reads.

114.v4 — 2026-09-15 — the connection’s observed axis

The register records what the venue said about a staged key, on the connection row itself; the read edge serves it.

What changed

  • ConnectionUpdated gains the connection’s observed axis — eleven properties, all x-since-schema-version: 4, filled by the register from the connector’s pre-approval key readout (ReportConnectionProbe, a machine-proposed command no gateway route prepares):
    • observedPermissions (array of string; items enumerated read / trade / withdraw; uniqueItems): the key scopes the venue stated, served in that order. Empty means no scope observed — served as [], never null. The choice set is append-only: skip an unknown name, never error on it.
    • observedAllowlist (string, enum UNKNOWN / NONE / COVERS / MISSES): the key’s IP allowlist judged against the cluster’s egress set.
    • probeOutcome (string, the HealthReason enum): UNKNOWN = never probed; NONE = the venue’s read answered, and the observed scopes are its word; any other value is the probe’s own failure (AUTH_FAILED, INVALID_KEY, IP_NOT_WHITELISTED, …), with probeDetail saying what the connector could.
    • probedAtNs (int64 epoch-ns as a decimal string, nullable): the consensus time of the probe report the row records — the register stamped it, so it is the same on every member; null = never probed.
    • observedKeyCreatedAtNs (int64 epoch-ns as a decimal string, nullable): the key creation time the venue stated; null = the venue states none, or never probed.
    • observedKeyId, observedKeyFingerprint, venueAccountRef, permissionDetail, allowlistDetail, probeDetail (string, empty until a probe answers): the venue-facing key identifier (the public half — never material), the fingerprint of the material the probe adopted (compare with keyFingerprint, the intake’s pin), the venue’s account identifier behind the key, the venue’s own permission and allowlist strings verbatim, and redacted diagnostic text for a non-NONE outcome.
  • “Never probed” is one shape: probeOutcome: "UNKNOWN", probedAtNs: null, observedPermissions: [], observedAllowlist: "UNKNOWN", observedKeyCreatedAtNs: null and six empty strings — what every row the register wrote before v4 serves, and every v4 row until a probe answers.
  • Where an answer shows: a probe on a PENDING_APPROVAL proposal shows on view=latest only, and view=approved gains it with the conclusion — the observed axis is content, like the proposal it measured. A probe on an ACTIVE or SUSPENDED row with nothing pending shows on both views at once. A later probe supersedes an earlier one whole (probedAtNs moves).
  • The register now refuses an activation, reactivation or credential rotation whose answered probe (probeOutcome: "NONE") shows the key scoped short of the row’s declared capabilities (SCOPE_INSUFFICIENT — canReadBalances needs read, canTrade needs trade, canExecuteTransfers needs withdraw) or beyond them (SCOPE_MISMATCH — a Read-only pipe must not carry trade or withdraw). A reader sees such a row stay PENDING_APPROVAL with its observedPermissions explaining why, until a re-probe answers with the right scopes. An unprobed row and a failed probe approve as before.
  • The document description states the set rule beside the enum rule; no existing property changes name, type, nullability or required membership.
  • info.version moves from 114.v3 to 114.v4.

What each side of the deploy window sees

  • A client on 114.v3 ignores the eleven new properties; nothing it already parses changes.
  • A gateway still serving 114.v3 renders a connection the register has already probed without the properties — so “absent = never probed” only holds once the serving gateway is on 114.v4; from then on the row itself says so (probedAtNs: null, probeOutcome: "UNKNOWN"). Check info.version before concluding a key was never read.
  • A gateway on 114.v4 serves the never-probed shape for every row the register wrote before v4 and every row not yet probed: the properties are present from the first v4 response, with their defaults, and fill in as probes answer.
  • The org-register pair restarts lockstep (its owner’s snapshot version moves); roll the gateway after the register, so the properties appear as soon as the register can set them. Treat an unknown probeOutcome or observedAllowlist name as UNKNOWN and skip an unknown observedPermissions choice — every one of these sets is append-only.

114.v2 — 2026-09-07 — amount_t values serve as exact decimals off the asset’s unitScale

A rendering change under the same schema: no message shape moves and info.version stays 114.v2 — the unscaled marker is what tells the two sides apart.

What changed

  • AssetPolicyUpdated.maxTicketAmount / approvalThresholdAmount / reconciliationToleranceAmount and ChainPolicyUpdated.minTransferAmount / maxTransferAmount are served as exact decimal strings scaled by the referenced asset’s refdata unitScale — "2.500000000000" for a 2.5 BTC ticket cap at BTC’s scale of 12 — where they were raw scaled-integer strings ("2500000000000") under "unscaled": true before.
  • The unscaled marker narrows to the missing-scale fallback, uniform across both money sources: a row carries it only while the projection does not hold a money field’s scale source — the referenced asset not yet folded or its unitScale unstated, the referenced instrument not yet folded (the catch-up window, or an absent row). Absent, every money value on the row is an exact decimal. The collection-level marker keeps its coarse meaning (present while any item’s row is flagged).
  • The document description and RowExtras.unscaled’s description say so; no path, property, type or required set changes.

What each side of the deploy window sees

  • A client that branches on unscaled (the contract said to) keeps working unchanged, because the marker’s two meanings are what they were. On an entity response it says some money field on that row is a raw scaled integer. On a collection response it is coarse: at least one item’s row would carry it, and the items themselves carry no per-row marker, so a client that must know which item is raw re-reads those entities. What changes is only where it appears: no longer on amount_t rows whose asset the gateway holds with a stated scale.
  • A client that parsed amount_t values as raw integers without reading the marker was already off-contract; on the new gateway it reads "2.500000000000" where it read "2500000000000". Read the marker, or parse every money field as a decimal string.
  • A gateway still on the previous build serves amount_t raw under the marker whatever the refdata says; a gateway on this build serves decimals for every asset whose AssetUpdated fact states a unitScale. An asset stated before the refdata unitScale field existed decodes unitScale 0 (not stated) and its amounts stay raw under the marker until the refdata owner restates it — honest at every point of the window, and no lockstep restart: refdata and the gateway roll independently.

114.v2 — 2026-09-07 — a connection names the connector app group that serves it

What changed

  • ConnectionUpdated gains appGroup (string, x-since-schema-version: 2): the connector app group serving this connection — one group per connection by construction. Empty means unassigned, and nothing serves it; that is the fail-safe, so orders on an unassigned pipe are refused rather than silently routed.
  • info.version moves from 114.v1 to 114.v2.

Why its own version, and not part of 114.v1

appGroup first landed alongside 114.v1’s tradingConnectionId, both marked x-since-schema-version: 1. That is not a legal append: a 114.v1 encoder writes ConnectionUpdated with no appGroup bytes, but a reader gating on actingVersion < sinceVersion (1 < 1) reads a length prefix past the end of the message — a buffer overrun on replay, or a garbage value. Two wire shapes cannot share one version number. Every append takes the version that introduces it, which is what makes the append-only guarantee hold at all.

What each side of the deploy window sees

  • A client on 114.v1 ignores the new property; nothing it already parses changes.
  • A gateway still serving 114.v1 renders a connection the register has already assigned without the property — so “absent = unassigned” only holds once the serving gateway is on 114.v2. Check info.version before concluding a connection has no connector.
  • The org-register pair restarts lockstep (its owner’s snapshot version moves); roll the gateway after the register, so the property appears as soon as the register can set it.

114.v1 — 2026-09-02 — accounts designate their trading pipe

What changed

  • AccountUpdated gains tradingConnectionId (integer/int32, nullable, x-since-schema-version: 1): the trading pipe this account’s orders instruct through when set. Absent or null means orders route through the account’s own connectionId — the default, and the only shape the contract had before.
  • ConnectionUpdated.canTrade’s description is reworded to say that orders route through the account’s trading pipe and that any number of trading connections may share one (org × venue). No shape change.
  • info.version moves from 114.v0 to 114.v1.

What each side of the deploy window sees

  • A client on the old contract ignores the new property; nothing it already parses changes.
  • A gateway still serving 114.v0 renders an account the register has already designated without the property — so “absent = own pipe” only holds once the serving gateway is on 114.v1. Check info.version before inferring a route from absence. The org-register pair restarts lockstep for this change (its owner’s snapshot version moves); roll the gateway after the register, so the property appears as soon as the register can set it.

114.v0 — 2026-09-01 — the initial contract

The nine register facts as read models; no client-visible change was recorded before this file existed.

Data

Consumer-facing changes to this API document, newest first. Each heading is the document’s version, and the document’s info.version always equals the newest heading. Within a major version, changes are additive only, except before 1.0, where a breaking change takes a minor bump and a BREAKING entry.

0.7.1 — 2026-10-17 — include on the instrument list says how to ask for several extras

No shape changes: every schema, parameter and response is as published in 0.7.0.

  • include on GET /instruments now says how to ask for more than one extra: comma-separate them, include=total,facets,ticker, or repeat the parameter, include=facets&include=ticker. Both forms have always been accepted; only the description is new.

During the deploy window nothing differs: a server on 0.7.0 and one on 0.7.1 accept the same requests and send the same responses.

0.7.0 — 2026-10-15 — BREAKING: contractMultiplier is nullable; every instrument is served

Breaking: Instrument.contractMultiplier became nullable. It stays required (always present), but its value can now be null where it was always a string. Regenerate your client from this document, and accept null, before a server on 0.7.0 answers you. A strict non-null decoder built from 0.6.0 (a generated Kotlin or Swift client, a zod schema) rejects a whole page that holds one such row, not just that row. A client that turns the field into a number must read null as “not stated”, never as 0.

  • Instruments whose catalog row states no multiplier are now served. Until now the list, the lookups by symbol and GET /instruments/{instrumentId} left out every such instrument: most venues’ spot markets (Binance, Bybit, Coinbase, Kraken, Gate.io, KuCoin and others — OKX’s spot rows were the exception, carrying "1"), and inverse futures and inverse perpetual swaps on several venues. venue=binance_spot answered an empty page, a search for binance spot found nothing, and those ids answered 404. About 9,800 of 86,000 instruments come back, with their facets and totals.
  • contractMultiplier is null for those instruments, where the catalog states no multiplier, as contractValue already is. For spot, one unit is one of the base asset; for an inverse contract, its size is contractValue. The rows served before keep the value they had: a positive multiplier is always sent as before.

During the deploy window a server on 0.6.0 leaves those instruments out, as described above, and one on 0.7.0 serves them, with null multipliers: the same request can answer a different total and facets for a few minutes. A cursor taken on one server is accepted by the other, and the next page holds the rows the answering server serves. A client still on the 0.6.0 document meets the nulls from the first 0.7.0 answer, which is why it regenerates first.

0.6.0 — 2026-10-12 — Instruments rank by USD turnover; the enum filters list their values

Additive: one new ticker field and sort, and value lists on parameters that took them in prose.

  • ticker.turnoverUsd24h is turnover24h valued in USD at the quote asset’s current USD rate: the last 24 hours of quote turnover at today’s rate, an approximation. It is the one statistic comparable across quote assets. volume24h is in base units and turnover24h in quote units, so neither ranks OKX@SOL/BTC against OKX@BTC/USDT. It is null whenever turnover24h is, and when no USD rate is current for the quote asset. The name and the rule are the market-data stream’s tickerEvent’s.
  • sort=turnoverUsd24h (and -turnoverUsd24h) orders the instrument list by it, absent values last in both directions, as every statistic sorts. -turnoverUsd24h is the “biggest markets first” order for a list that mixes quote assets.
  • The enum filters list their values, so a reference or a generated client offers them rather than a free string. type and status on GET /instruments and type on GET /assets are open: each item is anyOf the documented values and any string, because each filter also takes a value its rows carry beyond the list, so a value you were served stays valid. include on every list is a closed enum: anything else is 400. Nothing about what is accepted changes. A generator that reads anyOf an enum and a string as an open enum offers the values and still sends another. The rows’ own type and status stay open strings: those value sets only grow, so tolerate a value you don’t know.
  • The facets say which filter each dimension ignores. Each facet is counted under every filter but its own dimension’s, as since 0.4.0, so with type=SPOT the types facet still counts every type the rest of the query matches. The descriptions now say so field by field.

During the deploy window a server on 0.5.0 answers sort=turnoverUsd24h with 400 MALFORMED_REQUEST and sends no turnoverUsd24h on the ticker, and one on 0.6.0 serves both: retry such a 400 once the deploy is through. Everything else is the same on both.

0.5.0 — 2026-10-09 — The reference reads as the wire: property order and examples

No shape changes: every schema, parameter and response is as published in 0.4.0. Two things change how the document reads.

  • Properties are listed in the order the service sends them, where they were listed alphabetically. A page reads items, nextCursor, prevCursor, total, then facets on instruments, and asOfSeqTsNs last; a row opens with its id, then its symbol or code; a ticker with lastPx. JSON member order carries no meaning, so a client that reads members by name sees no difference. required lists keep their order.
  • Every operation’s 200 carries an example: the service’s own answer to a small request over a fixed sample of the catalog, members in the order they are sent. The venue and asset lists are a first page of two with include=total; the instrument list is OKX’s BTC markets with include=total,facets,ticker; the lookups by id answer for OKX, BTC and OKX’s BTC/USDT perpetual. The values are real in shape, not live: the cursors in them are valid on no deployment.
  • Each property’s own example agrees with them: where a property shows a value in an operation’s example, its schema’s example is one of those values, and a decimal’s is spelt plain, as the wire spells it ("0.0002", where makerFeeRate and takerFeeRate read "2.0E-4" and "5.0E-4").

0.4.0 — 2026-10-08 — The instrument list is complete: search, tickers and facets

GET /instruments now serves everything it published: search, include=ticker and include=facets no longer answer 501 NOT_IMPLEMENTED, and the operation no longer declares that response. No shape changes: the parameters and the Ticker, Facets and FacetCount schemas are as published since 0.2.0.

  • search matches word prefixes: every word sent must start one of the instrument’s own words, those of its symbol, of the venue’s own symbol, of its type, its id and, for a dated future, its expiry (jun, 2027, 25, jun27). Anything but ASCII letters and digits separates words and is otherwise ignored, so btc/usdt is btc usdt, and a search with no ASCII letter or digit filters nothing. One character is enough, and every match is listed. It combines with every filter, sort and lookup by symbol, and a cursor is bound to it as its words.
  • include=ticker renders each row’s ticker from the same statistics the sorts read: exact decimal strings at display precision; null for a value the statistics cannot state and for a window still warming (pctChange1h until the one-hour window is warm, the five 24-hour fields until the 24-hour window is), never 0; windowComplete is the 24-hour window’s flag; and ticker is null for an instrument that has never traded or whose last price cannot be stated.
  • include=facets counts the matching instruments per venue, type, base asset and quote asset, each dimension under the request’s filters minus that dimension’s own (venueId, venue and venueId.notIn are the venue dimension’s; search, status and symbol apply to every facet), so a filter panel keeps showing its alternatives. Each value is what the matching filter takes, with the display alias as label (null for types); values with no matches are omitted; within a dimension the values sort by count, most first, then by value, ids as numbers and type names as text. A lookup by symbol counts its own rows.

During the deploy window a server on 0.3.0 still answers search, include=ticker and include=facets with 501 NOT_IMPLEMENTED, and one on 0.4.0 serves them: retry a 501 once the deploy is through. Everything else is the same on both.

0.3.0 — 2026-10-06 — The error envelope and headers match the rest of the REST API

The error envelope and the headers every exchange carries are now declared as the rest of the Immix REST API declares them, so a client generated from either document reads them the same way. One answer changes: a path no route serves has a code of its own.

  • ROUTE_NOT_FOUND (404, not retryable) answers a path no route serves: a misspelt path, or an operation this version does not serve yet. It was NOT_FOUND, which now means one thing only: the id names nothing served here.
  • Error.currentVersion is declared: an optional decimal string beside error, which a conditional write’s 412 VERSION_CONFLICT carries (the row’s current version, as in its ETag). No operation of this API is a conditional write yet, so no response carries it.
  • X-Request-Id is declared on every operation, as an optional request header and as a header of every response. The service already took and echoed it: send 8 to 128 of [A-Za-z0-9._-] to name a request yourself; a value off that grammar is replaced with a fresh id, never refused.
  • X-Immix-As-Of-Seq-Ts is declared on the 200 of every read, which already sent it.
  • retryable is described by the rule both REST APIs share: sending the identical request again, after Retry-After or a short pause, can succeed with nothing else changed. No code’s value changes.

In the document, every operation gains the parameter RequestId, every response the header RequestId, and every read’s 200 the header AsOfSeqTs. A regenerated client gains one optional argument per operation and two response headers it can read, and Error gains an optional currentVersion.

During the deploy window a server on 0.2.0 answers a path no route serves NOT_FOUND, and one on 0.3.0 answers it ROUTE_NOT_FOUND, both with status 404: treat a code you do not know by its status. Everything else is the same on both.

0.2.0 — 2026-09-25

Contract stubs, published ahead of their implementations. Every operation added here is published with its full shape and answers 501 NOT_IMPLEMENTED until its implementation ships; nothing already published changes.

  • GET /instruments (stubbed, pending): the instrument catalogue with search (word prefixes of the symbol, the venue’s own symbol, the type and the id), lookup by symbol (at most 100 per call), the filters venueId, venueId.notIn, venue, type, status, baseAssetId, baseAsset, quoteAssetId and quoteAsset, sorts by symbol, instrumentId, type, listedAtNs, expiresAtNs and the 24h statistics, and include=total,facets,ticker.
  • GET /instruments/{instrumentId} (stubbed, pending).
  • GET /assets and GET /assets/{assetId} (stubbed, pending): search as a substring of the symbol, the filters symbol and type, sorts by symbol, assetId and type, include=total.
  • New schemas: Instrument, InstrumentPage, Ticker, Facets, FacetCount, Asset, AssetPage.
  • The error code NOT_IMPLEMENTED (501, not retryable): a published operation whose implementation has not shipped.
  • Conventions, in the guide: the per-resource search rule (word prefixes for instruments, a substring for venues and assets), the .notIn filter suffix, include=facets and include=ticker, and the symbol grammar.
  • Amended 27 Sep 2026, before any v0.2.0 bundle existed: the type sort on both lists, search over the venue’s own symbol and the id, and clearer field descriptions.
  • Amended 28 Sep 2026: GET /instruments/{instrumentId} is live, and no longer answers 501. A removed instrument is served with its last status; another environment’s instrument, and any id that is not exactly an instrument’s (0300, +300), is 404. (The v0.1.0 release bundle carries this document as it stood on 28 Sep, with every phase-1 operation stubbed.)
  • Amended 29 Sep 2026: GET /assets and GET /assets/{assetId} are live, and no longer answer 501. A removed asset is absent from the list and 404 by id, as is any id that is not exactly an asset’s (0201, +201). symbol sorts ignore case. type takes the eight documented classes and any other class an asset carries, a removed asset’s included; a value that is neither is 400 MALFORMED_REQUEST, which the guide now states for every enum filter. (The v0.2.0-rc.1 release bundle carries this document as it stood on 28 Sep, with both asset operations stubbed.)
  • Amended 1 Oct 2026: GET /instruments serves lookups by symbol, which no longer answer 501: at most 100 symbols a request, matched case-insensitively against each instrument’s canonical symbol, sorted by symbol (the default, ignoring case), instrumentId, type, listedAtNs or expiresAtNs, with include=total. A symbol that names nothing served here is absent from the page, a legacy YYYYMMDD maturity (…-20270625) included; more than 100 symbols, a repeat counted, is 400 MALFORMED_REQUEST, naming the limit. A cursor is bound to the symbols as a set, whatever their order or case. The list without symbol, every other filter, the statistics sorts and include=facets,ticker still answer 501, as the 501 response now describes. On every list, an “any of” parameter may be repeated and comma-separated at once.
  • Amended 1 Oct 2026, the list: GET /instruments serves it, and only search, include=facets and include=ticker still answer 501. Every filter narrows it: venueId, venueId.notIn, venue (a venue code), type, status (SUSPENDED among them), baseAssetId, baseAsset, quoteAssetId and quoteAsset (asset symbols), and symbol, which combines with every other filter and sort. Codes and symbols match whatever their case, and one that names nothing matches nothing, as does an id that is not exactly one (0300); a type or status neither documented nor carried by an instrument is 400 MALFORMED_REQUEST. Every sort is served: the statistics sorts (lastPx, pctChange24h, volume24h, turnover24h) read the statistics include=ticker will show, with absent values last in both directions: a 24-hour statistic is absent while its window warms, as is any the projection cannot state. include=total is exact. A cursor is bound to the filters and the sort as normalized, so the lookups’ cursors stay valid. asOfSeqTsNs and X-Immix-As-Of-Seq-Ts report the older of the catalogue’s and the statistics’ positions. The type parameter lists every documented type, QUANTO_FUTURES and QUANTO_PERPETUAL_SWAP included.

0.1.0 — 2026-09-24

  • GET /venues and GET /venues/{venueId}: the trading venues IMMIX connects to.
  • The list envelope shared by every collection: items, nextCursor, prevCursor, total (with include=total) and asOfSeqTsNs.
  • The error envelope shared by every response: {"error": {"code", "message", "retryable", "requestId"}}.