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 — anX-Immix-Global-Sequenceyou read, or a 202’scommandGlobalSequence— 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 503PROJECTION_BEHINDwithRetry-After; send the request again, to any member. A value that is not one to nineteen decimal digits, at most9223372036854775807, is 400MALFORMED_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 everyETagwith them: across a cut the parameter guarantees nothing. Every 503 response now declaresRetry-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
commandGlobalSequenceas?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’sLocationstays 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 /meandPUT /accounts/{id}/keys/{keyId}— were answered 412VERSION_CONFLICTby a member whose image was behind the version yourIf-Matchnames, 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 503PROJECTION_BEHINDwithRetry-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 — anETagkept 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 answeringPROJECTION_BEHINDpast a few retries wants the row re-read. -
Locationmay 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, ashttps://api.immix.xyz/v1does — answers everyLocation(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 byLocationreads a doubled URL there (https://api.immix.xyz/v1https://api.immix.xyz/v1/operations/{key}): resolveLocationagainst 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
minGlobalSequenceon a read (400MALFORMED_REQUEST, a parameter it does not take) and ignores it on a write, answers a lagged pinned write 412VERSION_CONFLICT, and answers aLocationwithout the base. A member on this build waits on the parameter and on the lagged write, and answersLocationunder the base where one is set. SendminGlobalSequenceonly once every member you reach serves0.84.0; resolveLocationagainst your request’s URL and treatPROJECTION_BEHINDlike 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 isCOMMITTED, every member folds it, and a poll of theLocationon 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’sX-Immix-Global-Sequenceagainst the 202’scommandGlobalSequencewhen 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 sameIdempotency-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 404UNKNOWN_OPERATIONas “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 — anActor, nevernull, as the adjustment row has carried it since0.80.0. - The register commands’ schemas list
commandKeybesideactor— the caller’sIdempotency-Key, which the platform writes onto the command itself: stamped, never sent. The register request bodies you send (SubmitAccountBodyand the others) are as they were. The routes and their outcomes are as they were. - Every write refuses a body
commandKey— 400MALFORMED_REQUEST, as a bodyactoris refused: the register, risk, manual-execution, orders (POST /ordersand the cancel) and algos writes alike, where0.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 theIdempotency-Keyheader alone. The publishedCancelOrdermessage schema listscommandKey, stamped by the platform; the cancel body you send is as it was. - ! The seven algos bodies drop
commandKey—CreateAlgoInstanceBody,SubmitAlgoConfigBody,StartAlgoInstanceBody,StopAlgoInstanceBody,DeleteAlgoInstanceBody,SetAlgoUpgradePolicyBodyandHaltAlgosBodylisted the key as an optional restatement of theIdempotency-Key; they list it no longer, a client generated from this document loses the property, and a body that states it is refused 400MALFORMED_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 statescommandKeyis 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’sLocationat the gateway’s deadline, the operationCOMMITTEDand unanswered, or refused by the front door while the group is down; retry it under the sameIdempotency-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, andupdatedByUserId→updatedBy; on an adjustment and on a manual execution,proposedByUserId→proposedByandwithdrawnByUserId→withdrawnBy, and an adjustment gainsupdatedBy— 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 theActorcomponent — alwaysUSERwith a user id, since only members write risk — ornullwhere the user id servednull; the one exception is the limit row’supdatedBy, which is nevernull: it serves{"kind": "MACHINE", "id": 0}on the default row the platform gives every organisation, whereupdatedByUserIdservednull. Theapprovalsentries keepuserId: approvals are people’s. - Filters and sorts that named a user id leave.
proposedByUserIdandconcludedByUserIdonGET /risk/limits,proposedByUserIdonGET /risk/adjustmentsand onGET /risk/manual-executions, as filters and as sort keys: an actor is an object no list orders by. A request naming one is 400MALFORMED_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 403FORBIDDEN_PRINCIPALat the door before; the operation record exists and names the refusal, as it does for any refused write.FORBIDDEN_PRINCIPALkeeps its other meanings. A key still reads the risk surface byrisk: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
Locationat the gateway’s deadline, the operationCOMMITTEDand unanswered, or refused by the front door while the group is down; retry it under the sameIdempotency-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 409LAST_ADMIN. A restatement whose capabilities — stated, or apreset’s — leaveusers:manageout is refused 409LAST_ADMINwhen 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}/disableandPOST /users/{id}/deletesaid “the last administrator”; they now say “the last activeusers:manageholder”, the memberPUT /users/{id}names too. An administrator is anACTIVEmember holdingusers:manage, whatever else the row holds: the bit decides, not a match against theADMINpreset. A member invited with the bit counts once their row turnsACTIVE, 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 aDELETEDrow’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
STARTEDtoSTOPPED,transitionSeqadvances,lastCauseis the new valueSTRATEGY,lastCommandKindthe newREPORT_ALGO_INSTANCE_STOP, andlastUpdatedByis null: the platform moved it, as withENGINE_FAULT. Its orders are cancelled at the stop, as at any stop. Unlike a fault, nothing is lost: the algo keeps its state, soPOST /algos/instances/{id}/startresumes 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
STOPPEDwithlastCauseCOMMANDorHALT, and the algo’s own stop is discarded. The algo’s first: the instance is alreadySTOPPED(STRATEGY), so your stop is refused 409ILLEGAL_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”. lastCausegainsSTRATEGYand the command kinds gainREPORT_ALGO_INSTANCE_STOP, on the row and in theGET /algos/instanceslastCauseandlastCommandKindfilters. A refusal’scommandmay 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-schemareads121.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: aSTARTEDone landsERRORafter itsVERSION_RESUMEDmove, withlastCauseENGINE_FAULTand its orders cancelled; aSTOPPEDone landsERRORthe 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 toRESUMEduring the roll, afterRESTARTorSTOPand 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 landsERRORat itsVERSION_RESUMEDmove 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>-1000000000000and 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 landsSTOPPED; your next start runs it afresh on the new version.SCHEMA_MISMATCH: the instance landsERRORand its orders are cancelled — unless it is stillCREATED, which it stays (it holds no orders), as0.77.0says.- A start after
ERRORreplaces the strategy too: its new orders’ client order ids continue from the next multiple of a trillion, as aRESTART’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 andSetAlgoUpgradePolicy.upgradePolicy’s no longer say the engines ignore the policy, andupgradePolicy’s — on the row, the create and the set — say that aRESUMEwhose saved state cannot be resumed (above: the new version cannot read it, or its orders moved before a mid-roll return toRESUME) landsERROR, 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-policychanges what a new version of the instance’s algo on its pool does to it — the row’supgradePolicy, 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 needsalgos:manage, takes theIdempotency-Keyexactly as the start, the stop and the delete do (a retry of the key replays the answer withIdempotent-Replay: true; the key reused on another algos route or instance is 409IDEMPOTENCY_KEY_REUSED), and, like the stop, takes noIf-Match— one is refused 400INVALID_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 newupgradePolicy(or 202 withLocation: /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,lastCommandKindand theETagstay 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 400MALFORMED_REQUEST, nothing sent. Another organisation’s or an absent instance is 404NOT_FOUNDfrom the gateway, and one the platform holds no instance under 404UNKNOWN_INSTANCE. ADELETEDinstance is 409ILLEGAL_TRANSITION(the message names the status). Withoutalgos:manage, 403CAPABILITY_DENIED. A remark past 256 bytes of UTF-8 is 422INVALID_FIELD, as on every algos write. SetAlgoUpgradePolicy,SetAlgoUpgradePolicyBodyandAlgoUpgradePolicySetjoin 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, orNONE) 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’srequiredlist. Every required sentinel-enum field reads “as input the field is required, and explicitUNKNOWNrefuses 400” — the request bodies’ (SubmitOrderBody’sside,orderTypeandtimeInForce,DisableAccountBody.reason,DeclareAccountAddressBody.chain,SubmitChainPolicyBody.chain, and this version’sSetAlgoUpgradePolicyBody.upgradePolicy) and every generated message schema’s, commands and facts alike (SubmitOrder.side,OrderUpdated.status,AccountUpdated.pendingTransitionand 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 andConnectAccountBody’sownershipandpurpose). 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/instancestakes an optionalupgradePolicy: 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,RESTARTcancels its orders and starts it afresh,STOPcancels its orders and stops it. Like every enum written, the parse is strict:UNKNOWNor a name the API does not know is refused 400.GET /algos/instancesrows gainupgradePolicy, the instance’s policy. Every instance created before this version readsRESUME.- 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
algoVersionIdmoves to it and itstransitionSeqadvances, with alastCausethat says what the new version did:VERSION_RESUMED,VERSION_RESTARTEDorVERSION_STOPPEDby its policy (aSTARTEDinstance underSTOPlandsSTOPPED), orSCHEMA_MISMATCHwhen the new version’s params schema refuses the instance’s document: the instance landsERROR, unless it is stillCREATED, which it stays. AnERRORinstance 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; aCREATEDone needs only the corrected document, which the engine’s acceptance turnsSTOPPED, ready to start.lastCommandKindis thenREPORT_ALGO_VERSIONS, andlastUpdatedByis null: the platform moved it. lastCausegains those four values, on the row and in itsGET /algos/instancesfilter.SET_ALGO_UPGRADE_POLICYjoins the command kinds: a refusal’scommandcarries it, and the shared enum and its filter list it, but no row’slastCommandKindever holds it — a policy change does not move the row’s attribution, which stays the last move’s.info.x-immix-algos-schemareads121.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 /mecarriesversion, afterapiKeyId: 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 /orgcarriesversion, afterorgId: your organisation’s version, the same type and meaning as on every other row.PUT /org’s answer and each row ofGET /me/orgscarry it too.If-Matchfrom the row you hold. Send the row’sversionasIf-MatchonPUT /meandPUT /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 theETagheader 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
ETagstays, 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_MEMBERleavesinvitationState— on every user row the API serves (GET /users/{id}, the/userspage’s items and the answer to every user write) and inGET /users’sinvitationStatefilter. Such an invitation used to sitINVITEDwith no email sent until the person happened to sign in. Now the row turnsACTIVEin the same act, with the capabilities and the name you granted:invitationStateisACCEPTED,idpUserRefis the member’s identity at the provider,idpInvitationRefis empty — no invitation was created (a claim no invitation reached, after a failed send say, leaves it empty too) — andinvitationDetailnames the member the address belonged to. No email is sent, and nothing tells the person they hold the seat: tell them yourself.invitationFailuregainsSUBJECT_BOUND, besideinvitationStateFAILED: 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 staysINVITEDand cannot be bound while that seat holds the member;invitationDetailnames the seat. Enable that seat (POST /users/{id}/enable) if it is disabled, and cancel this invitation (POST /users/{id}/delete).EMAIL_TAKENwidens.POST /users/invitationsanswers409 EMAIL_TAKENfor 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— is400 MALFORMED_REQUEST, as for any value the row cannot carry. info.x-immix-register-schemareads114.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 innlvUsdand not here.nullexactly whennlvUsdis. - The eight leverage figures divide by
marginEquityUsd, where they divided bynlvUsd. TheWithSpotfigures 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
marginEquityUsdmoves by the NLV step (1 % of its last published value), as it does fornlvUsd: 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}/proposalbodies,nlvFloorUsdis nowmarginEquityFloorUsd. On the posture, thearmvalueNLV_FLOORis nowMARGIN_EQUITY_FLOOR, and itsobservedis the margin equity. - Order admission’s exposure test reads the margin wallets. It applies under a
HEDGE_ONLYorBLOCKEDposture set byGROSS_LEVERAGE_WITH_SPOTorMARGIN_EQUITY_FLOOR(the floor is hard only, so it setsBLOCKEDalone) from a breach on complete data: the posture’sarmhas anobservedvalue and itsrateQualityisPRIMARY. There the exposure an order must shrink (a hedge underHEDGE_ONLY, a cut underBLOCKED) is the derivatives together with the holdings in the venue’s margin wallets alone; coins in another wallet (OKXfunding) no longer count. An order that shrank only coins held outside the margin wallets passed before and is now refused,RISK_HEDGE_ONLYunderHEDGE_ONLYandRISK_LIMIT_BREACHEDunderBLOCKED. 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 /positionsrows gainfunding: the funding paid or received on the position since it first opened, insettleAssetId, positive when the account received it. It is cash besiderealizedPnl, never part of it or ofcost, and it survives the position returning to zero.nullfor anUNSUPPORTEDrow.- A position row’s
lastCausegainsFUNDING: the row a payment moves says so. LikeMANUAL_ADJUSTMENT, it names no execution, solastExecutionIdstill names the last fill. - The risk record’s
fundingUsdmoves. Each payment converts at its own rate, and a record published for a payment carriescauseFUNDINGwithcauseRef"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 intransfersUsd. - The adjustment’s funding arm is accepted on a position (
POST /risk/adjustmentswithfundingModeandfunding, in the settle asset). On an inventory it stays refusedARM_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), orOTHERwith a remark:GET /risk/manual-executions,GET /risk/manual-executions/{id}(risk:read, or anyriskcapability) serveManualExecutionRow: the account, the instrument,side,liquidity,qty,price,feewithfeeAssetId,venueTsNs,reason,reference,remark,status(PENDING_APPROVAL,RECORDED,WITHDRAWN), the maker-checker fields —proposedByUserId,proposedAtNs,approvalsas{userId, approvedAtNs}objects — and, once recorded,recordedAtNsand theexecutionIdit was booked as.manualExecutionIdis 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, orrisk:approve). Every write takes anIdempotency-Keyand noIf-Match. A draft sendsfeewithfeeAssetId, or neither — a zero fee is sent as neither; afeeof zero beside its asset is refused422 INVALID_FIELD. An API key writes none of them: like every risk write, a key’s is refused403 FORBIDDEN_PRINCIPALat the door, and a key reads them byrisk:read.- A draft needs the organisation’s
riskapprovals — 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 onGET /executionswithprovenanceMANUAL,orderId"0",credentialId0 and the draft’sreferenceas itsvenueTradeId, and the position moves as for any fill. - The
referencemust 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 refused409 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
ManualExecutionRejectReasoncodes — 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) orMANUALfor a booking by hand;UNKNOWNon an execution recorded before this release. A manual execution hasorderId"0"like an unattributed one:provenancetells them apart. TheProvenanceenum the order row already carries gainsMANUAL; a client that switches over it reads a value it does not know asUNKNOWN. OperationRecord.outcomegainsmanualExecutionId(a decimal string) and thefamilyvaluerisk-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_ONLYmember, 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
versionand noETag: an edit you hold open never meets a412because a colleague signed in. It is not a sortable or filterable column. - Generated clients. The
/userspage’s items are the newUserItemand the/api-keyspage’s the newApiKeyItem— each the record and the mark, asAccountItemandCredentialItemare their records and what rides beside them — so a client generated from the document typeslastActiveAtNson 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.0that ignores unknown fields sees nothing change; after it,nulluntil 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,trueon 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,nullwhen none is set. - Nothing else moves: no member leaves, no route or capability changes, and
info.x-immix-register-schemastill reads114.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
DOWNwith reasonSTARTUPon its account’sconnection(and ontrading, where it trades) from the moment its lane dials until the venue answers, usually under a second, thenCONNECTED. - After the deploy, the reading does not move for that report. A key nothing has answered
on stays
CONNECTINGwith reasonNONEandreadAtNsnull, then readsCONNECTED; a key whose probe answered clean staysCONNECTED, reasonNONE. A key whose probe was refused gets no such grace — its readings areDOWNeither 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,DOWNwith reasonSTARTUP, then the connector’s own word, while the refusal and its fix stay on the key’s row inkeys[]. 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 reportsDOWNwith reasonSHUTDOWNfirst, and its restart’s dial readsDOWNlike 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’sDEGRADEDor refusal. Nothing else in the row moves: a reading is observed, not decided, so theversionandETagstand, and the key’s ownhealthinkeys[]keeps every report as made, itstransitionAtNsandreportedAtNstelling 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 withcanTrade. - After the deploy, it is accepted. A key pasted before the deploy was stored for the
connectors its flags named at the paste: ticking
canTradeon 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’shealth.tradingand the account’stradingreading readDOWNwith reasonCONFIG_ERROR. A key pasted after the deploy needs no rotation. - Unticking
canTradereleases the key’s order-entry session, and the account’scapabilities.tradereadsnulluntil 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
canTradeon it also needs a rotation (POST /accounts/{id}/keys/{keyId}/rotate, the same legs will do) — itshealth.tradingand the account’stradingreading sayDOWNwithCONFIG_ERRORuntil 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 theorganizationparameter when you authorize. The token’sorg_idclaim is the same value. The row’sorgIdis this API’s own id, and itsnameis a label another organisation may carry, so neither names an organisation to the identity provider. - Which rows to offer. Offer
ACTIVErows with a non-emptyidpOrgRef. A token for aDISABLEDorganisation is 403ORG_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 aDISABLEDorganisation 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 400MALFORMED_REQUEST, as any undeclared parameter is. - Why it was missing.
GET /me/orgsandGET /orgserved this field up to0.47.0.0.48.0narrowed the row toOwnOrgand dropped it, and that version’s section did not say so. A client that read it before0.48.0reads 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, byPOST /api-keysandPOST /api-keys/{id}/rotate, underCache-Control: no-store; the platform holds its digest alone. A bearer naming no key, a deleted key or a wrong secret is 401UNAUTHENTICATED(the three alike); aDISABLEDkey is 403FORBIDDEN_PRINCIPAL. /api-keys(api-keys:manage, a new capability, in theADMINpreset):GET,POST(theIssueApiKeyBody:name,capabilitiesorpreset— any capability butusers:manage,api-keys:manage,risk:proposeand theapproveones, so of the presetsTRADERalone; and only capabilities the caller holds, unless it holdsusers:manage— 403CAPABILITY_DENIEDotherwise, 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; filtersapiKeyIdandstatus, sort byapiKeyId,status,createdAtNs,name. The row (ApiKeyRow:apiKeyId,version,orgId,status,capabilities,createdBy,createdAtNs,rotatedBy— the member who last rotated the key,nulluntil a rotation —name) never carries the secret or its digest; the issue’s and the rotation’s answers (ApiKeyIssuedRow) carrysecret— the bearer, served once: by the answer, or after a202by the first accepted answer to a retry under the sameIdempotency-Keyon the same member;nullon every later answer. The operation record never carries it. A key’s operation journals under the familyapi-keys(OperationRecord.outcome.family’s new value). A key’sPOST /ws-ticketsmints for thetradingstream alone:{"stream":"market-data"}is 403FORBIDDEN_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: 403SELF_APPROVAL, and the inbox leaves both out of the item’sapprovers. Every register row under maker-checker (accounts, venue keys, addresses, the three policies, approval rules) gainskeyHolder, that second member as anActoron a key’s proposal andnullon a member’s, kept besideproposedByonce 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’sapprovecapability 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’sproposedByUserId→proposedBy,concludedByUserId→concludedBy,lastWithdrawalProposedByUserId→lastWithdrawalProposedBy,lastWithdrawalWithdrawnByUserId→lastWithdrawalWithdrawnByon every register row under maker-checker (accounts, venue keys, addresses, the three policies, approval rules); the inbox item’sproposedByUserId→proposedBy,concludedByUserId→concludedBy,returnedByUserId→returnedByActor(itsreturnedByword stays); an algo instance’screatedByUserId→createdBy,lastUpdatedByUserId→lastUpdatedBy; a config document’suserId→actor; the halt answer’suserId→actor. Each is theActorcomponent, ornullwhere the user id servednull. Theapprovalsentries and the inbox’sapproverskeepuserId: 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 403FORBIDDEN_PRINCIPAL, and no key is grantedrisk:propose(it reads byrisk:read). The trading halt is a member’s too:POST /trading-policies/{id}/halt, which any member may send with no capability, is 403CAPABILITY_DENIEDfor a key, whatever it holds. - Filters and sorts that named a user id leave.
proposedByUserIdandconcludedByUserIdon the register collections and the inbox, the inbox’sreturnedByUserId,GET /orders’ and an instance’s orders’userId, the algo instances’createdByUserIdandlastUpdatedByUserId, the config documents’userId: an actor is an object no list orders by.invitedByUserIdandpendingByUserIdstay. - A body states no actor. The derived request bodies drop
actorwhere they droppeduserId; a body statingactororuserIdis 400MALFORMED_REQUEST. The order and algos writes refuse the same. - The user row is a person’s.
UserUpdated.kindleaves, withGET /users’kindfilter and sort column and theInviteUserBody’s droppedkind— a user body (the invitation’s,PUT /users/{id}’s,PUT /me’s) that still stateskindis 400MALFORMED_REQUEST, naming the field;POST /usersleaves — a person joins by invitation alone (POST /users/invitations), and a machine principal is an API key.GET /medescribes either — itsMegainsactorandapiKeyIdand loseskind:actor,userId(a member’s;nullfor a key),apiKeyId(a key’s;nullfor a member),orgId,orgName,name,status,capabilities;GET /me/orgsfor a key is its one organisation.PUT /merenames a member alone: a key’s is 403FORBIDDEN_PRINCIPAL— anapi-keys:manageholder restates a key’s name onPUT /api-keys/{id}. - The identity provider’s client path ends. A machine that authenticated as an M2M
client — a client-credentials token whose
subis<client_id>@clients, bound to aSERVICEuser row — admits nowhere from this release: no route binds such a subject any more, and the wipe takes the rows that did (aSERVICErow’s token would answer403 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-schemareads114.v24.- Before the deploy, a row names its users by id,
POST /userscreates a service user, andimmix_…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 holdingapi-keys:manageissues keys. Generate from the new document: the renamed fields, the removed parameters, the removedkindand the removedPOST /usersall fail a client generated from0.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
nameis 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.displayNameis gone fromUserUpdated(every users row and list item, and the user images of the approvals inbox) and fromGET /me: what the identity provider calls the person is read nowhere any more. A client that showeddisplayNameshowsname. PUT /merenames you: the body is{"name": "…"},If-MatchtheETagGET /meserves (428 PRECONDITION_REQUIREDwithout it; a stale one412 VERSION_CONFLICT), anIdempotency-Keyas on every write. EveryACTIVEmember may — no capability is needed — and the rename is live at once, no approval. It answers your row asGET /meserves it, with the change’s position and the row’s newETag. A body statingkind,capabilities,preset,roleIdoridpUserRefis400 MALFORMED_REQUEST— those are an administrator’s, onPUT /users/{id}; an empty name, or one past 128 bytes, is422 INVALID_FIELD.- A member’s name is never
NAME_TAKEN:POST /users,PUT /users/{id}andPOST /users/invitationstake a name another member holds.NAME_TAKENstill answers for an account’s, a key’s and a portfolio’s name within the organisation. GET /meservesMeRow: theMerecord —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 fordisplayName; a generated client meetsMeRowwhere it readMe, andMewithoutglobalSequence.UserStatuslosesDISCOVERED, and the usersstatusfilter with it (?status=DISCOVEREDis400): no gateway has written such a row since 0.18.0.USER_NOT_ADMITTEDanswers anINVITEDactor alone.PendingTransitionlosesUNFREEZEandREVOKE: an account’s pending enable readsENABLEand a key’s pending deleteDELETE— the words every client has been told to read them as — and thependingTransitionfilters take neither old word (400).- The error codes lose
ALREADY_DISCOVEREDandCREDENTIAL_UNASSIGNED, neither answered by any route for several releases;OrgRegisterRejected.commandKindlosesREPORT_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 nowrequiredwhere the marker left them optional —UserUpdated’semail,idpUserRef,invitationStateandidpInvitationRef,OrgUpdated’sfirstAdminNameandfirstAdminEmail,CredentialUpdated’s probe readings (observed…,probeOutcome,probeDetail,permissionDetail,allowlistDetail) andvenueAccountRef. What the gateway serves is unchanged; a generated client’s types tighten.UpsertUserBody’sidpUserRefstays optional (absent reads as"", which keeps the row’s binding). info.x-immix-register-schemareads114.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) andPOST /accounts/{id}/keys/{keyId}/rotate|enable|deletetakeaccounts:propose(the intake checks it before any material is stored, asPOST /accountsdoes), and each answers the account row: itspendingTransitionreadsKEY_CHANGE, the key’s own pending transition and proposed image sit inkeys[], and the row’sversionandETagmove — a key change is the account’s own proposal — andLocationnames the key the write concerns by its route: onPOST /accounts/{id}/keysthe key the platform minted, the handle for its later writes, which nothing inkeys[]singles out once anaccountscount of 0 has concluded the create at once (a create’s key retried under another account is refused 409IDEMPOTENCY_KEY_REUSED, as a key reused on another row is).POST /accounts/{id}/approveconcludes it (a person holdingaccounts:approve, under the organisation’saccountscount; at a count of 0 the submit itself does) with the key’s change in the same answer, andPOST /accounts/{id}/withdrawreturns it — the key restated as its approved record, a key never approved leftDRAFT. One change at a time per account: a change to another key, or to the account itself, while one pends is 409PROPOSAL_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}/disableis unchanged: it concludes at once (eitheraccountscapability), with a proposal standing, and answers the account row too. -
POST /accounts/{id}/keys/{keyId}/approveand/withdraware gone (404), with the commands behind them (ApproveCredential,WithdrawCredentialProposal) and their two kinds inOrgRegisterRejected.commandKind.If-Matchon a key write still names the key’s version, whichkeys[]now carries asversionbesidekeyId— the account row’sETagis the account’s, and the account family’sETagheader 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 anaccountsitem whosetransitionreadsKEY_CHANGE, read underaccounts:readas every accounts item is (avenue-keys:readholder without it no longer meets key changes in the inbox);after.keys[]shows the change — the incoming key’sfingerprintand, once the account connector has read it, itsobserved— andbefore.keys[]the keys as enforcement reads them.family=venue-keysis gone from the inbox and fromGET /approval-rules(400, as any unlisted value), andApprovalImagelists seven shapes.PendingTransitionappendsKEY_CHANGEon the account row and on everypendingTransitionfilter. -
keys[]follows the view. On the latest image each key’s latest image (so a pending change shows), on?view=approvedeach key as enforcement reads it; the two agree while nothing pends. -
Capabilities:
venue-keys:proposeandvenue-keys:approveleaveCapabilityand every preset — a grant naming either is400, as any unknown scope is;venue-keys:readstays the keys’ read grant. Every holder ofaccounts:proposeandaccounts:approvenow makes and concludes every change to an account’s venue keys — theTREASURYpreset included, which held neithervenue-keysverb bit before and still reads no key’s record: an organisation that gave treasury staffTREASURYto 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). Thevenue-keysapproval family is gone:GET /approval-ruleslists six rows per organisation (ACCOUNTS,ACCOUNT_ADDRESSES,ASSET_POLICIES,CHAIN_POLICIES,TRADING_POLICIES,RISK), theaccountscount governing every change on an account and its keys. -
ApprovalImage’s account shape isAccountImage— the account row’s members withoutglobalSequence(keys[],capabilities,connection,trading,parentAccountId,readAtNs), which anaccountsitem’sbeforeandafterhave carried since 0.61.0 under the narrowerAccountUpdatedname; a generated client now seeskeys[]on the item, where a key change shows. -
info.x-immix-register-schemareads114.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 restatedACTIVATEat its next version —PENDING_APPROVALagain 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 inkeys[],Locationnaming the key; at anaccountscount 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,rotateByNsandcanServeAddresses; the serving flags stay pinned to the material the intake staged for them (canTrade; an exchange key always reads), a body moving them 400MALFORMED_REQUESTas on every pinned key — so acanTradethe probe contradicts (409SCOPE_INSUFFICIENTat 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 (409PROPOSAL_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 aCONFIG_ERRORoutcome 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_UNAVAILABLEcan 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
expclaim (or one out of range) is refused401 UNAUTHENTICATEDfrom 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 carriesexp, 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
exprefusal above. A member before0.64.0behind the same identity provider never sent the code either, so a client sees no difference across the roll. POST /internal-platform/orgsrequiresfirstAdminEmailwherever it is served, as it already did where an identity provider fronted the gateway (the internal platform API’s0.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 /venuesis nowGET /venue-key-specs(listVenueKeySpecs), under theVenue keystag. The document it answers is unchanged, member for member:egressAddresses, andvenueswith each venue’s identity,enabled,roles,probes,materialSchema,keyIdLeg,materialandguidance.GET /venuesis the data API’s: the venues as reference data, paged, under the same ids — a venue’sexchangeIdhere is itsvenueIdthere. The schemas follow the path:VenueDescriptor,Venue,VenueRolesandVenueGuidanceare nowVenueKeySpecs,VenueKeySpec,VenueKeyRolesandVenueKeyGuidance, and theVenuestag is gone. A generated client loses its venues resource class; the operation joins the venue keys’.POST /v1/ws-ticketsis nowPOST /ws-tickets. It was the one path that carried the API’s version, so no single base URL reached every operation: underhttps://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, andcreateWsTicketkeeps 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) toConnectionHealth.x-immix-intake-venuesis an extension, untyped by generators. - Rotate a Binance trading key added before this release (
POST /accounts/{id}/keys/{keyId}/rotatewith 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 isDOWN, and the key’shealth.tradingreadsDOWNwith 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.tradingper market on a Binance key: when it isDOWN, checkexchangeIdbefore 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 /accountsconnects a venue account (accounts:propose):exchangeId,displayName, the account’skey(the venue key’smaterialand whether it trades,canTrade) and, beside it, an optionaltransferKey(a dedicated key that transfers and never trades), withownership,purpose,portfolioIdandremarkasPUT /accounts/{id}takes them. One command,ConnectAccount, lands the account row and its key rows in one answer — the rowPENDING_APPROVALuntil the organisation’saccountscount is met,ACTIVEat once at a count of0— 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 (aDRAFTrow, the new parked state); it carries no key fields. A delete pending on one of a withdrawn connection’s keys holds its re-proposal: 409PROPOSAL_PENDING, naming the account — withdraw or conclude the key’s delete first.- The
/credentialsroutes 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 noexchangeId,providerKindoraccountId),GET /accounts/{id}/keys/{keyId},PUT /accounts/{id}/keys/{keyId}(the amend) andPOST /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 is404. The key row (CredentialUpdated) carriesaccountId, 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 422INVALID_FIELD. The account’s reading key — every key that is not a transfers key — cannot be deleted while the account isACTIVEorDISABLED(409CREDENTIAL_IN_USE, the one case of it left): replace it throughPOST /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— andexternalRef; it gainsexchangeId(the venue),venueAccountRef(the venue’s own id for the account, as the key probe stated it;""until a probe answers) andparentExternalRef(the parent’s venue id on a sub-account, as the probe stated it;""on a master account). Beside the record the row serveskeys[](each live key beneath it:keyId,trade,transfer,status,pendingTransition,health,observed,keyIdSuffix,fingerprint,createdAtNs),connectionandtrading(readings{status, reason, readAtNs}—CONNECTINGuntil the first answer, then the probe’s or the connector’s word: the venue’s word on the account is a reading besidestatus, never a status),parentAccountId(the organisation’s row for the parent, derived at the read, elsenull) andcapabilitiesas before, now derived fromkeys[].AccountStatuslosesDISCOVEREDand gainsDRAFT;OrgRegisterRejected.commandKindlistsCONNECT_ACCOUNTand noREPORT_DISCOVERED_ACCOUNT. The/accountslist’scredentialId,tradingCredentialIdandtransferCredentialIdfilters and sort keys leave;exchangeIdarrives, withvenueAccountRefandparentExternalRefas sort keys. - Capabilities respelled:
credentials:propose,credentials:approveandcredentials:readarevenue-keys:propose,venue-keys:approveandvenue-keys:read— the same bits, the family’s name on the page; the approval rule for keys is thevenue-keysfamily, and a key added beneath an account rides that count while the keys stated at the connection ride the account’s. HealthReasonappendsACCOUNT_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, itsconnectionandtradingreadingsDOWNwith 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) andACCOUNT_DISABLED(the account connector’s reading while the account isDISABLED: its keys stayACTIVE, their lanes park).info.x-immix-register-schemareads114.v19;info.x-immix-custody-schemareads115.v3: a balance row (GET /account-balances) carrieswallet, 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 byaccountId,walletthenassetId(sorttakeswallet); 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.
Capabilityis the string enum of the capability scopes,users:managetorisk:approve, the same values in the same order. Everycapabilitiesarray references it as itsitems—UserUpdated,UpsertUser,InviteUser,UpsertUserBody,InviteUserBody,MeandCapabilityPreset— where five of them carried their own copy of the list and two pointed intoUserUpdated’s. Its description states the read rule, as contract: any<family>:<verb>reads what<family>:readreads, and no other implication exists —approveimplies nopropose, and nothing reads across families.CapabilityPresetNameis the enum of the five preset names.CapabilityPreset.presetand thepresetofUpsertUserBodyandInviteUserBodyreference it, so the name you read fromGET /capability-presetsand the name you send back are one type.KeyPermissionis the enum of a key’s venue scopes —read,trade,withdraw— whichCredentialUpdated.observedPermissionsreferences.- A capability set carries the reads its verbs imply. On
POST /users,PUT /users/{id}andPOST /users/invitationsthe door adds<family>:readbeside any verb of that family a body states without it, where the family has one (orghas 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 againstGET /capability-presetsreads back the set the match compares. Apresetbesidecapabilitiesnow agrees when the two name one set once the reads are added —INITIATORbeside its seven:proposevalues alone, refused400 MALFORMED_REQUESTbefore. - 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>:readas 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
OPTIONSrequest from a listed origin — the preflight a browser sends before a call that needs one — answers204, at any path and before admission, since a browser sends no token on one, withAccess-Control-Allow-Originnaming 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-IdandAccess-Control-Max-Age: 600. - Every answer is readable, a refusal’s included. A response to a listed origin carries
Access-Control-Allow-OriginandAccess-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’sRetry-After, as it reads a row and itsETag. - No credentials. The bearer rides
Authorizationand nothing is a cookie, so no answer carriesAccess-Control-Allow-Credentials: send requests with the default credentials mode, nevercredentials: "include", which the browser then refuses. Vary: Originrides every response of a deployment that lists an origin, requests without anOriginincluded, 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/orgsserve its identity and standing) — carries no proposal record:proposedByUserId,pendingTransition,proposedAtNs,concludedAtNs,concludedByUserId,concludedTransition,lastWithdrawalProposedByUserId,lastWithdrawalWithdrawnByUserId,lastWithdrawalAtNs,approvals,remarkandlastWithdrawalReasonare gone. The organisation lifecycle is one platform administrator’s act at once: an organisation is createdACTIVE, andstatusisACTIVE,DISABLEDorDELETED—PENDING_APPROVALandDRAFTleave the enum andGET /me/orgs’statusfilter.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.commandKindlists noAPPROVE_ORG,WITHDRAW_ORG_PROPOSALorREPORT_DISCOVERED_ORG: the three commands left the register’s schema. No refusal a trading route answers ever named them.info.x-immix-register-schemareads114.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 anyriskcapability) serveRiskAdjustmentRow: the account, the position’sinstrumentIdor the inventory’sassetId, four arms (costMode/cost,realizedPnlMode/realizedPnl,feeMode/feewithfeeAssetId,fundingMode/funding),status(PENDING_APPROVAL,APPLIED,WITHDRAWN),reason,effectiveSeqand the maker-checker fields —proposedByUserId,proposedAtNs, andapprovalsas{userId, approvedAtNs}objects, the shapeRiskLimitRow.approvalstook in 0.55.0; no stamped count.adjustmentIdis 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, orrisk:approve). Every write takes anIdempotency-Keyand noIf-Match.- Every adjustment needs the organisation’s
riskapprovals — 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
RiskAdjustmentRejectReasoncodes — the guide maps each to its status.
OperationRecord.outcomegainsadjustmentId(a decimal string) and thefamilyvaluerisk-adjustments, for an adjustment write polled on/operations/{key}.- Records and exposures now move with
causeMANUAL_ADJUSTMENT(causeRefthe adjustment’s id) when an approved adjustment applies — the value was already in their enum, never produced before — and the record’sadjustmentscounter counts them. PositionRow.lastCausegainsMANUAL_ADJUSTMENT: the position’s cost, realized PnL or fees corrected by hand;lastExecutionIdstill names the last execution. A client that switches over the values reads one it does not know asUNKNOWN.
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 /ordersobeys 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_ONLYadmits only an order that reduces the account’s risk, else 409RISK_HEDGE_ONLY. When the posture comes from a breach on complete data — itsarma leverage limit orNLV_FLOORwith anobservedvalue, itsrateQualityPRIMARY, nopositionDrift— 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 breachedarm’s: derivative positions alone for the two*_NO_SPOTarms, where a spot order never passes; holdings and derivatives together otherwise. An inverseMARKETorder 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 withisReduceOnlyon 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’savailablebalance; or a spot buy that repays a borrowed short of the coin, within what is owed.BLOCKEDadmits only a cut, never a hedge — and from a breach on complete data a cut must also shrink the exposure — else 409RISK_LIMIT_BREACHED.- Either refusal’s
error.messageisobserved … against limit … (the account's risk posture), the posture’s own reading and threshold — a leverage multiple, or USD for the NLV floor;DATA_QUALITYandUNEVALUABLEstate none. Cancels are never refused for the posture.
isReduceOnlyis 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 422UNSUPPORTED_AT_VENUE, where everyisReduceOnly: truewas 422INVALID_FIELDbefore. The order row’sisReduceOnlysays how it was placed.OrderRejected.reasongainsRISK_LIMIT_BREACHEDandRISK_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:reador anyriskcapability) 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.postureisNORMAL,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) orBLOCKED(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.armsays what set it — a leverage limit orNLV_FLOOR, withobserved(the reading when the posture changed, a ratio to NLV or USD for the floor) andthreshold(the limit it reached), each a decimal string at eight places;DATA_QUALITYorUNEVALUABLE, which measure nothing, with bothnull;UNKNOWNonNORMAL.riskLimitIdandriskLimitVersionname the limit row the arm came from — the account’s own or the organisation-wide default (GET /risk/limits/{id}) —nullwhen the posture names none.recordPricedAtNsis thepricedAtNsof the account’s latest risk record published before the posture, which states the same verdict —observedis the reading at the change and may differ from that record’s figure (nullbefore the account’s first record);previous,rateQuality,positionDriftandchangedAtNscomplete the row. A posture moves only when it changes — the posture, its arm, the row it names, or, underHEDGE_ONLYandBLOCKED, the rate quality or drift — soobservedis 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. FiltersaccountIdandposture(?posture=BLOCKEDlists the blocked accounts); sort by those andchangedAtNs. A member whose environment has not switched the postures on answers503 RISK_UNAVAILABLE.RiskRecordRow.causegains 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,causeRefthe limit row. A record is also published whenever a valuation or an order event moves the posture, with those causes. The descriptions ofcauseandcauseRefsay 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/limitsandGET /risk/limits/{id}(tag Risk,risk:reador anyriskcapability) serve your organisation’s risk limit rows (RiskLimitRow): the organisation-wide default row (accountId0) — 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×), andnlvFloorUsd, 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;nullis not stated — on an account’s row the default’s value then applies. Like every proposal-carrying resource the rows takeview(latest, the default, shows a pending proposal’s thresholds;approvedwhat is in force) and serve theirversionas theETag; the maker-checker block is the register rows’ as0.53.0completed it: the makerproposedByUserId(kept once the proposal concludes or is withdrawn),pendingTransitionACTIVATE/AMEND/RETIRE,proposedAtNs,concludedAtNs,concludedByUserIdandconcludedTransition(what concluded:ACTIVATE,AMENDorRETIRE),approvalsas{userId, approvedAtNs}entries, theremarkand the last withdrawal; no count is stamped. FiltersriskLimitId,accountId,status,proposedByUserId,pendingTransition,concludedByUserId; sort by those,proposedAtNs,concludedAtNsandupdatedAtNs.POST /risk/limits(SubmitRiskLimitBody:accountIdand 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 — bothrisk:propose.POST /risk/limits/{id}/proposal/approve(risk:approve) adds an approval;/proposal/withdraw(its maker, or arisk:approveholder) withdraws it with areason;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 anIdempotency-Key; the four on a row requireIf-Match(the row’sETag), 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
riskapproval 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_HARDjudges 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 since0.46.1: a service client holdingrisk:approveis refused403 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 refusedALREADY_APPROVED, a proposal is not refusedVERSION_CONFLICTfor its own earlier version, a create is the same row’s201, a refusal the same refusal. A caller who has since lost the capability, or whose organisation is no longerACTIVE, is refused for that instead; the same key sent to another row is422 INVALID_FIELD. Past 24 hours a key is judged as new. GET /approvalsgains theriskfamily: a pending or returned risk limit proposal is an item (familyrisk, thebeforeandafterimagesRiskLimitRows), served to callers who read theriskfamily; its approvers are the organisation’srisk:approveholders. A retirement readstransitionDELETE, as every family’s delete does. Thefamilyenums of the item, the filter and the operation record each gainrisk.
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 cumulativeunrealizedPnlUsd,realizedPnlUsd,feesUsd,fundingUsdandtransfersUsd, 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 isnull, never0:nlvUsdwhen a rate the account needs is missing, a leverage figure then or when NLV is zero or below,balancesAsOfNsbefore 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/exposureslists 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) andinventoryQty, 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;costBasisUsdandrealizedPnlUsdon the holding —nullfor a cash asset (USD and USD stablecoins); the asset’srateQuality;unvalued. A row moves on a business event touching its asset, or when itsrateQualityorunvaluedchanges (causeVALUATION); never on a price move within a tier.- Both read with
risk:read, or anyriskcapability;orders:readalone is refused403 CAPABILITY_DENIED. FiltersaccountId(andassetIdon the exposures), any of; sortaccountId,pricedAtNs(andassetId); the page’slimit,cursorandinclude=total. RISK_UNAVAILABLE(503,retryable: false) joins theError.codeset: 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
capabilitiesarray andGET /mespell:risk:read,risk:propose,risk:approve(a verb reads its own family). The presetsGET /capability-presetsserves expand to them:ADMINgains all three,INITIATORgainsrisk:readandrisk:propose,APPROVERthose andrisk:approve(the risk family is a maker-checker family like the six the two were cut for), andTRADERandTREASURYgainrisk: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 /positionsalso reads withrisk:read(or anyriskcapability), besideorders:read; the operation states the second grant asx-immix-reads-also.- A seventh approval rule, family
RISK(segmentrisk): every organisation holds one, at0like the six, created by its activation;GET /approval-ruleslists it, and?family=RISKnames 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:
pendingByUserIdisproposedByUserId, and it stays on the row once the proposal concluded — who made the last change is on the record, not only in its history;pendingTransitionalone says whether something is still pending (NONEonce it is not).approvalsentries are{userId, approvedAtNs}: each approval carries the platform time it was given.concludedAtNsandconcludedByUserIdare new: when the proposal concluded and who concluded it — the approver whose approval met the count, or the maker where the count was0and the write concluded at once (thenconcludedAtNsequalsproposedAtNs); bothnullwhile the proposal pends and on a row whose last proposal was withdrawn.concludedTransitionis new beside them: what the concluded proposal proposed — thependingTransitionthe conclusion cleared, kept — so a key rotation readsROTATEand a scope editAMENDhowever the row’sstatushas moved on since;NONEwhile the proposal pends or where the row never carried one. The inbox’s concluded item serves it astransition, which wasnullthere.requiredApprovalsis gone from every row. The count a proposal is judged by is the organisation’s rule in force, read on the inbox item (requiredApprovalsthere is unchanged); a concluded row’sapprovalssays how many it took.- Account addresses are under the same protocol: the row carries
pendingTransition(ACTIVATEwhile the verifications are outstanding) and the record above,declaredByUserIdisproposedByUserId(nullfor an address a connector observed), each verification is an approval on the record (POST /account-addresses/{id}/verifyby a person holdingaccount-addresses:approvewho is not the declarer; a second verification by the same person is 409ALREADY_APPROVED), and the row landsVERIFIEDwhen the organisation’saccount-addressescount is met —0to4now, like every family’s (PUT /approval-rules/{id}admits2to4for it).GET /approvalslists the address family (family=account-addresses), and a declaration under a count of0landsVERIFIEDin the same call, as before. A declaration deleted before it is verified comes back to its declarer:POST /account-addresses/{id}/deletetakes an optionalreason(absent reads as""), the row records who deleted it, when and why as its last withdrawal, andGET /approvals?status=returnedserves it under itsDELETEDrow — 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, andconcludedAtNsandconcludedByUserId(new on every item;nullwhile pending or returned); itsafteris the row as it stands now, which a later single-user act may have moved on.transitionon a concluded item names what concluded (the record’sconcludedTransition), where a returned item’s isnull;mine=truewith it refuses 400, as withstatus=returned.readyis 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, withproposedAtNsnullandremarkempty (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,concludedAtNsandconcludedByUserIdreplacependingByUserIdandrequiredApprovalson every row above, and the inbox sorts byconcludedAtNsandconcludedByUserIdtoo. - A count of
0runs the credential family’s checks in the maker’s own call. Below0.53.0,POST /credentials,POST /credentials/{id}/enable,/rotateand/deleteon an organisation whosecredentialscount is0concluded unconditionally — the checks the approval runs never ran. From0.53.0the one conclusion path runs them in the maker’s call: 409SCOPE_INSUFFICIENTorSCOPE_MISMATCHwhere the pinned probe’s observation disagrees with the key’s declared capabilities, and 409CREDENTIAL_IN_USEon 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 (422INVALID_FIELDwhere a probed incoming key reaches another venue account than the serving one) runs on the same path, though a direct cutover at0has 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}/invitationtakes no body — the row is restated as it stands under a fresh deadline — and a stated field is 400MALFORMED_REQUEST, where the body could restatecapabilities,name,emailorexpiresInHours; another address, name or capability set is the cancel and a new invitation.expiresInHoursis gone fromInviteUserBody: the lifetime is the deployment’s, 72 hours (an organisation’s first administrator’s seven days), and a statedexpiresInHoursis refused 400 by name, never read past. The user row gainsinvitationFailure(NONE,EXPIRED_UNSENT,MEMBER_UNVERIFIED,IDP_REFUSED) andinvitationDetail— why a send failed, in the provider’s words — both cleared by the next re-invite. Expiry is a time, not a state:inviteExpiresAtNsis judged at the claim, nothing sweeps, andinvitationStatenever 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 refusedIDP_REF_TAKEN. A deleted member’s bare sign-in, with no invitation open at their address, is now 403NOT_REGISTERED— it read 403FORBIDDEN_PRINCIPALnaming 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 executionsGET /executionsserves, never a venue’s report. It reads withorders:read, or anyorderscapability: a position is built from fills that grant already shows you. A caller without one is refused403 CAPABILITY_DENIED.- The row (
PositionRow) is keyed by (accountId,instrumentId) and statesfamily(LINEAR,INVERSEorUNSUPPORTED), the signedqty— coins for a linear contract, USD face value for an inverse one — andcontracts, the count derived fromqtyat the instrument’s current definition (so after a venue changes a contract’s size it follows the venue, andqtydoes not move);costandrealizedPnl(cumulative, gross of fees) insettleAssetId;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. AnUNSUPPORTEDrow — an instrument type the platform does not value — states its raw contract count andnullforsettleAssetId,cost,avgPxandrealizedPnl. 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
accountIdandinstrumentId, any of; sortaccountId,instrumentIdorlastSeq, defaultaccountId,instrumentId; the page’slimit,cursorandinclude=total. Spot holdings are not positions: they are onGET /account-balances. POSITIONS_UNAVAILABLE(503,retryable: false) joins theError.codeset: a member deployed without the positions surface answers it onGET /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.
unrealizedPnlonGET /account-balancesrows (AccountBalanceRow, from theAccountBalanceschema,x-since-schema-version2). 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, sototal − unrealizedPnlis the pool’s cash. It isnullwhere the venue’stotalleaves 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, whosetotalmay still include the unrealized PnL; a stated zero is a reading, nevernull.info.x-immix-custody-schemareads115.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 /organd its bodyAmendOrgBody(name;expectedVersionridesIf-Match): the one write under/org, published besideGET /org’s row with theOrganisationstag and answeringOwnOrgAnswer— theOwnOrgrow 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/orgsandGET /me’sorgNameserve 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 ownname— 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:managenow covers your organisation’s name beside its approval rules: the capability’s sentence in the API guide andPUT /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
readAtNson every account row —GET /accounts,GET /accounts/{id}on both views, and the answer of every account command (AccountRowandAccountItemgain theAccountFreshnesshalf, besidecapabilities). 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 isACTIVE, else the designated trading key, else the transfer key, standing in for a suspended finder (one rule, the connector’s own); itshealth.account.reportedAtNs— epoch nanoseconds as a decimal string, served while that report says the lane’s sweeps read every pool:CONNECTED, orDEGRADEDfor any reason butRATE_LIMITEDandVENUE_UNAVAILABLE(the push stream alone, stale or refused, every sweep still reading every pool);nullwhile it isDEGRADEDasRATE_LIMITEDorVENUE_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);nullon a status’s first report (reportedAtNsequal totransitionAtNs) until a later one under the same status — a lane that comes up reportsCONNECTEDbefore its first sweep answers, so each move into a reading status costs a heartbeat ofnullrather than a fresh clock nothing read;nullwhile it saysDOWNor no connector has reported on the key — andnullonce the account isDELETED, 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, andnullis 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’shealth.accountsays why. It is derived, not decided: it changes without the row’sversionmoving, so theETagandIf-Matchnever involve it, and it reads the same onview=latestandview=approved.venueTsNsis nowvenueUpdatedAtNsonAccountBalanceRow(the generatedAccountBalanceshape) and amongGET /account-balances’ssortcolumns. Same position, same type (a decimal string ornull), 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) —nullwhere 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 agedvenueTsNscalled an idle OKX account stale.observedAtNsis 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: agereadAtNsfor that.- Generated clients.
AccountRowandAccountItemgain the required, nullablereadAtNs(theAccountFreshnesscomponent).AccountBalance.venueTsNsisAccountBalance.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 /organdGET /me/orgsserve your organisation asOwnOrg:orgId,name,status,productProfile(and the position; theETagis 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/orgsfilters and sorts by what the shape serves (orgId,status,productProfile,name);isInternalPlatformandpendingTransitionare no longer filters. A client that readGET /orgs/{id}for its own organisation readsGET /org.GET /meis identity and capabilities alone.approvalPolicyleaves it: the counts in force are the approval rules’ own rows,GET /approval-rules(view=approvedon a rule is the count in force).isInternalPlatformleaves it: a platform member’s standing on the lifecycle isGET /internal-platform/meon the internal platform API. A client that readGET /mefor either regenerates.- The vocabulary is respelled.
orgs:manageisorg:manage— your organisation’s own settings, every organisation’s to grant, on the row, the bodies, the presets and the WebSocket’scapabilityScopealike; a client sends the new spelling (the old is refused 400, as any unknown name is). The platform’s two bits areinternal-platform:proposeandinternal-platform:approve, and this document’scapabilitiesenum no longer lists them: they are the internal platform document’s. A platform member’s row andGET /mestill carry them — a row serves every bit it holds, soPUT /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 (thecapabilitiesdescription says so). The six command schemas (SubmitOrg,ApproveOrg,DisableOrg,EnableOrg,DeleteOrg,WithdrawOrgProposal) and their bodies,OrgRowand theorgsfilters leave the document with their routes;ApprovalItem.familyandGET /approvals?family=no longer carryorgs(the lifecycle’s proposals are the internal platform API’s inbox). A generated client loses itsorgsmodule and the six types; theMetype 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=INVITEDorGET /users/{id}, nor re-sends their invitation withPOST /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.0meets 404 on/orgsand absent members on/org,/me/orgsand/meonce a member serves0.48.0; a client on0.48.0meets the old spelling refused (org:manageis 400 on0.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’susersrows persisted before it carry the old spellings incapabilities(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,
sortandinclude=total:GET /users?search=acme&status=ACTIVEis the active users at acme, andtotalcounts the matches. It does not stand the deleted-rows default down — a deleted user, or an invitation cancelled before0.38.0, is found only underinclude=deletedor astatusfilter, 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=acmeis400 INVALID_CURSORundersearch=acmor 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.
listUsersgains the optionalsearchparameter, a plain string (the componentUsersSearch). 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
approvecapability. A pending proposal whose only possible approver was a service client now shows an emptyapprovers: no one else can approve yet, so invite or grant a person. APUT /users/{id}must state the row’s ownkind(read it offGET /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 on0.46.0names them. An approval a service client gave before the register’s upgrade stays in its proposal’sapprovalsand 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-ruleslists your organisation’s six rules —?family=CREDENTIALSnames one — andGET /approval-rules/{id}serves one by itsapprovalRuleId, as every row is served. A rule’scountis the number of approvals a proposal in its family needs;0lets a permitted member’s change take effect at once. Itsfamilynames 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, at0.PUT /approval-rules/{id}, body{"count": n, "remark": "…"}, restates one rule (orgs:manage) under that rule’sETag. 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 findsreturnedin the inbox. Lowering it is a proposal anotherorgs:manageholder concludes withPOST /approval-rules/{id}/approve, and its maker or any holder withdraws withPOST /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 defaultview=latestshows the proposed count andview=approvedthe count in force.GET /mecarriesapprovalPolicyin 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 /approvalslists a lowering pending on one of your rules under the familyapproval-rules, the rule as itsbeforeandafter, judged by yourorgs:manageholders at a fixed1; it is acted on at/approval-rules/{entityId}, as every item is. Theorgsfamily 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*Approvalscounts, and itspendingTransitionis 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/approveandPOST /org/approval-policy/withdrawanswer 404.POST /orgs/{id}/approvetakes no counts: a body stating one of the six is refused 400MALFORMED_REQUESTrather than ignored, since the activation it meant to configure would otherwise land with no approvals required. - Regenerate a generated client. The operations
updateApprovalPolicy,approveApprovalPolicyChangeandwithdrawApprovalPolicyChangeare gone with their schemas (SetApprovalPolicy,SetApprovalPolicyBody,ApprovePolicyChangeBody,WithdrawPolicyChangeBody). The newApproval rulestag bringslistApprovalRules,getApprovalRule,updateApprovalRule,approveApprovalRuleandwithdrawApprovalRuleProposal, withApprovalRuleRow,ApprovalRuleUpdated, the three commands and their bodies.Me,OrgUpdated,ApproveOrgandApproveOrgBodylose the six*Approvalsproperties,MegainingapprovalPolicy;ApprovalImagegains a seventhoneOfmember,ApprovalRuleUpdated; the closed enumsApprovalItem.familyandOperationRecord.outcome.familygainapproval-rules;OrgRegisterRejected.commandKindlosesSET_APPROVAL_POLICYand gainsSUBMIT_APPROVAL_RULE,APPROVE_APPROVAL_RULEandWITHDRAW_APPROVAL_RULE_PROPOSAL; andinfo.x-immix-register-schemamoves from114.v13to114.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 at0), and a fresh approval concludes it. On every row under maker-checker,requiredApprovalsis 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 needs1, and with nothing pending the field is the row’s last record:1after a proposal on the row concluded or was withdrawn,0after 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). Before0.45.0a proposal kept the count it was made under. GET /approvalsserves the count as the policy stands, andready. An item’srequiredApprovalsis your organisation’s current count for its family (1on 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, istruewhen a pending item’sapprovalsalready reach it — the case a lowered count leaves — andfalseotherwise.- Every count starts at
0. An activation (POST /orgs/{id}/approve) that does not state a family’s count leaves it at0: a permitted member’s write is the record, with no approval. Before0.45.0an absent count read1. An organisation turns on dual control itself, family by family, withPUT /org/approval-policy— oneorgs:manageholder, effective at once. An organisation activated earlier keeps the table it was activated with, and a pending organisation’s row shows0in every family until its activation states the table. - Lowering alone needs you to be the only person. A
PUT /org/approval-policythat 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 secondorgs:manageholder. Before0.45.0the 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 andIf-Matchand answers the same way: -
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,RETIREDorREVOKED(sendDISABLEDorDELETED),?pendingTransition=REACTIVATEorRETIRE(sendENABLEorDELETE), and on the approvals inbox?transition=REACTIVATE,UNFREEZE,RETIREorREVOKE(sendENABLEorDELETE). A row’spendingTransitionfilter still publishesUNFREEZEandREVOKEand 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. -
unscaledis gone fromRowExtras,AccountBalanceRowand the page schemas ofGET /orgs,/users,/credentials,/accounts,/account-addresses,/portfolios,/asset-policies,/chain-policies,/trading-policies,/orders,/executionsand/account-balances. No member has served it since0.3.3(0.3.2on an order or an execution,0.3.1on a balance), so no response changes. -
firstAdminUserIdleaves the activation’s body.ApproveOrgBodyno longer publishes it. APOST /orgs/{id}/approvebody that states it, whatever the value, is refused 400MALFORMED_REQUEST; since0.35.0it 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/approverefused the field already. -
Two codes leave the published list.
ErrorBody.codeno longer listsAWAITING_ADMISSION, which no member has answered since0.18.0, orSCALE_UNKNOWN, which none has answered since0.3.4. A client that branches on either can drop the branch.codestays open: treat a code you do not know by its HTTP status. -
Prose. The
CredentialsandAccountstags now name their acts in the0.37.0words: 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: until1.0.0a 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 from1.0.0. -
Generated clients. Gone: the fourteen operations
suspendOrg,reactivateOrg,retireOrg,suspendCredential,reactivateCredential,revokeCredential,freezeAccount,unfreezeAccount,retireAccount,retireAccountAddress,retirePortfolio,retireAssetPolicy,retireChainPolicyandretireTradingPolicy; theunscaledproperty ofRowExtras,AccountBalanceRowand the twelve pages; andApproveOrgBody’sfirstAdminUserId. 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 /venuesandGET /capability-presetseach answer one document, which does not move with the position.GET /operations/{key}answers an operation’s record. ItscommandGlobalSequenceandoutcome.globalSequenceare 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/invitationsis the one way a person becomes a member: the row is createdINVITED, the platform emails the address, and the first verified sign-in at it claims the seat. Nothing about that changed. POST /userscreates a user who is not invited. A service principal —kindSERVICE,idpUserRefits 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; itsoperationId(createUser), its body and its answers are unchanged, so nothing regenerates.- A
HUMANrow 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(tagUsers, operationlistCapabilityPresets), answering{ "presets": [ { "preset", "capabilities", "description" } ] }in a fixed order.presetis the value the bodies’presettakes;capabilitiesare the scope strings the door expands it to, in the order a user row lists its own;descriptionis one sentence for a person choosing. The organisation lifecycle pair,orgs:proposeandorgs:approve, is in no preset, as since0.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
capabilitiesequal a preset’s exactly may be shown with the preset’s name, anything else is Custom, an empty set No access. x-immix-preset-capabilitiesis gone from thepresetproperty ofUpsertUserBody,InviteUserBodyandReinviteUserBody. 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
listCapabilityPresetsunder theUserstag, and the schemasCapabilityPresetsandCapabilityPreset— itspresetthe same enum as the bodies’ alias, itscapabilitiesthe 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/invitationsandPOST /users/{id}/invitationtakecapabilities(the scope strings) orpreset(INITIATOR,APPROVER,ADMIN,TRADERorTREASURY— expanded at the door, never forwarded); stated together they must agree (400MALFORMED_REQUEST). A body statingroleId— alone or beside a spelling — is refused 400MALFORMED_REQUEST, the message naming the removal: there are no roles; statecapabilitiesorpreset. The refusal is deliberate where a silent read would have been wrong: a re-invite naming onlyroleIdwould 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’scapabilitiesagainst the presets — an exact match names the preset, anything else is Custom, an empty set No access. - The
PLATFORMpreset is gone. The five presets are the ones an organisation grants itself. The organisation lifecycle pair,orgs:proposeandorgs:approve, is no preset’s: grant it ascapabilitiesscope strings — inside the platform’s own organisation, as before, the wayalgos:managehas always been granted.preset: "PLATFORM"is refused 400MALFORMED_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.familyno longer answersroles. - Generated clients. Gone: the
Rolestag and its operationslistRoles,getRole,createRole,updateRole,deleteRoleandretireRole; the schemasRoleUpdated,RoleRow,UpsertRoleBodyandDeleteRoleBody; the responsesRoleAnswerandRoleRow; the parametersRolesRoleIdFilter,RolesStatusFilterandRolesSort; theroleIdmember ofUpsertUserBody,InviteUserBodyandReinviteUserBody(their spellings’anyOfis two branches again —presetorcapabilities); therolesmember ofOperationRecord.outcome.family; thePLATFORMmember of thepresetenum (a closed enum loses a member) and its entry inx-immix-preset-capabilities. The register schema the document derives from is114.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
statusfilter and noinclude=deletedserves the non-DELETEDrows — on users, a cancelled invitation written before 0.38.0 (DISABLED, anemail, noidpUserRef) is left out too. Such a cancel comes back underinclude=deleted, or understatus=DISABLED(its own status, which astatusfilter reads);status=DELETEDlists theDELETEDrows alone: an archive view of users isstatus=DELETEDplus the unclaimed rows ofstatus=DISABLED, andinclude=deletedis every row — the live ones beside those the default leaves out.include=totalcounts the set served.view=approvedreads the approved image’s status, as every filter does. GET /me/orgsis 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, orstatus=DELETED) — the seat stands as history, and that organisation refuses its membersORG_NOT_ACTIVEin any case.include=deletedchanges the set served, so it binds into the cursor as a filter does (totalnever did: it changes only the envelope): a cursor minted with it isINVALID_CURSORwithout 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 takeinclude=totalalone (their parameter isIncludeTotalin the document);include=deletedon them is 400MALFORMED_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 andstatusis 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— bodyDeleteUserBody(nothing to state),If-Matchas on every entity write (*accepted). 200 with the row atDELETED; 409ILLEGAL_TRANSITIONon a row already deleted; 409LAST_ADMINon the organisation’s last activeusers:manageholder; 404, 412VERSION_CONFLICT, 422ORG_MISMATCHand 403CAPABILITY_DENIEDas on every user write.POST /users/{id}/disablenarrows toACTIVE → DISABLED. AnINVITEDorDISCOVEREDrow now refuses it 409ILLEGAL_TRANSITION: cancel the invitation, or dismiss the discovery, with/delete. A disabled member comes back as before (/enable, orPUT /users/{id}).UserStatus.DELETEDis written.GET /users?status=DELETEDlists the deleted rows; a client switching on the status meets the member 0.37.0 declared. An invitation cancelled before this release still readsDISABLEDwith anemailand noidpUserRef— 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}/enableandPOST /users/{id}/invitationrefuse a deleted row 409ILLEGAL_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.UserStatusgainsDELETED, which nothing writes yet (a later release adds the user’s delete; until then a cancelled invitation still readsDISABLEDwith anemailand noidpUserRef). Every other value stands, at the position it held. Thestatusfilter of each collection lists the new spellings (GET /users?status=acceptsDELETEDand matches no row yet). -
Routes. On every family that has the state, the new verbs and the old as aliases:
An alias is published
deprecated: true, keeps itsoperationId(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:/disableconcludes at once;/enableand/deleteare 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}/enablere-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 400INVALID_FIELD(the restate carries the empty name), so state both onPUT. A member whose capabilities were emptied before the disable is re-enabled holding none. A cancelled invitation is never re-enabled (409ILLEGAL_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}/invitationandPUT /credentials/{id}(the fields a body leaves unstated) —If-Matchmust name the version you read:*is refused 428PRECONDITION_REQUIRED, and a member whose image is behind your read answers 412VERSION_CONFLICTwith itscurrentVersionandETag— retry, as for any stale precondition; a retry under the sameIdempotency-Keyof 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’sETagfirst now. Every other write takes*as before. -
Filters take the old spellings too. Every enum filter — a collection’s
status, a row’spendingTransition, the inbox’stransition— reads a retired spelling as the name that replaced it:?status=SUSPENDEDorFROZENnarrows asDISABLED,RETIREDorREVOKEDasDELETED,?pendingTransition=REACTIVATEorRETIREasENABLEorDELETE, and on the inbox?transition=REACTIVATEorUNFREEZEasENABLE,RETIREorREVOKEasDELETE(a row’spendingTransitionfilter still publishesUNFREEZEandREVOKEand 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 below0.37.0refuses the new spellings 400 as values off its enum. -
Request bodies and operation ids follow the verbs:
DisableOrgBody,EnableOrgBody,DeleteOrgBody,DisableAccountBody, …,DeleteRoleBodyreplaceSuspendOrgBody,ReactivateOrgBody,RetireOrgBody,FreezeAccountBody, …,RetireRoleBody(the shapes are unchanged); the new routes’ operation ids aredisableOrg,enableOrg,deleteOrg,disableAccount, … andenableUser. The account’s disable body names its reason’s typeDisableReason(wasFreezeReason); the three values stand. The field is stillreason. -
Proposals read as one word per act. The approvals inbox’s
transition— the item’s field and its filter — isACTIVATE,AMEND,ENABLE,DELETE,ROTATE,RESUME_TRADING: an organisation’s, credential’s or account’s enable readsENABLE, any family’s deleteDELETE. A row’s ownpendingTransitionspells 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 readUNFREEZEorREVOKEfor a while: the register keeps writing those two numbers until every reader is on this release, then switches — readUNFREEZEasENABLEandREVOKEasDELETE, 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-schemastamp reads114.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:
accountAddressesApprovalsis 0 or 1. Wherever the count appears (the organisation row,GET /me, the body ofPUT /org/approval-policyand ofPOST /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 422INVALID_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-policiessaid the organisation-wide row (instrumentIdabsent) takes count ceilings only. It also takes the price collar and the timing windows (priceCollarBps,refFreshnessNs,instructFreshnessNs,degradedGraceNs). OnlymaxOrderQtyandmaxOrderNotionalrefuse 400 there, as they always have. - The
GET /trading-policiesexample shows a row the platform can hold. Its organisation-wide row carriedmaxOrderNotional: "250000.00", a cap that row refuses; it now readsnull. Size and value caps live on per-instrument rows. - A trading policy’s
instrumentIdwas described as “0 = the organisation-wide default row”. The API servesnullon 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
-,§assection, an ellipsis as..., curly quotes as straight ones, no-break and thin spaces as a space,×asxand→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
INVITEDuser 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 422UNKNOWN_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 before0.18.0is activated the same way, through its oneDISCOVEREDmember. 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 422UNKNOWN_ENTITYtoo. Since0.35.0the 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.0expects two answers to a proposal (the organisation, then its first administrator’s user), and an upgraded register sends one. So aPOST /orgsmade between the register’s upgrade and the last gateway member’s, through any member, puts each member still below0.35.0out of step. Until it notices, such a member can answer that proposal, or any register write after it, with202, or with another write’s answer: a201naming 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 below0.35.0while 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 requiresfirstAdminUserId. 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.0still 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.xparses 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.0described: structural generators widen theCredentialMaterialunion by one member; nominal generators add the classBybitCredentialMaterial. 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
keyand its secret assecret. 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.0model. The account connector (bybit-account) serves every Bybit key and the order-entry connector (bybit-oe) acanTradeone as well.bybit-accountis 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 /venueslists Bybit with its two legs’ form hints and its guidance, andenabled: falseuntil 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
capabilitiesmay carryorgs:manage, served in declared order afteralgos: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,ETagand position headers, without its id. No capability gates it: membership reads it, asGET /orgs/{id}on your own.PUT /org/approval-policy(updateApprovalPolicy, moved fromPUT /me/approval-policyand from theUserstag toOrganisations) restates the policy underGET /org’sETagand needsorgs:manage: a caller without it is refused 403CAPABILITY_DENIED. The rules are otherwise unchanged: raising counts concludes at once; lowering any lands on your organisation’s row as a proposal for a secondorgs:manageholder, unless you are its only active member.POST /org/approval-policy/approve(approveApprovalPolicyChange) andPOST /org/approval-policy/withdraw(withdrawApprovalPolicyChange), new: the secondorgs:manageholder concludes the pending change (never its proposer: 403SELF_APPROVAL), and its proposer or anyorgs:manageholder withdraws it with an optionalreason— each underGET /org’sETag, answering the organisation row. Their bodies are optional and carry no org and none of an activation’s fields (ApprovePolicyChangeBody:expectedVersionalone;WithdrawPolicyChangeBody: andreason); a body statingtargetOrgId,firstAdminUserIdor a family’s count is refused 400. With nothing pending either answers 409NOTHING_PENDING; a proposal of the platform’s on your organisation’s row is not yours to decide (403CAPABILITY_DENIED).POST /orgs/{id}/approveand/withdrawstill 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 409NOTHING_PENDINGtoo, where they answered 403CAPABILITY_DENIED.GET /approvalsnamesorgs:manageholders as theapproversof your organisation’s own policy change, andmine=truebrings it to them.- The
ADMINpreset carriesorgs:manage(twenty-five scopes), and so does theAdminrole template of every organisation activated from this release, whose first administrator holds it from the activation. - An organisation already active holds no
orgs:manageuntil ausers:manageholder grants it — to themselves or to whoever owns the policy — by restating the user withPUT /users/{id}: the whole set plusorgs:manage, orpreset: ADMIN. Until then nobody in it can change its approval policy, and a lowering pending from before is concluded or returned by anorgs:manageholder only. A seededAdmintemplate gains the scope the same way, byPUT /roles/{id}. orgs:proposeandorgs:approveare unchanged: the platform organisation’s alone — refused 422INVALID_FIELDin any other organisation — and they alone make a platform member a reader of every organisation;orgs:managedoes not.- Descriptions that now state the rule.
POST /orgs/{id}/approveandPOST /orgs/{id}/withdrawnamed onlyorgs:approve; they now state your own policy change’s holders too.GET /orgs,GET /orgs/{id}andPOST /orgs/{id}/suspendname the two lifecycle scopes where they said “anorgscapability”;POST /rolesnamesorgs:proposeandorgs:approvewhere it saidorgs:*; thepresetdescription listsorgs:manageunderADMIN. AndPOST /orgs/{id}/suspendsaid 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 since0.23.0, now stated. info.versionmoves from0.28.0to0.29.0;info.x-immix-register-schemastays114.v10— a set choice is a bit in a field that already exists, and the/orgroutes 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 newVenuestag, 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. Itsvenueslists every venue the platform describes, in the platform’s order; itsegressAddressesthe 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:balancesandtrading, the roles the venue’s connectors fill —canReadBalancesneeds the first,canTradethe second);probes(whether a pasted key is checked at the venue before approval);materialSchema, the name of the venue’sCredentialMaterialvariant in this document;keyIdLeg, the leg served back asvenueKeyId;material, the key’s legs as a JSON Schema; andguidance(VenueGuidance: the permissions to grant for each role, in the venue’s own words, and the venue’s key documentation). materialis the published schema with form hints. The same closed object schemamaterialSchemanames, with, underx-immix-ui, on each leg alabel,secret(mask the input),multiline(a PEM block) and thepatternMessageto show when its pattern fails, and on the object theorderto 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 thex-immix-uiannotations (ajv:strict: false) and registerspkcs8-ed25519or 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 staysvenueKeyIdandkeyFingerprint, never a leg.- The published
CredentialMaterialvariants now carry every check the intake applies. Each leg gains apatternrequiring one non-space character somewhere beside itsminLength(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 Schemaformat(pkcs8-ed25519on Binance Spot’sprivateKey, 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.
egressAddressesis 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 readsUNKNOWN.- A refusal about a leg names it — the rule, for every venue and every leg.
POST /credentialsandPOST /credentials/{id}/rotaterefuse a leg that is missing or blank, a leg the venue has not, or a leg off its publishedformatwith 400MALFORMED_REQUESTand 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; theCredentialMaterialprose and the guide state it for every leg, and nothing about the refusals themselves moved. - Across the deploy window. A member below
0.28.0answersGET /venues404ROUTE_NOT_FOUND; at or above it, the document. Nothing a client already reads or sends changed: a client generated from0.27.0keeps working, and one regenerated from0.28.0gains thelistVenuesoperation and four schemas (VenueDescriptor,Venue,VenueRoles,VenueGuidance); theVenuestag precedesCredentials, so a generated client’s resource classes gain one. One title moved:BinanceSpotCredentialMaterialis titledBinance Spot (exchangeId 100), the venue’sdisplayNameas reference data spells it (it readBinance spot), so the two gateways show one name. The material variants’patternandformatare additions a0.27.xclient 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}/approveon an activation, a reactivation or a rotation — andPOST /credentials/{id}/reactivatein an organisation whosecredentialsapproval count is 0, where the reactivation concludes at once — answers 409SCOPE_INSUFFICIENTwhen the key lacks a scope the credential declares (readforcanReadBalances,tradeforcanTrade,withdrawforcanExecuteTransfers), exactly as before, and 409SCOPE_MISMATCHwhen the key can withdraw and the credential is not declaredcanExecuteTransfers. When both apply, the answer isSCOPE_INSUFFICIENT. - What no longer refuses. Any other scope beyond the declared ones —
tradeon a balances-only credential (canTrade: false),tradeon a transfers credential — no longer answersSCOPE_MISMATCH: the approval goes through, andobservedPermissionskeeps 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’sobservedPermissionsdescription 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_APPROVALcredential is probed again every five minutes, and onceobservedPermissionsno longer listswithdrawthe 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 /credentialsandPUT /credentials/{id}setcanReadBalanceson 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. StatecanTradefor a key that trades; a key that only reads balances iscanTrade: false.canReadBalancesstays inSubmitCredentialBodyfor 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; statingcanReadBalances: trueon such a key is the group change the amend refuses (400), and the key reads once re-registered. nameis optional onPOST /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 409NAME_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 declaringcanExecuteTransfersbesidecanTradeis refused before anything is stored, on the create and the amend; the platform refuses the same shape 422INVALID_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
venueAccountRefits 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 —tradingCredentialIdfor a key that trades,transferCredentialIdfor a transfers key — where the key that found the account does not hold that role, while the account is stillDISCOVERED. The first key in takes a slot; move it at the submit, or later withPUT /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_FIELDotherwise — 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:tradingCredentialIdstaysnull. 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 (credentialIdonGET /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 carriescapabilities(the newAccountCapabilities):tradeandtransfer, eachnullwhen no key holds the role, else the key (credentialId), its lifecyclestatusand that role’s latesthealthreading (ConnectionHealthornull) —tradefrom the trading key’shealth.trading,transferfrom the transfers key’shealth.account(the account connector executes transfers). Atradeofnullis an account nothing can trade; atransferofnullreads 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.tradingreads from here. The order-entry connectors report on the credentials they trade through from this release: a trading key’shealth.tradingisnulluntil its connector has opened a session for it (once anACTIVEaccount trades through the key),DOWNwhile that session cannot place orders — connecting, logging in, reconciling, or refused by the venue — andCONNECTEDonce it can. An order on an account whose trading key readsDOWNis refusedCONNECTION_DOWN, where it was queued before any connector reported on the key.- A pending key is probed again every five minutes. A
PENDING_APPROVALcredential’s probe used to run once per material: its verdict —probeOutcomeNONEwith 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 —probedAtNsmoves andobservedAllowlist,observedPermissionsandprobeOutcomefollow — with no re-submit. Each answer is aCredentialUpdatedas before, so the row’sversion, and with it itsETag, moves while the proposal stands: an approval sent with anIf-Matchread before the re-probe meets 412 — read the row again and retry. A transient outcome keeps its one-minute retry. - Generated clients.
SubmitCredentialBody.namebecomes optional;AccountRowgainscapabilitiesand the/accountspage’s items are the newAccountItem—AccountUpdatedpluscapabilities— in place ofAccountUpdated(AccountCapabilities, withAccountCapabilitySetandAccountCapability);KEY_ALREADY_REGISTEREDandDEDICATED_KEYjoin 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
nameand 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’sdisplayName, anaddressand amemoare at most 256. The diagnostics the platform’s connectors quote from a venue (a connection healthdetail, a credential’spermissionDetail,allowlistDetailandprobeDetail) are at most 512 — the connector clips what the venue said to that, so a row never carries more. The bounds already published stand: aremarkand a withdrawalreason256, an email address 254, an account’sdisplayName64. Each bounded property’s description says so, in the same words as the notes’: At most N bytes; longer refusesINVALID_FIELD. - What a write past a bound sees. 422
INVALID_FIELDfrom 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 /roleslists them andGET /roles/{id}serves one:roleId,version,orgId,status(ACTIVEorRETIRED),capabilities(scope strings, as on a user row) andname, unique among the organisation’s live templates.POST /rolescreates one (nameandcapabilities),PUT /roles/{id}restates both under the row’sETag, andPOST /roles/{id}/retireretires it for good, freeing its name. All three takeusers:manage(403CAPABILITY_DENIEDwithout it) and conclude at once — a role is not under maker-checker. A name another live template carries is 409NAME_TAKEN; a write on aRETIREDtemplate 409ILLEGAL_TRANSITION; an empty name, a scope the platform does not know, or anorgs:*scope outside the platform’s own organisation 422INVALID_FIELD. The answer is the row (RoleRow), as every register write answers, and the operation record’soutcome.familyisroles. Reading them takesusers:read— or anyuserscapability, as every read since0.24.0takes its family’s grant: a template is the users family’s, andGET /rolesandGET /roles/{id}carryx-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 /meserves capabilities as before. Restating a template changes no member who holds it — re-apply it (PUT /users/{id}naming theroleId) to each member it should follow — and retiring one leaves its members’ capabilities as they are. roleIdon the user and invitation bodies.POST /users,PUT /users/{id},POST /users/invitationsandPOST /users/{id}/invitationtakeroleIdas a third spelling of the capability set, besidepresetandcapabilities: the gateway resolves it to the template’s capabilities before anything is sent, and the record never carries the role. Stated besidepresetorcapabilities, the spellings must agree (400MALFORMED_REQUEST, aspresetbesidecapabilitiesalways was). AroleIdthat names no live template of your organisation — unknown,RETIRED, or another organisation’s — is 400MALFORMED_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,TraderandTreasury, holding the capabilities thepresetalias expands to, soGET /roleslists 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
Rolestag and its five operations (listRoles,getRole,createRole,updateRole,retireRole) and the schemasRoleUpdated,RoleRow,UpsertRoleBodyandRetireRoleBody;roleId(anint32, at least1) onUpsertUserBody,InviteUserBodyandReinviteUserBody— the first two publish the three spellings as oneanyOf(preset,roleIdorcapabilities) where0.25.0published two.OperationRecord.outcome.familyanswersroles, reserved since0.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 /approvalsis 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) orreturned(?status=returned: withdrawn, by the maker or by a checker, with the reason, until the row’s next proposal). Each item carriesfamilyandentityId(the row, and the/approveand/withdrawroutes under it),transition,proposedByUserId,proposedAtNs,requiredApprovalsandapprovalsas the row carries them,approvers(the active members who may still approve: the family’sapproveholders 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 —nullon anACTIVATE, where nothing stands yet) andafter(the proposed one), each in the family’s own row shape (the newApprovalItem), the maker’sremark, and on a returned item — wherebeforeisnullandafterthe row as it stands after the withdrawal, the enforced record restated where one was enforced —returnedByUserId,returnedAtNs,reasonandreturnedBy(makerorchecker). The filters:mine=true(the pending items awaiting you — itstotalwithinclude=totalis a bell’s count),proposedBy=me,family=<segment>; the page’s three as on every collection; a set ascending byfamilythenentityId. 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 platformorgsreader’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,
proposedAtNsis stamped when the proposal is made,remarkcarries what the maker’s body stated (at most 256 bytes — a longerremarkorreasonis refused 422INVALID_FIELD), and a withdrawal writeslastWithdrawalProposedByUserId,lastWithdrawalWithdrawnByUserId,lastWithdrawalAtNsandlastWithdrawalReasonon 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:lastWithdrawalWithdrawnByUserIdnulland no reason — an organisation never learns which platform member acted. A write that concludes at once (a family whose count is0) 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 /orgsandGET /me/orgswithpendingByUserId,approvals,remark,lastWithdrawalProposedByUserId,lastWithdrawalWithdrawnByUserIdandlastWithdrawalReasonserved as nothing recorded (null,[],""); the organisation’s own policy change is the organisation’s, served to a platformorgsreader the same way.pendingTransition,requiredApprovals,proposedAtNsandlastWithdrawalAtNsread 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, andApprovalImage— the one six-way union itsbeforeandaftershare, so a generator mints one type for both) and four parameters are new; nothing is removed or renamed. The inbox has one surface:view=latestis accepted as on every one-surface collection,view=approvedrefused 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 /usersandGET /users/{id}needusers:read; the credentials, accounts, account addresses, portfolios and the three policy families their own<family>:read;GET /orders,GET /orders/{id},GET /executionsandGET /executions/{id}orders:read;GET /account-balancesaccounts:read(a balance is the account’s); every read under/algosalgos:read. Each operation states its grant —x-immix-readson the operation, and the sentence in its description — and refuses without it 403CAPABILITY_DENIEDat 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. TheForbiddenresponse names the code. - A capability reads its own family. Holding any
<family>:<verb>reads that family:accounts:proposereads accounts,orders:tradereads orders and executions,algos:managethe algos surface,users:managethe users. That is the one implication the set carries — nothing crosses a family, so a trader reads accounts only withaccounts:read. The<family>:readgrants are for members who may only look. - Three reads take no grant:
GET /meandGET /me/orgs(your own identity, however little you may read — configure a client from/me’scapabilities), andGET /operations/{key}(your own operation).GET /orgsandGET /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’sorgsholders 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:
TRADERgainsaccounts:readandorders:read;ADMINevery read (twenty-four capabilities);PLATFORMusers:read(an activation names a pending organisation’s first administrator among its members);INITIATOR,APPROVERandTREASURYtheir own families’ reads.x-immix-preset-capabilitiespublishes the new expansions, and the platform grants both first administrators — the bootstrap’s and an activation’s — every read. secretRefleaves the credential row and every command answer. It was the platform’s own store reference, of no use to a client;venueKeyIdandkeyFingerprintstay as the key’s audit handles, behindcredentials:read. A body statingsecretRefis still refused 400, as it was.- Generated clients.
CredentialUpdatedlosessecretRef; every gated read operation gainsx-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 a0.24.0member 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}replacesPOST /accounts/{id}/classify. The body is the record —displayNamerequired;ownershipandpurposeoptional (absent, the platform records its defaults,HOUSEandTREASURY);portfolioId,tradingCredentialIdandtransferCredentialIdoptional (absent or0: none) — under the row’sETag. On aDISCOVEREDrow it proposes the activation, on anACTIVErow an amend (pendingTransitionACTIVATEorAMEND), and the answer is the row.locationandtemperatureleave the account row, and their enums the document;transferCredentialIdarrives on it — the credential transfers out of the account ride,nullwhen none. The/classifyroute is gone: a0.23.0member answers it 404ROUTE_NOT_FOUND. - The organisation’s approval policy is a table, one count per record family.
credentialsApprovals,accountsApprovals,accountAddressesApprovals,assetPoliciesApprovals,chainPoliciesApprovalsandtradingPoliciesApprovalsarrive on the org row and onGET /me— each0to4,accountAddressesApprovals0or1(an address is verified by one checker).requiredApprovalsleavesGET /me; on the org row it stays with a new meaning: the count the organisation’s own last proposal was made under — kept with itsapprovalson the concluded row as the record of who approved it, until a re-submit or a withdrawal clears it;0until the first proposal, as on every pending-capable row below, andpendingTransitionalone says whether one is pending — a client that read it as the dual-control setting reads the six counts instead.POST /orgs/{id}/approvestates them at the activation — every count absent reads as1, dual control — and the newPUT /me/approval-policyrestates the organisation’s own table: the whole table in the body,If-Matchthe org row’sETag(required, as on every entity write since0.22.0: absent is 428PRECONDITION_REQUIRED, stale is 412VERSION_CONFLICT), no id in the path (the caller’s organisation is the record),users:manageto call it, a count outside0..4422INVALID_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 secondusers:manageholder 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, sopendingTransition, not an empty list, says nothing is pending),proposedAtNs,remark(the maker’s note) and its last withdrawal (lastWithdrawalProposedByUserId,lastWithdrawalWithdrawnByUserId,lastWithdrawalAtNs,lastWithdrawalReason). The register stampsrequiredApprovalsandapprovalsfrom this release — each approval appends its user, and the proposal concludes when the list meets the row’s own count;proposedAtNs,remarkand 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 409ALREADY_APPROVED, a new code. - Makers may say why, and so may a withdrawal. Every maker body (
SubmitCredentialBody,SubmitAccountBody,RetireAccountBody, …) takes an optionalremark, and the sixWithdraw…ProposalBodyan optionalreason; absent reads as"". Both reach the register now; the row’sremarkandlastWithdrawalReasoncarry them from a later release and read""until then. - A credential’s
healthis one reading per connector.healthis now an object, the newCredentialHealthReadings:account(the venue’s account connector) andtrading(its order-entry connector), each aConnectionHealthornull, andConnectionHealthgainsrole(ACCOUNTorORDER_ENTRY). One key is served by both connectors when it reads balances and trades; a balances-only key never has atradingreading. A client that readhealth.statusreadshealth.account.statusorhealth.trading.status— the role it depends on. appGroupleaves 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 statingappGroupis refused 400MALFORMED_REQUEST. An amend cannot change which connectors serve a key whose material the intake staged: adding or droppingcanTrade, 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.
SubmitAccountBodyreplacesClassifyAccountBodyandsubmitAccounttheclassifyAccountoperation;SetApprovalPolicyBodyandupdateApprovalPolicyare new, as areCredentialHealthReadingsandConnectionHealth.role;AccountLocationandAccountTemperaturego;OrgUpdated,MeandApproveOrgBodycarry the six counts in place ofrequiredApprovals; the proposal members andremarkjoin every pending-capable row,reasonthe withdraw bodies;OperationRecord.outcome.familygainsroles, 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>Approvalscounts,approvals,remarkandlastWithdrawalReason; - on
GET /me, the six<family>Approvalscounts; - on the account, credential and three policy rows,
requiredApprovals,approvals,remarkandlastWithdrawalReason.
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
ETagthe 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 everywhereIf-Matchis: 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 400INVALID_IF_MATCH, a stale value still 412VERSION_CONFLICT(412CONFIG_SEQ_CONFLICTon the config write) withcurrentVersion. - 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 noIf-Match, as before. The routes that take no precondition by design keep refusing a stated one 400INVALID_IF_MATCH:POST /orders/{id}/cancel,POST /algos/instances/{id}/start,/stopand/delete, andPOST /algos/halt. - The re-invite.
POST /users/{id}/invitationalready required the header; an absent one is now 428PRECONDITION_REQUIREDthere too (it was 400MALFORMED_REQUEST), and*is accepted as on every other entity write. - In the document.
If-Matchis one parameter,IfMatch,required: true, on every entity write; the separateIfMatchRequiredspelling the re-invite carried is gone — the generated header type of that one route is renamed, which a minor may still do before1.0.0. Every entity write publishes a428response (PreconditionRequired), andError.codegainsPRECONDITION_REQUIREDunder 428 —retryablefalse, 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.
healthis the latest report from the connector serving the credential — the newConnectionHealthschema:status(CONNECTED,DEGRADEDorDOWN),reason,sinceNs,transitionAtNs,reportedAtNs,venueRoundTripNs(null when not measured) anddetail. The trading WebSocket’scredentialchannel already carries the same report.health: nullmeans no connector has reported on the credential. On anACTIVEcredential 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 areportedAtNsthat stops advancing means nothing is reporting on the credential any more, whatever the laststatussays. - It is observed, not decided.
healthchanges without the row’sversionmoving, so it never touches theETagorIf-Match, and it reads the same onview=latestandview=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: nulleven while it trades, until those connectors report too. - Generated clients.
CredentialRowgainshealth(through its new memberCredentialHealth), the collection’s items are the newCredentialItem—CredentialUpdatedplushealth— in place ofCredentialUpdated, andConnectionHealthis 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:
itemsfirst, thennextCursor,prevCursorandtotal, thenglobalSequenceandasOfSeqTsNs— 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 ownitemsfollowed byPageInfo, whose properties (andrequired) 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 theallOfinto a positional constructor (a Kotlin data class, a C# record, a Java all-args constructor) ofPageInfoor 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 alimit=2&include=totalread 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
INVITEDuser cancels the invitation. The row staysDISABLED: it is never re-enabled (PUT /users/{id}) or re-invited (POST /users/{id}/invitation) — both refuse 409ILLEGAL_TRANSITION, as they did before this version said so. - The address and the name are free again.
POST /users/invitationswith the sameemailandnamecreates a new user, with a newuserId, 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
DISABLEDwith anemailand noidpUserRef— nobody ever signed in to it. ItsinvitationStatekeeps the value it had when it was cancelled (SENT, say), so readstatusbeforeinvitationState.
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.streamandWsTicket.streamgain the membermarket-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 (
401on 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
401or403here 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_LIMITEDwithRetry-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,presetorcapabilities, optionalexpiresInHours; answers asPOST /usersdoes, the rowINVITED),POST /users/{id}/invitation(re-invite or resend anINVITEDrow —If-Matchrequired, the version the re-invite replaces; the body may restatecapabilities,name,emailorexpiresInHours, absent fields keeping the row’s; a fresh deadline opens and the platform withdraws the outstanding invitation and sends anew), andGET /me/orgs(the organizations the caller holds an active seat in, as a page —limit,cursor,include=total— ascending byorgId; for an organization switcher).POST /users/{id}/disableon anINVITEDrow cancels the invitation, as since0.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, withRetry-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, neverNOT_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_ADMISSIONis no longer emitted — documented, kept in the vocabulary, retired in practice: there is no admission to await when the door discovers nobody. ADISCOVEREDrow 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 /meservesACTIVErows alone.- Descriptions that described the door’s discovery describe the claim-only door — the
organisation
withdrawandapproveoperations,GET /usersand theUserStatusparameter: aDISCOVEREDrow is one an earlier release left, a parked organisation is re-proposed byPOST /orgsalone. Prose only; no field changes. - The token’s
orgNameandproductProfileclaims are no longer read by any route; a tenant may stop stamping them. The namespacedemailandemail_verifiedare read instead, at the claim. /status(off-contract) gainsadmission.claimed,admission.claimRefused,admission.claimPending,admission.emailUnverifiedandadmission.notRegistered; thediscovered*counters andadmission.subjectUnknown/admission.awaitingAdmissionretire.
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:
UserStatusgainsINVITED— a row an invitation created that nobody has signed in to yet.GET /users?status=INVITEDlists them. A client that switches on the status keeps itsdefaultarm: the value set is append-only.UserRowgains five properties, served on every row by a0.17.0member. The schema leaves them optional — a0.16.0member omits them during the deploy window — so a client generated from it reads them as possibly absent until the fleet is on0.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;nullon a user created directly or discovered.inviteExpiresAtNs— the deadline the user was last invited under, as epoch nanoseconds in a string like every…Ns;nullon a user never invited. It stays on the row after the sign-in and after a cancelled invitation —statusandinvitationStatesay whether an invitation is open, the deadline alone does not.invitationState— the newInvitationStateenum: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) andACCEPTED(the sign-in claimed the row). The state is kept after a cancelled invitation (the userDISABLED): an invitation is open whilestatusisINVITED, 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.
SubmitOrgBodygainsfirstAdminEmail(optional). Stated, the first administrator of the new organisation landsINVITEDand 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 areACTIVEfrom activation, as before. Either way the first administrator now landsINVITED, notDISCOVERED, when the organisation is proposed:POST /orgs/{id}/approvenames that row asfirstAdminUserId.firstAdminIdpUserRefmust now be absent. A stated subject is refused422 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) andINVITATION_EXPIRED(403 — the sign-in came after the deadline; an administrator re-invites).PUT /users/{id}on anINVITEDrow is refused409 ILLEGAL_TRANSITION, and so is re-enabling aDISABLEDuser whose invitation was never claimed (anemail, noidpUserRef): 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}/disableon anINVITEDrow 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,
nullor""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 422INVALID_FIELDnamingremark. - The six request bodies no longer list
remarkas 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:
remarkis 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,requestIdandretryableare required besidecode. Every refusal carries all four.PageInfo:asOfSeqTsNs,nextCursor,prevCursorandtotalare required besideglobalSequence, and stay nullable. Each is on every page,nullwhere 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"}—streamis an enum with one member today (WsTicketRequest); anything else is 400MALFORMED_REQUEST. - The response is
{"ticket", "expiresAtNs", "stream"}(WsTicket), servedCache-Control: no-store.ticketis 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 (401UNAUTHENTICATED); at most 60 tickets a minute per user (429RATE_LIMITEDwithRetry-After; a request refused for its body or its token costs none of it); and a member that holds no signing key answers 503TICKETS_UNAVAILABLE, a newError.code— a retry there changes nothing, and itsretryableisfalse. - 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
/v1route. 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:
- Three parameters on every collection.
limitis the page size, 1 to 100; a larger value is clamped.cursoris thenextCursororprevCursorof a page you were served, sent with the same filters.include=totaladds the exact number of rows matching the filters. Withoutlimitthe whole collection is served as one page, as before. - Four members beside
globalSequenceanditems:nextCursor,prevCursor,totalandasOfSeqTsNs. Each is on every page,nullwhere it does not apply. - A second position token.
asOfSeqTsNs, and anX-Immix-As-Of-Seq-Tsheader on every read served from the platform’s state — the collections, single rows and their 404s,GET /meandGET /operations/{key}— are the platform’s timestamp of the changeX-Immix-Global-Sequencenames. 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 andasOfSeqTsNsisnull. 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,executionsand an algo instance’s orders are newest first, by descending id. This moves three orders:ordersandexecutionswere 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,portfoliosand 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 takesviewalone: a client that re-sends its list’s filters on a row read, such asGET /users/{id}?status=DISCOVERED, is refused.GET /meandGET /operations/{key}take no parameter. A query string that does not decode is refused the same way. INVALID_CURSOR(400) joinsError.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.requestIdis the request’s id. Every response carries the same value in anX-Request-Idheader, a success included, so quote it when you ask about a request. Send your ownX-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.retryablesays whether sending the identical request again, itsIdempotency-Keyincluded, afterRetry-Afteror a short pause, can succeed with nothing else changed. It istruefor a 429 and a 503 and forINTERRUPTED, andfalseotherwise, with two kinds of exception. Four 503s arefalsebecause they state how the service is deployed:BALANCES_UNAVAILABLEandALGOS_UNAVAILABLEalways,INTAKE_UNAVAILABLEon a member that stores no credentials, andNOT_SERVINGon a read replica. And a refusal a record owner judged is alwaysfalse: it is the recorded answer to itsIdempotency-Key, and that key sent again replays it. So the orders owner’s 429RATE_CEILINGisfalse: send the order again under a fresh key onceRetry-Afterhas passed. The guide’s Retrying section lists every code that istrue.error.messageis 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_ACCOUNTorREFERENCE_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: onceGET /algos/versionslists 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
CredentialMaterialas a union, so an OKX object literal still type-checks whereCredentialMaterialis expected. Code that reads a leg (.secret) off the union no longer type-checks until it narrows toOkxCredentialMaterial. - Nominal generators (openapi-generator’s Java, Kotlin and C# targets) emit
CredentialMaterialas a oneOf wrapper holding an instance, and the three legs move to the new classOkxCredentialMaterial. Code that built the material directly —new CredentialMaterial().key(k).secret(s).passphrase(p)— stops compiling: build anOkxCredentialMaterialand wrap it inCredentialMaterial.
- Structural generators (TypeScript — openapi-typescript and the like) emit
- For Binance, send an Ed25519 key. Binance’s order-entry session accepts no other key
type, so the intake reads
privateKeyas an Ed25519 PKCS 8 key and refuses anything else — an HMAC secret, an RSA key — with 400MALFORMED_REQUESTnamingmaterial.privateKey, before anything is staged. Send the API key Binance issued askeyand the Ed25519 private key you registered asprivateKey(PKCS 8 form, PEM or its base64 body). - Trading keys only. A Binance credential must set
canTrade. A balances-only Binance credential is refused 422VENUE_UNSUPPORTED, because no Binance balance connector exists yet;x-immix-intake-venuesshows this as a nullaccountGroup.
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
capabilitiesmay carryalgos:manage, served in declared order afterorgs: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 noorders:tradesits anywhere in their chain, and this bit is granted as a trading permission. It is in no preset —TRADERstaysorders: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.versionmoves from0.6.0to0.7.0;info.x-immix-register-schemastays114.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
OrderUpdatedandOrderRejectedgainalgoInstanceId(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 servesnull, anduserIdis the user it always was. On an order an algo instance placed it names the instance, anduserIdserves0: an algo’s order carries no user. Exactly one of the two is ever set.GET /ordersis the organisation’s list and serves them like any other order; a client that filters it by its ownuserIdwill 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. ReadalgoInstanceId != null(neveruserId == 0) as “machine flow”.- The two write bodies stay as they were, and now say so.
SubmitOrderBodyandCancelOrderBodypublish neitheruserIdnoralgoInstanceId: both are the gateway’s to stamp — the session’s user, and an instance of0— and a body that states either is refused 400MALFORMED_REQUEST, as a bodyuserIdalways was. No session can dress a click order as an algo’s. - A human may still cancel an algo’s order.
POST /orders/{id}/cancelon an order whosealgoInstanceIdis set is accepted for a user of the same organisation, exactly as for any order the organisation holds; the row keeps itsalgoInstanceIdand itsuserIdof0— the cancel’s actor rides the cancel command, never the order. - The trading edge’s WebSocket
orderchannel does not carryalgoInstanceIdyet. Its row keeps servinguserIdas 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 (nullwhere this document servesnull), amends itsuserIdprose 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, neveruserId == 0— is the one to build on for both lanes. info.versionmoves from0.5.1to0.6.0;info.x-immix-orders-schemamoves from111.v1to111.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, inexternalDocs.urland 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:
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
feewhere you used to readnull. 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 asnull, “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’sunitScale("0.000001249140"for aunitScaleof 12), positive for a charge as before.nullstill 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 readnullas “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
qtyScaleorpriceScalewas 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, theFILL_PRECISION_OVERFLOWrejection0.4.0published. - 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 — and0.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
patternis refused 400MALFORMED_REQUEST, on every route that takes money —POST /orders(price,qty) andPOST/PUTof/asset-policies,/chain-policiesand/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.messagenames the field, the accepted form and the string it was sent. It is the door’s refusal, like every otherMALFORMED_REQUEST: nothing reached the platform, the response carries no position header, and the key is not spent — correct the spelling and retry under the sameIdempotency-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”, asnulland 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: 64beside itspattern— request bodies and served rows alike. On a request it is the bound the gateway has enforced since0.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.versionmoves from0.4.0to0.4.1; noinfo.x-immix-*-schemamoves — 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.reasongainsFILL_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 toPOST /ordersor 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 ofINVALID_FIELD.NO_REFERENCE_PRICEhas 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.4let a trading policy’smaxOrderQtyandmaxOrderNotionalride 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’spriceScale) is decided exactly. A breach that large states noobservedleg inerror.message— the figure does not fit the platform’s decimal — and readslimit … (notional)alone. info.versionmoves from0.3.4to0.4.0;info.x-immix-orders-schemastays111.v1— an enum member appends without a schema version, asORG_NOT_ACTIVEdid. 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 /ordersapricefiner than the instrument’spriceScale, or aqtyfiner than itsqtyScale, reaches the orders owner, whose grid answers: 422TICK_SIZE_VIOLATIONorQTY_STEP_VIOLATION, with the observed value against the tick or step inerror.message(observed 50000.001 against limit 1.00 (price)) — or 422INVALID_FIELDwhere 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 freshIdempotency-Key(a freshclientOrderId), where the door’s 400 left the key free. - A policy amount finer than its record is accepted, on
POSTandPUTof/asset-policies,/chain-policiesand/trading-policies, and compared exactly: amaxOrderQtyof"1.123456789"on an instrument whoseqtyScaleis 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’sunitScale, whichever is finer: on an asset whoseunitScaleis 6, sendmaxTicketAmount"2.5"beside areconciliationToleranceAmountof"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, 422INVALID_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 at0.3.4or 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 aninstrumentIdthis 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 422INSTRUMENT_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 inError.code’s description and the guide’s table until the next major: a member below0.3.4still answers it.POST /ordersby symbol: aninstrumentthis member holds no instrument under answers 422INSTRUMENT_NOT_LIVEat the door, where it answered 422SCALE_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: withX-Immix-Global-Sequenceit is the owner’s fact and the key is spent; without it, the door’s, and the key is free.INSTRUMENT_NOT_LIVEjoins the door’s codes inError.code’s description and the guide’s table; it was already in the document as anOrderRejected.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 anassetIdorinstrumentIdthat is absent or 0, which is still how the organisation-wide default trading policy is told it takes no money caps."0",nulland an absent field still mean “unset”. - A cap breach’s
limitleg reads at the scale the cap was stated at. Theobserved … against limit …text inerror.messagerenders 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: amaxOrderQtysent as"1"readsobserved 2.00000000 against limit 1 (quantity); trading policy 1 v2where it read… against limit 1.00000000 …. The policy’s row still serves the cap at the instrument’s places ("1.00000000");error.messageis 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’spriceandqty; the three asset-policy amounts, the two chain-policy bounds and the two trading-policy caps on theirSubmit*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 policyPOSTdescriptions,POST /orders, theinstrumentalias,Error.code, and theBadRequestandRejectedresponses say the same. The API guide’s Money, Errors, Orders and Versioning sections follow;info.versionmoves from0.3.3to0.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’sunitScalefor an amount, the instrument’sqtyScaleformaxOrderQty, itspriceScaleformaxOrderNotional— 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 leavesunitScaleunstated:0.3.2served its money as raw scaled integers ("250") under"unscaled": true;0.3.3serves the decimal ("2.50"), because a value that states its scale needs no reference data to be read exactly.nullstill means unset — no cap, no bound, every transfer requires approval, an exact reconciliation — exactly as before.unscaledis never present anywhere on this API now — not on any register row, not as any collection’s coarse marker; the balance surface lost it at0.3.1, the order surface at0.3.2, and the three policy families were the last rows that could carry it. Everyunscaledproperty stays in the document, markeddeprecated, so a client generated from0.3.2still compiles; all of them go at the next major.- The input side is unchanged.
POSTandPUTbodies take the same decimal strings, scaled at the edge to the record’s pair: digits beyond the asset’sunitScale(or the instrument’sqtyScale/priceScale) refuse 400, an asset or instrument this member does not hold refuses 422SCALE_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, aspriceScaleis onPOST /orders: the document never advertised one. info.x-immix-register-schemamoves114.v6→114.v7. No published shape moves; the descriptions of the seven money properties onAssetPolicyUpdated,ChainPolicyUpdated,TradingPolicyUpdatedand theirSubmit*bodies now sayDecimalinstead 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 their0means 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.versionmoves from0.3.2to0.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 rowPOST /ordersandPOST /orders/{id}/cancelanswer 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’spriceScaleorqtyScale(a fill’sfee: its asset’sunitScale), 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.1served its money as raw scaled integers ("5000000") under"unscaled": true;0.3.2serves the decimal, because a value that states its scale needs no reference data to be read exactly.- A fill’s
feeon an asset whoseunitScaleis not 8 reads correctly for the first time. okx-oe parses every fee at scale 8, and until111.v1each reader scaled that integer by the fee asset’sunitScaleinstead: a0.3.1member served such a fee10^(unitScale − 8)out. The connector now states 8 beside the value, and0.3.2serves the fee from the value at no fewer places than the asset’sunitScale. A fee on an asset atunitScale8 reads the same string as before. - A stated zero fee serves as
"0.000000", notnull. A fill’sfeeis unstated only when it names no asset (feeAssetIdnull): a zero fee whose asset is named — a zero-fee promotion — is a measurement, and0.3.2serves it as the decimal the persistence lane already lands.0.3.1served every zero fee asnull, asset or no asset. unscaledis 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 markeddeprecated; the row’s ridesRowExtras, 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 from0.3.1still compiles.- A refusal’s detail legs are the decimals the owner stamped. The
observed … against limit …text inerror.message— on a refusedPOST /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.1wrote the raw integer and said so (quantity, raw at the instrument's qtyScale),0.3.2writes the decimal.error.messageis free text by the contract either way, never parsed. POST /orderstakes the same body.priceandqtyare 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 422SCALE_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 areDecimals on the wire instead of naming a typedef whose scale to look up.info.x-immix-orders-schemamoves111.v0→111.v1. No published shape moves; the descriptions of every money property onOrderUpdatedandExecutionRecordednow sayDecimal, andOrderRejected’sobservedValueandlimitValue— 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.versionmoves from0.3.1to0.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-balancesnever serves a row raw.total,availableandheldare read at the scale the reading itself stated and served as exact decimals — at no fewer places than the asset’sunitScale, 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 whoseunitScalereference data leaves unstated:0.3.0served its amounts as raw scaled integers ("2500000") under"unscaled": true;0.3.1serves the decimal, because a value that states its scale needs no reference data to be read exactly.unscaledis never present on this surface — neither on a balance row nor as the collection’s coarse marker. Both properties stay in the document, markeddeprecated, so a client generated from0.3.0still 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-schemamoves115.v0→115.v1.AccountBalance’s published shape does not move — three decimal strings, as before — but the descriptions oftotal,availableandheldnow say they areDecimals 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.versionmoves from0.3.0to0.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(tagAccount balances, operationlistAccountBalances) 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’sAccountBalancerecord (schema 115, named by the newinfo.x-immix-custody-schema,115.v0) plus two fields of the gateway’s own:accountId,assetId,credentialId— the references (GET /accountsandGET /credentialsserve 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’sunitScalelike every other asset amount on this API (theamount_trow of the guide’s money table);availableis what the venue would let move now (a withdrawal or transfer amount, never what is usable as margin),heldwhat the venue itself has locked (order margin, pending withdrawals, venue-side freezes),totalthe whole. Zero is a reading: the three are required and nevernull—"0.00000000"is a value.venueTsNs,venueRevision— the venue’s own clock and sequence for the reading where it states one;nullotherwise (the 0 sentinel, as everywhere).observedAtNs(new, the gateway’s) — the platform time of the reading, epoch nanoseconds as a decimal string, nevernull: a changed reading and a restatement on the connector’s heartbeat both move it, so a row whoseobservedAtNsstops advancing is an account the venue has stopped reporting. Judge freshness from it, never fromvenueTsNs.unscaled(new, per row) — present andtrueonly while that row’s amounts are served raw: the asset is not yet held by the member, or itsunitScaleis 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
DISCOVEREDaccount’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 400MALFORMED_REQUEST). Rows are ordered byaccountIdthenassetId, ascending.- One surface, no entity route, no
ETag:?view=latestis accepted and?view=approvedrefuses 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 emitsAccountBalancesApibeside the twelve it emitted before, and nothing it emitted moves. X-Immix-Global-Sequencemoves 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_UNAVAILABLEon 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’sbalancesknob, 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 joinsError.code’s 503 set, and the route’s 503 response names both it andNOT_PRIMED. info.descriptionandexternalDocs.descriptionmention balances; the guide gains a Balances section;info.versionmoves from0.2.1to0.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_REQUESTdetail for anint64field 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:
maxOpenOrdersandmaxOrdersPerMinuteare 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.versionmoves from0.2.0to0.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, andOrganisations(the platform’s lifecycle arms) goes last with its audience stated.Organisation,Venue access,PoliciesandTradingretire. A generator that names a class per tag emitsUsersApi,CredentialsApi,AccountsApi,AccountAddressesApi,AssetPoliciesApi,ChainPoliciesApi,TradingPoliciesApi,OrdersApi,ExecutionsApiandOrganisationsApiwhere it emittedOrganisationApi,VenueAccessApi,PoliciesApiandTradingApi;PortfoliosApiandOperationsApiare unchanged. - Six operationIds:
upsertUser,upsertCredential,upsertPortfolio,upsertAssetPolicy,upsertChainPolicyandupsertTradingPolicyareupdateUser,updateCredential,updatePortfolio,updateAssetPolicy,updateChainPolicyandupdateTradingPolicy— 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, the202, 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*Rowschemas,RowExtras,Me,Error,PendingOperation,OperationRecord,CredentialMaterial, the security scheme) is rewritten under the same rule;Error.codelists the gateway’s own codes by status and points at the two owners’ published reason sets. /docsgains a search box over the operations, keeps the bearer across a reload and shows request durations.info.versionmoves from0.1.0to0.2.0— a minor, since before1.0.0a 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.titleisImmix API— it readimmix org-gateway — the register edge, the module’s name and its design, neither of which a consumer has a word for.info.versionis 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 readinfo.versionto learn which schema the messages derive from readsinfo.x-immix-register-schema(114.v6) from now on;info.x-immix-orders-schema(111.v0) is as it was.info.descriptionis 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 ismaterial(CredentialMaterial, formerlyConnectionCredential) on the create and on the rotation. - Rows.
ConnectionUpdated→CredentialUpdatedwithcredentialId;connectionIdiscredentialIdon every row that carries it —AccountUpdated(andtradingConnectionId→tradingCredentialId),OrderUpdated,ExecutionRecorded— and on the stream factsConnectionHealth(114) andAccountBalance(custody, schema 115);ConnectionStatus→CredentialStatus(values unchanged);pendingTransitionreadsROTATEwhere it readROTATE_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_DOWNkeeps its name — it is the pipe’s health. - The operation journal reports
"family":"credentials"; the command kinds readSUBMIT_CREDENTIAL…ROTATE_CREDENTIALandREPORT_CREDENTIAL_PROBE(REPORT_CONNECTION_HEALTHandConnectionHealthkeep their names). - The tag
ConnectivityisVenue access: a generator naming a class by tag emitsVenueAccessApiwhere it emittedConnectivityApi, and one row type per family, nowCredential. - Metrics. The lane gauges (
oe_*,custody_lane_*) label lanes bycredentialwhere they saidconnection; 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,
orderIdandexecutionIdas 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 never0. - 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 /connectionstakes the material, once.SubmitConnectionBodygains a requiredcredentialobject (ConnectionCredential: the venue’s legs — for OKXkey,secret,passphrase, each a non-blank write-only string, no other leg) and losessecretRef,appGroup,venueKeyIdandkeyFingerprint: the edge stages the legs in its write-only store, mintssecretRef(org<orgId>-<ulid>), resolvesappGroupfrom the venue and the flags (canTrade→ the order-entry groupokx-oe;canReadBalancesalone →okx-account), fingerprints the material and fillsvenueKeyIdfrom the key leg — and only then proposes the command with references and metadata. A body carrying any of the four derived fields answers 400MALFORMED_REQUEST; the row (200) carries all four as derived.PUT /connections/{id}has its own body,AmendConnectionBody:SubmitConnectionminus the same four fields and with nocredential— an amend restates the row’ssecretRef,venueKeyIdandkeyFingerprintfrom the row and re-derivesappGroupfrom the flags (a row at a venue the intake does not serve keeps its group); acredentialin an amend answers 400. An amend that would move a pinned row — one whosekeyFingerprintthe intake stamped — to another connector group (canTradeflipped on an OKX row) answers 400MALFORMED_REQUESTtoo: the credential store addresses the material by group, so the row’s new connector could not read it; the road is a new connection throughPOST /connections.POST /connections/{id}/rotate-credentialrequires a body:credential(the new legs) replacesvenueKeyIdandkeyFingerprint, which the edge now derives; the legs are staged under the row’s existingsecretRefbeforeRotateConnectionCredentialcrosses. An empty body — legal before — answers 400.- One door gate. The intake checks
connections:proposeon the caller’s row before any material is staged: a principal without the bit answers 403CAPABILITY_DENIEDat the door — the owner’s code, the same meaning, but noX-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 — anexchangeIdthe intake’s venue registry does not name, aproviderKindother thanEXCHANGE, or a row that neither trades nor reads balances),INTAKE_KEY_REUSED(409 — theIdempotency-Keyalready staged different material),PAYLOAD_TOO_LARGE(413 — the 16 KiB intake body cap),RATE_LIMITED(429, withRetry-After— 20 stagings a minute per principal), andCAPABILITY_DENIEDas the door’s. Staging is idempotent by key: a retried key restates the samesecretRefand adds no second version of the material — a version a refusal withdrew is staged again before the command re-crosses. ConnectionUpdated.keyFingerprintis 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 thefp-…form.- The off-contract
/statusgains anintakesection (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
Organisationtag:POST /orgs(SubmitOrg— a new org and its first admin, two facts: the orgPENDING_APPROVALunder dual control and the admin’sDISCOVEREDrow),POST /orgs/{id}/approve(ApproveOrg— on an activation the body namesfirstAdminUserIdamong the org’sDISCOVEREDrows and fixesrequiredApprovals, and two facts land: the orgACTIVE, the first adminACTIVEwith the Admin bits; on a reactivation or retirement the transition concludes),/suspend(SuspendOrg, immediate),/reactivateand/retire(ReactivateOrg,RetireOrg— proposals an approver other than the maker concludes),/withdraw(WithdrawOrgProposal). They takeIdempotency-Key, and the entity armsIf-Match, exactly as every command route;200is the org row (OrgAnswer—OrgRowwith the fact’s position andETag). The bodies are the commands’ derived bodies (SubmitOrgBody…WithdrawOrgProposalBody):userIdremoved,targetOrgIdandexpectedVersionroute-sourced. Two defaults at the door:SubmitOrgBody.idpOrgRefandfirstAdminIdpUserRefabsent read as""(unbound — the roster-mode shape), andApproveOrgBody.requiredApprovalsabsent reads as1(dual control — the stricter side;0is 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’sorgsbit),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
orgsbit (orgs:proposeororgs:approve) now reads every org’s row onGET /orgsandGET /orgs/{id}—PENDING_APPROVALones included — and, onGET /usersandGET /users/{id}, the members of everyPENDING_APPROVALorg (theDISCOVEREDrows an activation names its first admin among;?status=DISCOVEREDnarrows to them plus the caller’s own queue). Nothing else widens: anACTIVEorg’s members and every other family stay the caller’s own org’s. What moved:GET /orgswas “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}/…is404 NOT_FOUND, indistinguishable from an absent id, exactly as its row is;POST /orgshas no path entity and reaches the owner, whose platform clause refuses a non-platform makerCAPABILITY_DENIED. The users write arms ride the same predicate too: a platform orgs reader’sPUT /users/{id}orPOST /users/{id}/disableon a pending org’sDISCOVEREDrow passes the door (the row is theirs to read) and is refused by the owner —CAPABILITY_DENIEDwithoutusers:manage,ORG_MISMATCHwith it: the platform activates an org, it admits nobody inside it; every other principal keeps the404. Both operations’ descriptions say so. - The door reports an unknown organization. In
jwtmode a token whoseorg_idbinds no org used to be refused403 ORG_NOT_ACTIVEwith awaiting activation and nothing else. Now the door first proposesReportDiscoveredOrg— theorg_idwith theorgNameandproductProfileclaims the tenant’s post-login Action stamps from the Auth0 organization’s metadata — andReportDiscoveredUserunder it, then refuses the same code; the message says the door has reported the organization ”…” (or could not report — a replica). A token whoseorg_idbinds 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 —orgNotActiveon/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 landsPENDING_APPROVAL, its first memberDISCOVERED, and a platform approver activates onPOST /orgs/{id}/approve. A token carrying noorgNameor no knownproductProfileclaim is refusedORG_NOT_ACTIVEwith cannot report the organization naming the missing claim — nothing is proposed. A non-ASCIIorg_idis refused403 FORBIDDEN_PRINCIPALas a non-ASCIIsubalready was (the wire’s rule). TheForbiddenresponse’s andError.code’s descriptions say so;/status’sadmissionsection gainsdiscoveredOrgs. info.description’s Authentication paragraph and theOrganisationtag describe the org lifecycle surface.- The order surface’s reason set grows by one (schema 111, appended):
ORG_NOT_ACTIVE, answered403onPOST /orderswhen the acting user’s org is notACTIVE(the orders owner’s admission gained an org-liveness check: a suspended org’s members trade nothing, andPOST /orders/{id}/cancelstays ungated). The same string the door and the register answer, one meaning at all three; it rideserror.codewith no detail pair, likeORG_MISMATCH. A client switching on the reason set adds the case; one that maps unknown reasons to “refused” needs nothing. SubmitOrgBodyandApproveOrgBodydescribe their optional fields as optional. The document had calledidpOrgRef,firstAdminIdpUserRefandrequiredApprovals“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
jwtmode (dev and prod) the bearer is a JWT verified against the tenant’s JWKS withaudandisspinned; itsorg_idclaim names the organization (the org row’sidpOrgRef), itssubthe member (the user row’sidpUserRef— an M2M client’s is<client_id>@clientson aSERVICErow). Inrostermode (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 aDISCOVEREDrow (aDISABLEDrow isFORBIDDEN_PRINCIPAL, below) — on its first request the door reports the discovery (ReportDiscoveredUser, a machine proposal; aDISCOVEREDrow lands holding no capabilities) and until ausers:manageholder admits the row every route butGET /meanswers this code;GET /meserves the row so a UI can say “awaiting admission”.ORG_NOT_ACTIVE: the bearer’s org is notACTIVE— 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: aDISCOVEREDrow was refusedFORBIDDEN_PRINCIPALbefore this change and is refusedAWAITING_ADMISSIONnow, in both lanes — a client that branched onFORBIDDEN_PRINCIPALto mean “not admitted” branches onAWAITING_ADMISSIONfor that case and keepsFORBIDDEN_PRINCIPALfor the outright refusals (a roster binding with no row, a token with noorg_id, aDISABLEDrow). Both codes are named inError.code’s description;ORG_NOT_ACTIVEis 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 notACTIVE(SUSPENDED,PENDING_APPROVAL) was admitted to the reads before this change and is refusedORG_NOT_ACTIVEnow — 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=DISCOVEREDis the admission queue. Absent, every row as before; an unknown value, or the parameter on any other collection, refuses400 MALFORMED_REQUEST.UpsertUserBody.presetcarriesx-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 thepresetenum is unchanged.- The alias bodies state their “at least one” rule in schema.
UpsertUserBodyandSubmitOrderBodycarry ananyOfwith 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’s400 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
UserUpdatedlosesroleand gainskind,capabilitiesanddisplayName.capabilitiesis 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 (approvedoes not implypropose). The set is append-only on the wire, and the published schema is anarrayof anenumlisting 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-offError.codeonce made and114.v3reversed).kindisHUMAN(logs in through the IdP) orSERVICE(an M2M credential).displayNameis what the IdP stated at discovery — informational,""when none was.UserStatusrenumbers 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}) takeskind(required),capabilities(the scope strings above, a strict allow-list — an unknown or repeated scope refuses 400) orpreset, 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 /usersrenders the expansion.rolein a body is ignored like any unknown property, so a114.v5body withoutkindandcapabilitiesrefuses 400 at the generated parse.OrgUpdatedgainsrequiredApprovals(integer, 0..255): how many approvals a maker-checker mutation in the org needs —1is the dual-control pair;0means the maker’s fact is the concluded row (local and throwaway stacks; a production guard refuses it elsewhere). It is a plain count:0is a value, nevernull.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 aDISCOVEREDprincipal may make; every UI configures itself from it and from nothing in a token.- Refusal codes:
ROLE_DENIEDis renamedCAPABILITY_DENIED(403 — the owner’s register reason now spells the same as the orders owner’s); newUSER_NOT_ADMITTED(403, the actor isDISCOVERED) andORG_NOT_ACTIVE(403, the actor’s org is notACTIVE).IDP_REF_TAKEN(409) stays. TheOrgRegisterRejected.reasonenum publishes them all. info.versionmoves from114.v5to114.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.v5member that meets a v6 frame — it misreads it silently (UserUpdated.statusrenumbered: a v6DISCOVEREDrow reads as v5ACTIVE, thekindbyte reads as arole), which is why the group rolls as one. The other direction is refused: a v6 owner answers a114.v5UpsertUseror bootstrap frameINVALID_FIELD(detailschema 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-v6UserUpdated/OrgUpdated— a stream the break did not reset. Roll the clients with them. - A client on
114.v5parsingrolefinds no such property on a114.v6gateway: readcapabilitiesinstead, and branch onCAPABILITY_DENIEDwhereROLE_DENIEDwas. A client posting a114.v5user body (role, nokind) 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
UserUpdatedgainsidpUserRef(string,x-since-schema-version: 5): the IdP subject bound to the user — the token’ssub(an Auth0 user id such asgoogle-oauth2|1111…orauth0|6aa2…), opaque: compare it, never parse it. Empty means unbound — a principal admitted before the IdP, or a local lane without one — served as"", nevernull. A subject resolves to at most one live user per org.UpsertUserBodygainsidpUserRef(string,x-since-schema-version: 5, not required) onPOST /usersandPUT /users/{id}— the subject to bind, read off the IdP’s dashboard (the token’ssub). An appended field is lenient: absent,nulland""all mean unstated. On a create that leaves the new user unbound; on aPUTrestate it keeps the row’s current binding (unstated, never unbind — a rename never strands a login), and a value re-binds. A row read fromGET /users/{id}round-trips into itsPUTbody unchanged.- A new register refusal,
IDP_REF_TAKEN, inNAME_TAKEN’s class (409): anUpsertUserstating a subject another live user of the org already carries. ADISABLEDuser’s subject is free; a row restating its own subject is no collision. info.versionmoves from114.v4to114.v5.
What each side of the deploy window sees
- A client on
114.v4ignores the new property; nothing it already parses changes. - A gateway still serving
114.v4renders a user the register has already bound without the property — so “absent = unbound” only holds once the serving gateway is on114.v5; checkinfo.versionbefore concluding a user carries no subject. - A gateway on
114.v5servesidpUserRef: ""for every row the register wrote before v5 and every row noADMINhas bound; the bootstrap of a deployment an IdP fronts binds its firstADMINat birth. - A client posting a
114.v4user body (noidpUserRef) to a114.v5gateway is accepted unchanged — the appended field reads as unstated. The other direction is the hazard: a114.v5body against a114.v4gateway is accepted too, and the binding is silently dropped (the edge ignores properties it does not know; onlyuserIdis refused). Checkinfo.versionbefore 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.v4gateway’s generated codec does not degrade on a reason it does not know: its lookup throws on the ordinal (IDP_REF_TAKENis 26) rather than answeringUNKNOWN, so anIDP_REF_TAKENrefusal reaching a114.v4gateway fail-stops that member — it rejoins and replays, and the request that earned the refusal concludes on the 202 sweep, never as a 409. From114.v5the command lane reads the reason through a guard that maps an unknown ordinal toUNKNOWN, 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
Tradingtag.GET /ordersandGET /orders/{id}serve the orders domain’s rows;GET /executions(with an optional?orderId=join filter) andGET /executions/{id}serve the executions;POST /ordersproposesSubmitOrder;POST /orders/{id}/cancelproposesCancelOrder. Org-predicated exactly like the register families (a foreign id is 404, indistinguishable from absent). The two reads have one surface: noviewparameter —view=approvedrefuses 400MALFORMED_REQUEST. Order ids are int64 and cross as decimal strings, in the path too. - The submit’s
Idempotency-KeyIS the order’sclientOrderId— the orders owner’s business idempotency key: 1 to 36 characters of the key grammar (its own parameter,OrderIdempotencyKey; a longer key refuses 400INVALID_IDEMPOTENCY_KEY). A bodyclientOrderIdmay 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 409CLIENT_ORDER_ID_CONFLICT. - A submit must name its instrument, by id or by name.
instrumentId(the int64, as a decimal string) andinstrument(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 (400MALFORMED_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.SubmitOrderBodypublishes both properties and requires neither on its own; a client that sendsinstrumentIdtoday 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,nullor"0"for MARKET) scales by the instrument’spriceScale,qtyby itsqtyScale, exactly — more fractional digits than the scale refuses 400; an instrument the projection does not hold refuses 422SCALE_UNKNOWNunsequenced, 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 atpriceScale, quantity-shaped fields (qty,cumQty,leavesQty,lastFillQty,venueCumQty,fillQty) atqtyScale, an execution’sfeeat the fee asset’sunitScale; a required money field always serves a decimal ("0.00000000"is a quantity), the optional ones servenullat 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 underunscaled, 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 400INVALID_IF_MATCH); its body is optional, a bodyorderIdmay restate the path, andCancelOrderBodycarries noclientOrderId— 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 withcancelRequestedAtNsset and the status unchanged — the venue-async window;CANCELEDarrives later on the venue’s word as an ordinary order update the reads serve. An order’sETagis its per-orderversion, a read token only; executions carry no version and noETag. A replayed 200 whose order has since been released (the owner’s retention outran the journal window) answers 404NOT_FOUNDunderIdempotent-Replay— the read’s own answer, never a fabricated row. - The orders owner’s reasons ride verbatim as
error.code(theOrderRejectReasonvalue set, published onOrderRejected.reason), mapped by class: 403CAPABILITY_DENIED(the edge pre-checks no role — the owner refuses a principal who is not a liveTRADER); 404UNKNOWN_ORDER; 409CLIENT_ORDER_ID_CONFLICT,ACCOUNT_NOT_ACTIVE,CONNECTION_DOWN,TRADING_HALTED,NO_REFERENCE_PRICE,OPEN_ORDER_CEILING,ORDER_TERMINAL,ORDER_STATUS_UNKNOWN; 429RATE_CEILING(withRetry-After: 60, the window); 422 the field, reference, sizing and cap refusals. A refusal’serror.messagerestates 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
GlobalSequenceheader’s andGlobalSequenceValue’s descriptions say so. OperationRecord.outcomegainsorderId(an int64 string) andfamilyadmitsorders: an orders operation names its order there, never in the int32entityId. It also gainsmessage— the free text the same outcome answered synchronously aserror.message— so a client that polled a202reads 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; schemasOrderUpdated,ExecutionRecorded,OrderRejected,SubmitOrder/SubmitOrderBody,CancelOrder/CancelOrderBody; responsesOrderAnswer,OrderRow,ExecutionRow.Error.code’s description names the order reasons;ForbiddenandBackpressuredescribe 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
requiredset 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
COMMITTEDuntil the owner returns. - The instrument alias is additive on both sides of the window: a body naming
instrumentIdis the shape a gateway on either build accepts, and one naminginstrumentis 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 — readinfo.x-immix-orders-schemaand the presence ofSubmitOrderBody.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.0now 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 withrefFreshnessNs > 0, so0is the permissive setting — no staleness bound at all — not a lockout.NO_REFERENCE_PRICEstill refuses when no reference exists, at anyrefFreshnessNs.TradingPolicyUpdated.instructFreshnessNs’s description.0now 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 states0; the first-instruction gate always applies, only its window is operator-set.degradedGraceNsis 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
0means, and the old text pointed the wrong way on a risk control. An operator who read it and leftrefFreshnessNsat0believing it refused everything was in fact running with no reference-staleness bound; one who leftinstructFreshnessNsat0for 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-zerorefFreshnessNsto bound reference age (5 s is the recommended bound) and a non-zeroinstructFreshnessNsto 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 minusaccount-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-policiesandchain-policiesapprove|retire|withdraw;trading-policies/approve|retire|withdraw|halt|resume.orgsandaccountshave 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>Bodyschemas beside the generated<Command>schemas:userIdis absent from every body schema and refused if sent (400MALFORMED_REQUEST) — it is stamped from the admitted principal; the entity ref (connectionId,targetUserId, …) andexpectedVersionare 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,nullor0. 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 ornull= 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-Keyis 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 withIdempotent-Replay: trueand publishes nothing; a retry of a live key attaches (one publish total); a key reused on another family or entity refuses 409IDEMPOTENCY_KEY_REUSED.If-Matchon entity routes carries the command’sexpectedVersion: theETagan entity read minted, quoted or bare; absent or*= unconditional; weak validators refuse 400INVALID_IF_MATCH. A stale precondition answers 412VERSION_CONFLICTwith the entity’scurrentVersionin the envelope and a freshETag: 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 replaceslatestwholesale, 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 theETagof 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 — aclassifyon an account with a pendingAMENDis a revision of that proposal, not a collision with it, so withoutIf-Matchthe second maker’s body simply becomes the proposal. TheIf-Matchparameter’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 inX-Immix-Global-Sequenceand the row’sETag; 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}withLocation: /operations/{key}. The owner’s rejection reasons ride verbatim aserror.code, mapped to statuses by class: 412VERSION_CONFLICT; 403SELF_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, from114.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), 422SCALE_UNKNOWN, 404NOT_FOUND(an entity route’s id absent from, or outside, the principal’s org — exactly as the read answers), 429INBOX_FULL/IN_FLIGHT_FULL(Retry-After), 503NOT_PRIMED/NOT_SERVING/OWNER_ABSENT. A replayed refusal (403, 409, 412, 422 — the owner’s rejections, sequenced and journaled) carriesIdempotent-Replay: trueand the position of the rejection fact exactly as a replayed 200 does; the edge’s and the platform’s own refusals (the 400s, 409IDEMPOTENCY_KEY_REUSED, 413TOO_LARGE, 422SCALE_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 plusRowExtras) that both its read’s 200 and its commands’ 200 reference, and every operation carries anoperationId(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_tandnotional_tfields are decimal strings scaled at the edge by the same source the reads render by — the referenced asset’sunitScale, 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 422SCALE_UNKNOWNnaming the ref (a client may retry once refdata lands); a cap stated with no ref at all (assetIdorinstrumentIdabsent), or a ref off its grammar, can never scale and refuses 400; absent,nullor"0"is the 0 sentinel, so a row read fromGETround-trips into aPUTbody. The org-default trading policy (instrumentIdabsent) 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 404UNKNOWN_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.codeopens. It was a closed enum of five read-side codes; it is now a string whose description lists the door codes and points atOrgRegisterRejected.reason(now published) for the owner’s set — append-only.ErrorgainscurrentVersion(412 only). TheRejectedresponses declare the position header (the refusing fact’s).- New components: parameters
IdempotencyKey,IfMatch,OperationKey; headerIdempotentReplay; schemasPendingOperation,OperationRecord,OrgRegisterRejectedand the 34 command/body pairs; responsesPending,BadRequest,Rejected,VersionConflict,Backpressure,Unavailable,InternalError,UnknownOperation(ForbiddenPrincipalis renamedForbidden; 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
requiredset of anyGETmoves. A client whose generatedError.codetype 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
ConnectionUpdatedgains the connection’s observed axis — eleven properties, allx-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(arrayofstring; items enumeratedread/trade/withdraw;uniqueItems): the key scopes the venue stated, served in that order. Empty means no scope observed — served as[], nevernull. The choice set is append-only: skip an unknown name, never error on it.observedAllowlist(string, enumUNKNOWN/NONE/COVERS/MISSES): the key’s IP allowlist judged against the cluster’s egress set.probeOutcome(string, theHealthReasonenum):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, …), withprobeDetailsaying 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 withkeyFingerprint, 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-NONEoutcome.
- “Never probed” is one shape:
probeOutcome: "UNKNOWN",probedAtNs: null,observedPermissions: [],observedAllowlist: "UNKNOWN",observedKeyCreatedAtNs: nulland 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_APPROVALproposal shows onview=latestonly, andview=approvedgains it with the conclusion — the observed axis is content, like the proposal it measured. A probe on anACTIVEorSUSPENDEDrow with nothing pending shows on both views at once. A later probe supersedes an earlier one whole (probedAtNsmoves). - 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—canReadBalancesneedsread,canTradeneedstrade,canExecuteTransfersneedswithdraw) or beyond them (SCOPE_MISMATCH— a Read-only pipe must not carrytradeorwithdraw). A reader sees such a row stayPENDING_APPROVALwith itsobservedPermissionsexplaining 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
requiredmembership. info.versionmoves from114.v3to114.v4.
What each side of the deploy window sees
- A client on
114.v3ignores the eleven new properties; nothing it already parses changes. - A gateway still serving
114.v3renders a connection the register has already probed without the properties — so “absent = never probed” only holds once the serving gateway is on114.v4; from then on the row itself says so (probedAtNs: null,probeOutcome: "UNKNOWN"). Checkinfo.versionbefore concluding a key was never read. - A gateway on
114.v4serves 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
probeOutcomeorobservedAllowlistname asUNKNOWNand skip an unknownobservedPermissionschoice — 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/reconciliationToleranceAmountandChainPolicyUpdated.minTransferAmount/maxTransferAmountare served as exact decimal strings scaled by the referenced asset’s refdataunitScale—"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": truebefore.- The
unscaledmarker 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 itsunitScaleunstated, 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 orrequiredset 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 onamount_trows whose asset the gateway holds with a stated scale. - A client that parsed
amount_tvalues 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_traw under the marker whatever the refdata says; a gateway on this build serves decimals for every asset whoseAssetUpdatedfact states aunitScale. An asset stated before the refdataunitScalefield existed decodesunitScale0 (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
ConnectionUpdatedgainsappGroup(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.versionmoves from114.v1to114.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.v1ignores the new property; nothing it already parses changes. - A gateway still serving
114.v1renders a connection the register has already assigned without the property — so “absent = unassigned” only holds once the serving gateway is on114.v2. Checkinfo.versionbefore 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
AccountUpdatedgainstradingConnectionId(integer/int32, nullable,x-since-schema-version: 1): the trading pipe this account’s orders instruct through when set. Absent ornullmeans orders route through the account’s ownconnectionId— 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.versionmoves from114.v0to114.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.v0renders an account the register has already designated without the property — so “absent = own pipe” only holds once the serving gateway is on114.v1. Checkinfo.versionbefore 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.
includeonGET /instrumentsnow 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_spotanswered an empty page, a search forbinance spotfound nothing, and those ids answered404. About 9,800 of 86,000 instruments come back, with their facets and totals. contractMultiplierisnullfor those instruments, where the catalog states no multiplier, ascontractValuealready is. For spot, one unit is one of the base asset; for an inverse contract, its size iscontractValue. 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.turnoverUsd24histurnover24hvalued 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.volume24his in base units andturnover24hin quote units, so neither ranksOKX@SOL/BTCagainstOKX@BTC/USDT. It isnullwheneverturnover24his, and when no USD rate is current for the quote asset. The name and the rule are the market-data stream’stickerEvent’s.sort=turnoverUsd24h(and-turnoverUsd24h) orders the instrument list by it, absent values last in both directions, as every statistic sorts.-turnoverUsd24his 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.
typeandstatusonGET /instrumentsandtypeonGET /assetsare open: each item isanyOfthe 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.includeon every list is a closedenum: anything else is400. Nothing about what is accepted changes. A generator that readsanyOfan enum and a string as an open enum offers the values and still sends another. The rows’ owntypeandstatusstay 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=SPOTthetypesfacet 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, thenfacetson instruments, andasOfSeqTsNslast; a row opens with its id, then its symbol or code; a ticker withlastPx. JSON member order carries no meaning, so a client that reads members by name sees no difference.requiredlists keep their order. - Every operation’s
200carries 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 withinclude=total; the instrument list is OKX’s BTC markets withinclude=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", wheremakerFeeRateandtakerFeeRateread"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.
searchmatches 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, sobtc/usdtisbtc 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 bysymbol, and a cursor is bound to it as its words.include=tickerrenders each row’stickerfrom the same statistics the sorts read: exact decimal strings at display precision;nullfor a value the statistics cannot state and for a window still warming (pctChange1huntil the one-hour window is warm, the five 24-hour fields until the 24-hour window is), never0;windowCompleteis the 24-hour window’s flag; andtickerisnullfor an instrument that has never traded or whose last price cannot be stated.include=facetscounts the matching instruments per venue, type, base asset and quote asset, each dimension under the request’s filters minus that dimension’s own (venueId,venueandvenueId.notInare the venue dimension’s;search,statusandsymbolapply to every facet), so a filter panel keeps showing its alternatives. Eachvalueis what the matching filter takes, with the display alias aslabel(nullfor 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 bysymbolcounts 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 wasNOT_FOUND, which now means one thing only: the id names nothing served here.Error.currentVersionis declared: an optional decimal string besideerror, which a conditional write’s412 VERSION_CONFLICTcarries (the row’s current version, as in itsETag). No operation of this API is a conditional write yet, so no response carries it.X-Request-Idis 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-Tsis declared on the200of every read, which already sent it.retryableis described by the rule both REST APIs share: sending the identical request again, afterRetry-Afteror 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 withsearch(word prefixes of the symbol, the venue’s own symbol, the type and the id), lookup bysymbol(at most 100 per call), the filtersvenueId,venueId.notIn,venue,type,status,baseAssetId,baseAsset,quoteAssetIdandquoteAsset, sorts bysymbol,instrumentId,type,listedAtNs,expiresAtNsand the 24h statistics, andinclude=total,facets,ticker.GET /instruments/{instrumentId}(stubbed, pending).GET /assetsandGET /assets/{assetId}(stubbed, pending):searchas a substring of the symbol, the filterssymbolandtype, sorts bysymbol,assetIdandtype,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
searchrule (word prefixes for instruments, a substring for venues and assets), the.notInfilter suffix,include=facetsandinclude=ticker, and the symbol grammar. - Amended 27 Sep 2026, before any
v0.2.0bundle existed: thetypesort on both lists,searchover the venue’s own symbol and the id, and clearer field descriptions. - Amended 28 Sep 2026:
GET /instruments/{instrumentId}is live, and no longer answers501. A removed instrument is served with its laststatus; another environment’s instrument, and any id that is not exactly an instrument’s (0300,+300), is404. (Thev0.1.0release bundle carries this document as it stood on 28 Sep, with every phase-1 operation stubbed.) - Amended 29 Sep 2026:
GET /assetsandGET /assets/{assetId}are live, and no longer answer501. A removed asset is absent from the list and404by id, as is any id that is not exactly an asset’s (0201,+201).symbolsorts ignore case.typetakes the eight documented classes and any other class an asset carries, a removed asset’s included; a value that is neither is400 MALFORMED_REQUEST, which the guide now states for every enum filter. (Thev0.2.0-rc.1release bundle carries this document as it stood on 28 Sep, with both asset operations stubbed.) - Amended 1 Oct 2026:
GET /instrumentsserves lookups bysymbol, which no longer answer501: at most 100 symbols a request, matched case-insensitively against each instrument’s canonical symbol, sorted bysymbol(the default, ignoring case),instrumentId,type,listedAtNsorexpiresAtNs, withinclude=total. A symbol that names nothing served here is absent from the page, a legacyYYYYMMDDmaturity (…-20270625) included; more than 100 symbols, a repeat counted, is400 MALFORMED_REQUEST, naming the limit. A cursor is bound to the symbols as a set, whatever their order or case. The list withoutsymbol, every other filter, the statistics sorts andinclude=facets,tickerstill answer501, as the501response now describes. On every list, an “any of” parameter may be repeated and comma-separated at once. - Amended 1 Oct 2026, the list:
GET /instrumentsserves it, and onlysearch,include=facetsandinclude=tickerstill answer501. Every filter narrows it:venueId,venueId.notIn,venue(a venue code),type,status(SUSPENDEDamong them),baseAssetId,baseAsset,quoteAssetIdandquoteAsset(asset symbols), andsymbol, 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); atypeorstatusneither documented nor carried by an instrument is400 MALFORMED_REQUEST. Every sort is served: the statistics sorts (lastPx,pctChange24h,volume24h,turnover24h) read the statisticsinclude=tickerwill 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=totalis exact. A cursor is bound to the filters and the sort as normalized, so the lookups’ cursors stay valid.asOfSeqTsNsandX-Immix-As-Of-Seq-Tsreport the older of the catalogue’s and the statistics’ positions. Thetypeparameter lists every documented type,QUANTO_FUTURESandQUANTO_PERPETUAL_SWAPincluded.
0.1.0 — 2026-09-24
GET /venuesandGET /venues/{venueId}: the trading venues IMMIX connects to.- The list envelope shared by every collection:
items,nextCursor,prevCursor,total(withinclude=total) andasOfSeqTsNs. - The error envelope shared by every response:
{"error": {"code", "message", "retryable", "requestId"}}.