Changelog

What changes in the API, newest first, and the rules a change follows. The base URL carries the major version (/v2); everything on this page is about /v2.

Compatibility policy

A change is non-breaking when an integration that works keeps working without a change on your side. Non-breaking changes ship under /v2 at any time:

  • a new endpoint;
  • a new optional request field or query parameter;
  • a new response field;
  • a new error code;
  • a new enum value in a response.

So write your client to ignore response fields it does not know, to handle an enum value it does not know, and to fall back on the HTTP status for an error code it does not know.

A change is breaking when it can stop an integration that works:

  • removing or renaming a field, a path, an enum value or an error code;
  • changing the type or the meaning of a field;
  • a new required request field;
  • stricter validation of a request that used to be accepted.

A breaking change ships only under a new major version in the path (/v3), announced here in advance. Something that is going away is first marked deprecated, in the contract and on this page, and is removed only with the next major version.

The contract (loadoptimizer-openapi.yaml) carries a version of its own, info.version, which is 2.4.0. GET /v2/health returns it as apiVersion. From the release after this changelog's earliest entry on, every release that changes the contract raises it: the minor number for an addition, the patch number for a correction.

Retention. From 16 November 2026, jobs are deleted at their expiresAt, 90 days after they were created. Saved loads are kept until you release them, and a released run is kept at least 30 more days. See Retention for how long the API keeps everything else.

2.4.0 - 2026-11-02

Nothing in this release can break a client written against 2.3.0.

New

  • Stack only with the same SKU. constraints.sameSkuStacking: upperAndLower on a cargo line, a SKU or in overrides.constraints stacks that SKU's boxes only on each other, in columns of their own, without cargo classes or rules. See Constraints.

2.3.0 - 2026-10-27

Nothing in this release can break a client written against 2.2.0.

New

  • Why cargo was left unplaced. Every item in unplacedItems carries a reason: no_space, over_weight, no_carrier_fits, or null when no single cause can be named. See Why cargo was left unplaced.

2.2.0 - 2026-10-26

Nothing in this release can break a client written against 2.1.0.

New

  • Stacking rules from an AI agent. An assistant can list, add, change and delete your cargo classes and stacking rule sets, and use them in a plan. Connections approved from this release on include them; see Use Loadoptimizer from an AI agent.
  • Who did what. Jobs, saved loads, library entries, cargo classes, stacking rule sets and share links say who created them in createdBy; library entries, cargo classes and rule sets say who changed them last in updatedBy, and saved loads who saved them in savedBy. An actor is a user, directly or through an AI agent, or an API key: { type, id, via }. GET /v2/jobs filters with createdBy and GET /v2/saved-loads with savedBy, each taking the id of a user or of a key. Library entries, cargo classes, rule sets and share links also return createdAt. See Users, API keys and who did what.

Changed

  • Cargo classes in a job need not be saved. An inline cargo line's classes, and the classes in a job's inline rules and overrides, may use a key your account has not saved: the job uses it for that job only. A key in a rule or override that no cargo line carries and your account has not saved is still 400 unknown_cargo_class, so a misspelt rule is caught. SKUs and saved rule sets still take only saved classes. A job carries at most 200 distinct classes, its inline lines' and its SKUs' together; more is 400 validation_failed at the line that brings the 201st. See Stacking rules.

2.1.0 - 2026-10-23

One change in this release can affect a client written against 2.0.0. It is listed under Breaking for current clients, with what to do. It is an exception to the policy above, made because maxWeight on a carrier is itself new in this release: only a request that sent the member before it existed, next to libraryId, is affected.

