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: upperAndLoweron a cargo line, a SKU or inoverrides.constraintsstacks 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
unplacedItemscarries areason:no_space,over_weight,no_carrier_fits, ornullwhen 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 inupdatedBy, and saved loads who saved them insavedBy. An actor is a user, directly or through an AI agent, or an API key:{ type, id, via }.GET /v2/jobsfilters withcreatedByandGET /v2/saved-loadswithsavedBy, each taking theidof a user or of a key. Library entries, cargo classes, rule sets and share links also returncreatedAt. 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 still400unknown_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 is400validation_failedat 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 anETagand acceptIf-Match, like cargo classes. APATCHthat changesunits.weightorunits.lengthmust carry the numbers stored in that unit, or it answers400; a write withoutIf-Matchthat keeps colliding with concurrent writes answers503 entry_write_conflict, and can be sent again. See Change part of an entry. - Reading a share link back.
GET /v2/jobs/{id}/sharereturns a job's share link and its expiry, including an expired one, under the new permissionshares.read(part ofjobs:writeandshares:manage). See Exports & sharing. - Validate warnings.
POST /v2/jobs/validatenow returns non-blocking warnings:cargo_exceeds_every_carrier,stacking_disabledandzero_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;PUTandDELETEon them acceptIf-Match. A job applies them:classeson a cargo line,constraints.stackingRulesinline or byruleSetIdwithoverrides, the rules as applied inGET /jobs/{id}/input, withstackingRuleSetnaming the set and returning the order'soverrides, andclasseson every placement and unplaced item.POST /jobs/validatewarns withunknown_memberabout a member the contract does not define in a job's stacking rules, andDELETE /cargo-classes/{key}is refused with409 cargo_class_in_usewhile rule sets name the class (ruleSetCountnext toskuCount) unless you sendremoveFromRuleSets=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 throughoverrides.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 itsquantityallows, then the next entry). The result reportskpis.weightUtilization. Without amaxWeightnothing changes. See Weight limit for one job. - Library filters.
GET /v2/libraries/{id}/entriestakescategory,regionandcargoClass, 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_takenand409 stacking_rule_set_name_takenname 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 isnullwhile 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: theirexpiresAtis 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 answer404withcode: "job_not_found", like an unknown id. See Retention. - Which end is
x = 0. The documentation now says thatx = 0is the front wall, the closed end of the carrier, and that, under the default-Xconsolidation,packingOrder1 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
maxWeightnext tolibraryId. A carrier reference that sendsmaxWeightis now rejected with400ambiguous_source; set a limit for one job withoverrides.maxWeight. Before this release the member was not known and was ignored. What to do: sendmaxWeightonly on an inline carrier, or inoverridesnext tolibraryId; 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/jobslists 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}, andsavedon every job. See Saved loads. - Reading back the request.
GET /v2/jobs/{id}/inputreturns 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.typeandgeometry.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(defaulttrue): withconfiguration.groupSeparationset, the group stays on one carrier, and the carrier closes at a group that does not fit. With more than one entry incarriers[], a group that does not fit the first entry whole goes to a later entry that takes it whole. Sendfalseto let a group be split across carriers. See Whatsegmentedguarantees. - Trucks and trailers. On a load-planning job, a carrier's
categorycan now also betruckortrailer, next topalletandcontainer. See Building load units. - The API version on health.
GET /v2/healthalso returnsapiVersion, the contract's version, such as2.0.0, so you can tell which release on this page the API you call has.versionstays the build identifier it was.
Changed
- Enum values in any case. A carrier's
category, andgeometry.typeon 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 incargo[]and 10 labels of at most 256 characters in a cargo line'sgroups, andallowedRotationsholds each axis at most once. Job and saved-load ids are accepted only in their standard 36-character form, as the API returns them; acursoris at most 4,096 characters and theexternalIdfilter at most 128. More is a400 validation_failedpointing at the field (a path id that is not in that form is a404, as before). Split a larger job, or merge cargo lines of the same SKU throughamount. - Carriers in the order you list them. Carrier entries are now tried in the order of
carriers[], and the result'scarriers[]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[].pointeris a JSON Pointer. For a body field it was a property path such asCarriers[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 ascarrierorIdempotency-Key. What to do: if you map a pointer back to your own fields, split it on/and read~1as/and~0as~, or use a JSON Pointer library. See The problem+json shape.- Every
400isvalidation_failed. Some400s onPOST /v2/jobscame without acode, witherrorsas an object keyed by field, and anIdempotency-Keyover 200 characters got a400with an empty body. Every/v2400now carriescode: "validation_failed"and anerrors[]list. What to do: readerrors[], each entry withpointer,codeandmessage, instead of the keyed object. See The problem+json shape. - Downloading instructions with another job's id.
GET /v2/jobs/{id}/instructionswith the id of a job that is not an instructions job (most often the source job's id) answered404withcode: "artifact_not_ready"; it now answers404withcode: "job_not_found". What to do: download with the id thatPOST /v2/jobs/{id}/instructionsreturned, and stop polling onjob_not_found. See Loading-instruction PDFs. - A cargo line's
categoryis a closed set. It was free text of 1 to 64 characters; it is now the kind the unit is drawn as,boxtoday, matched in any case, on an inline cargo line and on a SKU. Any other value is rejected with400against that field. Omitted,boxis filled in and echoed, so a result that echoednullnow echoes"box". Results of jobs submitted before this release keep what they echoed. What to do: sendboxor leave the field out; a value you used as your own label belongs indescription. See Building load units.
Deprecated
geometry.boxon result carriers and placements: readgeometry.dimensionX/Y/Zinstead. It stays in/v2.groupon placements and unplaced items: readgroupsinstead. It stays in/v2.