Skip to main content

Release notes

Spanway is in private preview. Builds are delivered to preview customers directly, and the registry address comes in your onboarding pack. Each entry below describes a release, newest first. Enterprise features need a license key, see enterprise.

2.0.1, 29 November 2026​

Spanway 2.0.1 is a fix release for 2.0.0. Nothing changes in how you configure or upgrade the gateway.

Fixes​

Logging under load now samples trace destinations even when global_disable_no_log_param is on. When the gateway's logging queue falls behind, it sends only one record in N to trace and analytics destinations so spend, budgets and live requests keep up. With spanway_settings.global_disable_no_log_param: true, that sampling was skipped, so every trace and analytics export still ran under overload, the queue stayed degraded and the spanway_logging_records_sampled_out_total metric counted records as sampled that were in fact sent. Sampling now applies whatever that setting says, and the setting keeps its only job, which is to log the gateway's own internal calls that carry no-log. Spend, budget and rate limit accounting were never affected. See logging under load.

2.0.0, 25 November 2026​

Spanway 2.0.0 is the first major release. Every component now carries the same version, 2.0.0, and all of them move together on each release. That covers the gateway with the enterprise and extras code compiled into its images, the Python and TypeScript clients, the Postman collection, the Helm charts, the Terraform modules and provider, the Rust crates, Lens, the Admin UI, the VS Code extension, the website and the docs. The sections below say what changed since the preview build of 14 October 2026 in plain terms, and each one links to the page with the details.

Breaking changes​

Spanway Cloud usage is priced at the provider's list price plus 15 percent. Model usage on Spanway's provider accounts now uses credits, and is metered as overage, at the provider's list price times general_settings.cloud.usage_price_per_usd, which defaults to 1.15, so 100 USD of provider usage uses 115 USD of credits. Usage through a tenant's own provider keys carries no markup, the plan fees stay at 0, 99 and 999 USD a month, and spend logs and budgets keep the provider's own price. The per-plan overage_price_per_usd key is retired. A plans block that still sets it keeps loading and billing at usage_price_per_usd, logs a warning naming the plans, and the key should be removed. A daily settlement that finds an invalid cloud block now logs an error instead of skipping silently. GET /cloud/plans returns usage_price_per_usd instead of overage_price_per_usd, and GET /cloud/tenant adds it. See Usage price.

Spanway Cloud fails closed when it cannot charge for usage. When general_settings.cloud.enabled is true but the cloud block does not validate, requests from Cloud tenants now answer 503 with type cloud_billing_unavailable and nothing is charged, instead of being served free. Requests through a tenant's own provider keys are refused too, because the check runs before the model is chosen. Organizations that are not tenants keep working, and nothing changes while Cloud is off. The daily settlement writes nothing while the block is invalid, sends a High alert, and now settles every missed day of the last seven once the block is fixed. Each tenant is settled on its own, so one tenant that raises an error no longer stops the others, and a day about to drop out of the seven day catch-up window raises a High alert naming the usage that would go uncharged. usage_price_per_usd must now be between 1.0 and 3.0, so a typo such as 115 for 1.15 is refused when the config loads with a message that explains the multiplier form. Overage is sent to Stripe only after the gateway checks that the price named by the new overage_price_id setting is an active, metered, one US cent per unit price on the overage meter, that the meter counts spanway_cloud_overage_cents and adds its events up, and that each tenant's subscription bills that meter through that price and no other, so a subscription left on an old two cent or tiered price can never charge the wrong amount. POST /cloud/subscribe now attaches the overage price to each subscription for you. Until then overage is held back and sent later. GET /cloud/billing/status shows both checks to proxy admins and admin viewers, and three new metrics count refusals, skipped settlements and held overage. See Billing safety.

OpenTelemetry spans carry no prompts by default. The otel callback now sends no prompt, answer or raw provider request text unless OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT asks for it, so a generic collector only receives model, tokens, cost and timing. Set it to span_only or span_and_event to keep content. The destination presets built on OpenTelemetry keep their content, and spans now always carry the operation name and finish reason. See OpenTelemetry.

Callers can no longer switch logging off. The x-spanway-disable-callbacks header is now ignored unless an admin sets spanway_settings.allow_dynamic_callback_disabling: true, which is off by default, and no-log in a request body is dropped. A key's admin-set disabled callbacks list keeps working. Set the switch only if every key holder may hide their own requests from your logging. See logging.

Production prompts only change through promotion. production is now a protected prompt environment, so saving, patching or deleting a prompt there directly answers 409 The production environment is protected. .... Save in development or staging and promote the tested version with Promote or POST /prompts/{prompt_id}/promote, which by default needs a passed eval run of that exact version. Admins can change the protected environments and the eval requirement on Prompts, Protection and alerts. See prompt operations.

