Versioning

Changelog

Only caller-visible changes are recorded here: endpoints, fields, semantics and limits. Internal refactors are not. Current spec version 0.1.0.

What counts as a breaking change

ChangeBreaking?
Removing an endpoint or fieldYes
Changing a field's type, precision or enum valuesYes
Tightening a limit, or making an optional field requiredYes
Adding an endpoint, adding an optional field, relaxing a limitNo
Adding a value to an existing enumNo — but clients must tolerate unknown values

Ignore unknown fields and tolerate unknown enum values when parsing responses. Neither is treated as breaking, so a client with a hard-coded allowlist will break on the next addition.

Entries

  1. Added15 PX account, margin and InfoAI endpoints documented

    The account, positions, orders, fills, ledger, credit, borrow/repay/lend, liquidation and AI endpoints under `/api/v1/px` were never documented. They are now all covered. The endpoints themselves did not change — what changed is that they finally have a written contract.

  2. AddedSix event-catalog endpoints documented

    Event list, detail, tags, market detail under an event, probability history and the five-minute up/down view. Again documentation catching up, not new capability.

  3. FixedpostOnly was incorrectly marked required

    `postOnly` in the place-order body has always been **optional** with a default of `false`. The earlier schema misread the backend's non-nullable type as a required field. Behaviour never changed; the documentation did.

  4. ChangedThe FOK / signed-order conflict is now documented

    The off-chain engine supports FOK fully, but a FOK order carrying an on-chain signature aborts at settlement and nothing stops it earlier. That divergence was previously undocumented. Use GTC or GTD for signed orders.

  5. AddedError examples replaced with observed responses

    Error bodies previously had no examples. They are now filled in from real gateway responses: `auth_required` carries `recoverable: true`, `market_not_found` carries `false`, and the chain-binding endpoints return `{error, status}` rather than the shared error body.

Related

The specification itself is downloadable: the overview page links the OpenAPI (YAML) at the top. This reference is generated from that spec rather than transcribed, and a mismatch between the two fails the build-time drift gate.