New

  • AI agents. Connect an AI assistant that supports MCP and plan loads in a conversation, with the access you approve. See Use Loadoptimizer from an AI agent.
  • Change part of a library entry. PATCH /v2/libraries/{id}/entries/{entryId} changes only the members you send (JSON merge patch). Library entries also return an ETag and accept If-Match, like cargo classes. A PATCH that changes units.weight or units.length must carry the numbers stored in that unit, or it answers 400; a write without If-Match that keeps colliding with concurrent writes answers 503 entry_write_conflict, and can be sent again. See Change part of an entry.
  • Reading a share link back. GET /v2/jobs/{id}/share returns a job's share link and its expiry, including an expired one, under the new permission shares.read (part of jobs:write and shares:manage). See Exports & sharing.
  • Validate warnings. POST /v2/jobs/validate now returns non-blocking warnings: cargo_exceeds_every_carrier, stacking_disabled and zero_weight. They never change what a submit accepts. See Validate-only warnings.
  • Stacking rules. Save cargo classes and named stacking rule sets, and give a SKU its cargo class with classes; PUT and DELETE on them accept If-Match. A job applies them: classes on a cargo line, constraints.stackingRules inline or by ruleSetId with overrides, the rules as applied in GET /jobs/{id}/input, with stackingRuleSet naming the set and returning the order's overrides, and classes on every placement and unplaced item. POST /jobs/validate warns with unknown_member about a member the contract does not define in a job's stacking rules, and DELETE /cargo-classes/{key} is refused with 409 cargo_class_in_use while rule sets name the class (ruleSetCount next to skuCount) unless you send removeFromRuleSets=true. See Stacking rules.
  • Permissions. Every operation now names the permission it needs, in the contract and in the new Permissions section. Keys keep every permission, so an integration that works keeps working; a request without the permission it needs is refused with 403 permission_denied. See Permissions.
  • Weight limit per carrier. A carrier can carry a maxWeight: inline, on a library entry, or for one job through overrides.maxWeight. The plan never loads more cargo onto it; what does not fit moves on to the next carrier (another of the same entry while its quantity allows, then the next entry). The result reports kpis.weightUtilization. Without a maxWeight nothing changes. See Weight limit for one job.
  • Library filters. GET /v2/libraries/{id}/entries takes category, region and cargoClass, each repeatable; see Browse and search.
  • The existing resource on a conflict. 409 external_id_taken, 409 saved_load_exists, 409 cargo_class_key_taken, 409 cargo_class_name_taken and 409 stacking_rule_set_name_taken name the existing resource in a new problem member, resource (type, id); see The problem+json shape.
  • When a job is deleted. Every job carries expiresAt: when it will be deleted. It is null while the order is kept as a saved load. See Retention.

Changed

  • Jobs are deleted. From 16 November 2026, jobs are deleted at their expiresAt, 90 days after they were created, including jobs that are already older: their expiresAt is that date. Saved loads are kept; a released run is kept at least 30 more days. After that, GET /v2/jobs/{id} and every route under it answer 404 with code: "job_not_found", like an unknown id. See Retention.
  • Which end is x = 0. The documentation now says that x = 0 is the front wall, the closed end of the carrier, and that, under the default -X consolidation, packingOrder 1 sits there, so the stop unloaded last gets 1. This describes how the API already behaves; nothing in a request or a result changes. See Coordinate frame and Group separation.

Breaking for current clients

  • maxWeight next to libraryId. A carrier reference that sends maxWeight is now rejected with 400 ambiguous_source; set a limit for one job with overrides.maxWeight. Before this release the member was not known and was ignored. What to do: send maxWeight only on an inline carrier, or in overrides next to libraryId; to use an entry's own limit, store it on the entry.

2.0.0 - 2026-10-09

Four changes in this release can affect a client written against the API before it. They are listed under Breaking for current clients, each with what to do. From the release after this one, the policy above applies in full.

