Changelog
Changes to the API within /v1 only add things and never remove them; see Versioning. Newest changes are at the top of each section.
MCP server
Section titled “MCP server”- 0.1.1 (November 24, 2026): on npm as
ordainer-mcpand in the MCP Registry asai.ordainer/mcp. 12 tools (6 reads, 6 writes); test keys only; every write needs an accept. See MCP server.
- November 18, 2026: Admin API additions:
GET /v1/admin/mereturns which admin key this is, with its label, scopes and expiry (any scope; never the secret).GET /v1/admin/decisionslists decision rows for your organization’s test keys only (scopeusage:read; about 20 reads a second per organization).POST /v1/admin/keys/:id/rotatemakes a new test key with the same customer, plan, label and per-key settings and revokes the old key in the same step (needskeys:writeandkeys:revoke); the new key’s per-key count starts at 0. Key objects now includeusage.key(period,period_start,resets_at,used,cap,remaining). A plan update or mode switch on a plan that has an active live key is409 live_key_on_plan, and nothing changes. No SDK release. See Admin API. - November 16, 2026: Public demo limit:
POST /demo/decidenow allows 300 calls an hour per address by default (it was 60), and an IPv6 address counts as its /64. See Errors. - November 13, 2026: Session leases: optional
leaseonPOST /v1/decide. Under the key’s session limit the allow includeslease(id,expires_at,running,limit). At the limit, enforce is200denyconcurrency_exhausted(one audit row, not counted). Shadow is a would-deny and the lease is still taken. Finish withPOST /v1/leases/:id/release(a second call is a 200 no-op). Extend withPOST /v1/leases/:id/extend. Default TTL 120 seconds, maximum 3600. No session limit set means the decide answer is unchanged. A decide that doesn’t sendleaseis decided as before and is never denied for the session limit. The limit is off until you set it: 1 to 100 per key, withsession_limitonPATCH /v1/admin/keys/:idor in Console → Keys.GET /v1/admin/keysandGET /v1/admin/keys/:idreturnsession_limitandrunning. Plain HTTP only: the SDKs don’t sendlease. See Session leases. - November 13, 2026: 429 concurrency_limited is audited:
POST /v1/decidestill answers 429 with the same body when a key’s waiting line is full, and nothing is counted toward usage or the plan cap. One decision row withreasonconcurrency_limitedis written for thatrequest_id(at most one row per key per second on each server). Other errors still write no audit row. See Errors and Decision history. - November 12, 2026: Delete a customer and get one test key:
DELETE /v1/admin/customers/:idsoft-deletes a customer you added and revokes its active test keys in the same step (needscustomers:writeandkeys:revoke). The sandbox customer cannot be deleted this way. A customer that owns a live key cannot be deleted this way either.GET /v1/admin/keys/:idreturns one test key (no secret). Rename andexternal_idchanges stay in Console → Customers. The Node SDK 1.3.0 and the Python package 0.3.0 wrap both routes. See Admin API. - November 11, 2026: Decision history:
GET /v1/decisionslists rows andGET /v1/decisions/{request_id}reads one, with the same agent key as decide. A key reads only its own customer’s rows in its own environment. Another customer, organization or environment is the same 404 as a missing id. A held key is 403key_on_hold. No SDK release. See Decision history. - November 11, 2026: Decision export columns: CSV and JSON decision exports add
would_deny,plan_id,plan_name, andplan_policy_versionaftersource.would_denyis true only for a shadow deny, andplan_policy_versionis the plan’s policy version stored on that decision. - November 11, 2026:
old_key_formatfor anysk_test_orsk_live_value: a key that starts withsk_test_orsk_live_now gets401 old_key_formatwhatever its length. Before, only the exact old 32-character shape did, and other lengths gotunknown_key. The message is nowThis key uses our old format, so it no longer works. Please create a new key on the Keys page in your console. (old_key_format). Only the exact old shape stays out of the per-address failed-key limit. No SDK release. See Errors. - November 11, 2026: Console → Decisions filters by decision, mode, would-deny, key, tool, reason, plan, customer and date. It shows 50 rows at a time with Older and Newer, and counts would-denies by key and by plan. The Overview Would deny, last 7 days number opens that list. Revoking a key, and changing the tool on a plan that has keys that aren’t revoked, now ask you to confirm first. The welcome page’s .env download names each key after its label, for example
ORDAINER_KEY_PILOT. - November 10, 2026: Queue wait is now a 503: a
/v1/decidecall that waits in its key’s line and runs out of time now gets503 decide_timeout(retryable; the SDK retries once, then followsfailMode) instead of429 concurrency_limited.429 concurrency_limitednow means the key’s line is full. Nothing is counted in either case. No SDK upgrade needed. See Errors. - November 9, 2026: In Console → Customers you can rename a customer, change its external ID, or delete a customer you added. Deleting a customer revokes its keys in the same step (one
key.revokeline each in the change log). A call already running finishes, the next call gets401 revoked_key, and the customer’s decisions stay. The sandbox customer can’t be deleted. The admin API can’t rename or delete customers. Console exports default to the last 90 days (or your retention, if shorter). - November 9, 2026: key_on_hold: a held agent key returns 403
key_on_hold. Revoked is still checked first. The call is not counted. No SDK release. See Errors. The console shows the key as “on hold” and, when the whole account is held, a banner that says the account’s agent keys are on hold. - October 18, 2026: When we’re under heavy load, decide() now answers that it’s busy (503 decide_timeout or 429 concurrency_limited) instead of failing with a 500. On a 503, the SDK then applies its fail-open or fail-closed setting. Unknown keys get a plain 401.
- October 18, 2026: Deny responses can now include the key’s label, so your logs show which agent was blocked. It’s off by default. To turn it on for your account, email support.
Node SDK
Section titled “Node SDK”- 1.4.0 (November 16, 2026): On npm:
npm install ordainer. Adds session leases:decide({ lease: true })ordecide({ lease: { ttlS } })sendslease, andresult.leaseis{ id, expiresAt, running, limit }when the API took one (elsenull; a fail-open runs with no lease). Newrelease(leaseId)andextend(leaseId, ttlS)throwOrdainerLeaseError(codenot_foundfor a 404,lease_inactivefor a 409) and never change a decide result.wrap(fn, { lease })releases the lease in afinallyblock. A decide withoutleaseis unchanged. See Session leases. - 1.3.0 (November 12, 2026): On npm:
npm install ordainer. AddsOrdainerAdmin, a client for the admin API (admin key fromORDAINER_ADMIN_KEY). It covers customers, plans, test keys and the change log, includingcreateCustomer,createKey,getKey,deleteCustomer(revokes that customer’s keys; needscustomers:writeandkeys:revoke) andlistChanges.decide()is unchanged. See the Node / Express quickstart and Admin API. - 1.2.8 (November 11, 2026): On npm:
npm install ordainer.Retry-Afteron a quota or test-limit block is capped at 3600 seconds (one hour). Useresets_atin the JSON body for the real reset time. Unknown or non-finiteresets_atstill sends no header. The server’s ownRetry-Afteron429 rate_limitedand503 ordainer_unavailable, and the API’s decideRetry-After, are not this cap. 1.2.7 and earlier don’t have this cap (1.2.7 was README-only, the same code as 1.2.6). - 1.2.7 (November 11, 2026): On npm:
npm install ordainer. Same code as 1.2.6; only the package README changed: a call that waited in its key’s line and ran out of time is503 decide_timeout(the SDK retries once, then followsfailMode), and429 concurrency_limitedmeans the line of 20 waiting is full. See Errors. - 1.2.6 (November 10, 2026): On npm:
npm install ordainer. Same code as 1.2.5; only the package README’s install steps changed. - 1.2.5 (November 9, 2026): On npm:
npm install ordainer. Retry pause is jittered.plan_limit_reachedandtool_not_in_plancaller messages reworded (codes, statuses and fields unchanged; match onerror.code). See Errors. - 1.2.4 (October 22, 2026): On npm:
npm install ordainer. Same code as 1.2.3; only the package README’s install steps changed. - 1.2.3 (October 18, 2026): docs-site download only. Error messages reworded; codes, statuses and fields unchanged. Match on error.code, not the message. The 503, test-limit and plan-deny messages are in plain words (see Errors), and a plan limit can name the agent once it’s turned on for your account (email support). The 1.2.2, 1.2.1 and 1.2.0 files stay available unchanged. A call held back because too many calls are running at once on one key now gets its own message, ending
(concurrency_limited); thecodefield staysrate_limited. - 1.2.2 (October 9, 2026): docs-site download only.
result.wouldDenyis nowtrueonly for a shadow deny (an enforce deny haswouldDeny: falseandallowed: false), and the package README’s install steps match this site. The 1.2.1 and 1.2.0 files stay available unchanged. - 1.2.1 (October 8, 2026): docs-site download only. The packed file’s default base URL is
https://api.ordainer.dev. - 1.2.0 (October 6, 2026): shadow mode never blocks on a plan or test limit, and
429 safety_limit_reachedlets calls run. What changed in 1.2.0.
Ruby gem
Section titled “Ruby gem”- 0.1.3 (November 24, 2026): on RubyGems:
gem install ordainer. AClientnow keeps its connections to the API open and reuses them (HTTP keep-alive). If a reused connection is already closed, the call is sent once more on a new connection with the same idempotency key, and is not counted twice.Client#closecloses the idle connections;Ordainer.configureandOrdainer.reset!close the previous shared client. The agent key is read fromORDAINER_KEYfirst. IfORDAINER_API_KEYis also set,ORDAINER_KEYwins; 0.1.1 usedORDAINER_API_KEYin that case. Passingapi_key:still overrides both. Error messages reworded, with the same text as Node SDK 1.2.5; codes, statuses and fields unchanged. Match onerror.code, not the message (see Errors).Retry-Afteron a quota or test-limit block is capped at 3600 seconds (one hour), like Node SDK 1.2.8; useresets_atin the JSON body for the real reset time. 0.1.2 was not published; its changes are in 0.1.3. - 0.1.1 (October 18, 2026): on RubyGems. Error messages reworded, with the same text as Node SDK 1.2.3; codes, statuses and fields unchanged. Match on error.code, not the message. A call held back because too many calls are running at once on one key gets its own message, ending
(concurrency_limited).Ordainer.deny_responseno longer raises when the server’s reset time can’t be turned into a number of seconds; that answer just has noRetry-Afterheader. - 0.1.0 (October 14, 2026): first release on RubyGems, with
Ordainer::Client#decide, retries,fail_modeand an optional Rails guard.
Python package
Section titled “Python package”- 0.4.0 (November 16, 2026): on PyPI:
pip install ordainer. Adds session leases:decide(lease=True)ordecide(lease={"ttl_s": N})sendslease, anddecision.leaseis aLease(id,expires_at,running,limit) orNone(a fail-open runs with no lease). Newrelease(lease_id)andextend(lease_id, ttl)onClientandAsyncClientraiseLeaseNotFoundError(404not_found),LeaseInactiveError(409lease_inactive) orLeaseError, and never change a decision.guard(fn, lease=...)releases the lease in afinallyblock. A decide withoutleaseis unchanged. See Session leases. - 0.3.0 (November 12, 2026): on PyPI:
pip install ordainer. AddsOrdainerAdminandAsyncOrdainerAdmin(pip install "ordainer[async]"for the async client). The admin key isadmin_keyorORDAINER_ADMIN_KEY. It covers customers, plans, test keys and the change log, includingcreate_customer,create_key,get_key,delete_customer(revokes that customer’s keys; needscustomers:writeandkeys:revoke) andlist_changes.decide()is unchanged. See the Python quickstart and Admin API. - 0.2.0 (November 11, 2026): on PyPI:
pip install ordainer. The agent key is read fromORDAINER_KEYfirst. IfORDAINER_API_KEYis also set,ORDAINER_KEYwins; 0.1.0 usedORDAINER_API_KEYin that case. Passingapi_keystill overrides both. Error messages reworded, with the same text as Node SDK 1.2.5; codes, statuses and fields unchanged. Match onerror.code, not the message (see Errors).Retry-Afteron a quota or test-limit block is capped at 3600 seconds (one hour), like Node SDK 1.2.8; useresets_atin the JSON body for the real reset time. 0.1.1 was not published; its changes are in 0.2.0. - 0.1.0 (October 31, 2026): first release on PyPI, with
ClientandAsyncClient(the[async]extra),decide(),decide_or_raise(),guard(),deny_response(), retries andfail_mode. No framework middleware.
Java SDK
Section titled “Java SDK”- 0.1.0 (November 24, 2026): on Maven Central:
ai.ordainer:ordainer:0.1.0. First release. Java 11 or later, no runtime dependencies.Ordainer.builder()andOrdainer.fromEnv()(readsORDAINER_KEY, thenORDAINER_API_KEY, andORDAINER_BASE_URL).decide,decideOrThrow,decideAsync,wrap,release,extendandDenyResponse. Fail-open or fail-closed (FailMode.OPENby default), billing lapse, shadow mode (Mode.SHADOW/Mode.ENFORCE; leavingmodeunset follows the console), sticky deny, idempotency keys, and retries with a 650 ms budget (300 ms per attempt, one retry by default).Retry-Afteron a quota or test-limit block is capped at 3600 seconds.warmUp()/warmUp(true)loads the decide path and sendsGET /livezbefore the first call. Session leases:DecideOptions.builder().lease()or.lease(300);decision.lease()is aLeaseornull.http://is accepted only forlocalhost,127.0.0.1or[::1]. No servlet filter, Spring Boot integration or admin client. See the Java quickstart and Session leases.