Key emails leave out the key, and alert defaults changed. EMAIL_INCLUDE_API_KEY now defaults to off, so key created and rotated emails no longer carry the key value. alerting_threshold now defaults to 300 seconds everywhere instead of 600 when loaded from the config file. The Slack, Microsoft Teams and email tests on /health/services are for proxy admins only, and the role refusals of /alerting/settings, /config/field/* and /config/callback/delete answer 403 instead of 400. See alerting and email.

MCP security guardrail blocks by default. An mcp_security guardrail configured without on_violation now refuses a request that names an unregistered MCP server with 400, instead of only logging it. Set on_violation: alert to keep the old log-only behaviour while you check which requests it would refuse. See MCP guardrails.

Container images only. Spanway ships as container images, Helm charts and Terraform modules, and the images carry Spanway's code only in compiled form. The spanway, spanway-proxy-extras and spanway-enterprise Python packages are no longer published to any package index, no release attaches them to its release page, and the Homebrew formula for spanwayctl is gone with them. The gateway, the setup wizard and spanwayctl all run from the spanway-ai image, as shown in the quick start and the CLI reference. The same image runs every tier, Starter without a license key and Enterprise with one, and Spanway Cloud runs it hosted. The Python library behind spanway.completion() is not distributed on its own either, so applications call the gateway over its OpenAI-compatible API, the Anthropic Messages API or the Responses API with a base URL and a virtual key, as described in calling the gateway. The spanway-client Python client is attached to each release page and is not published to a package index, and an npm package for @spanway/client is planned.

Python 3.11 or newer. Python 3.10 reached end of life and is no longer supported. The spanway-client Python client now needs Python 3.11 or newer, so move any 3.10 environment that runs it before upgrading. The gateway image carries its own interpreter, so nothing changes for the gateway itself.

The CLI is spanwayctl. The command-line client is named spanwayctl and there is no alias for its old name. Its migrate commands are spanwayctl migrate gateway-db and spanwayctl migrate gateway-config. See the CLI. The slash command that spanwayctl debug install-claude-command installs into Claude Code is now /spanway-debug. Run the install command again to replace the old one.

Fail closed by default. Rate limits, session limits and budgets now refuse the request when Redis or the budget store cannot verify them, instead of letting it through. A gateway started without a master key refuses every request unless the local development override is set, and emptying the gateway IP allow list is refused. See Redis requirements and budgets.

Request body cap. Request bodies are capped by default before authentication reads them, with one cap for every content type. The cap is 100 MB unless general_settings.max_request_size_mb says otherwise, and larger bodies get a 413. Raise the cap as described in security settings if your clients send larger bodies.

Secrets follow their destination. Changing the URL or host of a credential, logging callback, pass-through endpoint, MCP server, search tool or agent card now needs the secret to be entered again in the same save, so a stored secret is never sent to a new address. Masked secrets are no longer saved back over the real values, and edit forms hide stored secrets. See security settings.

Organization visibility. A custom agent, saved workflow, workflow template install or workflow trigger shared with org visibility now reaches only the members of the organization it belongs to, instead of everyone on the gateway, and a new one belongs to its creator's organization. Ones shared this way before the change belong to no organization, so only their owner, proxy admins and admin viewers see them until someone in an organization edits them. See custom agents and saved workflows.

Agent access is denied by default. An agent-to-agent call that matches no access rule is refused, because spanway_settings.agent_access_default_deny is on by default. Add a rule for every agent that other agents should reach, or turn the setting off where every key may use every agent. See default deny.

Removed. We removed the earlier built-in agent workspace along with its Admin UI page, its navigation and UI settings entries and its connect routes, and the Playground agent builder with the spanway_agent/ model prefix. Coding tools keep working through ordinary virtual keys, and hosted agents are built as custom agents. Any saved settings these left behind in the stored UI settings or the config table are ignored by the gateway and the Admin UI, so they are safe to delete.

Over-budget answers are 422. A request refused because a key, user, team, project, organization or tag spent its budget now answers 422 with type budget_exceeded instead of 429, so clients that retry every 429 stop retrying a request that cannot succeed until the budget resets or is raised. To keep the old status, set spanway_settings.budget_exceeded_status_code: 429. See error reference.

Unknown team is 404 everywhere. /team/member_delete, /team/member_update and the team update routes now answer an unknown team with 404 Team not found, passed team_id=<id>, like the other team routes, instead of 400, and /team/info answers its errors as {"detail": {"error": ...}} like the rest. Scripts that matched the old 400 text need the new status.

Health routes fail closed and name the Starter tier. /health/drain now refuses every call until general_settings.drain_endpoint_token or DRAIN_ENDPOINT_TOKEN is set, because the route needs no key and anyone who could reach the pod could otherwise take the worker out of service. Add the token to your preStop hook before upgrading, a pod without it is still drained by its stop signal. /health/license reports license_type starter instead of community without a license, and /health/services answers an integration that is not set up with 422 instead of 200 with an empty body. See health checks.

Security​

The API docs, the OpenAPI document and the route list are for signed-in users only. The explorer at /, /redoc, /openapi.json, /routes and the explorer's files now answer 404 with {"detail": "Not Found"} to anyone without the key or Admin UI session of a signed-in user, so a scanner cannot learn what runs on the address or which version it is. Team, service and customer keys get the same 404. Tools that download /openapi.json must now send a personal key, and SPANWAY_PUBLIC_API_DOCS=true publishes everything again on a private test gateway. The MCP server mounted at /mcp no longer carries an explorer or an OpenAPI document of its own. The gateway also stops naming its server in the server header under gunicorn and hypercorn and in the gateway, backend and worker images, the Admin UI image no longer names its nginx version, the Admin UI ships without source maps, and the image gate and the Admin UI bundle check now fail on any source map. See API docs and build details.

The public pages are rate limited per address, and the compiled image keeps less to read. Everything under /public/, the skill index, the MCP registry, the plugin marketplace, the Cloud plans and the SSO lookup now answer 429 with Retry-After once one address sends more than general_settings.public_route_rate_limit_per_minute requests in a minute, 120 by default and 0 to turn it off, so nobody can copy your catalogue, prices or status history in bulk. The limit is set on the Status Page under Public surfaces, every public page documents the 429 in the OpenAPI document, and refusals count in spanway_public_route_throttled_requests_total. The compiled image is now built without the developers' notes and self-checks inside the code, without debug symbols and without build paths, and a build check refuses an image that still carries them. The descriptions of the API routes and their fields stay, so the API description the compiled gateway serves matches the published API reference. The key ownership check, which stopped a user from creating a key for someone else, no longer depends on those self-checks and refuses with the same 403. spanwayctl keeps its help text. Every license now carries a fingerprint that names the deployment without naming the company, shown in the license startup log line and in the OpenAPI document the gateway serves. See copy protection.

Every uploaded skill and marketplace plugin is checked by your guardrails first. A skill becomes part of a model's instructions, so a poisoned SKILL.md or a bundled script is a prompt injection waiting to run. POST /v1/skills now runs the guardrails named in skill_scan_guardrails, plus those on by default, over the form fields, SKILL.md and every bundled file, opening zip archives member by member, and POST and PUT /claude-code/plugins do the same for the plugin manifest, recorded as manifest_only because the plugin's own files stay on your git host. Skills and new skill versions sent through the Anthropic pass-through route are scanned too, and any other skill change there is refused with skill_scan_unsupported. One upload is read within one budget of 1000 files, 50 MiB unpacked and 20 archives, a file only counts as an image, font or PDF when its bytes say so, a guardrail that would reroute a file for sensitive data blocks it, and an unreadable skill scanning setting refuses every upload instead of turning scanning off. A blocked file refuses the upload with 400 skill_scan_blocked. A file that cannot be checked refuses it with skill_scan_incomplete while skill_scan_mode is fail_closed, the default, or stores it marked failed_open when fail open is chosen. Each scan keeps a per file result in the new Spanway_SkillScanTable, shown under Skill scan results on the Skills page and by GET /skill-scans, writes a created or blocked audit row and never stores file contents. See skill scanning.

Error answers no longer carry internal error text. SAML sign-in (gateway and organization SSO), MCP server create, submit, import, OAuth staging and publishing, GET /mcp-rest/tools/list, customer create, update, delete, block and budget saves, organization member update and delete, the search tool routes and the anonymous GET /public/spanway_model_cost_map used to copy the raw error, such as a SAML validation reason or a database message, into the answer. They now answer with a fixed message that ends "The gateway log has the cause." and the detail goes only to the gateway log. A search tool name taken by a concurrent save now answers 409 instead of 500, /customer/update on a customer deleted meanwhile answers 404, a failed customer budget creation answers 500 instead of 422, and organization member changes and customer writes log only the error type, never the member's email, a customer id or the database message.

Billing never lifts a block it did not set. Reinstating a billing account, or a paid Stripe invoice for a past-due account, used to unblock the billed team or end user completely, lifting a security or manual block with it. Billing now skips a scope that is already blocked for another reason and clears only its own block, a payment returns a past-due account to active without unblocking anything, and Stripe-driven changes are recorded in the audit log as made by stripe-webhook. See non-payment and suspension.

Sign-ins and invitation claims are audited. Every password sign-in writes an audit row with its outcome, succeeded, failed or locked_out, and the source address, a sign-out writes one, and setting a password through an invitation or reset link writes one that names only a hash of the link. Invitation links now stop working at their exact expiry time instead of at the end of that day, and a claim with the wrong user id no longer shows the invited user's id. See Admin UI sign-in audit.

Sign-ins, gateway credentials and refusals that left no trace are now audited. A successful SSO sign-in writes a sign_in row with method sso and the address. Credentials the gateway's OAuth server issues, renews and revokes for spanwayctl login, the Claude Code gateway and MCP clients each write a row naming the user, the client and the team, never a token, and starting a Claude Code device sign-in writes one with the caller's address. A token stored by an MCP server's OAuth sign-in and the purge of stored keys, variables or tokens after an admin changes a server each write a row. A hosted admin MCP OAuth session refused for a named user, a workload identity exchange refused for a token that names a trusted issuer (with the caller's address, which the mint row now also holds, while form errors and untrusted issuers stay in the gateway log only so anonymous callers cannot fill the audit log) and the organization membership an organization-scoped SCIM token removes are audited, and that SCIM removal now runs as the SCIM token instead of an unnamed proxy admin. Approval cancellations are written only after the run change is saved, including when a rejection, a withdrawal or the expiry sweep fails the run, plugin proxy writes record the status the caller received, and a Skills page plugin with an unreadable manifest can be replaced, toggled and deleted again, with its audit row, instead of failing with 500. See audit logs.

Audit rows for code graph, workflow and review queue changes carry the value before the change. Code graph reindex, mirroring, webhook rotation and disconnect, workflow variables, definitions, runs, triggers and template upgrades, and review queue changes now record what the object looked like before, access lost upstream and triggers that turn themselves off are written by a system actor, and the Audit Logs page can filter on the new tables. Review queue names are now unique per team or organization, so a 409 no longer tells one team the queue names of another. See audit logs.

Request logs stay with their owners. Every caller that is not a proxy admin, org admins and keys with extra routes included, now reads only their own request logs and those of teams that let them, on the Logs page, /spend/logs/v2 and /spend/logs. A key with no user reads nothing on the Logs page and is refused with 403 on /spend/logs. An explicit store_prompts_in_spend_logs: false now wins over the STORE_PROMPTS_IN_SPEND_LOGS variable. See Logs page.

Erased people leave the audit log. Erasing an end user now writes its audit row under the pseudonym with no copy of the deleted row, and the data subject request list stays within the caller's Spanway Cloud organization. See data subject requests.

Listing a server on the AI hub no longer opens it to the internet. Publishing MCP servers with POST /v1/mcp/make_public used to make a server marked internal network only reachable from public addresses too. Listing is now only a listing, and available_on_public_internet: false keeps the server unreachable from outside mcp_internal_ip_ranges. See MCP gateway.

Personal API keys only for servers that take them. The connect page for bring your own key servers now checks that the server exists, takes personal keys and is one the signed-in person may use before it accepts a key, and the token step no longer hands out a session when the key could not be saved. See per-user credentials.

Every MCP change is audited. Team submissions, imports, approving and rejecting submissions, pinning tools, closing live sessions, AI hub publishing, toolsets, OAuth tokens and per-user variables now each write an audit row with the before and after values, never a secret. A test fails when a new MCP change route writes none. See audit logs.

Approval policy changes keep the whole policy. Creating, changing or deleting an approval policy now writes the whole policy before and after into the audit log, so lowering the number of approvers or swapping them is visible, and requests cancelled with their run or by a kill switch get a cancelled row. See human approval.

Environment plans cannot use secrets the target lacks. A plan whose bundle names a secret reference the target gateway cannot resolve is now saved as not appliable, and apply answers 409 naming the reference. The 2 MiB plan limit now also holds for requests sent without a Content-Length header. See environments.

Agent credentials are encrypted at rest. Provider keys in a registered agent's settings, the header values sent to it and its kill switch webhook secret are now encrypted with the salt key before they are saved, and the master key migration re-encrypts them like other stored secrets. Rows saved by earlier builds are read as before and encrypted on their next save. See database tables.

Prompts stay out of A2A logs and error answers. The A2A route no longer writes the user's message to the debug log, and agent, A2A, discovery, skill plugin and user agent analytics errors answer a fixed message that points at the gateway log instead of the raw database or upstream error. See A2A agents.

Skill code runs only for gateway skills. A caller can no longer switch on sandbox code execution, or hand it files, through request metadata. Code only runs for skills the gateway loaded itself. See skills.

Reads of stored content are audited. Reading a trace span with its input and output, running a trace SQL query, reading another caller's custom agent transcript and downloading a run ledger now write audit rows, with a new viewed action, and cancelling a custom agent run, every Skills page plugin change and the custom agent instructions fingerprint are recorded too. See audit logs.

Realtime calls run as the key that minted them. A WebRTC call on /v1/realtime/calls now re-checks the virtual key that created its client secret, so that key's budget, rate limits, model list and blocked state apply, and blocking the key also stops its secrets. Secrets minted before this release, and secrets requested without a virtual key, are refused. See realtime.

Containers stay with their owner on the Responses API too. A /v1/responses request whose code interpreter tool names an existing container is now checked against the container's owner before it reaches the provider, so a key that learns another user's, team's or key's cntr_ id gets 403 instead of running code in that container and reading its files. See who can use a container.

Pass-through endpoints without an auth flag always require a key. A config file pass-through endpoint that leaves auth out, or writes it as the string "true", now counts as auth: true everywhere, so non-admin keys need the route in allowed_passthrough_routes and budgets and blocked team checks apply. Only an explicit auth: false makes a public forwarder. See route lists.

Search tool lists follow the grants. GET /v1/search/tools now shows a key only the tools it may call, so under search_tool_deny_by_default keys no longer see the names and providers of tools they were never granted. See search access control.

Request bodies stay out of pass-through logs. The Vertex Live setup payload, which carries system instructions and tools, the forwarded request body and the text a pass-through guardrail checks are no longer written to the gateway log. Those lines now carry field names and character counts only.

Fine-tuning never falls back to the gateway's own provider keys. A fine-tuning call that names a provider with no finetune_settings entry, or a cancel with no provider at all, is now refused with 400 instead of running under whatever credentials the gateway process holds. See fine-tuning.

Admin UI sign-in. The Admin UI session now lives in an HttpOnly cookie that page scripts cannot read, and the UI reads the signed-in user from /session/me. The session placeholder is refused on cross-site requests and from the query string, an expired session is reported as expired instead of as a malformed key, and key suffixes and hashes no longer appear in 401 responses or logs. Password logins can add TOTP two-factor sign-in. See the Admin UI.

Privacy and zero data retention. When zero data retention applies to a request, or prompts are not stored, the request and response content stays out of every gateway store, including logs, the response cache, exception text, pass-through logs and cold storage. A new What Spanway stores page lists every stored field and when it is kept. Code traffic can be kept on zero data retention or self-hosted deployments through the data policy, and the gateway warns at startup when a debug mode prints request bodies.

Egress allowlist. general_settings.egress_allowlist refuses outbound connections to hosts that are not listed, and code interpreter and E2B sandboxes start with internet access off. See the settings reference.

Per-page content security policy. The website and the docs are served from private buckets behind a CDN, with a content security policy computed for each page and kept in step with the served content, including on revalidations. Both hosting stacks are managed as code with TLS-only bucket access, versioning and managed encryption.

Release supply chain. Every release publishes signed images and charts and attaches signed client files, each with an SBOM, and the pipeline verifies that every expected asset is present and that every signature verifies before it publishes anything. Releases are signed with a key held in a cloud key management service and attach its public key as spanway-release-signing.pub, with no record in the public transparency log. See release signing. Dependencies are only taken from releases that have been public for at least seven days on PyPI and three days on npm. The build downloads no code at build time, and bundled third-party code ships with its licence notice. Every gateway image runs as a non-root user. See images. Every release is built from the same code that runs Spanway Cloud. The gateway is not distributed as a package on any package index. When spanwayctl is missing a component, such as the local proxy runtime for spanwayctl autoroute start or the database drivers for spanwayctl migrate gateway-db, its message now points at the spanway-ai container image instead of a package index.

Compiled images without a shell. Every Python image, the proxy, the gateway, the backend, the migrations job and the Admin Assistant, now carries Spanway's own code only as compiled native modules, with no Python source, bytecode or stub of ours inside, on a root filesystem that has no shell and no package manager. The release exports each image and refuses to tag or sign it if any first-party Python file remains, and pull requests run the same check and the unit suite against the compiled modules. Every container starts through spanway-container <role>, which replaces the entrypoint shell scripts, and the Helm charts and Terraform modules call the same roles for the migration job, the metrics sidecar, the spend collector and the workflow worker. spanway-ai-non-root and spanway-ai-database are now the same image as spanway-ai, published under their old names. If you override a container command in a chart or a stack, replace the old module commands of the metrics server, the collector and the workflow worker and the old migration script with the matching spanway-container role, and build any derived image from a Wolfi base that copies this image's filesystem, since apk is no longer inside. See images.

Dependency updates. Third-party dependencies with published security fixes are updated as soon as each fix clears the release-age window. This release takes the security fixes for certifi, brotli, dnspython, soupsieve, pypdf, pyasn1, filelock, oauthlib, msgpack, ddtrace, mlflow, OpenTelemetry, LangGraph, pylint and setuptools. The fixed soupsieve release needs Python 3.11.5 or later, so building the gateway now needs Python 3.11.5 instead of 3.11.0. That floor applies only to the gateway build, which runs inside the images, and the images already run a newer Python. The spanway-client Python client still needs Python 3.11 or newer. The Admin UI and the Lens UI move to Next.js 16.4.6, the documentation site, the Lens agent chat, the editor extension, the Postman collection tooling and the browser test tooling take the fixed body-parser, qs, follow-redirects, joi, fast-uri, serialize-javascript, minimatch and hono releases, the Lens worker moves to rustls 0.23.46, and the Admin Assistant image takes the same certifi and OpenTelemetry fixes.

Leaked keys and key expiry. Anyone who finds a leaked virtual key, a secret scanner included, can post it to POST /public/compromised_key and the gateway blocks it at once, logs the block with the reporter's address, raises a compromised_key_reported alert, emails the owner and, when audit logging is on, writes an audit row, while answering the same way whether or not the key matched. Key hygiene gains a maximum key lifetime, max_lifetime_days, that the hourly job applies to existing keys too, with a stricter per-organization value in the organization's metadata, and key owners now get a Virtual Key Expiring email 30 days and 1 day before a key stops working. See leaked keys and key expiry.

Hardening. Team deployments can no longer point at internal endpoint URLs, callback ciphertext copied from elsewhere is refused on key and team creation, NAT64, 6to4 and IPv4-compatible IPv6 addresses are judged by the IPv4 address they carry, and the trusted proxy model resolves the requester IP and the MCP client IP in one place. AI Hub useful links and UI plugin URLs accept only http and https. The login session token is kept out of generated code snippets, and the Playground key is no longer kept in browser storage.

Custom roles follow their base role. Anything a custom role does not grant or deny is now decided by the role's base role, as the docs and the role form always said, instead of by the user's own Global Proxy Role. Assigned roles also need the custom_roles license feature to take effect, assigning a role to a proxy admin is refused, and deleting a role writes an audit row for every user who held it. See custom roles.

Team admin member removal switch is enforced. With disable_team_admin_delete_team_user on, /team/member_delete and the bulk member delete route now refuse team admins with 403, not only the Admin UI button. See teams.

Audit rows that were missing. Creating, updating, blocking, unblocking and deleting a project, and removing members with the bulk member delete route, now write audit rows with the values before and after. /key/block and /key/unblock now store the key after the change. With store_audit_logs: true rows keep being written when the license lapses, as the audit page describes. The Audit Logs table can filter on Projects and Custom roles. See audit logs.

Client-sent tags. With reject_clientside_metadata_tags on, the gateway now also refuses tags sent in the top-level tags field and the x-spanway-tags header, not only metadata.tags, so a caller cannot reach another tier's deployments or spend another tag's budget. See tag routing.

Encryption attestation. The credential encryption check and migration now also cover personal provider connections, sign-in assertions and two-factor secrets, and a location the gateway cannot read stops the run with a 503 instead of counting as clean. A real migration writes an audit row with its counts. See credential encryption migration.

Document uploads are checked the same way however they arrive. RAG ingest now fetches a file_url itself, after the key's access is checked, and runs the downloaded document through the same checks as an upload: PDF and plain text only, no archives, office files or executables, 512 MB at most and a malware scan, with a server-generated file name. Before, a document from a URL skipped those checks and was read with no size limit. See RAG ingest.

Team guardrail submissions stay inside the team. A team can no longer submit a guardrail that runs on every request of every team, or one whose settings read a gateway environment variable with os.environ/, which would have sent a gateway secret to the team's own service. Both are refused when the team submits and again when an admin approves. See generic guardrail API.

Prompts stay out of the Presidio debug log. The Presidio guardrail's detailed debug lines named the full prompt and the masked text. They now name only the text length, the language and the entity types.

The Terraform provider keeps secrets out of its errors and never hangs. When the gateway refuses a call, the error Terraform prints now hides secret fields the same way the debug log does, so a key echoed back by the gateway no longer lands in CI output. Every call gives up after 120 seconds instead of waiting forever, which request_timeout_seconds or SPANWAY_REQUEST_TIMEOUT_SECONDS changes, and every call names itself as terraform-provider-spanway/<version> so access logs show which changes came from Terraform. See Terraform provider.

Only proxy admins change the Admin UI branding. PATCH /update/ui_theme_settings now checks that the caller is a proxy admin, like the other Admin UI settings routes, so a key that could reach the route through allowed_routes or a custom role can no longer change the logo every user sees, the sign-in page included. See UI theme.

Cloud signup can be invite only, and every signup is audited. general_settings.cloud.signup_allowlist limits Spanway Cloud signup to approved addresses or whole domains, and any other address gets 403 before anything is stored. A signup now writes an audit row on the tenant (without the email, name or address), so does the first Stripe customer, and an import on a self-hosted gateway is recorded on the organization table instead of the Cloud tenant table. The skill hub no longer shows the raw database error to visitors. See Spanway Cloud.

Unexpected database errors no longer reveal the database host. When a management route such as POST /user/new fails on a database error the gateway did not expect, the answer is now a fixed message, "The gateway hit a database error and could not finish the request. The gateway log has the cause.", instead of the raw driver text with the database host and port. Other unexpected errors keep their message, with internal hosts, file paths and secrets replaced by REDACTED. The gateway log still has the full error, see the error reference.

New features​

Start workflows from Slack, Teams, Outlook, Gmail and Google Calendar, and compare or restore saved workflow versions. A webhook trigger can now take its events straight from Slack mentions, Microsoft Teams outgoing webhook messages, Outlook mail and calendar through Microsoft Graph subscriptions, Gmail through Google Cloud Pub/Sub push and Google Calendar push channels. The gateway checks each delivery the way the service signs it (Slack's signing secret, the Teams HMAC, Graph clientState, Google's signed push token and the calendar channel token), answers Slack's and Graph's setup checks, and refuses any sender, channel, mailbox, calendar or workspace outside the trigger's new access mapping before the workflow sees it, keeping none of the refused message and recording source_denied in the fire history. The run still uses the trigger's own key, and the workflow learns who asked from payload.source.end_user_id. Slack and Teams secrets are pasted once as provider_secret, stored encrypted and replaced through POST /v1/triggers/rotate_secret. Saved workflows gain GET /v1/workflows/definitions/compare, which lists every changed setting, step and contract field between two versions, and POST /v1/workflows/definitions/versions/restore, which saves an earlier version as the new latest with an audit row naming where it came from. Both are on the Workflow Runs page. See Slack, Teams, mail and calendar triggers and compare and restore versions.

Agents can hold their own credentials for MCP servers and SaaS tools. An admin stores an API key or token for one agent, encrypted with AES-256-GCM and bound to that agent, instead of sharing a person's key or one key for every caller. An mcp_server credential is sent by the gateway in place of the server's own secret whenever that agent calls one of the server's tools, and a saas credential is handed to the agent when it trades its own identity provider token at POST /token, which now accepts the token of an identity bound autonomous agent with the credential's name as audience. Admins rotate a credential (the old secret stops at once), revoke it (its secret is erased and the agent's calls are refused instead of falling back to a shared key), set an expiry, or turn on Suspend all credentials, an agent wide kill switch for its stored credentials that leaves the agent's model access alone. Every change and every hand-out writes an audit row without the secret, spanway_agent_credential_uses_total counts uses and refusals, and master key rotation re-encrypts them. Manage them from the agent's Stored Credentials section on the Admin UI Agents page or /v1/agents/{agent_id}/credentials, see agent credentials. Only a proxy admin can bind a virtual key to an agent with agent_id (non admins now get a 403 on the key routes), so nobody can borrow an agent's credentials through their own key, and each gateway instance remembers for 30 seconds which servers an agent holds credentials for, so agents without one make no extra database call per tool call.

Agents can be bound to any OpenID Connect provider. Besides Microsoft Entra ID, an agent can now be bound to the application of any OpenID Connect provider the gateway's JWT authentication trusts, matched on the token's issuer, a chosen client id claim (azp, client_id, cid or appid) and its subject, with optional required roles and scopes. These bindings are for autonomous agents. Pick Any OpenID Connect provider in the agent's Agent Identity section, see agent identity providers.

Write action alignment checks an agent's writes against what it was asked to do. The new mcp_write_alignment guardrail runs before every MCP tool call that sends, posts, deletes, updates or otherwise changes something, and asks a judge model whether the call matches the person's latest request and the agent's declared purpose (its own description, or the purpose set on the guardrail). A call aimed at the wrong recipient, doing more than asked or following instructions hidden in content is blocked with 403 write_action_misaligned, or, with on_mismatch: require_approval, sent to the human approvals queue through the new mcp_flagged_calls approval policy match, where the approver sees why it was flagged. The check fails closed: when the judge times out, errors or answers unclearly the write is refused with 503 write_alignment_unavailable, and a flagged call that no approval policy covers is refused with 403 flagged_call_blocked. Each check is one small judge call with capped input and output and a time limit, only tools that mark themselves read only skip the check, so an unmarked write tool is never let through unchecked, and neither the log lines nor the judge call's logged copy carry the prompt or the tool arguments. Add it from the Admin UI Guardrails page (the Write Action Alignment card) or in config.yaml, see write action alignment.

Skills over MCP, and catalogue templates with trust tiers. The gateway's /mcp endpoint now serves the skills stored on the gateway through the standard MCP skills extension, so any MCP client that supports it lists your team's skills with skills/list, fetches one with skills/get and reads its files with resources/read at skill:// addresses, from the same address it already uses for tools. Each key only sees the skills it could already read through GET /v1/skills, a key whose allowed_routes leave out the skills API is refused, and every file carries a SHA-256 fingerprint and size so clients can tell when a skill changed. See skills over MCP. Every template in the MCP connector catalogue is now labelled Verified, when the service's own vendor publishes the server and Spanway checked it, or Unverified, and names its publisher. The Add MCP Server catalogue shows the label with a plain-English explanation, GET /v1/mcp/discover returns trust_tier and publisher, and its new url filter lets the Admin UI suggest the matching template when an admin types a custom server address, so that server keeps its read-only default. See trust tiers and publishers.

Budget tiers move a team to cheaper models as its budget runs down. A budget tier policy maps the frontier, balanced and economy tiers to routing presets for a team or an organization, with a starting tier and up to two shift percentages such as 75 and 90. Requests that send "model": "@tier" are served from the preset of the tier the budget allows, @tier/<name> can ask for a cheaper tier but never a dearer one, a team with its own policy is served the cheaper of its own tier and its organization's tier, and a budget reset moves the team back up. Each shift is recorded once across replicas with an audit row by system:tier_policies, the new budget_tier_shift alert (on by default), a spanway_budget_tier_shifts_total Prometheus count and a log line, and the tier shows as budget_tier=<tier> in x-spanway-routing-reason and as routing_budget_tier in the spend log. Admins assign policies on the Routing Presets page or with PUT /routing/tier_policies/{scope_type}/{scope_id}, and the new Spanway_TierPolicyTable table holds them, see budget tiers.

Run Spanway beneath your enterprise search or knowledge assistant. The MCP connector catalogue has a new enterprise search connector (enterprise_search) for the remote MCP server of a widely used enterprise search platform. Each person signs in to the search platform once with OAuth, so an assistant working through Spanway only finds the documents that person could open themselves, and the connector starts read-only with search, read and lookup tools on and the platform's own chat and action tools off until an admin enables them by name. A new guide explains how to keep the search platform for company context while Spanway handles model routing, budgets, guardrails, logs and the audit trail for the same assistants. The connector has not yet been tested end to end against a live tenant and is labelled Unverified until it has, so try it with one user before rolling it out. See Spanway beneath an enterprise search assistant.

Ask for a higher limit straight from a budget or rate limit error. When a key or a team runs out of budget or hits its requests or tokens per minute limit, the error body now carries a request_increase hint that names the access request type to file, the limit to raise and the route, so a developer knows how to ask instead of guessing who to contact. Access requests gain a Rate limit increase type for rpm_limit and tpm_limit beside the budget increase, and both can last for a set time with expires_after, after which the gateway puts the old limit back by itself unless someone changed it meanwhile, also on gateways without Redis. A newer raise on the same limit takes over from an earlier one that is still running, so the limit ends at its value from before both. Every new request sends an access_request_created alert to Slack, Microsoft Teams or the webhook destinations, naming ids and amounts but never the requester's own text, and the expiry writes an audit row. See access requests.

Dev mode, the whole gateway in one container. The new spanway-ai-dev image runs the gateway together with its own small PostgreSQL 18 database, so virtual keys, the Admin UI, spend logs and models added from the Admin UI work after three commands, with no Postgres or Redis to set up. It is built from the same compiled release as the other images, keeps its data in one named volume, refuses a DATABASE_URL and prints a not for production reminder on every start. It is meant for a laptop only, and the dev mode page lists its limits and how to move to a real deployment.

A FIPS 140-3 image. The new spanway-ai-fips image is the full gateway for teams that must use FIPS validated cryptography, such as US federal agencies, their contractors and regulated companies. All of its encryption, hashing and TLS goes through the OpenSSL FIPS provider 3.1.2, which holds FIPS 140-3 certificate #4985, FIPS mode is on by default, and algorithms the FIPS policy does not approve are refused. In FIPS mode Admin UI passwords are stored with PBKDF2-HMAC-SHA256 (checked on a worker thread, with the same cost for unknown usernames so sign-in timing does not reveal accounts), stored secrets and MCP bridge tokens are sealed with AES-256-GCM, and the gateway refuses to start when TLS certificate checks are off. spanway-container fips-check proves FIPS mode is on, and the release stops before tagging or signing when that check fails in either architecture. Passwords set on the standard image as scrypt cannot be checked in FIPS mode, so those users set their password again or use SSO. See FIPS 140-3 image.

AWS Marketplace listing groundwork, planned. The AWS Marketplace listing is not live yet, and everything it needs now ships with the gateway. Besides contract and hourly pricing, the Helm chart's marketplace mode accepts marketplace.aws.pricing=usage, which bills successful model, MCP and agent requests in units of 1,000. The gateway checks the subscription with a real zero unit MeterUsage record when a pod starts and sends one usage record per pod per hour, and an hourly record that AWS refuses because the account is no longer subscribed turns the licensed features off without a restart, but only while marketplace.aws.metering.enabled is on, which is off by default and stays off until the listing is live. Without it a usage listing turns every licensed feature off. Model usage on a marketplace install runs on your own provider keys with no Spanway markup. Three Prometheus metrics and six log lines show what was sent. The listing values file points every image the chart pulls at the AWS Marketplace registry. See AWS Marketplace (planned).

Turn the saved response cache off from the Admin UI or the API. Turn Cache Off on the Cache Settings tab of Response Cache, and DELETE /cache/settings, remove the saved cache settings so the gateway stops reusing stored answers, and each one writes an audit row with the settings before the change. Before, the only way was to delete the database row by hand, which left no record of who did it. See caching.

Delete a tool from the tool registry. Delete Tool on a tool's detail view, and DELETE /v1/tool/{tool_name}, remove a tool that is no longer used, for example after its MCP server was removed. A blocked tool cannot be deleted, so it cannot come back unblocked. A data subject export now lists the tools a person's key first used, and an erasure clears the key and app details stored on them. See tool registry.

Email events can be switched one by one, and SMTP works on port 465. The Email Notifications card on the Email Alerts tab, and GET and PATCH /email/event_settings, turn each email the gateway sends on or off, such as key created or budget reached, and every change writes an audit row with the switches before and after. SMTP_USE_SSL=true opens an implicit TLS connection, which most mail providers expect on port 465, next to the STARTTLS that SMTP_TLS already used. See email.

Spanway Cloud workspaces. A Cloud tenant can add its own provider keys so those requests bill to its own provider account, a plan can meter spend above its monthly budget as overage instead of refusing it, and a workspace can be exported and imported into a self-hosted gateway with POST /cloud/import. Admins see their workspace on the Cloud plan page, operators manage every tenant on the Tenants page, and new customers use the Cloud signup and verification pages, which now say plainly that every workspace starts on Free and a paid plan starts after checkout. See Spanway Cloud, Cloud signup, Cloud plan and Tenants.

Public model catalogue, and an AI hub that is private by default. GET /public/catalogue lists the models you published with their price, limits, latency, error rate and health, cached and readable from any website, and it is switched on from Status Page, Public surfaces without a restart. The AI hub itself now needs a sign in or a key unless enable_public_model_hub is turned on, so the list of your models is not shown to the internet by accident. See public catalogue and AI hub.

Dashboard banner and upgrade notice. A proxy admin can publish a short announcement that every dashboard user sees under the header, with a severity, and each save gets a new revision so people who dismissed the old text see the new one. Every change is audited. The dashboard can also tell admins when a newer release is out, once SPANWAY_RELEASE_CHECK_URL points at the release feed. See user banner.

Every Admin UI switch explained. The UI Settings tab now says for every switch what on and off do and which is the default, adds switches to stop organization admins from creating keys and to show full health details without a key, and the settings reference lists every one of them. See Admin Settings.

Status page. The gateway reports its own uptime: 24 hour, 7 day and 30 day availability with daily latency and throughput for every model group and provider, built from health checks and real traffic. Admins open, update and resolve incidents from the Status Page, each change written to the audit log, the gateway suggests an incident when a model group drops under the uptime threshold, and an optional /public/status page lets customers check status without a key. See status page.

Admission control and the global control plane. Admission control keeps a busy gateway responsive by letting each worker run a set number of requests at once and answering the rest with a quick 503 they can retry, and its limits can now be changed under Router Settings without a restart. A control plane gives one Admin UI for several independent gateways, with a worker picker on the sign-in page. See admission control and control plane.

Onboarding and the API Reference page. The invitation and reset link screen signs the person in after they set a password, signs out every other session of the account, applies the password policy and breach check, and sends people who need two-factor sign-in back to the sign-in page to finish it. The sign-up screen no longer shows an SSO license notice, and the API Reference tab carries a notice that it is on a draft deprecation list. See first sign-in and password resets.

Workflows. Store the runs your own agents and apps record with /v1/workflows/runs, or let the gateway run them: the workflow runner calls registered A2A and custom agents one after another or as a graph, passes earlier outputs into later steps, stops each step at its budget and timeout, and lets you cancel, resume, replay and halt runs with a kill switch. See workflow runs.

Prometheus metrics. /metrics serves request, token, spend, latency, budget, deployment and guardrail metrics for Prometheus and Grafana, needs a key by default, can run on a separate port with --prometheus_metrics_port, caps the number of series per metric, and records unknown model names as other so callers cannot add series. The full metric list is on the Prometheus page, and the Postman collection has a GET /metrics request.

Tamper-evident audit log. Every audit row is chained to the one before it with a SHA-256 hash, so an edited, deleted or inserted row is detected. Verify chain on the Audit Logs tab and GET /audit/verify recompute the chain, report the first broken row and count rows without a hash inside it, and survive retention by anchoring on the oldest surviving row. Secrets are redacted before a row is written, and rows can stream to Microsoft Sentinel, S3, Azure storage or a signed HTTPS webhook. See audit logs.

A fuller Logs page. The Request Logs tab adds Credential and public model filters, MCP tool call rows, guardrail and policy compliance cards and an error state with Retry, and the Audit Logs tab filters every stored action and more tables, gateway settings and request logs included. See Logs page.

Spanway Cloud data regions. A Cloud workspace now chooses where it is stored at signup, the United States (N. Virginia) or the European Union (Frankfurt). Each region is its own gateway with its own database, so a workspace's keys, logs and usage records stay in the region it chose. The signup page shows a Data region list when more than one region is offered, a choice of another region links to that region's signup page and stores nothing, and POST /cloud/signup takes an optional region and answers 421 with the right signup page for a region another gateway serves. The tenant row records the choice as home_region, the tenant details panel shows it, and existing tenants are recorded as us-east-1. Operators set general_settings.cloud.region and region_signup_urls, see Data regions. The multi-region reference architecture page explains how to run the gateway in two availability zones and in more than one region, with a monthly cost estimate for each layout. The EU region opens once its infrastructure is in place.

Closed Cloud workspaces are erased for good. On Spanway Cloud a daily job erases each workspace closed for longer than maximum_cloud_closed_tenant_retention_period (90 days by default), its users, end users, keys, request logs, files and teams, records every erased person as a data subject request and writes one audit row per workspace. See closed Cloud workspaces.

Data subject request intake template. The dsar_intake workflow template sorts an incoming request by type, identity check and deadline and drafts the acknowledgement and checklist for the privacy team. See workflow templates.

MCP gateway. Register MCP servers once and give agents governed access to their tools: grants per key, team and access group, per-tool allow lists, toolsets that bundle chosen tools behind one endpoint, pinned tool catalogues that raise an mcp_pinned_tools_changed alert when an upstream changes, the semantic tool filter and tool search, OpenAPI specs turned into tools, AWS SigV4 servers, the /mcp-rest REST bridge for scripts, a review queue for servers teams submit, live session listing and disconnect, the elicitation relay and the mcp_security and mcp_jwt_signer guardrails. See MCP gateway.

MCP OAuth and personal credentials. The gateway signs in to OAuth MCP servers for each person, refreshes their tokens and keeps them encrypted, runs its own OAuth authorization server so OAuth-only clients connect without a key, exchanges a person's token for an upstream one, checks that a stored token belongs to the person who uses it with OAuth identity binding, and lets each person bring their own API key or fill in their own settings for a server. See MCP OAuth and per-user credentials.

Memory. A small key value store for notes an assistant should keep between sessions, with a Memory page in the Admin UI to read and correct them. Today only proxy admins can write and admin viewers can read, keys are unique across the gateway, and maximum_memory_retention_period deletes entries nobody updated for that long. The feature is on the draft deprecation list. See memory.

Run ledger. Look up any workflow run, agent run, request, trace or session id and see everything it did in time order with totals, from requests and tool calls to guardrail decisions, audit rows, eval scores and Lens spans, then download it as JSON. Agent ledgers need the agent_governance feature, and step attempts and replay lineage need workflow_history. See the run ledger and the Run Ledger page.

Agent and coding tool usage. Admins can see spend, tokens and requests per registered agent per day, export them, and see which coding tools and SDKs people use, with daily, weekly and monthly active users and per-user totals. See agent activity and user agent analytics.

A2A agent gateway. Register agents built on A2A or on a framework, discover an agent's card (including LangGraph Platform assistants), call them in A2A 0.3 or 1.0 with the gateway translating between the two, bind an agent to a Microsoft Entra application with an execution mode, stop it with a kill switch that blocks or deletes its keys and calls its webhook, and publish it to the AI hub. See A2A agents, agent identity providers and agent governance.

Skills. Create, list and delete provider skills with virtual keys, store skills on the gateway so models from any provider can use them, with optional code execution in a Docker sandbox, find skills by meaning, serve an opt-in public skills index for coding agents, and grant private Skills page plugins to keys and teams. See skills.

Decisions API. Ask a decision model typed yes or no, choice and score questions and get calibrated probabilities back, in the OpenAI Decisions format at /v1/decisions or the System One format at /v1/systemone, with the gateway translating between them, and try it on the Playground Decisions tab. See the Decisions API.

One API for every client format. The gateway serves the OpenAI chat completions, Responses, text completions and embeddings APIs, the Anthropic Messages API, Gemini generateContent and Bedrock Converse from one endpoint, so most clients only change their base URL and key. Every error now comes back in the shape that API uses, and the API reference documents that real shape with a real message for each status. See supported endpoints.

Intelligent routers. Four auto routers pick a model per request: the complexity router scores the prompt, the semantic router matches it against example utterances, the quality router maps difficulty to a quality tier you declare, and the adaptive router learns from conversations which model serves each kind of request best. LAR-1 confidence routing lets an agent's declared confidence choose the deployment type, and shadow evals try a router on a slice of live traffic before a team switches. A gateway without a license runs one router of each kind, and the auto_router license feature allows more. See auto routing, quality router, adaptive router, LAR-1 routing and shadow evals.

Media endpoints. Image generation, edits and variations, speech, transcription, video, OCR, moderation, rerank and WebRTC realtime voice all run through the gateway with virtual keys, guardrails and cost tracking per image, character, second or page. Minting a realtime client secret is audited, and a moderation deployment can now be health checked. See image generation, audio transcription, videos, OCR and realtime.

Fine-tuning jobs. Fine-tuning jobs on OpenAI and Azure OpenAI can be created, followed, paused, resumed and cancelled through the gateway, with their events and checkpoints, and Vertex AI jobs can be created. Pause and resume check who created a job, and every create, cancel, pause and resume writes an audit row. See fine-tuning.

Managed files. One upload returns a gateway file id that works with every model named at upload time, shared with the uploader's team and hidden from other teams. Upload size, extension and download limits apply, spanway_settings.require_managed_files makes gateway ids mandatory on multi-tenant gateways, and uploads and deletes are audited. See managed files.

Legal, sanctions and Cloud tenants. The legal pages are in force, and Cloud signup records the legal name, address and terms acceptance. Sanctions screening covers names, addresses and licensees, with an OFAC jurisdiction policy, a weekly SDN refresh, a review queue and report tasks, plus an optional geofence that answers HTTP 451. Cloud end users are scoped to their tenant on every auth path, and data subject requests stay within the caller's tenant. Cloud tenants get prepaid credits enforced in real time with optional auto top-up. See sanctions and Spanway Cloud.

Approvals. Human approval policies gate MCP tool calls and workflow steps. Approvers see the masked input and can approve or reject from signed links, and every request is audited when it is created, escalated, expires or is used. See human approval.

Workload identity. A workload exchanges a trusted OIDC token for a short-lived virtual key (RFC 8693), and expired workload keys are deleted after a retention window. Keys, teams and organizations can also carry allowed IP ranges. See workload identity.

Agents and workflows documentation and API reference. Every agents and workflows page, from A2A agents, custom agents and the workflow runner to triggers, approvals, environments, memory, tracing and the run ledger, now follows one shape: what the feature is for, a real scenario, numbered steps with the Admin UI clicks and a curl example, the expected result, an errors table and related links. New pages cover user agent analytics and the per agent activity reports. The agent, workflow, approval, environment, memory, trace and analytics routes carry OpenAPI summaries, plain descriptions, typed responses, error responses and realistic examples, and the stored workflow run routes now declare typed response models.

First admin setup guide. A new first admin setup page takes a new customer organization from start to finish. On a self-hosted gateway it covers getting a license from sales, choosing the master key, installing with Docker, Helm or Terraform, the first Admin UI sign-in, checking the license, single sign-on, inviting admins with the right roles and turning off the shared master key login with disable_env_credential_login. On Spanway Cloud it covers signing up, verifying the email, the first user becoming the organization admin, inviting colleagues and organization single sign-on.

Environments and workflows. Config bundles, saved workflows and approval policies are planned, approved and applied between environments, and a plan can be built exactly as committed at a Git ref, with its origin recorded. Saved workflows gain organization variables read as {{vars.name}}, sub-workflow steps, retries with dead letters and failure handlers, replay from a step, dedicated queue workers and webhook, cron, event, chat and form triggers. Read-only workflow templates install as custom agents, and a custom agent step can run its MCP tools with the triggering user's own credentials. See environments and workflows.

Tool search on chat completions and Responses. A key with mcp_tool_search_enabled now gets the mcp_tool_search and mcp_tool_call virtual tools on /chat/completions and /v1/responses instead of the whole MCP catalogue, the gateway runs the search and the call for up to five rounds, and a key or team can override the global top_k and similarity_threshold on every surface. A team's switch covers its keys, and a key without its own override uses the team's. See tool filtering and search.

Custom agents and server tools. Custom agents are hosted by the gateway, with a kill switch that stops an agent at the gateway and server tools such as an address-pinned web fetch that keys and teams are granted explicitly. Tool results pass through the same guardrails as model calls. See custom agents.

Server tools and interception for any model. A key granted server tools can use them on chat completions, listed by GET /v1/server_tools with the tools that key may call. Web search interception lets models that have no web search of their own, such as Bedrock models, search through a registered search tool, turned on from the Web Search Interception tab of Admin Settings or with callbacks: ["websearch_interception"], and code interpreter interception runs model-written code in an external sandbox the gateway creates for each request, or for each session of one key, never on the gateway host. See server tools, web search interception and code interpreter interception.

PII masking and secret detection. The Presidio guardrail masks or blocks personal data per entity type, can put the real values back in the reply with output_parse_pii, analyzes long texts in chunks, and takes a per request language and entity list. The secret detection guardrail, which needs an Enterprise license, redacts credentials pasted into prompts, system prompts, instructions and tool call arguments, and a key can opt out with permissions.hide_secrets: false. See PII masking and secret detection.

Custom code guardrails and your own guardrail service. A proxy admin can write a guardrail as a short function that runs in a sandbox on the gateway and test it with Run Test before saving it, or connect any service through the generic guardrail API. Teams can submit their own service for review, and it runs only after an admin approves it and attaches it to the team. See custom code guardrails and generic guardrail API.

Admin MCP server. The hosted admin MCP server gains decision tools alongside its management catalogue. A reviewer claims, reads, labels and skips human review items and lists the queues assigned to them, admins read queues, items and calibration, a team admin approves or rejects access requests for a team they administer, a proxy admin attaches and detaches guardrail policies, and any caller lists routing presets and their versions before selecting one for a key, with team admins able to roll a team preset back. Every audit row of a tool call now names the MCP client behind it, taken from the mcp_client_id_header header with its mcp_allowed_clients alias, or from the User-Agent. See the admin MCP server.

Evals. Datasets can be generated from pasted documents, built from production logs and kept as immutable versions. New scorers cover G-Eval against an expected answer and over conversations, a DAG decision graph, MCP use and task completion, agent steps, plans, arguments and tool use, conversation knowledge retention, role adherence and turn faithfulness, and safety checks for advice, misuse, PII leakage and role violation. The new run form can pin an earlier dataset version and start a logged run that waits for outputs submitted by an outside system, and the run detail shows both. Runs can be scheduled with regression alerts, gate CI, score live traffic and go to human review queues, and red team results map onto the OWASP LLM 2025, OWASP Agentic 2026, NIST AI RMF, MITRE ATLAS and EU AI Act categories. Every red team attack and every run carries a CVSS score with a severity word, shown in the Admin UI with a plain explanation, and the vulnerability and attack breakdowns list the weakest first. The score weighs what the vulnerability type exposes and how easy the attack is, so a leaked credential or customer record through an easy attack rates critical while a rude reply stays medium, and every run and vulnerability type also carries its worst finding. The compliance report checks under the EU AI Act, SOC 2 and ISO/IEC 27001 regimes that a red team run completed within the last 90 days, withstood at least one attack and that its worst finding is rated below high. See evals and red team frameworks and severity.

More eval tools. Teams can register their own remote scorers that receive signed requests, compare runs side by side, try prompts in the eval playground, record ratings from their app's users with POST /eval/feedback, and build datasets from whole sessions. CI keys run evals from a pull request with spanwayctl evals gate and spanwayctl evals experiment run. Teams that keep their graders at their model provider can send the provider's evals API through the gateway at /v1/evals. See evals and gating pull requests.

Evals as code. Evals can live in your repository next to the prompts they test. spanwayctl evals run runs several eval spec files at once and, with --watch, runs them again every time you save a spec or a prompt file, so you see straight away whether an edit made answers worse. The Python client now carries a pytest plugin: a test asks for the spanway_evals fixture, the gateway runs and judges the eval, and the test fails on a failed verdict, which fails the pull request check on a regression. Both work with a CI key and the existing verdict route. See evals as code.

Compliance evidence for auditors. Proxy admins generate a checksummed evidence bundle for an ISO/IEC 42001 or SOC 2 assessment, with the control map, the compliance report, the audit log summary, retention and access settings, guardrail coverage and eval and red team results, and download it as JSON or a printable report. compliance_evidence_interval stores a fresh bundle on a schedule. See compliance evidence export.

Lens, with datasets and evals in beta. Lens stores the traces your agents send, flags runs that look wrong, groups problems into findings, and turns real runs into datasets and evals. Home, Agents, Traces, Findings and Settings work on Starter, and Datasets and Evals need a license with the evals feature. Every change made through Lens is written to the audit log. See Lens.

Code graph. The code graph indexes Python, TypeScript, Java, Go and C# hosted on GitHub or GitLab, including self-managed GitLab, and serves a hybrid search_code mode through the spanway_code MCP server. See code graph.

Routing. Versioned routing presets are referenced as @preset/name, requests can route by service tier with :nitro, :floor and service_tier, family-latest aliases such as claude-sonnet-latest resolve to the newest model in the family, and router settings profiles group the router switches. Region families enforce required_model_region on every request, unpriced models are recorded as unpriced and gated on budgets, and a zero-completion insurance policy stops charging for empty completions. See routing presets and data policy.

Provider preferences. A request, key, team or routing preset can say which providers may serve it and how to choose between them, with only, ignore, order, sort by price, latency, throughput or reliability, max_price caps, require_parameters, quantizations and enforce_distillable_text. Keys and teams carry default preferences that only a proxy admin can set, and router_settings.use_curated_data_terms (off by default) lets data policy filters trust the curated provider terms. See provider preferences.

Fit to context. A conversation too long for the chosen model can now be trimmed instead of failing. Turned on per request, key, team, deployment or for the whole gateway with context_fit (off by default), it drops the oldest middle turns so the request fits, and the answer says so in x-spanway-context-fit and x-spanway-context-fit-dropped-messages. A key or team saved with a value the gateway cannot use is refused with a 400. See fit to context.

Structured output repair. When a model asked for JSON sends back broken JSON, the gateway can fix it locally or ask the model again, set with spanway_settings.structured_output_repair (off by default) and structured_output_max_retries (1 by default, up to 5), or per key, team, deployment and request. Each retry is a billed call. Checked replies carry x-spanway-structured-output and x-spanway-structured-output-attempts, and a reply that never matches fails with 422 StructuredOutputRepairError. See structured output repair.

Shadow evals. Before moving traffic onto an auto router, an admin can copy a small share of a key's, team's or user's live requests through up to four routers, let a judge model compare the answers blind, and read who won by tier, model and target, with a dollar budget per target and a regression check for routers already in use. Users only ever get the real answer, and starting or stopping a job writes an audit row. See shadow evals.

Routing decision headers. Every response now says why it was routed where it was. x-spanway-routing-reason names the strategy, the routing preset, the auto router tier and cause, and the error that caused the last retry or fallback, and x-spanway-attempts counts the provider calls the request took. A request that sends x-spanway-routing-skips: true gets the list of candidate deployments the router skipped with the reason for each, such as cooldown, data policy, context window or a provider budget filter (reported as callback), and the same list is stored with the request's spend log and shown in the Logs drawer. See routing decision headers.

Rate limits per scope and standard 429 headers. Concurrency caps now work for whole teams, users, team members, customers and per model on a key or a team, not only for a single key, so one busy team can no longer hold every running slot. Every 429 from the per-minute, per-day, concurrency, dynamic, MCP and batch limits carries RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, Retry-After and x-spanway-rate-limited-by, which names the limit that was hit, and the session iteration and session budget limits name themselves in x-spanway-rate-limited-by. MCP tool calls can be capped per tool for a key or a team, and the saturation-aware dynamic rate limiter gains a per team borrow cap, which a team's own value can lower but never raise, and an option to split a busy priority pool evenly between the teams using it across every gateway instance. See rate limits.

Audit mode for policies, policy replay and the request inspector. A policy attachment can now run in audit mode. The policy's guardrails check every matching request and record what they would have blocked or redacted, tagged with audit_policy in the request's guardrail information, while the request and the response pass through unchanged. One click on the Attachments tab, or PUT /policies/attachments/{attachment_id}/mode, switches it to enforce. POST /policies/simulate replays the newest stored requests of a team or key through a policy and counts per guardrail how many it would have blocked, redacted or passed, and the Policy Simulator tab has a Replay recent traffic section for it. POST /v1/inspect takes a chat completion body and answers with the model it would use, the deployments and why any are skipped, the matching policies and each guardrail's verdict and latency, the cache status, the estimated cost and the budgets and limits it would count against, without calling a model or moving a counter. Replay can pick a stored draft version by its policy_id. Audit mode never weakens enforcement, so a guardrail enforced through a key, team, deployment, request body or default attachment keeps blocking next to an audit attachment. The inspector runs guardrails and checks the cache only for models the key may call, allows each key 60 dry runs a minute (INSPECT_RPM_LIMIT), shows guardrail detail to proxy admins only and writes an audit row per call without the messages. See audit mode and policy replay and the request inspector.

Full dry run in the Policy Simulator. Proxy admins can now see what any key's request would do without holding that key. On /ui/policies, the Policy Simulator tab has a Full dry run mode: pick a key by its alias or id, a model, the messages and optional tags, and the page shows the resolved model, whether the key may call it, the deployments and why any are skipped, the matching policies, each guardrail's verdict, the cache status, the estimated tokens and cost, and the budgets and limits. Through the API the same dry run is POST /v1/inspect with inspect_as_key set to the key id. Only proxy admins may use it, everyone else gets 403, the dry run counts against the admin's own 60 dry runs a minute, a blocked or expired key comes back as not allowed with the reason, and each one writes an audit row naming the admin and the key, never the messages. As before, no model is called and no spend or counter changes. See the request inspector.

Providers. IONOS AI Model Hub and STACKIT AI Model Serving are new providers. Moderations route through the router with Mistral, Azure AI Content Safety and Bedrock Guardrails as native moderation models. See IONOS and STACKIT.

Clients. The typed spanway-client Python package joins the @spanway/client TypeScript client, and both cover chat, responses, embeddings, rerank, evals, billing, Cloud, agents and the key, team, user, organization, model, budget, guardrail and MCP server routes. The TypeScript client also has helpers for messages, moderations, images and audio, which Python code calls with an Endpoint it describes itself. See the Python client and the TypeScript client.

Observability. The OpenTelemetry integration moved to the 1.45 SDK and sends JSON spans and the AgentOps token through its HTTP client. Every alert type can go to signed Standard Webhooks endpoints, and the Admin UI offers fourteen more logging destinations, most of them with a Test action. See OpenTelemetry.

MCP lazy authentication. On the aggregate /mcp endpoint and on toolset endpoints, a server whose per-user OAuth token or bring your own key secret is missing now lists a {server}-connect tool instead of disappearing from the listing. Calling it returns the link to the gateway connect page, where OAuth servers sign in and bring your own key servers now accept and remove the user's key, the per-server outcome in _meta carries the same connect_url, and a pinned catalogue, or the local catalogue of a server built from an OpenAPI specification, is listed alongside under the caller's permissions. See lazy authentication.

Admin UI. New pages cover customers, routing presets, the code graph, the sanctions tab, the workflow screens for retries, replay, dead letters, approvals, templates and workers, organization variables, server tool grants and spend reports from Usage. The sidebar is translated through a new i18n foundation, key forms lint for accessibility, destructive actions ask for confirmation and say what they remove, every licensed screen is locked on its own license feature, the Skills page gained a Claude Code gateway card that switches the gateway protocol on and edits its managed settings without a config file change, and Logging and Alerts gained a Vantage Cost Export tab that connects, previews, runs and removes the Vantage export next to the CloudZero one. Provider budgets can be added, edited and deleted from the Budgets page, which also says which saved budgets the running gateway has not applied yet. The Create Organization dialog carries every budget field the gateway enforces for an organization: an existing budget to share, a daily token limit, per-model budgets and per-model TPM and RPM limits. The organization Settings tab edits the per-model budgets and per-model TPM and RPM limits of an existing organization. A soft budget and a parallel request cap are not offered for organizations, because the gateway stores them but does not act on them there. The UI Theme page uploads a logo file for light and dark mode, the gateway stores it in its database so every replica serves it after restarts and redeploys, serves it from /get/ui_logo/<name>, and fills in the saved logo URL for you. See the Admin UI and the UI Theme page.

Models, providers and credentials documentation. Every page in this group now follows the same shape, what the feature is for, a scenario, numbered steps with the Admin UI clicks and a curl example, the expected result, an errors table and related links, and three pages are new: personal provider connections, the credential encryption migration and the task type breakdown. The model, credential, model insights and public routes carry a summary, a plain description, typed responses, error responses and an example in the OpenAPI document. See personal provider connections, credential encryption migration and task type breakdown.

Deployment. The componentised Helm chart gains a marketplace mode that prepares for a planned AWS Marketplace listing for Amazon EKS. No marketplace listing is available yet, so the mode stays off and the chart is licensed with a Spanway license key. Once the listing ships, the mode will check the entitlement at startup through RegisterUsage and License Manager over IRSA, map it onto license features and fail closed when it cannot be verified. Both charts read SPANWAY_LICENSE from a named Secret and run workflow queue workers, the Terraform modules for AWS, GCP and Azure add the same workers, and the Terraform provider gains write-only secret attributes so secrets stay out of state. The website and the docs ship with their own Terraform hosting stacks. Azure and Google Cloud marketplace listings are planned after the AWS one. See AWS Marketplace (planned), Helm and Terraform.

More admin actions in the Admin UI. Several things that needed curl before can now be done from the dashboard. The Vector Stores, Search Tools and MCP Servers pages gained an access defaults card where a proxy admin decides whether a vector store or search tool that nobody granted is denied by default, whether router fallbacks respect model access, what non-admin users see on the MCP Servers page and which MCP protocol revisions the gateway offers. The Response Cache page gained a Cache Management tab that shows Redis server statistics, deletes chosen cache keys and flushes the whole cache after a confirmation, with the delete and flush actions shown to proxy admins only. A team's Settings tab lists the logging callbacks in effect, removes one callback or turns off all team logging after a confirmation. Projects can be deleted from the Projects table and the project page. The key create and edit forms gained vector store index permissions, denied pass-through routes, per MCP server request limits, a key config and an existing budget, the team forms gained the same index permissions, denied pass-through routes and MCP limits plus file and batch output expiry, and the customer form gained an existing budget, rate limits, a daily token limit, max parallel requests, per-model budgets and the first reset date. Every navigation item now opens its own Admin UI docs page from the header link instead of the general guide. See the Response Cache page, the Teams page and the Vector Stores page.

Response cache flush and audit. POST /cache/flushall now removes only cached responses, so rate limit and spend counters, pod locks and other data on the same Redis survive a flush, and the answer reports deleted_entries. Key delete and flush write an audit row with who did it and how much was removed, never the keys, and an uploaded Admin UI logo writes one too. POST /cache/delete answers 422 when keys is missing or empty and 400 for a cache that is not Redis, the cache routes document their 401 and 403 answers, and the Network allowlists card explains what each control does when on and off. See the Response Cache page and audit logs.

Admin routes in the public API. GET /config/list, POST /config/field/update, POST /config/field/delete, GET /alerting/settings and GET /spend/logs/ui are now part of the published API reference and the generated clients, with typed request and response schemas, so scripts can read and change gateway settings and page through spend logs the same way the dashboard does. POST /config/field/update now names the bad entry when a trusted proxy range is not an IP address or CIDR range, and clearing an SSRF setting from the dashboard puts its default back into effect at once on the gateway that served the change and within proxy_config_reload_interval_seconds on every other replica. POST /config/field/delete now answers with the setting it reset instead of the whole stored settings row, so no other stored setting leaves the gateway in its answer. The Vantage export refuses a base URL that is not public https, and changing the base URL needs the API key and integration token again in the same request. See the API reference and cost exports.

Security settings in the Admin UI. The Security Settings tab of Admin Settings gained two cards: Sign-in protection edits the password policy, the SSO-only sign-in switch and the failed sign-in lockout with its per-address overrides, and Network allowlists edits the trusted reverse proxy ranges, the egress allowlist and the user, provider and deployment URL host lists. Fields set in config.yaml are shown read only, saved values are marked, and /config/list now returns these fields. See sign-in security settings and air-gapped deployments.

Background health checks in the Admin UI. The Health Status tab of Models + Endpoints gained a Background health checks card. A proxy admin turns the background loop on or off, sets the interval and the number of deployments checked at once, limits the loop to named model groups, skips opted-out deployments and hides unhealthy models from /models, all without a config file change. Rows the config file owns are shown locked and admin viewers see the card read-only. See health checks.

Public surfaces, key lifetime and per-user MCP keys in the Admin UI. The Status Page gained a Public surfaces section that switches the public catalogue, the public status endpoint and leaked key reports on or off and sets their cache lifetimes, aggregation window, incident threshold and per-address report limit. The Key hygiene page gained a Policy card where a proxy admin sets the unused period, the rotation age, the maximum key lifetime, the expiry email days and unused key auto-expiry without a config file change, and the Create Organization dialog and the organization Settings tab gained a Maximum key lifetime field stored in the organization metadata. The BYOK switch on the MCP server add and edit forms now covers HTTP and SSE servers as well as OpenAPI ones, so any API key or bearer token server can collect each user's own key through the connect page. /config/list now returns compromised_key_reports, compromised_key_reports_per_minute and key_hygiene. See the Status Page page, leaked keys and key expiry, the Key Hygiene page and lazy authentication.

Router settings in the Admin UI. The Loadbalancing tab of Router Settings now lists every router setting in the gateway catalogue, not only the ones already set, and the catalogue gained default fallbacks, the allowed fails policy, model group retry policies, provider budgets, weighted failover, deployment affinity and its TTL, health check routing with its staleness and transient error controls, the tag routing prefix and the pre-call checks, which are picked with checkboxes. Numbers, JSON, lists and text are saved in the type the gateway expects. See Router Settings.

SSO readiness in the Admin UI. The SSO Settings tab of Admin Settings gained an SSO readiness card. Check readiness runs the gateway's GET /sso/readiness check and shows whether the active provider is ready, which values are still missing, or that no SSO client id is loaded. See SSO for the Admin UI.

Internal Users in the Admin UI. Bulk Invite Users sends every valid CSV row in one POST /management/v1/users/bulk request and reports each row's own outcome, and selection mode gained Delete Selected, which removes the checked users in one POST /management/v1/users/bulk_delete request after a typed confirmation. The Invite User dialog takes a budget, reset period, TPM, RPM and parallel request limits and can create a personal key shown once with the invitation, and the user edit form gained the parallel request cap and policies, which GET /v2/user/info now returns. See Internal Users.

Website assistant. A chat box for your public website can answer visitor questions from your own published docs and website pages, with numbered links to its sources. It is off by default, keeps no conversation on the server, limits every visitor address, caps the whole gateway per day, and spends through one dedicated virtual key whose budget is the hard limit. It needs trusted_proxy_ranges so it can tell visitors apart behind a load balancer and refuses to answer without it, it asks the gateway to keep every visitor message out of the logs, and long chats keep working because the oldest turns are dropped before the conversation token outgrows the request limit. Prices only come from the live model catalogue, which the assistant can only read while public_catalogue is on, and answers without a valid source become a decline with a sales or support card. See website assistant.

Brand. Spanway has a new bridge mark and the tagline "Bridge to any model" across the Admin UI, Lens, emails, packages and docs.

Docs. The API reference, the deploy READMEs, the OpenTelemetry page and these release notes were refreshed for this release, and example commands read the key from SPANWAY_API_KEY instead of a placeholder. The logging, alerting, email, audit log and observability integration pages now follow one shape, with a scenario, numbered Admin UI and curl steps, the expected result, an errors section and a logs section, and three new pages, troubleshooting, the error reference and the log reference, take you from a symptom to the error, the log line and the fix. The callback, audit log, email event and run ledger routes carry summaries, plain descriptions, typed error responses and examples in the API reference. The guardrails, policies and prompts pages follow the same shape, two new pages cover validating and simulating policies and prompt versions and prompt tests, and every guardrail, policy and prompt route carries a summary, a plain description, typed error responses and a realistic example, which the API reference now uses as its curl example.

How-to docs for every feature group. The evals, compliance, code graph and cloud pages, the developer tools and client pages, the deployment pages, the Lens pages, the search provider pages and the Admin UI tour pages now open with a real scenario, numbered steps that pair the Admin UI clicks with a curl command, and the expected result, and close with an errors table and related links. The error reference lists every gateway error type and the exception classes a caller can receive, with the status and type each one answers with, and tests fail when a gateway error type has no entry or a documented status or type no longer matches the code. The log reference says what is never logged and how to turn on debug logging for one investigation. Every eval, compliance and code graph route declares its error responses in the API reference, the main eval create routes carry request examples, the API reference no longer contains references that point nowhere for recursive request bodies, and the Python client decodes budget, guardrail and model responses into typed models.

Every API operation explained. Every operation in the API reference now says in plain words what it is for and who may call it, shows a realistic example of what to send and what comes back, and lists the errors it can return with what each one means. The chat completions, embeddings and Responses API bodies gained a request example, the .prompt converter lists its file field, and answers that send audio, files, pages or event streams no longer list an empty JSON body. The generated Python and TypeScript clients and the Postman collection carry the same descriptions and examples. A check now fails when a new route ships without a description on any method, or without an example for its request body or its JSON answer.

Version in the docs header. Every docs page shows the current Spanway version next to the site link, and it links to these release notes. The version comes from the product's own version number, so it changes with each release.

Database tables. A new page maps every table in the gateway database for privacy reviews and audits. For each group of tables it says in plain words what the tables hold, whether they can hold prompts or personal data, how long rows are kept and how to purge them, and which part of the gateway writes them. A test fails whenever a table in the schema is missing from the page. See database tables.

SCIM provisioning. Your identity provider, such as Okta or Microsoft Entra ID, can create, update and deactivate gateway users and teams through /scim/v2. A deactivated person's keys stop working at once and come back when they are reactivated, organization single sign-on mints SCIM tokens that only see their own organization, a create request for an email that already has an account is linked to that account instead of making a second one, and the placeholder routes repair rows an earlier release created for unmatched group members. Every change is audited under the SCIM token that made it. See SCIM provisioning.

Access groups. One access group bundles models, MCP servers and agents and is attached to teams and keys, so a team gets a whole set of tools in one step. Responses name the teams, keys, servers and agents a group refers to, attaching or detaching a group updates the teams, keys and agents involved, and renaming or deleting a model keeps the groups' model lists in step. See access groups.

Sign-in and identity. Each organization can sign its people in through its own identity provider, over OIDC or SAML, once it proves it owns its email domain with a DNS record, and it gets its own SCIM token, see organization SSO. The Admin UI can also sign everyone in through SAML, and spanwayctl login --pkce signs in through the browser and renews its token on its own, see CLI sign-in. Services that already hold a JWT from your identity provider can call the gateway with it, each issuer with its own keys, audience and claim mappings, and a JWT key mapping makes one client behave exactly like a virtual key, see JWT auth. Opaque OAuth2 tokens are checked against your provider's introspection endpoint, and a trusted reverse proxy can pass the signed-in user in headers, see OAuth2 auth. A CI job or cloud workload can trade its OIDC token for a short lived virtual key, see workload identity.

IP allowlist switch. POST /disable/allowed_ips and the Turn off IP allowlist button on the Allowed IPs dialog allow every address again in one step, for when the list locked out an address that must stay allowed, see allow lists.

Projects. A project is a smaller box inside a team, with its own budget, model list, per-model rate limits and guardrails, so one application's spend and limits stay separate from the rest of the team. Admins create and edit projects on the Projects page once [BETA] Enable Projects is on, put keys into a project with the Project field on the key form, and block or delete a project from its page. Team admins can manage projects in their teams when projects is in team_admin_editable_team_fields, and general_settings.enforce_project_model_quota makes a per-model limit mandatory. See projects.

Team membership management. Team admins and proxy admins can add and remove members one at a time or in bulk with POST /management/v1/teams/{team_id}/members/bulk_delete and bulk_update, reset one member's spend or budget with POST /team/{team_id}/member/{user_id}/reset_spend and reset_budget, and a member can read their own membership with GET /team/{team_id}/members/me. Proxy admins choose which team settings team admins may change with team_admin_editable_team_fields. See teams.

Cost Optimization page and prompt compression. One page under Observability adds up what prompt compression, prompt caching and auto routers saved, in dollars and over time. Auto routers are measured against the premium model the traffic would otherwise have needed, the Prompt Caching tab lists requests with what caching saved on each and which keys send large prompts without caching, and POST /cost/predict-cache estimates what staying on or switching a deployment does to cache cost. The Headroom guardrail compresses long prompts and tool results before they reach the model, and a built-in compression pass does the same for Anthropic Messages requests with no outside service. See cost optimization.

Model Leaderboard. The Model Leaderboard page and GET /model-insights rank the model groups the whole gateway used by requests, spend or tokens, day by day. Tag requests with task:<type> to see which model leads each kind of work on GET /model-insights/tasks. See model leaderboard.

Shared budgets and budget windows. A budget created once on the Budgets page, or with /budget/new, can be attached by id to customers, tags, organizations and projects, and GET /management/v1/budgets lists budgets with paging, sorting and filters. Keys and teams can carry several budget windows at once, such as a daily and a monthly cap, a per model budget can fall back to another model when it is spent, and tpd_limit caps the tokens batch jobs use per day. See shared budgets and budget windows.

Cost tracking and custom pricing. Record negotiated provider discounts and add margins for chargeback on the Cost Tracking page, refuse requests for models without a price with two switches, estimate costs before launch with the pricing calculator, and find unpriced traffic with the spanway_zero_cost_requests_total counter. Custom prices cover per token, per character, per pixel, per second, service tiers, request size tiers and off-peak hours, the price map can be reloaded on a schedule and pinned with SPANWAY_MODEL_COST_MAP_SHA256, and every discount, margin and price map change is audited. See custom pricing.

Personal provider connections and AES-256-GCM. Each developer can connect their own GitHub Copilot seat to a per-user credential, and connects and disconnects are audited without the token. general_settings.encryption_algorithm: aes-256-gcm encrypts newly stored secrets with AES-256-GCM, and the migration in the Admin UI, the API or spanwayctl moves existing ones. See personal provider connections.

Spend reports, capture rate and exports. The key, user, team, organization and gateway spend report routes need a license with the spend_reports feature. The free spend capture rate check compares recorded OpenAI spend with OpenAI's bill on the Usage page and every day, and daily activity downloads, CloudZero and Vantage exports write exported audit rows. See spend reports, spend capture rate and spend logs and exports.

Every catalogue provider in Add Model. The Provider list on the Add Model tab now holds every provider in the gateway's model catalogue, so a provider the catalogue knows is never missing from the dashboard. A provider without its own setup form asks for an API key and an optional API base, and the model list shows exactly that provider's catalogue models. A model the catalogue does not list yet can still be typed by name. Web search providers stay on the Search Tools page, because they cannot be called as models. See which providers and models the form lists.

Provider prompt caching and the fallback API. A proxy admin can turn on automatic prompt caching for Claude on Anthropic, AWS Bedrock, Vertex AI and Azure AI for every request, or per key with Enable Prompt Caching, choose a 5 minute or 1 hour cache lifetime, move OpenAI system messages first so OpenAI's own cache matches more often, keep follow-up turns on the deployment that holds the cache with the prompt_caching pre-call check, and see what caching saved per request on the Cost Optimization page. POST, GET and DELETE /fallback set, read and remove one model's fallbacks from a script, with an audit row for every change. See prompt caching, fallback management and reliability.

Batches, assistants, containers, web search and pass-through routes. The OpenAI batch and files APIs work across providers with input file checks (size, record count, uploads per day and line shape) before anything reaches the provider, and models without a provider batch API, such as self-hosted vLLM, run their batches inside the gateway. Completed batches are costed against the key, team and user that created them. The Assistants API and code interpreter containers pass through to OpenAI and Azure OpenAI, with each container and its files kept to the user, team or key that created it. /v1/search gives every key one search format across twenty providers, with per key and team grants and search_tool_deny_by_default, and search tool provider keys are stored encrypted on the Search Tools page. Built-in provider pass-through routes, including Deepgram live transcription, and custom pass-through endpoints carry allowed and denied route lists per key and team, a per team listing, field-level guardrail targeting and an environment variable allowlist for header secrets. Creating and cancelling batches, creating and deleting containers, container files and assistants, and every pass-through endpoint change now write audit rows. See batches, assistants, containers, search and pass-through endpoints.

Guardrails Monitor. The Guardrails Monitor page under Observability shows how often each guardrail was evaluated, passed, blocked and flagged per day, its fail rate trend, the provider usage units it consumed and their cost by counter, team and key, and the requests it evaluated with the outcome and time of each. See Guardrails Monitor.

Website assistant on the website. The production website build now turns on the assistant chat button and points it at the Spanway gateway, so visitors can ask questions and get answers with links to the pages they came from. The setting lives in website/.env.production, and the gateway side stays off until general_settings.public_assistant is switched on.

Third-party guardrail providers. More than 60 guardrail providers plug into the gateway, from Lakera, AWS Bedrock Guardrails, Google Model Armor, Pangea and Zscaler to the built-in Presidio masking and secret detection, so every application gets the same checks without a code change. The guardrail providers page now explains in plain words how to add one in the Admin UI or over the API, lists the settings every provider shares with their defaults, which providers appear in the Admin UI form, and the environment variables each provider reads, and describes the errors and log lines a provider failure produces.

Tool registry and tool policies. The gateway lists every tool that requests offer, models call or MCP clients use, and admins mark each tool trusted, untrusted or blocked, for everyone or for one team or key, so a prompt injection that arrives through one tool's output cannot drive a sensitive tool. See tool registry and the Tool Policies page, which now explains each policy in plain words and asks before blocking a tool for everyone.

Prompt management. Prompt templates live on the gateway with numbered versions per environment, so a content lead can change the wording in the Prompt Studio and the application picks it up on its next request without a deploy. A key's or team's prompts list now limits which prompts it can use, a remote prompt service's key is stored encrypted and shown masked, and saving a change never overwrites an earlier version. See prompt management and prompt versions.

MCP connector catalogue. The Add MCP Server dialog offers 31 maintained connectors, such as GitLab, Atlassian, Azure DevOps and Slack. Every connector starts read-only, and an admin turns on write tools one by one under Tool access or with PUT /v1/mcp/server/{server_id}/tool-policy, with each change in the audit log. Existing servers at a catalogue endpoint become read-only after the upgrade, and connectors without a maintained server were removed. See connector catalogue.

Hosted admin MCP server. With SPANWAY_ENABLE_ADMIN_MCP on, an assistant such as Claude Code can manage the gateway at /admin/mcp for the person who signed it in, through OAuth sign-in or a pasted key. Each tool has a minimum role, only proxy admins may connect unless SPANWAY_ADMIN_MCP_MIN_ROLE opens it to lower roles, team and organization allowed_ips apply to OAuth sessions, GET /v1/mcp/admin_server reports its state, and the Connect tab card sets a client up. See admin MCP server.

App traces through the gateway and provider attempts. Apps can now send their OpenTelemetry traces and logs to the gateway's POST /v1/traces and POST /v1/logs with the same virtual key they use for model calls, instead of getting 410. The gateway stores the spans in Lens under the key's team and user, refuses uploads over OTLP_MAX_BODY_BYTES (16 MiB by default, before and after gzip), and the app's spans join the gateway's model calls in one trace through the traceparent header. Every request that retried or fell back now records each provider attempt with its deployment, outcome, status code, error class and time in the request's provider_attempts metadata, the Admin UI Logs drawer draws them as a Provider attempts waterfall, and OpenTelemetry version 2 exports one child span per attempt. Only the gateway writes that trail, a client value in the request metadata is removed, and uploads past the concurrency limit are refused before the gateway reads them. See app traces and provider attempts.

Logging stays off the request path under load. When a logging destination falls behind, the gateway now protects live requests instead of piling up work. Past 80 percent of the logging queue it enters degraded mode and sends only one record in ten to trace and analytics destinations, while spend, budgets, rate limits, the audit log, billing and security exports and the Admin UI Logs page keep every record. A full queue never drops spend. A new record then runs at once for usage accounting only instead of the old emergency drain and delayed retries, and OpenTelemetry still closes the request span of a sampled request so its child spans keep their parent, so the earlier LOGGING_WORKER_CLEAR_PERCENTAGE and LOGGING_WORKER_AGGRESSIVE_CLEAR_COOLDOWN_SECONDS variables are no longer read. New spanway_logging_* Prometheus metrics show the queue, and the new logging_degraded alert, on by default and listed as Logging Overload in the Admin UI, tells you when it happens. Every pull request now also runs a per endpoint overhead benchmark for chat completions, Messages, Responses and embeddings, and fails when the latency the gateway adds grows past the published budget, including while a logging destination is deliberately slow. See logging under load.

Who saw what, and who took a copy. The gateway now records reads of sensitive data, not just changes. Opening a request's prompt and response writes a viewed row in the audit log with the person, their role, address and browser, and an admin can also record every page of the request list and every Usage report with one switch in the new Data access auditing card under Settings > Admin Settings > Security Settings. A custom role can deny logs.prompts, logs.responses or logs.tool_arguments so that its holders see [hidden by your role] where the conversation would be, and a role that grants logs.reveal can show the content of one request after typing a reason, which is written to the audit log as a revealed row before anything is shown. The same role also hides the copies of that content kept in the log's metadata, such as guardrail inputs, MCP tool arguments and results and vector store queries, on every route that returns logs, including the request list, the session view and the guardrail Logs tab, and a reveal whose audit row cannot be stored is refused with a 503. The new Export Ledger tab on the Logs page and GET /audit/exports list every usage, run ledger, data subject and invoice export with who, when, filters, row count and whether the download finished. See data access governance.

Alerts inbox, usage baselines and live deployment speed. The gateway now learns what normal usage looks like for every user and every virtual key, from the daily usage it already records, and every hour flags requests, tokens, spend or error rate that are far above that user's or key's own usual level, for example a leaked key or a job stuck in a retry loop. Each flag lands in the new Alerts Inbox page under Observability, where a proxy admin acknowledges it, assigns an owner and resolves it with a note, and every step writes an audit row. Scan now runs the check straight away, the thresholds sit under general_settings.usage_anomalies, and resolved alerts are deleted after 90 days. The Model Leaderboard page gains a Live deployment speed card with latency, time to first token, total time, tokens per second and provider 429 counts per deployment over the last 30 minutes, also served on GET /health/deployments, and Prometheus gains spanway_deployment_rate_limited_responses for provider 429s per deployment. See alerts inbox.

Online eval regressions in the alerts inbox. When an online eval rule's pass rate on sampled live traffic falls under its minimum or drops sharply against the window before, each regressed model group and scorer now also lands in Alerts Inbox as an eval_regression alert, with the pass rate now, the pass rate before and the threshold, whether or not Slack, email or webhook alerting is set up. The team acknowledges, assigns and resolves it like a usage alert, a lower pass rate later the same day updates the same alert instead of adding another, each new alert writes an audit row by online_eval_alerts, the inbox alert is kept even when the Slack, email or webhook send fails, one rule that cannot be checked no longer stops the others, and the rule editor explains every alert setting in plain words. See online evals and regression alerts.

VS Code extension. The gateway's chat models appear in the VS Code chat model picker with their prices and context limits, and every chat turn goes through the gateway's routing, guardrails, budgets and logs. Install spanway-vscode.vsix from the release page and connect it with a virtual key, see VS Code extension.

Admin UI Home, Playground and Chat. The Home page shows your usage over the last 7 days, the latest launches, a model leaderboard and blog updates. The Playground tries models side by side and has Compliance and Decisions tabs, the API Playground shows the exact provider request the gateway would build from a chat body without sending it, and the opt-in Chat page gives people a chat window with their own keys, MCP connections, usage and logs. See Home.

Rust fast path and published benchmarks. Setting SPANWAY_RUST=1 on the gateway sends Anthropic Messages calls to Anthropic, DeepSeek and Claude on Vertex AI through the compiled extension that ships in every image, and each answer it served carries the x-spanway-rust: true header. A request the extension cannot take quietly falls back to Python with the same answer, and the reason is logged at DEBUG. OCR and Bedrock transcription always run on the extension. Logs produced by a separate data plane can be replayed with POST /v1/rust_control_plane/logs, which is for proxy admins and writes an audit row for every batch. The benchmarks page shows the overhead the gateway adds in both modes and how to measure your own. See Rust execution paths.

Move from an existing gateway. spanwayctl migrate gateway-db copies an existing gateway's Postgres database into Spanway, keeping the stored key hashes, so every application keeps its virtual key. It reads the old database in a read-only session, checks the salt key before you switch, can be rerun safely, and writes one audit row per copied table into the new database. spanwayctl migrate gateway-config translates the config file and the env file. A Spanway Cloud workspace moves to your own gateway with GET /cloud/tenant/export and POST /cloud/import. See migrate an existing gateway and export and migration to self-hosted.

Lens is generally available, with search, sessions, agent graphs and comments. Lens loses its Beta badge in the Admin UI (its datasets and evals stay in beta). Its new Search tab finds agent runs by the words in their steps, so you can go from a customer's complaint or an error message to the run behind it, and Sessions groups the runs of one conversation by session.id (or gen_ai.conversation.id) and shows them as a thread. In an open run, Graph draws which agents ran, who handed work to whom and which tools and models each called, with failures in red, and Comments let your team leave notes on a run that only people who may read the run can see. The same views are served on GET /v1/traces/search, GET /v1/traces/sessions, GET /v1/traces/sessions/{session_id}, GET /v1/traces/{trace_id}/graph and the /v1/traces/{trace_id}/comments routes. Comments are stored in the new Spanway_TraceComment table, every comment change and every search or session read that shows conversation content writes an audit row with a fingerprint instead of the text, and erasing a person deletes their comments. Comments expire with their runs after AGENT_TRACING_RETENTION_DAYS (14 days by default), so text quoted from a conversation is not kept longer than the conversation. Lens now also follows roles that hide prompts, responses or tool arguments: hidden step content reads [hidden by your role], search never looks inside it (hiding tool arguments keeps search and session threads out of every step input and error), and trace SQL is refused for such roles. See search, sessions, agent graph and comments. Prompt operations: protected production, eval-gated promotion, diffs, partials, alerts and Git sync. A prompt change now reaches customers only after it was tested: production takes only promoted versions, and a promotion checks that an eval run tested exactly that prompt, version and environment and passed its quality gate. Compare shows what changed between any two versions, partials ({{> name}}) let many prompts share one block of text and are written out, nested ones included, when a version is promoted, so a later partial change or delete cannot alter production, four new alert types (prompt_promoted and prompt_deleted on by default, prompt_created and prompt_updated opt in) and an email list tell the right people about changes, and prompts can be pulled from and pushed to a GitLab or Bitbucket repository. Eval runs accept prompt_environment to test a staging version before it is promoted. Every change writes an audit row. See prompt operations. Evaluator operations: test before saving, cost preview, versions, backfills and judge agreement. Online scoring rules can now be changed without guessing. Try it before saving runs a rule's scorers on up to 10 logged requests, Lens traces or typed answers and stores nothing, with judge calls capped by a test budget, and Preview cost estimates the requests scored and the judge spend per day from the last week of matching traffic. A new sampling check explains why a request was or was not scored, since sampling is a fixed fingerprint of the rule and the request. Every save keeps a numbered version that can be restored, and every score records the version that produced it. Backfills score past logged requests or chosen Lens traces with a saved rule, picking the same requests live sampling would and skipping ones the rule already scored under any version, and the rule's verdicts can be compared with a review queue's human labels per scorer and version, with kappa and a suggested threshold. The routes are under /eval/online/rules, the new Spanway_OnlineEvalRuleVersionTable and Spanway_OnlineEvalBackfillTable tables hold settings and counts only, and every restore, test, backfill start and cancel writes an audit row. See evaluator operations.

More eval scorers and red team presets with severity on every case. Sixteen new scorers grade work that text checks cannot: citation faithfulness and a RAGAS score for answers built from retrieved documents, agent loop detection and tool permission checks that need no judge model and so cost nothing, five image judges that send a vision model the Markdown images in an answer, and seven voice checks that measure recorded WAV audio on a conversation's turns without a judge. Eval messages can now carry images on user turns, which also reach vision models in replay and agent runs, and recorded audio, which is never sent to a model. Red team runs can start from a framework preset for the OWASP Top 10 for LLMs and for agents, the NIST AI RMF, MITRE ATLAS and the EU AI Act, or send up to 200 prompts you supply from the Aegis or BeaverTails safety datasets, judged per harm category and scored with CVSS like every other attack. The New red team run dialog has a Framework preset dropdown and a Dataset prompts box, and the run records its preset in a new framework column. Item text is made inert before the eval library reads it, so a crafted marker in a dataset or a model answer can never make the gateway read a file from its own disk.

Review ergonomics: assignment board, blind review and reviewer agreement. Large human review queues are easier to run. The assignment board on a review queue shows what each reviewer holds, has open right now, could still take and last labelled, Share out unassigned items splits pending items evenly between the reviewers you tick, and Take back returns a reviewer's items to the shared pool when they are away. Assigned items go first to their reviewer and to nobody else, until that reviewer labels or skips them or leaves the queue. The new Blind review switch hides the expected answer from reviewers and gives each one the items in their own shuffled order, so neither a reference answer nor the order can sway a verdict. The reviewer agreement report shows percent agreement and Krippendorff's alpha over items two or more reviewers labelled, each reviewer's agreement with the others, Cohen's kappa for every pair and the disputed items to settle. Assignments and take backs write audit rows. See review assignment board, blind review and reviewer agreement.

Query and Explore your usage data. A new Query and Explore page under Observability lets anyone with a gateway user ask their own questions of usage data. On the Query tab you write one SQL SELECT over request logs and daily usage totals, or, as a proxy admin, let Ask AI draft it from a question with a model on your gateway. The gateway checks every part of the SQL against an allowed list, swaps each table for a safe view without prompts, answers or IP addresses, shows admins every row and everyone else only their own and their teams' rows, and runs it in a transaction that cannot write, with row and time limits. Results download as CSV or JSON, and queries can be saved and shared, with each person still seeing only their own rows. The Explore tab charts spend, requests, tokens or response time split by up to two of eleven dimensions with saved charts, ranks what moved most against the previous period, and counts the daily active, new and returning end users of your application from the x-spanway-end-user-id header. Every query sent is in the audit log with a hash of its SQL and its outcome, including refused, failed and timed out ones, answers over 10 MB are stopped inside the database, and an invalid settings block turns the feature off rather than on. Saved items are covered by data subject export and erasure. See Query and Explore and the new general_settings.analytics_query block.

Air-gapped mode and an egress allowlist. One environment variable, SPANWAY_AIRGAPPED=true, turns off every optional outbound fetch the gateway makes, such as the price map refresh, the Admin UI blog feed and the breached-password lookup, and serves the copies bundled in the image instead, so a gateway on a network with no internet route starts cleanly and /health/readiness reports the mode. general_settings.egress_allowlist goes further and makes the gateway refuse every outbound connection to a host you did not list, from any library inside it. The list can be set in config.yaml or on the Network allowlists card, where it takes effect the next time each gateway starts. See air-gapped deployment.

Password policy with breach screening. Every way of setting a password for a local user, including the Change password page, checks it against one policy: a minimum length (12 by default, never below 8) and upper case, lower case, digit and special character rules. New passwords are also checked against a public list of leaked passwords by sending only the first five characters of the password's hash, so users cannot pick a password criminals already have. Each rule, the breach check included, has a switch with a plain-English explanation on the Sign-in protection card. See sign-in security settings.

Diagnostics endpoints. GET /sso/readiness tells you whether the single sign-on provider you configured for the Admin UI, Google, Microsoft, a generic OpenID Connect provider or SAML, has every variable it needs before a user finds out at the sign-in page, and GET /debug/asyncio-tasks counts the background tasks on one worker. See diagnostics endpoints.

Admin UI plugins. Your own web apps can be added to the Admin UI view switcher from the Plugins tab of Admin Settings or from general_settings.plugins. Each plugin learns who is viewing it from a short-lived claim that carries no gateway credential, and proxy admins can reach its backend through /plugin-proxy/<name>/..., where the gateway adds the plugin's own key and never hands it to the browser. See UI plugins.

Claude Code signs in through the gateway. With enable_claude_code_gateway on, developers sign Claude Code in with the company SSO through its /login, instead of pasting a key, and their usage shows under their own name and team. The security team can push one managed settings policy, such as blocked commands, to every signed-in Claude Code. Both switches are on the Claude Code gateway card of the Skills page. See Claude Code through the gateway.

A private Claude Code plugin marketplace. The gateway serves a plugin catalogue Claude Code can install from, with plugins from git repositories, folders in a repository or zip archives with an optional checksum. A plugin can be rolled out to one team first by disabling it and granting it through object_permission.skills, and every change to the marketplace is audited. See Claude Code plugin marketplace.

One command to point Claude Code or Codex at the gateway. spanwayctl configure checks a key against the gateway and writes it into Claude Code's or Codex's settings, spanwayctl reconfigure changes the saved setup, and spanwayctl unconfigure restores only the values it wrote. See coding agent setup.

Admin Assistant in Slack and in the Admin UI. Proxy admins on a gateway licensed for admin_mcp can manage the gateway in plain words. In Slack, the Admin Assistant worker runs next to the gateway, each admin connects once through the gateway's own sign-in, and every change is made with their own session. In the Admin UI, the Admin Assistant button opens a docked chat that answers questions and shows every change for approval before it is sent. Hide Admin Assistant in the account menu hides the button for you in that browser only. See Admin Assistant in the Admin UI and Admin Assistant for Slack.

MCP usage analytics. The MCP Server Activity tab of Usage now shows how many people use each MCP server, tool and client app every day, week and month, a per tool table with calls, failures, users, average call time and spend, and which coding agents call which servers and tools. Client apps are named by the mcp_client_id_header header, or for JWT callers by the mcp_client_id_jwt_field claim the allowlist checks, with the aliases in mcp_allowed_clients, recorded as an MCP-Client: tag on each tool call. The same numbers come from GET /tag/mcp/active-users, /tag/mcp/tools and /tag/mcp/agents. See MCP usage analytics.

Fixes​

Metrics, traces and complete API answers for the enterprise search wave. Access request hints and expiry runs, skill scans, skills over MCP and write action alignment checks now each have Prometheus counters (spanway_request_increase_hints_total, spanway_access_request_expiry_total, spanway_skill_scans_total, spanway_mcp_skill_requests_total and spanway_mcp_write_alignment_checks_total among them), and skill scans, access request expiry runs, workflow trigger deliveries, budget tier decisions and agent credential use show in traces. The Query page's spend_logs table gains budget_tier and routing_preset. The API reference and the Postman collection now show the request_increase hint on 429 and budget errors, the real answers of the workflow trigger webhook and of the agent token exchange, and every refusal those routes return. A skill deleted through the Anthropic pass-through route now loses its scan results, and a data subject erasure now also covers who uploaded a scanned skill and the access mapping of connected service triggers. The enterprise search connector is labelled Unverified until it has been tested against a live tenant. See Prometheus.

Deleting an organization is all or nothing. The organization, its teams, memberships and keys are now deleted in one database transaction, so a failure part way leaves everything in place instead of a half deleted organization. The organization's code graph is forgotten before that transaction, so a failure there also deletes nothing, and the audit rows for the organization, its teams and its keys are written as soon as the delete is saved, before the key caches are cleared, so a later failure can no longer leave a deleted organization without its audit rows.

Reserved markers on workload identity keys. /key/generate and /key/update now refuse a workload_identity entry in key metadata and user ids that start with workload_identity:, because the cleanup job deletes expired keys that carry them. A person's key can no longer be removed by mistake.

Custom code guardrails from teams cannot slip past review. A team submission whose default_on is the text "true" or the number 1 is refused like true, and a reference to a gateway variable is found however deeply it is nested in the guardrail's settings.

Key alias needed for auto rotation only when it matters. Auto rotation asks for a key_alias only when the secret manager is set to write keys, so read only setups can rotate keys without one.

IP allowlist refusals are consistent. Every role other than proxy admin gets the documented 403 Only proxy admins can manage the IP allowlist. on add, delete and turn off, and delete answers 500 when there is no database instead of failing later.

Cache deletes reach every worker. /cache/delete and /cache/flushall now also drop the copies each gateway worker keeps in memory, so a removed answer is not served again from another worker.

Smaller fixes with audit rows and plain errors. Adding models to a team, the team model list cleanup and team model alias deletes now write audit rows. /model/update without spanway_params answers a typed 400 naming the field. An unexpected /user/new failure answers fixed text and logs only the error type, so no email reaches the log. Prompt info applies the key and team prompt lists like model requests do. Deleting a logging callback without a database answers 500 like the other config routes. A manual retention run that deleted nothing is audited as invoked, not deleted.

The log reference is checked against the code. A test now fails when a line on the log reference is not one the gateway can print, which caught and fixed a stale /user/new row.

Anthropic tools see Anthropic errors on /v1/messages. A missing or wrong key, a model the key may not use and a spent budget now come back on /v1/messages and on the Claude Code gateway sign-in path /claude_code_gateway/v1/messages in the Anthropic error shape, the same shape as every other error on that route, so the Anthropic SDKs and coding tools show the real message. Other routes keep the OpenAI shape for these errors.

Team lookups explain a missing team in plain words. GET /team/info now answers a missing team with the message Team not found, passed team_id=<id> and the type not_found_error, instead of a quoted Python dictionary with the type auth_error. The other errors of that route follow the same rule.

API reference and Postman show each route's real errors. Shared error examples no longer name /chat/completions on unrelated routes, and the files, batches, fine-tuning and eval routes now show the errors they really return. The Postman collection keeps one saved response for every documented example, fills request bodies from the API reference examples instead of string placeholders, sends no key on routes that take none, and replaces placeholder validation errors with realistic ones.

Helm test works on a normal install. The all-in-one chart no longer ships a helm test pod that only passed with CI values, the ServiceMonitor test follows the metrics port when the metrics server is on, the test images are pinned by digest and use imagePullSecrets, and the unused Stackgres switch is gone. Both Helm pages now list every render error, the master key Secret install and a Logs section. See Helm.

AI hub and settings docs match the gateway. The hub, catalogue and UI settings routes document the errors they really return, the paged model hub route says a key is optional while the hub is open, and the MCP hub warnings no longer claim that publishing a server opens it to public addresses.

Retention reports what it really deletes. The Retention tab and GET /compliance/retention now show the period the cleanup job applies, so a table capped by the request log period no longer reads "Kept forever", and sanctions records are no longer counted as a table the cleanup deletes from. Saving several periods is all or nothing with one audit row, a manual cleanup run is audited and answers 409 when another instance is running it or 500 when it fails instead of claiming no period is set, a bare number in config.yaml counts as days everywhere, and the cleanup schedule settings maximum_spend_logs_retention_interval and maximum_spend_logs_cleanup_cron are documented and editable under Router Settings. See retention.

Billing sends Stripe invoices and explains itself. Issued Stripe invoices are now sent, so Stripe emails and collects them, the monthly invoice job writes an audit row per draft, a backwards usage period answers 422 instead of 500, and a malformed signed webhook event answers 400. The account form explains every field in plain words, and the docs now say that only a failed Stripe payment can suspend an account automatically and describe the usage metering export. See billing.

Status page, control plane and sign-in fixes. The admin status overview keeps incidents that name a model group the router no longer serves, failed incident changes show the gateway's message, a raised admission cap takes effect on the next request, a failed control plane sign-in code exchange shows its error instead of loading forever, and the control plane docs now cover the SPANWAY_CORS_ORIGINS setting every worker needs. See status page and control plane.

Workflow, code graph, review queue and Prometheus errors are documented as they are returned. The stored workflow run routes no longer send database error text to callers, the concurrent append conflict has a plain message, a credential on a host the gateway does not allow is refused with credential_host_not_allowed, and each of these routes now documents its real error messages in the API reference and on its page, with Logs sections for operators. See the error reference.

Clearer errors for MCP, approvals, environments and memory. A failed toolset save in the Admin UI now shows the gateway's message instead of nothing, an unexpected REST tool call failure answers a plain message and keeps the cause in the gateway log, an environment export with more than 500 objects answers 422 with a way forward instead of 500, deleting a personal API key no longer removes an OAuth token stored for the same server, and the plan review shows the full plan id with a Copy button. The API reference now lists the real status and message of every error these routes return. See human approval, environments, MCP tools over REST and memory.

Agent session counters slide. With Redis, the per-session call count and spend of max_iterations and max_budget_per_session now stay for an hour after the session's last call, as documented, instead of resetting an hour after its first call. See agent governance.

Decisions refuse streaming. stream: true on the Decisions routes now answers 400 before any provider is called, instead of a normal answer. See the Decisions API.

Saving list settings from the Admin UI. Saving a setting that holds a list, such as the websites allowed to use the website assistant (public_assistant_origins) or the code traffic User-Agent prefixes, through POST /config/update now stores the list instead of failing. A value the setting cannot hold now answers 400 with the type validation_error and a message that names the setting, such as Invalid config: general_settings.public_assistant_origins: Input should be a valid array, instead of an auth_error that began with Authentication Error. The same goes for every other value the route refuses, such as an unknown router setting, an invalid routing group or an enforced data region left empty, and only a caller who is not a proxy admin still gets auth_error. See the error reference.

Red team severity can reach high and critical. A red team attack that got through used to score with impact and exposure fixed at medium, so every finding landed between 5.1 and 6.9 and the compliance check for red team severity could never fail. Impact and exposure now come from a published rating per vulnerability type, for example high for leaked personal data, leaked credentials and code the model was tricked into running, and medium for bias or toxic replies, so the same finding always gets the same score. Each run and each vulnerability type now also shows its worst finding (max_cvss_score and max_severity), and the compliance control red_team_completed fails when the worst finding of the latest run is high or critical, even if most attacks were withstood. Runs completed before this change keep their stored scores. Run the red team again to get the new scores. See red team frameworks and severity.

completion_model applies to chat only. general_settings.completion_model no longer replaces the model named on OCR, video, image, embedding and file calls, and moderation_model no longer replaces the model of a transcription. See the settings reference.

Media and inference error answers. Bad OCR input answers 400, or 413 above the 50 MB upload limit, instead of 500. Image edit field conflicts answer a typed 422. Moderation, speech, transcription and authentication errors send a real error type and a null param instead of the text None. GET /v1/files runs its checks as a file list instead of a fine-tuning list.

Router, secret manager and preset settings. Clearing a router setting on the Router Settings page, by emptying the field or typing null, now removes the saved value instead of being ignored, and an emptied number field no longer saves 0. GET /router/settings no longer returns redis_password or redis_url, the Number of Retries default reads 2 like the router, and every router switch says in plain words what on and off do. With store_virtual_keys, virtual keys are only written to, rotated in or deleted from a secret manager when access_mode is write_only or read_and_write, as the docs said, so check access_mode before upgrading if you store keys there. A HashiCorp Vault connection save whose database write fails now restores the previous connection, and Vault and CyberArk audit rows keep the address, mount and account so a change is visible while secrets stay redacted. Routing preset audit rows carry the configuration before and after, shadow evals write audit rows when they start and stop, and the requested family alias is kept in the spend log as requested_model_alias.

Connecting tools to the gateway. Two new pages help anyone connect a tool that has no page of its own. Connect any client gives the base URL, key header and environment variables for every kind of client, from the OpenAI and Anthropic SDKs to Gemini, Bedrock, MCP and A2A, and says plainly when the address needs /v1 and when it must not have it. MCP clients has a configuration that works as written for Claude Code, Cursor, VS Code, Claude Desktop and the MCP Inspector, including how each one reads the key from the environment. The error reference gained a client errors section that maps each gateway error to the exception the OpenAI, Anthropic and Google SDKs raise, troubleshooting gained a section for client tools with each client's debug switch, and the virtual keys page has a recipe for making a key for one tool. A docs test now checks that the error text quoted in the client errors section still matches the gateway's code, so a wrong status or message cannot come back unnoticed.

Claude Code and Claude Desktop. The Claude Code page now walks through a manual setup from start to finish: the settings.json block, why the base URL is the gateway root without /v1, how ANTHROPIC_AUTH_TOKEN, ANTHROPIC_API_KEY and apiKeyHelper send the key, how the gateway lists models that are not Claude in the /model picker under claude-router- ids, which background and subagent models the key needs, the pre-release fields some providers reject and the switch that stops them, /status and --debug, the VS Code, JetBrains, GitHub Actions and Agent SDK setups, every error Claude Code shows with its fix, and key rotation. A new Claude Desktop page covers routing the app's model calls through the gateway with third-party inference, and giving it the gateway's MCP tools through a custom connector, the mcp-remote bridge for a private gateway, or managed MCP servers.

Terminal coding agents. Codex, OpenCode and pi each have a connection page, and a new other CLI agents page connects Gemini CLI, GitHub Copilot CLI, Aider and Goose. Each page walks through making a key for the tool in the Admin UI or with curl, the exact settings the tool reads and whether its address takes /v1, a configuration to copy, where the requests show on the Logs page and which response headers explain the routing, what works for streaming, tools, images, caching and reasoning, and a table of the errors the tool shows with the cause and fix of each. The Codex page sets Codex up by hand with the key read from an environment variable through env_key and the /model picker filled from the gateway's model catalog. The OpenCode page covers both OpenCode V1 and V2 configuration formats, and the pi page explains that spanwayctl pi rewrites the spanway provider in pi's models.json on every start. A docs test checks that the error text quoted on these pages is text the gateway or spanwayctl really sends.

Editor connection pages. Three new pages walk engineers through connecting their editor to the gateway with their own key. Cursor covers chat and agent models through the /cursor base URL, the -thinking-<effort> and -fast model name suffixes, why the gateway must have a public HTTPS address for Cursor's chat, and gateway tools through mcp.json with ${env:SPANWAY_API_KEY}. VS Code with GitHub Copilot covers gateway models through Copilot's Custom Endpoint and gateway tools through VS Code's MCP client, and compares the Custom Endpoint with the Spanway extension. IDE assistants covers Cline, Continue, Roo Code, Zed and JetBrains AI Assistant. Each page has the key to create with its budget and rate limit, the exact settings, a configuration to copy, where the requests show on the Logs page, what works and what does not, and an errors table, and a docs test checks that the gateway messages in those tables match the gateway's code.

SDK connection pages. A new Connect an SDK section has one page each for the OpenAI SDKs for Python and Node, the Anthropic SDKs for Python and TypeScript, the Google Gen AI SDKs for Python and JavaScript, and Amazon Bedrock with boto3 and with the AWS SDK for JavaScript. Each page explains in plain words why to route the SDK through the gateway, how to make a key for it with a budget and a rate limit, which environment variables and base URL to set and whether /v1 belongs in it, and how to read the gateway's headers from the SDK. Each one also lists streaming, tool, image, caching and reasoning support with the known gaps, and has an errors table with the exception and message that SDK really shows for every gateway error. The pages call out two traps found while testing them. The Google Gen AI SDK must be set to API version v1beta, because from version 3 it calls v1 and the gateway answers 405. The Bedrock JavaScript client must be switched to HTTP/1.1. The Bedrock pages also show that a virtual key works as the AWS access key id, and the Converse page no longer says that a public name in front of another provider's model can be called in the Bedrock format. A docs test checks that the gateway error text on every SDK page matches the code. See OpenAI Python SDK and the pages next to it.

Tool fixes. The Terraform provider now reads SPANWAY_INSECURE_SKIP_VERIFY, which a built-in default used to hide. The Python client exports rerank from the package root like every other module. The setup wizard offers current Gemini models, signs Bedrock calls with the AWS access key, secret and region instead of sending the access key id as a bearer token, prints a quick test against /health/liveliness, which needs no key, and greets you with the Spanway name. Cursor pass-through calls can now count against key budgets: set CURSOR_AGENT_RUN_COST_USD to what one agent run costs you and each agent launch and follow-up is charged that amount, while status reads stay free. The default stays 0 because Cursor does not report a price. The Straiker guardrail recognises Claude Code by both of its user agents, claude-cli/ and claude-code/. The Admin UI's LangChain and LlamaIndex samples use the current packages and a virtual key instead of retired import paths and the master key, and the Cursor tab of the MCP Connect card points at ~/.cursor/mcp.json and reads the key with ${env:SPANWAY_API_KEY} instead of naming a settings tab Cursor no longer has. The VS Code extension description no longer promises a Reasoning Effort menu that stable VS Code does not show.

Errors and connection steps corrected. Pages no longer say that a spent budget answers 400 or 429, it answers 422 by default. An unknown model name answers 400 rather than 404, and a model the key may not use answers 403 with the exact message now quoted. The Anthropic, Gemini and Bedrock pages say that key, model access and budget errors come back in the OpenAI error shape on those routes too. The Cloud base URL on the home page no longer gives /v1 to the Anthropic SDK, the user agent analytics examples filter on claude-cli, which is how Claude Code's traffic is tagged, and the Claude Code gateway page gives the real sign-in steps, the private address rule and the certificate prompt. The MCP page's client snippet no longer puts a $SPANWAY_API_KEY that no client expands into JSON. The Postman, Terraform, client library, Chat UI, Teams alert, admin assistant, token counting, Anthropic pass-through, A2A and setup wizard pages were corrected the same way.

Agent frameworks, chat apps and n8n. Three new pages walk through connecting the tools teams build on. Agent frameworks covers LangChain and LangGraph, LlamaIndex, the Vercel AI SDK, the OpenAI Agents SDK, CrewAI and Pydantic AI with current imports, the base URL each one needs and the settings that trip people up, such as LlamaIndex's is_chat_model, CrewAI's openai/ prefix and the Agents SDK's tracing. Chat apps covers Open WebUI and LibreChat, including the background title calls they make and how to see spend per person behind one shared key. n8n covers the OpenAI credential and the HTTP Request node. Each page has the key recipe, the expected result on the Logs page, the errors the tool shows with their fixes, and a troubleshooting path. The Postman page now walks through a model call with streaming and lists the errors a call can return, the alerting page explains how to create the Slack webhook and the Teams Workflows webhook and what an alert looks like, and the A2A page shows how to register LangGraph, LangFlow, Pydantic AI, Bedrock AgentCore, Azure AI Foundry, Vertex AI Agent Engine and watsonx Orchestrate agents and how to call any agent from code.

Connection pages checked against the code. Every tool connection page now has a prerequisites section and a key recipe whose curl makes the same AI APIs key as the Admin UI steps, with a budget and a rate limit, and a docs test fails when a page drops either. The pages quote the exact blocked key and key budget messages, say that key tags need an Enterprise license, and correct the Claude Code model listing, the Codex version needed for the gateway model catalog, the Claude Desktop custom connector steps, the Zed and VS Code token limits and the SDK runtime versions. The setup wizard now offers gpt-6.1-sol and gpt-6-luna for OpenAI and checks an Anthropic key with claude-haiku-5-5, and the user agent analytics API examples show the claude-cli tag Claude Code really produces.

Leaked keys, key expiry and policy shadow mode checked against the code. The leaked key audit row and its log line now record the reporter's address, and the docs say that the audit row needs audit logging while the log line is always written. Expiry emails now count days rounded up, say 1 day or less than a day in the subject, write an audit row for each notice, and are no longer marked as sent while the Virtual Key Expiring email event is switched off. An organization max_key_lifetime_days must be a whole number from 1 to 3650 and needs the key_hygiene license feature, and saving an out of range key hygiene policy names the field and the rule instead of a type error. The spend log now keeps the routing preset that applied, the inference routes document the routing headers in the API reference, the request inspector, policy replay, leaked key and key hygiene routes document every error they return with its real message, and the Admin UI explains what the audit only switch, the enforce switch and the leaked key report settings do when on and off. See leaked keys and key expiry, audit mode and routing decision headers.

Admin UI. Every signed-in dashboard role can read GET /session/me, so view-only sessions load again. The Guardrails page opens on the Guardrails tab once the admin role resolves. An in-progress key edit, including its budget fields, is kept when the key data refreshes behind the form. The Usage page shows today's spend for viewers west of UTC. A failed list load shows an error with a retry instead of an empty list, proxy admin viewers are never presented as admins, and the seat usage card only fetches when a license is active.

Gateway. HTTPException details are answered as a plain JSON message instead of a Python dict representation. An unreachable Redis at boot logs no orphaned task. Fine-tuning routes return 403 instead of 500 without a license, an unknown tag returns 404 on /tag/info, /tag/update and /tag/delete and a duplicate /tag/new returns 400 instead of 500, /tag/update keeps the fields it was not sent, creating a tag with a config.yaml deployment no longer fails after the tag is stored, POST /spend/calculate uses prices set in model_info and base_model, POST /model/update answers an unknown id with 404, deleting a team audits every deployment it removes, a failed discount or margin read no longer lets the Admin UI wipe the stored values, /global/spend/reset without a database answers 500 instead of 401 and records the spend it cleared, and the encryption migration returns a 400 with the reason when it runs without a salt key. Duration strings are matched in full, so 30days is rejected instead of being read as 30d. Blocked words uploaded as YAML are added instead of discarded, and a masking guardrail changes what the model sees on eval calls. In the compiled images, a request whose retries or fallbacks all failed no longer leaves its error behind for the next request in the same worker, so a later database outage while an MCP client renews its sign-in is answered as a retryable 503 again instead of a 401.

Missing component messages. When an optional part of the gateway is missing, for example the enterprise modules, the MCP client, SAML sign-in or a speech provider library, the error now tells you that it ships in the spanway-ai container image and to run the gateway from that image. It no longer suggests installing a Spanway package from a package index, because none is published.

Lens. The bundled catalog provenance points at a revision that still exists, and Lens stores span inputs and outputs only as the gateway's content policy allows. Data subject erasure reaches Lens through its own erase endpoint, so the gateway no longer needs CLICKHOUSE_URL.

Migrations. The billing decimal and managed file retention migrations run after every other migration, money columns use exact decimals, and the migration that drops the legacy Lens tables is allowed.

API reference and docs accuracy. Every request example in the API reference now matches its request schema, so a copied example does what it shows. For example the bulk key update example sets max_budget directly and the approval policy update example wraps its fields in fields. Response examples only show fields the response really carries, and the spend log rows now declare the model_group, custom_llm_provider, team_id, end_user and status fields the gateway already returned. The Gemini generateContent request schema now lists the camelCase generationConfig fields the gateway reads, such as maxOutputTokens, the MCP streamable HTTP routes declare their JSON-RPC body, and every operation now says whether it needs a key. The spec declares each header a virtual key can travel in, Authorization: Bearer first, instead of one header described as a bearer token. The API overview text, the health, team and invitation route descriptions and the /v1/messages description lost their emoji and leftover wording, and broken links to the team routing and caching pages were fixed. The upgrade runbook now checks the running version with /health/readiness/details, the Helm commands use the names the chart really creates, the air-gapped chart example pins the release version, and the quick starts pin 2.0.0 instead of latest. Feature pages for the run ledger, fit to context, agent governance, structured output repair, provider preferences, data policy routing and custom roles gained a scenario, numbered steps and an expected result. The audio transcription, image edit, image variation, OCR and RAG ingest routes now list every form field they read, such as model, language and prompt, and the skills routes list their model parameter, so the API reference and the generated clients show what a form upload may send. Schema names in the API reference no longer carry internal module paths, for example the custom agent run page is now AgentRunPage. The Gemini pass-through now declares the two places it reads the virtual key, the key query parameter and the x-goog-api-key header, instead of headers it ignores. The chat completions schema accepts true, false and "middle_out" for context_fit as the gateway does, model_info is optional when you add a model with POST /model/new, the MCP routes accept a client's JSON-RPC response such as an elicitation answer, and the temporary budget fields on /key/generate are no longer described as Enterprise only, since every tier has them. Error tables across the docs now quote the messages the gateway and spanwayctl really print, and the settings pages say that --validate_config catches YAML, include and model load errors but not misspelled keys.

Docker Compose healthcheck. The gateway healthcheck in the sample compose file and the Docker quick start now runs the image's Python directly. The images have no shell, so the earlier shell form could never run and left the container unhealthy, which stopped anything that waited on it. The Admin Assistant compose overlay now gives the gateway its own healthcheck, because it waits for a healthy gateway. The quickstart compose file now gives the gateway a healthcheck too, so docker compose ps reports both containers healthy.

Plain API reference and honest integration pages. Error responses in the API reference now explain each status in plain words, for example what a 429 means, instead of quoting internal code text. The key, user, team, customer, organization, project and access group routes describe their fields without programming type hints, fields the gateway stores but does not act on (such as blocked on a user or soft_budget on an organization) are marked deprecated with a sentence saying so, PATCH /organization/update lists its request fields, and GET /active/callbacks documents its response. The Langfuse pass-through now answers 401 when the Authorization header is not HTTP Basic auth, instead of failing, and the API reference names the Basic scheme it reads. MLflow is no longer offered as a logging destination in the Admin UI, because its package is not in the gateway images, and the New Relic, geofence mmdb, CLI and Lens deployment pages now describe what works on the images. The integration tables show which license each entry needs instead of internal module names.

Docs and website checked against the product. The model update, token counter, key delete, team activity, access group and user agent analytics routes now describe themselves in plain words, with the real limits (such as the last 7 days) instead of code placeholders, and the API reference carries no em dash. The realtime page says the WebSocket needs a model query parameter, except for transcription sessions, and names the intent and guardrails parameters. The guardrail and approval error examples show the bodies the gateway really sends, chat completion examples show tool_calls and function_call as null, and the OpenTelemetry page gives the real deployment.environment default. The compliance page lists the right control counts, now checked by a test. Config checks are shown as image commands, the security settings page explains the request body cap, and the Terraform pages explain that the preview images are private and must be mirrored. The website describes the Cloud signup steps as they are, says cost-based routing is a strategy you turn on, and says the key hygiene report needs Enterprise.

License tier names. The Admin UI account menu now shows the tier as Enterprise with a license and Starter without one, and locked fields say "Enterprise feature", matching the pricing page. The secret manager pages say that Google Secret Manager, HashiCorp Vault and CyberArk need an Enterprise license and that AWS Secrets Manager, AWS KMS, Google Cloud KMS and Azure Key Vault work without one.

Features that need a package the images do not carry. The Admin UI no longer offers Conduct Guard, because the package it needs is not in the gateway images, and a config that still names it now fails with a message that says so instead of asking you to install it. A Bedrock RAG ingest with no vector_store_id now stops before it creates anything in AWS and asks for the id of an existing knowledge base, because the images cannot create one, so it no longer leaves an S3 bucket and a search collection behind. The quick start no longer lists the hypercorn server flag and the logging page no longer names Lunary, since neither ships in the images.

API reference and pages checked again. The model, agent, MCP and skill hub routes now say in the API reference that a key is optional, the .prompt converter shows the response it really returns with a curl example for creating the prompt, POST /eval/runs is documented as answering 200, and route descriptions read as plain text instead of code docstrings, with no Returns: blocks or Python types. The Logging and Alerts, Vector Stores, Workflow Runs and OpenTelemetry pages name the tabs, dialog fields and page names the Admin UI really shows. The Azure Terraform page explains the registry block a private registry needs, the public catalogue and status pages explain how your own website reads those feeds, and the Spanway Cloud page describes its tenant and credit records in plain words.

Audit trail, errors and Postman checked for four features. Turning tool search on or off for a team, or changing its Top K or threshold, now shows the old and new values in the team's audit row, and changing a team member's limits such as max_parallel_requests writes a team membership audit row even when the role stays the same. Admin MCP tool rows record the caller's address, request id and key hash, and a routing preset rollback records which version was live before. The red team vulnerability and attack breakdowns list the weakest first, the cancel and delete errors and the database and no-models errors are documented with their real messages, and the API reference now describes the hosted admin MCP endpoint, the rate limit headers of every inference 429, the proxy admin 401 and admin viewer 403 of the guardrail policy routes, and the real 500 of the tool search settings route. The Postman collection now uses the spec's example bodies and saved responses instead of placeholders. In the Admin UI, the tool search control explains in plain words what on and off do and keeps a key's Top K and threshold when its own switch is off, the admin MCP card says which roles may connect, red team runs explain CVSS and frameworks, and the audit log can filter access request, policy attachment, routing preset, team membership and red team rows.

Audit trail, errors and docs checked for five more features. Access requests store a key only as its hashed token id, so a secret sent by mistake never reaches the table, the audit log or the review queue, a team can only be joined when it is open to join, a request about a key goes to the admins of the key's team, a refused approval shows the plain reason, and the requester email no longer holds up the review. Organization updates answer 404 for an unknown organization, member add keeps the real status of a refusal instead of a 500 that repeated the member's email and finds members by email again, an organization delete checks every id before removing anything and audits each team and key it removes, and the Admin UI no longer offers an organization soft budget or parallel cap the gateway ignores. SCIM writes an audit row for every change it makes, names the SCIM token in it, and refuses a list filter it cannot apply with 400 invalidFilter instead of returning every user. A key whose expiry is extended is warned again before the new date, every expiry email and every master key rotation is audited, and rotating the master key over the API no longer re-encrypts secrets that SPANWAY_SALT_KEY protects. Access group changes audit every team, key and agent they attach or detach, a blank or null name is refused with 422, and Edit Access Group shows only for proxy admins. The pages of all five features now list their real errors and log lines, and the audit page lists their events.

Audit trail, errors and docs checked for customers, workload identity, SSO, JWT and OAuth2 auth, and allow lists. A blocked customer is now refused on every gateway with the customer_blocked code, without the enterprise callback it needed before, and block, unblock and budget changes made through the customer routes record the values before and after. Editing a customer no longer rewrites a budget other customers share, and the customer form drops the soft budget the gateway never acted on. Minted workload identity keys record the models, routes and budget they were granted, look-alike keys of people are never removed by the cleanup, and a refused exchange can no longer write forged lines into the log. A partial SSO settings update keeps the stored client credentials, and promotions through PROXY_ADMIN_ID, role changes from role mappings and organization SSO placements are audited. CLI and SAML sign-in errors no longer show internal error text, and the organization sign-in lookup limit counts each visitor behind a load balancer separately. OAuth2 introspection never writes the token to the debug log, an inactive token keeps its own message, OAuth2 proxy auth needs an Enterprise license like introspection, and JWT auto registration audits the key and mapping it creates. general_settings.allowed_routes accepts route group names and wildcards, and the IP allowlist routes answer one clear message to a non admin. The pages of all five features now list their real errors and log lines, every control has plain help text, and the settings reference lists the SSO, JWT and OAuth2 environment variables.

Four more features checked across every surface. Storing, replacing or removing a personal MCP key, including an admin revoking another user's key and a key entered on the OAuth connect page, now writes an audit row that never carries the key, and the connect dialog no longer reports a server as connected when the gateway kept no key. The website assistant has its own card on the Status Page with plain-English help, a search with no question answers 400 like an empty one, and its docs cover the AWS firewall rules and every error and log line. Request log retention now also prunes the guardrail lookup rows, which used to grow forever. The quickstart scripts run from the onboarding pack instead of downloading from a code host, the image build fails when gateway or backend sources are left behind, and missing-package errors point at the gateway image instead of asking you to install a package. The images page lists the entrypoint environment variables and the container start errors and logs.

Headroom, Model Leaderboard, rate limits, budgets and cost optimization checked across every surface. A Headroom guardrail created from the Admin UI now has a Refuse requests when Headroom is down switch that is off by default, so a Headroom outage no longer blocks every request, and a refused request returns at most the first 500 characters of Headroom's answer while the log line no longer carries it at all. The Model Leaderboard adds up every deployment of a model group before it ranks groups and picks each task's leading model, and org admins no longer see a nav item the gateway refuses them. An organization's max_parallel_requests is now enforced across all of its keys, priority reservation needs a valid license rather than any value in SPANWAY_LICENSE, and a malformed model_rpm_limit or model_tpm_limit map is ignored with a warning instead of being applied. /budget/update and /budget/delete answer 404 for an unknown budget instead of 200 with nothing, deleting an organization's budget explains which organization uses it, and budget, customer and tag rows can be filtered on the Audit Logs page. A refused prompt caching switch now goes back and shows the error. The error documentation of these routes shows the body callers really receive, every message of a status is kept, and the docs gain error, log and settings entries for rate limits, budget resets, prompt caching and compression.

Health checks, data policies, prompt caching, fallbacks and the response cache checked across every surface. POST and DELETE /fallback now rewrite only the router settings stored in the database, so a Redis password or another value from config.yaml or the environment is never copied into it, refuse a fallback list config.yaml owns with the same 400 as the Router Settings page, and keep default_fallbacks working after the change. Saving content policy fallbacks, max fallbacks, the stream timeout, disable cooldowns, pre-call checks or tag match any on the Router Settings page now applies at once, settings that still need a restart say so, fractional timeouts and cooldowns are kept, and the page shows the real defaults of allowed fails, cooldown time and timeout with plain-English help. The response cache and coordination Redis audit rows now show the settings before and after with only credentials hidden, a saved semantic cache reloads as semantic so the next save no longer turns it off, and /cache/redis/info answers a non-Redis cache with 400. The compliance data policy report now judges deployments with the same Vertex AI location and curated terms as routing, clearing an enforced region gives one message on every route, and the data policy switches on keys, teams and organizations explain what on and off do. The API reference documents the errors these routes really return, publishes the data policy fields, and the docs gain settings, error, log, audit and troubleshooting entries for all five features.

Batches, assistants, containers, search, the Guardrails Monitor and pass-through routes checked across every surface. POST /v1/threads now forwards its first messages, metadata and tool resources instead of dropping the body. A gateway without assistant_settings answers assistant calls with a 400 that says to add it, instead of a 500. Container uploads respect max_file_size_mb, and container file content is always sent as application/octet-stream instead of a type guessed from the id. A search body is checked before routing, so max_results outside 1 to 20 is a 422 and a body that is not JSON a 400, a duplicate search tool name is a 409 instead of a 500 with the database error, and the API refuses tool names that could never be called and unknown providers. The Guardrails Monitor log route answers a bad date with 400 instead of 500, its Custom rows open their detail, the detail view loads new logs when the range changes, the latency card no longer shows 0 ms for latency that is not measured, and the Evaluation Settings dialog says it is not built yet. The API reference now marks completion_window as required, documents the batch list and container file paging parameters, the real errors of these routes and the pass-through management folder, and the docs gain error, log, settings and audit entries for all of them, plus a Deepgram page.

Guardrail providers, tool policies, prompts, the MCP catalogue and the admin MCP server checked across every surface. A raw sk- key sent to the tool policy routes is now hashed before it is answered or written to the audit log, tool block changes record the value before and after as blocked and unblocked, lifting a block that does not exist answers 404 instead of 500, the tool logs route answers 400 for dates that are not YYYY-MM-DD and writes an exported audit row when it shows prompt text, and the tool_policy guardrail refuses tool requests with 503 until policies are loaded instead of letting blocked tools through. Prompt PATCH saves a new version instead of overwriting the latest one, config file prompts answer 400 on PUT and PATCH, prompts created over the API are always database prompts, and prompt audit rows store a hash of the template instead of its text. A misspelled catalog_entry in config.yaml now logs a warning, the admin MCP server writes a denied audit row for blocked, deleted and inactive users too, and the orphan mcp_servers.json file is gone.

Why the website assistant answered unavailable is now in the log. When the assistant's Redis counters fail, the warning names the Redis error class and a short message, and when a chat turn fails the gateway logs the failure kind (quota, error, timeout or turn_timeout) and the HTTP status of the assistant's internal model call. Neither line carries the visitor's question or address. GET /health/readiness and /health/readiness/details also report coordination_redis as connected, not_configured or error, for information only, so a Redis outage alone still answers 200. A spent assistant key budget (422) is now counted as quota like the other key refusals. See website assistant logs and health checks.

Website assistant setup steps. The assistant asks the gateway not to log visitors' words on every model call, and the gateway only accepts that request for a model that allows it, so assistants set up from the earlier steps answered every question with 503. The setup steps now create assistant-chat, assistant-chat-fallback and assistant-embed with configurable_clientside_auth_params: ["turn_off_message_logging"] from the Admin UI, the API or the config, and say to delete and add again any of the three models created without it. The page and the settings reference also explain in plain words what trusted_proxy_ranges does when it lists your load balancers, when it is empty and when it is not set.

Server tools, vector stores and RAG, PII and secret guardrails, guardrail policies and custom guardrails checked across every surface. Code interpreter sessions are scoped to the caller's key hash, so two keys sending the same session_id no longer share a sandbox. Changes to vector stores, their files and indexes through the OpenAI compatible routes, and the store registrations RAG ingest writes, now write audit rows, and /vector_store/update keeps the value before the change. RAG ingest and query answer 400 for an invalid form field, a refused file_url and a question with no user message, and hide unexpected errors behind a fixed message. A guardrail whose setup fails, for example Hide Secrets without a license or Presidio without an analyzer address, is refused with 403 or 400 instead of being saved unenforced, and hide_secrets loads the same guardrail as hide-secrets. POST /guardrails/apply_guardrail now passes language and entities to Presidio. Promoting a policy version audits the version it replaced, deleting every version keeps them all in the audit row, and resolved guardrails resolve the version you name and answer 400 for a broken parent. The Admin UI saves a vector store's saved credential, stops offering Word uploads and the post_mcp_call custom code mode, drops the team guardrail Forward API Key switch that did nothing, and explains its guardrail and access switches in plain words. The docs, the API reference and the settings, error and log references were corrected to match.

Sanctions, license, evals, compliance and Lens checked across every surface. An enabled geofence whose settings do not validate now keeps refusing restricted places instead of letting everyone through, and Spanway Cloud refuses every request it cannot locate, as the public sanctions statement says. Invalid Cloud screening settings are reported on the Sanctions tab instead of being dropped silently. A license that expires while the gateway runs stops granting its features without a restart, single user and team creation no longer lets a deployment go one past its license limits, priority reservation needs a valid license rather than any value in SPANWAY_LICENSE, and /health/license shows the license a config load installed. License issuance always screens the trade.gov lists and never accepts lists older than ten days. Custom roles that grant compliance.read or compliance.write now reach the compliance routes, retention cleanup runs, submitted eval answers and every Lens change are audited, the eval key filter matches the key aliases the Admin UI offers, the Earliest sample strategy that the gateway refused is gone, and the Lens workspace's help links open pages that exist. The account menu no longer shows an emoji.

Docker, VS Code, clients, Terraform and the Admin UI home checked across every surface. /health/readiness now answers "status": "unhealthy" together with its 503 when the database is down, instead of "healthy". The Terraform stacks and the componentised Helm chart now route every gateway path to the gateway, including the request inspector, decisions, A2A agents and several provider pass-throughs that used to reach the backend and answer 404, and a test fails when they drift from the gateway's own list. The GCP URL map only uses path patterns Google accepts, the AWS example takes the four image inputs and a new bootstrap_image in terraform.tfvars, and CI now validates every example root. The Chat page's Integrations and Credentials pages now show personal MCP keys as connected and revoke them through the right route. POST /utils/transform_request only accepts call_type completion and answers 422 for anything else, where other values used to fail with a 500. An unreachable blog feed is now tried once an hour instead of on every Home page load. The Postman collection gives every folder a plain-English description, puts routes without a group in an other routes folder and names each request uniquely within its folder. A new environment variables page lists what the images read, the Docker quick start leads with its steps and quotes the gateway's real messages, the quickstart installer is documented, and the deploy, VS Code, client, Terraform and Admin UI pages gained Logs sections. The development compose files now bind their ports to this machine only.

Rust fast path, gateway migration and the error and log references checked across every surface. Every POST /v1/rust_control_plane/logs batch now writes an audit row naming the admin, the record counts and the key hashes the records charge, and the route documents its 401. spanwayctl migrate gateway-db now writes hash-chained audit rows into the target database, takes --changed-by, tells you to apply the schema with the spanway-migrations image, and its tests run in CI. POST /cloud/import now gives members who already had a user the imported teams in their own team list, so team access works for them, audits the organization, each team and each member instead of one row against the tenant table, and a dry run no longer returns team ids that the real import would not use. The error reference now gives the real status and type of every exception class (a connection failure is 500, a schema mismatch without repair is 500, a provider rate limit is throttling_error), adds the malformed key 401, the 413 size limit, the 499 client disconnect and the guardrail, image, vector store and provider classes, and a test checks each status and type against the code. The API reference now documents the 413 and 502 answers of the model routes. The log reference now says the default level is WARNING, that DEBUG=true means INFO and DETAILED_DEBUG=true means DEBUG, and lists the log size, access log and redaction variables. The settings reference lists SPANWAY_RUST, and the Rust, benchmarks and migration pages gained Logs sections.

Security and sign-in fixes from the cross-check. An egress allowlist saved in the Admin UI is now applied when the gateway starts. It was stored but never enforced before. The sign-in lockout now writes an audit row when a block starts, spanwayctl login writes one for every credential it receives, connecting a Slack account to the Admin Assistant writes one, and calls through the plugin reverse proxy that can change something write one too, without the body. A plugin that answers the reverse proxy with a redirect now gets the caller a 502 instead of passing its Location on to the admin's browser. GET /sso/readiness now checks a SAML-only setup instead of reporting that no provider is configured, and its API reference lists the 401 it answers without a key. One Claude Code plugin with an unreadable stored manifest no longer makes the plugin list fail for everyone. spanwayctl login now waits the full ten minutes the gateway keeps a sign-in open, spanwayctl teams assign-key refuses a login session instead of sending it as a key and names the right login command, spanwayctl keys list --no-return-full-object works, and the standalone spanway-admin-agent image now runs the CONNECTION_AUTH_MODE you set instead of always forcing native mode. Every security setting, the Claude Code gateway switches and the Hide Admin Assistant toggle now explain in plain words what they do on and off, their default and who should change them. The Security Settings, Claude Code, plugin, release cycle, CLI, setup wizard and Admin Assistant pages gained the missing error messages, log lines and audit events, and the settings reference lists the environment variables those pages rely on.

Error, log, troubleshooting and settings references completed. A failed web search inside web search interception now logs only the error type on the Messages, chat completions and Responses paths, so the search query, which is built from the user's prompt, no longer reaches the gateway log. The error reference now covers customers, workload identity, SSO, SAML and CLI sign-in, containers and assistants, server tools and interception, the project pass-through refusal, the control plane worker address and the AI hub, and an unknown sk- key is listed under its real type token_not_found_in_db. The log reference gained the Guardrails Monitor, server tool, container and customer lines, the troubleshooting index gained sign-in, SSO and SCIM symptoms, and each setting in the settings reference is described in one place. The docs now say which custom role grants open which routes: compliance.read and compliance.write open the compliance routes, and audit.read does not yet open the audit routes.

Round three of the whole product cross-check. A custom role holding audit.read can now read the audit log, verify its hash chain and list the export ledger over the API, so an outside auditor no longer needs an admin role. The Admin UI tabs still show only for admin roles. On the tag management page, Allowed Models is now called Tag these deployments, with help text that says it adds the tag to the deployments you pick and never limits which models a tagged request may use. GET /v1/vector_stores/managed now answers the caller's managed vector stores instead of being read as a vector store id, and a list of stored stores no longer fails with a 500. GET /v1/batches documents its provider parameter and the 0 to 100 range of limit. The MCP OpenAPI preview no longer copies the loading error into its answer, the reason stays in the gateway log. team_admin_editable_team_fields, enforce_project_model_quota, drain_endpoint_token, health_check_staleness_threshold and health_check_ignore_transient_errors can now be saved with /config/field/update. team_admin_editable_team_fields and the other Admin UI switches saved that way are stored with the UI settings, so they take effect at once, and unsupported team fields are refused with 400 the same way the Admin UI refuses them. The retired ROI calculator code is removed and new request logs no longer carry its spanway_roi_estimator marker. A database migration then deletes the retired calculator's roi_calculator_settings row, which held encrypted code-hosting tokens, together with its report, sync, cached pull and sign-in state rows, so no install keeps those tokens. A new Lens API reference lists every route behind /lens/{path}, and /config/update is documented as deliberately left out of the published API reference.

Upgrade steps​

  1. Move every environment that runs the Python client to Python 3.11 or newer.
  2. Replace the old command-line name with spanwayctl in scripts and documentation, and run spanwayctl debug install-claude-command again where the slash command is used.
  3. Back up the Postgres database, then upgrade one instance and let it finish its migrations before replacing the rest, as described in the release cycle. Migrations run at startup as usual and only change the schema.
  4. Upgrade the Helm charts to 2.0.0, which deploy image v2.0.0, or set the Terraform image tags to v2.0.0. Where the gateway was installed from the Python package or run from source, move it to the image, because the package is no longer published and the image is the only supported way to run the gateway. Where an application imported the spanway library directly, point an OpenAI or Anthropic SDK at the gateway with a virtual key instead.
  5. Review the fail-closed defaults above if your deployment relied on requests passing while Redis or the budget store was unavailable.
  6. Upgrade with a full rollout, or expect brief adaptive router session errors on old pods during the rollout.
  7. Behind a load balancer, set general_settings.trusted_proxy_ranges to its address ranges. use_x_forwarded_for: true alone no longer trusts X-Forwarded-For, so without it every IP allow list checks the load balancer's own address.
  8. If you relied on spanway_settings.max_end_user_budget, move to max_end_user_budget_id with a budget from the Budgets page, because the older setting was never applied. If a client depended on a blocked customer being served, unblock it before upgrading, because blocks now apply on every gateway.
  9. If you turned on reject_clientside_metadata_tags, check that no client relies on sending tags in the x-spanway-tags header or the top-level tags field, which are now refused too.
  10. If you store virtual keys in a secret manager with store_virtual_keys: true, set key_management_settings.access_mode to read_and_write or write_only. With the default read_only, new keys are no longer written to the store.
  11. If you use the tool_policy guardrail, make sure general_settings.supported_db_objects includes tools when it is set, because the guardrail now refuses tool requests until it has loaded policies from the database. If keys or teams carry a prompts list, check that it names every prompt they call, because inference requests now honour it.
  12. On a Spanway Cloud gateway with overage plans, set general_settings.cloud.overage_price_id to the Stripe overage price and check GET /cloud/billing/status, because overage is held back until that price passes the one cent per unit check.

Deferred items​

No security update is waiting for the release-age window in this release.

Pass-through guardrails can block a request or response but do not yet write masked text back, so a masking guardrail on a pass-through route only decides whether to block. The Guardrails Monitor does not yet track the average latency a guardrail adds, and its Export Data and Evaluation Settings actions are not built. Creating a container file from an existing /v1/files id is not supported through the gateway yet. These are planned for a later release.

Token counting calls on /v1/messages/count_tokens still write no row on the Logs page. The count tokens page now says so, and recording them is planned for a later release.

Preview build, 14 October 2026​

This build completes the Spanway enterprise feature set and the licensing model.

Licensing. Licenses are RS256 signed tokens verified offline against a public key bundled with the gateway, with no license server. GET /health/license reports the license type, expiry, licensed features and user and team limits.

Custom roles. Named roles extend a built-in base role with granted and denied permissions from a catalogue that covers keys, teams, users, organizations, models, spend, logs, budgets, guardrails, tags, projects, MCP, agents, credentials, settings, routing, audit, compliance and billing. Roles are managed with the /role endpoints and on the Roles page of the Admin UI, and assigned from the user's Edit Settings form on Internal Users, and /v2/user/info returns a user's custom_role_id. See custom roles.

Access requests. Developers request keys, model access, team seats and budget increases from the developer portal, and proxy admins or team admins approve or reject them. Approval applies the change through the gateway's own management functions, every action is audited, requesters are emailed the outcome, and the list API can be filtered by requester. See access requests.

Compliance and data governance. A control catalogue for eleven regimes, including GDPR, UK GDPR, CCPA and CPRA, HIPAA, the EU AI Act, SOC 2, ISO/IEC 27001, PIPEDA, LGPD, Singapore PDPA and the Australian Privacy Act, evaluated live against the running configuration, with stored report snapshots, retention periods for every log table, a data residency policy and data subject export and erasure. See compliance.

Billing and invoicing. Billing accounts over teams, organizations and end users, invoices built from daily spend with markup and tax, a usage preview, CSV export, a Stripe gateway with a signed webhook, automatic monthly generation and suspension for non-payment. The invoice CSV export is declared as text/csv in the OpenAPI document. See billing.

Admin UI. New Roles, Access requests, Compliance and Billing pages, and a new design for the dashboard and its logos.

Enterprise features. The enterprise package covers route checks, custom auth and the custom SSO handler, callback controls and logging metadata, legacy moderation, blocked user and banned keyword hooks, project management endpoints, routes, config, audit log, admin session, UI settings and key management parameters, email notifications with SMTP, SendGrid and Resend loggers and admin only settings routes, batch and background responses cost polling jobs, secret detection, LLM Guard, Llama Guard and PagerDuty alerting, managed files and managed vector stores and their endpoints. Billable users are counted through the user repository so the seat query runs on Postgres, and the Google moderation dependency is declared as its own extra.

Fixes. Duration strings are matched in full, so a value such as 30days is rejected instead of being read as 30d.

Preview build, 13 October 2026​

The first preview build of the gateway, SDK, Admin UI and documentation. The Admin UI wordmark was resized to fit the header, and the Lens UI package was pinned to a fixed version. See the documentation home for an overview of the gateway.