New

  • Libraries. Save carriers and SKUs once, in a library of your own, and reference them from a job with libraryId; a system catalogue of standard carriers sits next to it. Company libraries depend on your plan; the system catalogue does not. See Libraries.
  • The job list. GET /v2/jobs lists the orders your account submitted, with filters and pages. See Listing your jobs.
  • Saved loads. Keep a run you want to come back to under a name: POST /v2/saved-loads, GET /v2/saved-loads, GET /v2/saved-loads/{id}, DELETE /v2/saved-loads/{id}, and saved on every job. See Saved loads.
  • Reading back the request. GET /v2/jobs/{id}/input returns the request a job ran with, library references resolved. See Reading back the request.
  • Result geometry in the request's shape. Result carriers and placements carry geometry.type and geometry.dimensionX/Y/Z, so a carrier read from a result can be sent back in a request. See Reading a placement.
  • Groups on the result. Placements and unplaced items carry groups, the cargo line's labels under the name the request uses. See Reading the result.
  • Groups that stay together. A declared group takes keepTogether (default true): with configuration.groupSeparation set, the group stays on one carrier, and the carrier closes at a group that does not fit. With more than one entry in carriers[], a group that does not fit the first entry whole goes to a later entry that takes it whole. Send false to let a group be split across carriers. See What segmented guarantees.
  • Trucks and trailers. On a load-planning job, a carrier's category can now also be truck or trailer, next to pallet and container. See Building load units.
  • The API version on health. GET /v2/health also returns apiVersion, the contract's version, such as 2.0.0, so you can tell which release on this page the API you call has. version stays the build identifier it was.

Changed

  • Enum values in any case. A carrier's category, and geometry.type on carriers and cargo lines, now accept any case, as every other enum value already did, and come back in their published spelling. See Conventions.
  • Limits on request arrays and strings. A job may send at most 200 entries in carriers[], 5,000 lines in cargo[] and 10 labels of at most 256 characters in a cargo line's groups, and allowedRotations holds each axis at most once. Job and saved-load ids are accepted only in their standard 36-character form, as the API returns them; a cursor is at most 4,096 characters and the externalId filter at most 128. More is a 400 validation_failed pointing at the field (a path id that is not in that form is a 404, as before). Split a larger job, or merge cargo lines of the same SKU through amount.
  • Carriers in the order you list them. Carrier entries are now tried in the order of carriers[], and the result's carriers[] follows it. With more than one entry the order used to vary between identical requests, so the same job could come back with a different set of carriers. See The order of carriers.

Breaking for current clients

  • errors[].pointer is a JSON Pointer. For a body field it was a property path such as Carriers[0].ExternalId; it is now an RFC 6901 JSON Pointer such as /carriers/0/externalId. For a query parameter or header, the pointer is its name, such as carrier or Idempotency-Key. What to do: if you map a pointer back to your own fields, split it on / and read ~1 as / and ~0 as ~, or use a JSON Pointer library. See The problem+json shape.
  • Every 400 is validation_failed. Some 400s on POST /v2/jobs came without a code, with errors as an object keyed by field, and an Idempotency-Key over 200 characters got a 400 with an empty body. Every /v2 400 now carries code: "validation_failed" and an errors[] list. What to do: read errors[], each entry with pointer, code and message, instead of the keyed object. See The problem+json shape.
  • Downloading instructions with another job's id. GET /v2/jobs/{id}/instructions with the id of a job that is not an instructions job (most often the source job's id) answered 404 with code: "artifact_not_ready"; it now answers 404 with code: "job_not_found". What to do: download with the id that POST /v2/jobs/{id}/instructions returned, and stop polling on job_not_found. See Loading-instruction PDFs.
  • A cargo line's category is a closed set. It was free text of 1 to 64 characters; it is now the kind the unit is drawn as, box today, matched in any case, on an inline cargo line and on a SKU. Any other value is rejected with 400 against that field. Omitted, box is filled in and echoed, so a result that echoed null now echoes "box". Results of jobs submitted before this release keep what they echoed. What to do: send box or leave the field out; a value you used as your own label belongs in description. See Building load units.

Deprecated

  • geometry.box on result carriers and placements: read geometry.dimensionX/Y/Z instead. It stays in /v2.
  • group on placements and unplaced items: read groups instead. It stays in /v2.