Skip to content

Changelog: October 2026

Part of the Changelog. Entries are append-only: when something recorded here as not yet released goes live, a new entry says so under a later date, and the older entry stays as written. For what is live today, read the status page.

  • Added (in production since 2026-10-30): updateKnowledgeBase(input: { id, name, description }): rename a knowledge base or change its description without touching its documents. See Knowledge and embeddings.
  • Added (in production since 2026-10-30): workspaceModels and ownerChannelConnectors (workspace owner only, read-only): the models the workspace may use and its default, and the workspace’s channel connectors with their linked AI employee, status and last activity (never credentials or message text). See Tenant and Channels.
  • Added (in production since 2026-10-30; attribution off by default): tenantCostByAgent (workspace owner only): what each AI employee cost in a window. Model calls are now recorded with the AI employee, session and run they belong to, but attribution is a platform setting that is off until Wetel switches it on: while it is off agents is empty and attributionEnabled is false, and calls with no agent are reported as unattributed (isFloor). Credits are approximate. See Tenant.
  • Added (in production since 2026-10-30): test chats. startSession takes isTest, and SessionDto and SessionActivitySummaryDto return isTest. A test chat is hidden from sessions, sessionActivitySummaries, sessionCount and activity counts and is never evaluated; a workspace owner can list them with includeTests: true. Their cost still counts. See Sessions.
  • Added (in production since 2026-10-30): withdrawRelease(releaseId): the author (or the owner) takes back a PENDING release so the draft can be edited and submitted again. See Tenant.
  • Added (in production since 2026-10-29): release audiences. setReleaseAudience (owner only) limits an approved release to SELECTED colleagues or a private TEST_GROUP; releaseVisibility says who may use released resources; ResourceReleaseDto gains audienceEnforced and audienceUserIds. Audiences are enforced only while a workspace has member-built drafts on (the default is off). While it is on, only the owner can create an API key. Turning member-built drafts on now releases to everyone every existing resource that has no release and was not made by a member. This replaces the earlier note that releasing did not change who can use a resource. See Release audience.
  • Added (in schema; off by default, do not rely on it): the generate_artifact workflow node, which asks a model to write a markdown document or an HTML page, or to draw an image, and stores it as an artifact. It is behind platform switches that are off, so it fails with DISABLED until Wetel enables them. ArtifactDto gains agentId, generator, hasThumbnail, isTest and visibility (reserved, not enforced); artifacts takes includeTests (owner only); artifactDownloadUrl takes thumbnail; the artifact errorCode can now be BLOCKED. See Generate Artifact Node and Artifacts.
  • Changed (in production since 2026-10-31): a typed dashboard chat or a test chat with an agent that has no workflow now gets the agent’s persona without the spoken-style voice rules. Sessions from startAvatarDemoSession, sdkStart, channels and voice calls are unchanged. See Sessions.
  • Reminder: a request body sent with a Content-Encoding other than identity is answered with HTTP 415 (UNSUPPORTED_CONTENT_ENCODING) since 2026-10-23. Send it uncompressed; see Troubleshooting.
  • Added (available on staging; production rollout pending): email verification. requestEmailVerification (signed in; at most 3 calls per 15 minutes per user) emails a 6-digit code to your own address and always answers true; confirmEmailVerification(code: String!) (at most 5 calls per 15 minutes per user) marks the address verified. User.emailVerified (Boolean) is visible on the current user. Enforcement is a platform setting that is off by default: when on, an account whose email is not verified is refused with FORBIDDEN (HTTP 403) and extensions.code EMAIL_NOT_VERIFIED (“Verify your email address first”) on publishWorkflow, rollbackWorkflow, createNamedApiKey, generateApiKey, inviteTenantUser, resendTenantInvite, hireAgentTemplate, bindAgentTemplateSlot and provideAgentTemplateSlotCredential. Accounts created or linked through group sign-in and accounts created by accepting a workspace invite count as verified. See Email verification.
  • Changed (available on staging; production rollout pending): a throttled GraphQL call now returns extensions.code TOO_MANY_REQUESTS (it was INTERNAL_SERVER_ERROR with the message ThrottlerException), a message like “Too many requests. Try again in about 2 minutes.” and extensions.retryAfterSeconds. extensions.status stays 429 and the HTTP status of the response is unchanged. See Error handling and Rate limiting.
  • Now in production: since 2026-10-29 (backend release of that night): the owner createTextArtifact, the member-built drafts and releases for knowledge bases, custom actions, agents and workflows (off per workspace until an owner enables member-built drafts), the per-workspace cap on headless tasks in flight (TENANT_BUSY), the owner email on a workflow failure and the PLAINTEXT_SECRET_IN_CONFIG diagnostic. The owner audit view (tenantAuditLogs, requestAuditLogExport, auditLogExport) is not in production yet.
  • Docs: new Channel capabilities page: what each channel supports today (text, groups, voice, files, approvals, hand-off, limits), checked against the code. The Channels page now lists the API channel type, says that only PDF and image files are accepted from Telegram, and shows the current attachment URL form (a signed gateway link; the Telegram bot token never appears in it).
  • Added (in production since 2026-10-29): member-built drafts and owner releases for knowledge bases and custom actions: setMemberBuilderForTenant, Tenant.memberBuilder, submitRelease, myReleases, releasesByState, decideRelease, revokeRelease, and createdByMe / releaseState on knowledgeBases and customActions. Off by default. A member’s draft custom action carries no credentials; publishing a workflow is refused while it uses an unreleased knowledge base or custom action. See Tenant. Off by default per workspace: nothing changes until an owner turns on member-built drafts (Tenant.memberBuilder, false until then).
  • Added (in production since 2026-10-29): releases now also cover agents and workflows: submitRelease accepts resourceType AGENT and WORKFLOW, and agents and workflows return createdByMe and releaseState. While member-built drafts are on, an agent a member creates starts INACTIVE and a member cannot set its workflowId or external sync fields (BAD_REQUEST); a member can publish a workflow only once it is released, and publishing is also refused while a sub-agent node points at an unreleased agent. A resource a member may not see answers NOT_FOUND (an agent or workflow reads as null). See Tenant. The release primitive stays off for a workspace until its owner enables member-built drafts.
  • Added (available on staging; production rollout pending): tenantAuditLogs, requestAuditLogExport and auditLogExport (workspace owner only): the audit trail of the whole workspace and a CSV export (at most 100,000 rows, download link valid for 15 minutes). Field names only, never values; reads, chat sessions and messages and workflow runs are not audited. See Tenant.
  • Added (in production since 2026-10-29): createTextArtifact (workspace owner only): store an HTML page or a Markdown document as an artifact (kind html_page or markdown, at most 262144 bytes). The file is stored as plain text and must be shown through a sanitised, sandboxed preview. There is no delete mutation yet. See Artifacts.
  • Added (in production since 2026-10-29): a per-workspace cap on headless tasks in flight (default 10). runWorkflowTask and scheduled fires over the cap are refused with HTTP 429 and recorded as TENANT_BUSY. See Rate limiting and runWorkflowTask.
  • Added (in production since 2026-10-29): with settings.notifyOnFailure set to OWNERS, each active owner with an address also gets an email, not only the in-app notice. It holds the workflow name, run id and time, never error text. See Workflows.
  • Added (in production since 2026-10-29): workflow diagnostic PLAINTEXT_SECRET_IN_CONFIG (warning, never blocks save or publish) for a likely literal credential in a webhook, tool or action node’s configuration; the message never repeats the value. See Workflow diagnostics.
  • Added (in production since 2026-10-27): exportGuestSubject and eraseGuestSubject (workspace owner only) for data-subject requests about one guest: export their data as JSON, or erase it with a required dryRun flag. See Tenant.

  • Changed (in production since 2026-10-27): in the Group Brain API, a follow-up from the person the agent just answered is no longer answered by rule: it goes to the judge as a follow-up candidate, so off-topic messages get SILENT. In mention_only mode the follow-up window no longer applies. The follow_up reason code remains. If your client depends on the agent answering every follow-up, tell us.

  • Added (in production since 2026-10-27): publishSentences on the llm node: send each finished sentence to the client while the model is still writing (partial AI_RESPONSE events with isFinal: false, then an empty final event). Off by default and per node; refused with outputSchema and with streamOutput: false.

  • Docs: the Group Brain API now explains the follow_up rule and the continuityMs window, and the mention-only recipe has a section on running more than one agent in the same group. No API change.

  • Docs: new Telephony primer: the phone network, SIP and RTP, why phone audio is 8 kHz, the listen-think-speak loop and a glossary, with how it maps to Wetel Telephony today. No API change.

  • Docs: new telephony page How a call flows: sequence and component diagrams for a call to a demo phone number and for a Wetel-run outbound test, what each part does, what you can try today and what is not available. No API change; telephony is still a test-environment capability on request.

  • Added: signIn mutation — authenticates with email/phone + password and supports two-factor authentication in a single flow. Returns a SignInResult with status SIGNED_IN, TWO_FACTOR_REQUIRED, or TWO_FACTOR_ENROLMENT_REQUIRED. Two-factor is completed with completeSignInWithTwoFactor (submit authenticator code) and, for first-time set-up, generateTwoFactorForSignIn (get the QR code). See Signing in with two-factor support.

  • Changed: login now refuses accounts that have two-factor authentication (or whose workspace requires it) with FORBIDDEN and code TWO_FACTOR_REQUIRED or TWO_FACTOR_ENROLMENT_REQUIRED. Integrations with such accounts must migrate to signIn + completeSignInWithTwoFactor.

  • Added: signOutEverywhere — signs the current user out of every session on every device; all existing tokens are refused from the next request. revokeUserSessions (owner only) — does the same for a specific user of your workspace. See Session revocation.

  • Added: Workspace invites — inviteTenantUser, acceptTenantInvite, resendTenantInvite, revokeTenantInvite, tenantInvites. Owners invite by email; the invitee receives a one-time code (never returned by the API) valid for 7 days. See Workspace invites.

  • Added: setRequireTwoFactorForTenant (owner only) — enforce two-factor authentication for every password sign-in to the workspace. resetTenantUserTwoFactor (owner only) — turn off two-factor for a user who lost their authenticator (also revokes their sessions). See Workspace security.

  • Added: workspaceSecurityEvents (owner only) — paginated security event log for your workspace (sign-ins, failures, locks, password events, owner actions, invite events, two-factor policy changes). mySignInHistory — the caller’s own account security history. See Workspace security.

  • In production since 2026-10-27: structured output (outputSchema) and per-node timeoutMs on I/O nodes. See Structured output and Workflows API reference.

  • Now in production: the 2026-10-22 and 2026-10-23 changes below that were marked “available on staging” are live in production since 2026-10-24: the per-node retry policy (with attempts/retryOutcome on the trace and the RETRY_NOT_IDEMPOTENT diagnostic), mock mode for draft tests and regression replays (draftSideEffects, draftMocks, draftMockLlm, mockResponse, runRegressionScenario’s sideEffects and its mock-mode default, WorkflowRunDto.mocked), the empty end-of-turn event (turnComplete: true with empty text) and the Group Brain API, which stays shadow-only: it needs a named API key with the groups:decide scope, and every decision is answered SILENT until Wetel staff switch the profile live. A production draft test now runs in mock mode by default; pass draftSideEffects: LIVE (workspace owner only) to run every node for real. Telephony (sdkStartVoiceCall) is unchanged: staging only, on request, not in production.
  • Added (available on staging; in production since 2026-10-27): structured output for the llm node. outputSchema (a JSON Schema subset: root object, at most 3 levels of objects, at most 20 properties per object, at most 4 KB, additionalProperties: false, every property in required, optional values as nullable [type, "null"], enum/pattern/length and range limits; format, anyOf, $ref, nullable enums and backtracking-prone patterns are refused with BAD_USER_INPUT) makes the node store the parsed, validated object in outputVar; flatten also writes each top-level property to its own variable; structuredMode (auto or prompt) chooses how the model is asked. An invalid reply gets one repair call, billed as its own model call (none after a reply cut off at the token limit); a reply still invalid fails the node, which follows its failure edge with _lastNodeErrorCode INVALID_DATA. Cannot be combined with streamOutput: true, extractFirstInteger, matchAnyOf or extractAlphanumericId. Trace rows gain structuredMode, repaired and structuredRaw; new info diagnostic LLM_STRUCTURED_WITHOUT_FAILURE_EDGE, and ROUTER_DOTTED_VARIABLE_OF_TEXT no longer fires for a structured node. A valid reply has the right shape, not necessarily the right values: check them in a later node or an approval step. Nodes without outputSchema are unchanged.
  • Docs (correction): the telephony overview now has one “what works today, what does not, what is next” table, and the telephony roadmap, controls and compliance and roadmap pages match it. No API change. Corrections: asking for a person gets a spoken callback offer, not a live transfer; live calls are tested in English only; ordinary phone calls (including Malaysian +60 numbers, inbound or outbound) and joining Meet, Zoom or Teams meetings are not available; the overview’s “no outbound sales calls, and it will not” answer now states the actual policy: no cold outbound sales calls, while callbacks the person asked for and follow-ups with people who agreed to be called are planned at specification stage, with no date. New FAQ answers cover +60 numbers, meetings and languages.
  • Docs: new cookbook recipe Build a reliable workflow, no API change: a lookup that retries with an idempotent policy, reads its result with set_variable and branches with a switch; a create call whose retry policy leaves out TIMEOUT (and the RETRY_NOT_IDEMPOTENT warning if you add it); failureResponse and notifyOnFailure as the safety net; one mock-mode test turn per branch with draftMocks; and publish with a note, then rollbackWorkflow. The retry and mock-mode parts are available on production from 2026-10-24.
  • Added (available on staging; in production since 2026-10-24): a per-node retry policy on tool, action and webhook nodes: maxAttempts (1 to 4, required), backoff, delayMs, maxDelayMs, jitter, on (any of TIMEOUT, UNREACHABLE, RATE_LIMITED, UPSTREAM_ERROR; default UNREACHABLE and RATE_LIMITED), idempotent and deadlineMs. A request that may already have reached the service is resent only when it is idempotent. Without retry, a node keeps its current behaviour. The trace row of a node that retried shows attempts and retryOutcome, and a new WARNING diagnostic, RETRY_NOT_IDEMPOTENT, flags a policy whose TIMEOUT/UPSTREAM_ERROR classes can never be retried.
  • Added (available on staging; in production since 2026-10-24; shadow-only): the Group Brain API for platforms that run their own group chats: groupDecide (should the assistant speak, stay silent or wait for this batch of messages), groupReportOutcome, groupSetState and groupDecisions. It needs a named API key with the groups:decide scope and a channel connector of type API. Every decision is recorded and answered SILENT until Wetel staff switch the profile live.
  • Changed (live, breaking for a few clients): security hardening, in production since 2026-10-23. Compressed request bodies are refused: a request to the Wetel APIs (GraphQL, the REST endpoints, the speech and avatar service, and the endpoints that receive webhooks) that carries a Content-Encoding header other than identity is answered with HTTP 415; the application’s own refusal body is {"statusCode":415,"code":"UNSUPPORTED_CONTENT_ENCODING",...}, and the public edge may answer a plain 415 first. Send the body uncompressed (no Content-Encoding). Almost every client already does: browsers, fetch, axios and the usual GraphQL clients do not compress a request body unless you ask them to. Response compression is not affected; Accept-Encoding still works as before. See Send plain request bodies.
  • Changed (live): outbound responses must not be Brotli-compressed. When Wetel calls a URL you configured, it now declines Brotli and refuses a response that arrives Brotli-encoded: webhook and action node calls and file fetches ask for Accept-Encoding: identity and refuse any response that arrives with a Content-Encoding; MCP connector calls, externalSyncUrl deliveries and URL ingestion ask for gzip, deflate and refuse a Brotli response. A target that compresses regardless fails that call with a short error naming the encoding. Turn off response compression, or at least Brotli, for the endpoints Wetel calls. See Responses Wetel cannot read.
  • Docs: three new cookbook recipes for features that are live in production, with no API change: Answer when mentioned (an agent in your platform’s group chats that answers only when mentioned or replied to, built on sdkStart/sdkSendMessage with one session per group), Fail gracefully (failure edges, a switch on _lastNodeErrorCode, and _lastNodeErrorPublic as the only error text users see) and Delegate to a specialist (sub_agent with inputs and outputs). The partner template page is now Provision agents for your customers with a template hire, same URL and anchors, with a one-agent-per-customer walkthrough, a test checklist and its limits.
  • Docs (correction): the telephony overview, controls and compliance and roadmap pages listed per-key daily voice call caps as planned or staging only. The cap is in the production code as well (1,000 call requests per API key per UTC day by default, set per environment; past it sdkStartVoiceCall answers INTERNAL_SERVER_ERROR with extensions.status 429), so the “still staging only” note in the entry below was wrong about the cap. Voice calls themselves remain staging only, on request, so in practice the cap applies only there.
  • Added (available on staging; in production since 2026-10-24): mock mode for draft tests and regression replays. A draft test (sendMessage with testDraft: true) now runs with draftSideEffects: MOCK by default: tool, action, webhook and pdf_export nodes build their request exactly as live and then return a mock result instead of calling out (no outbound call, no credentials, no file written, no metering), a sub_agent node’s children run in mock mode too, and LLM nodes still call the model unless the test passes draftMockLlm: true or mocks them. draftMocks scripts a result ({ "output": ... }) or a failure ({ "fail": "..." }, which follows the node’s failure edge) per node, and the new node config field mockResponse (up to 16 KB, mockable node types only) sets a node’s default mock. At most 20 real model calls per test turn. draftSideEffects: LIVE runs every node for real and is limited to the workspace owner. runRegressionScenario also defaults to mock mode, with mocks taken from the scenario’s recorded run, and takes sideEffects: LIVE (owner only); each result records sideEffectMode. A mocked run has WorkflowRunDto.mocked: true and each mocked trace row "mocked": true. New info diagnostic: MOCK_RESPONSE_SET. Until 2026-10-24, in production a draft test and a replay still ran every node for real. See Testing a Workflow Safely.
  • Changed (available on staging; in production since 2026-10-24): a workflow run that completes without a reply marked turnComplete: true now ends the turn with one empty AiResponseEvent (text empty, turnComplete: true), the same event an approval pause sends. Skip events with empty text when rendering; nothing is stored. See A turn can end with an empty event.
  • Now in production: the 2026-10-21 changes below that were marked “available on staging” (expressions that cannot assign, _lastNodeErrorCode/_lastNodeErrorPublic, OUTBOUND_URL_REFUSED and BAD_GATEWAY, normalize: "numbers" and the speech-to-text billing change) are live in production since 2026-10-21. The voice call daily cap is still staging only.
  • Changed (live, breaking): changePassword requires currentPassword in PasswordInput (since 2026-10-21), so a session token alone can no longer change a password, and it returns true on success (it returned false before). A wrong current password or an unchanged one is BAD_REQUEST; at most 5 calls per 15 minutes per user. Send currentPassword from your change-password form; accounts created through single sign-on set a password with generateOTP and forgotPasswordWithOTP instead.
  • Changed (available on staging; in production since 2026-10-21): workflow expressions can no longer assign. The = operator (x = 5) and function definitions (f(a) = a + 1) are refused in condition, switch and set_variable expressions, and a condition is evaluated on a copy of the run’s variables, so an expression can never change them. ==, !=, <=, >= and built-in functions are unaffected (map(sqrt, items) still works; an inline callback such as map(f(x) = x * 2, items) does not). A switch or set_variable expression with = is refused at save with BAD_USER_INPUT; a condition that uses one fails the run at that node.
  • Added (available on staging; in production since 2026-10-21): when a failure edge handles a node failure, the run context now also holds _lastNodeErrorCode (TIMEOUT, UNREACHABLE, RATE_LIMITED, REJECTED, UPSTREAM_ERROR, INVALID_DATA or UNKNOWN) and _lastNodeErrorPublic, a fixed neutral sentence for that code, next to the raw _lastNodeError. Branch on the code, and show end users only _lastNodeErrorPublic: _lastNodeError can name hosts, ids and the other service’s own message. Additive; existing graphs are unchanged.
  • Changed (available on staging; in production since 2026-10-21): a refused outbound URL (serverUrl on createMcpConnector/updateMcpConnector, url on createCustomAction/updateCustomAction, an agent’s externalSyncUrl, a webhook node’s url on updateWorkflow) now answers BAD_REQUEST instead of INTERNAL_SERVER_ERROR, with extensions.originalError.code OUTBOUND_URL_REFUSED and extensions.originalError.reason (INVALID_URL, UNRESOLVABLE_HOST or PRIVATE_ADDRESS); the message is unchanged. listMcpTools answers BAD_GATEWAY (extensions.status 502) when your MCP server cannot be reached or does not answer properly. See Refused URLs and an unreachable MCP server and Errors.
  • Added (available on staging; in production since 2026-10-21): POST /stt, /stt/google and /stt/gemini take an optional normalize: "numbers". English, Malay and Mandarin number words in the transcript become digits (empat lapan dua satu becomes 4821, lima puluh ringgit becomes RM50), and the response adds rawTranscript with the engine’s original text. Off by default; no model call; billing unchanged.
  • Changed (available on staging; in production since 2026-10-21): speech-to-text billing. A transcript is billed once even when the Cloud engine re-checked the clip (attempts: 2), a transcript from the Gemini engine is billed at the Gemini model’s token rate instead of per 15-second block, and the dashboard playground’s transcribeSpeech is now metered and counts toward the monthly spend cap. See Speech engines.
  • Changed (staging, on request; not in production): sdkStartVoiceCall has a per-API-key daily cap, 1,000 call requests per UTC day by default; past it the call is refused with extensions.status 429 and the message Daily voice call limit reached for this API key; try again tomorrow (UTC). A call nobody joins is now closed as EXPIRED about 10 minutes after the request (within about 15 minutes).
  • Docs (correction): Pricing said speech usage does not count toward the monthly spend cap. Speech through the speech service already counts, at its underlying cost; tool calls do not.
  • Docs: Why Wetel chose LiveKit, a sourced comparison of the platforms we looked at for real-time voice agents (no API change). Vendor facts were checked on 2026-10-19 and are linked; we did not benchmark any competitor.
  • Added (staging, on request; not in production): Telephony, live voice calls between a caller and a Wetel agent over LiveKit (WebRTC). The new mutation sdkStartVoiceCall(input: SdkStartVoiceCallInput!) takes the same named API key as sdkStart (server side only, with x-huat-platform: customer) and an agentId, an optional clientId and an optional flat context. It starts a session as sdkStart does and returns sessionId, agentId, livekitUrl, livekitToken, roomName and expiresAt; the token joins one fresh room and is accepted for about two minutes. The agent speaks first (saying it is an AI), can be interrupted, and answers with the agent’s published workflow. Errors: UNAUTHENTICATED (Missing X-Api-Key header, Invalid API key), FORBIDDEN (Voice calls are not enabled on this environment), NOT_FOUND for an unknown agent; rate limits of 60 a minute per client address and 30 call starts a minute per workspace (the over-limit error may carry no specific code). Read the limits: a Wetel person runs the voice worker for arranged test sessions (no always-on hosted worker yet), measured reply time is about 3 to 5 s against a target of about 1.5 s, the join token’s contents are readable by the caller’s browser, there are no call records yet, and SIP, WhatsApp calling and phone numbers are not available. Pricing is not set; usage is metered with the session. See Telephony, the quickstart, building a voice-safe workflow, pilot testing and the roadmap.
  • Changed (live): when a run pauses at an approval node, sessionEvents subscribers (SDK and guest chat clients) now receive an empty AiResponseEvent with turnComplete: true before the decision, so a client that waits for turnComplete is no longer held until a manager decides. Nothing is stored (no message, not replayed on reconnect); skip events with empty text. The outcome reply after the decision is delivered as before.
  • Changed (live): the pdf_export node also accepts sections JSON that an llm node wrapped in a markdown code fence or surrounded with prose, or that has raw line breaks inside its strings. The first complete value that parses and looks like sections is used, with the same rules and limits.
  • Added (live): the pdf_export workflow node. It turns a list of sections held in a run variable (an array, { sections }, or the same as JSON text from an llm node) into a PDF in one of three fixed layouts (brochure, itinerary, slides), stores it as an artifact and writes { artifactId } to its outputVar. No model call, no credits. Limits are strict, never truncating (brochure and itinerary: 40 sections, 4,000-character bodies, 30 items; slides: 30 sections, 1,200-character bodies, 8 items; 60,000 characters and 60 pages per document). A server renders one document at a time, so an export started while another renders fails at once: add a failure edge, which this node now supports (failure routing and the FAILURE_WITHOUT_SUCCESS/SUCCESS_WITHOUT_FAILURE diagnostics include it). A render or storage failure marks the artifact FAILED with a fixed code (RENDER_FAILED, TIMEOUT, TOO_LARGE, UPLOAD_FAILED, INTERNAL). Dashboard draft test runs create real artifacts, with kind pdf_document_draft.
  • Added (live): the Artifacts API for generated files. artifact(id) and artifacts(sessionId, kind, first, after) (newest first, first default 20, at most 100) read status PENDING/READY/FAILED, title, size and errorCode; the mutation artifactDownloadUrl(id) mints a signed link valid for 5 minutes (CONFLICT until the artifact is READY, NOT_FOUND outside your scope, 60 calls per minute per IP). Each takes a dashboard JWT (any artifact of the workspace) or the avatarToken from sdkStart (only that session’s artifacts). Treat the link as a credential: never store, log or share it.
  • Added (live): settings.notifyOnFailure on updateWorkflow, live in production since 2026-10-16. OWNERS gives every active workspace owner an in-app notice (read with getNotifications) when a run of that workflow fails, at most one per workflow per 60 minutes, the next one saying how many failures were held back; NONE (the default, also for a hired template) turns it off. Never for draft tests, regression replays, interrupted or superseded turns, or a failure a failure edge handled. The notice names the workflow and the failing node type and links to the run (/workflows/<id>/runs/<runId> in the dashboard); it never contains the error text or anything from the conversation.
  • Docs: Workspace preview walkthrough (preview, no API change). See Workspace Preview.
  • Added (live): a workflow version history API, all with a dashboard JWT. workflowVersions(workflowId, first, after) lists every publish, rollback or template hire that changed the published graph, newest first (Relay paging, first default 20, at most 100); workflowVersion(workflowId, versionNumber) returns one version’s full graph; workflowVersionDiff(workflowId, fromVersion, toVersion?) names the node and edge ids and node keys that changed (never values), and with toVersion omitted compares against the draft, which is exactly what the next publish would change. rollbackWorkflow(workflowId, versionNumber, note?) publishes an old graph again as a new version (source: ROLLBACK) and leaves the draft untouched; it is re-checked against today’s rules and refused with the same errors as publishWorkflow when it no longer passes, and with BAD_USER_INPUT when that graph is already the one live. restoreWorkflowVersionToDraft(workflowId, versionNumber) copies a version into the draft (replacing unpublished edits) without publishing. publishWorkflow(id, note) takes an optional note (at most 500 characters) stored on the version. The newest 100 versions are kept, plus the current one and any a waiting conversation uses. The reference now also says correctly that WorkflowDto.version goes up on every save (updateWorkflow and publishWorkflow) and starts at 1; it is not a version number.
  • Added (live): WorkflowDto.currentVersionId (the version new turns run) and WorkflowRunDto.workflowVersionId (the version a run executed; null for draft tests and older runs). Paused conversations already resume on the version they paused on in production (see the 2026-10-14 entry and Publishing while a conversation waits); a rollback behaves like a publish there.
  • Added (live): workflow settings with a custom failure reply. updateWorkflow(input: { settings: { failureResponse } }) sets plain text (1 to 500 characters after trimming) sent instead of the standard “Sorry, I ran into a problem” reply when a run of that workflow fails, including draft tests, resumed conversations and headless tasks (it shows in workflowTaskOutcome.replies). It is refused with BAD_USER_INPUT when it contains {{ }}, HTML tags, control characters or credential-shaped text; null clears it. It applies as soon as it is saved, is not part of any version, and is not sent for a failure handled by a failure edge or for an interrupted or superseded turn. Read it back with WorkflowDto.settings (never null).
  • Added (live): SessionDto.startedByUserId, the dashboard user who started a session with startSession; null for API-key (sdkStart), avatarToken, channel, sub-agent and replay starts and for older sessions, and always null on sessionsByExternalCustomerId. sessionActivitySummaries takes an opt-in mine: Boolean that keeps only your own sessions (totalCount included); a caller with no user behind the token gets an empty page. Without mine nothing changes.
  • Docs: 11 more operations in the developer portal catalogue, each with a curated example, example responses, its credential, the usual errors and samples in five languages (no API change, all live in production): evaluation on Sessions and messages; workflowRun and pendingAwaitReplies on Workflows; knowledgeDocument, resyncKnowledgeDocument and retrieveChunks on Knowledge bases; and two new pages, Scheduled workflows (createScheduledWorkflow, scheduledWorkflows) and Workspace and usage (myTenant, apiUsageSummary, customerUsageSummary). The Postman collection, OpenAPI file and interactive reference include them.
  • Changed ((live)): failure routing with success/failure edge labels now works on webhook, llm, sub_agent and set_variable nodes, not only tool and action. Opt-in by label: a node with neither label behaves exactly as before. Only an error raised by that node itself takes the failure edge (the trace row is FAILED_HANDLED, the run completes and the message is in _lastNodeError); a routing error, the run budget, the visit limit or an interrupt never does. A failure edge without a success edge is refused at publish. On an llm node a refused model (not in your workspace’s or API key’s allowed list, or not in the catalog) or a refused image now takes the failure branch when there is one, and the run completes. A sub_agent still reports a failed or timed-out target in its resultVar; its failure edge is for configuration errors only. On a router, success and failure stay ordinary route values.
  • Changed ((live)): workflowDiagnostics has a new INFO code, FAILURE_EDGE_ON_UNROUTABLE_NODE, for a success or failure label on a response, end_session, condition or switch node, where the label has no failure meaning. FAILURE_WITHOUT_SUCCESS and SUCCESS_WITHOUT_FAILURE now cover all six node types that route failures.
  • Changed ((live)): sub_agent inputs and outputs (listed under 2026-10-14) go to production with this release: named inputs rendered from the master’s context and set as variables in the sub-agent, named outputs returned as values (with missingValues for any that were absent or too large), reserved and underscore-prefixed names refused at save, and a bad input failing only its own target. The page now also notes that a duplicated output name and an input template that does not parse are refused at save.
  • Docs: the Sub-Agent Node page now warns that the conversation passed to a sub-agent includes the master’s own earlier replies (which a model can echo) and that [[...]] marker lines are not stripped from the text it sees. Verified in a live two-turn run of the ticket-specialist example on staging. No behaviour change.
  • Added ((live)): a sub_agent target can take inputs (named values, rendered from the master’s context, set as variables in the sub-agent before it starts) and outputs (names of sub-agent variables returned as values on that target’s result entry, with missingValues for any that were absent). Both are optional, so existing workflows are unchanged. A non-LLM node in a sub-agent no longer needs an extraction llm node to use a value from the master.
  • Docs: the Sub-Agent Node page now compares sub-agents with router branches in one workflow (which one keeps channel.raw, costs less, supports multi-turn, and gives per-specialist cost lines), and shows how to give a sub-agent the conversation, since a sub-agent starts with empty history. No behaviour change.
  • Docs: the Sub-Agent Node page now answers whether a sub-agent can run actions (yes), where an action should live depending on where its inputs come from, and what differs inside a sub-agent (no channel, no await_reply, no retry, timeout and depth limits). No behaviour change.
  • Docs: the Sub-Agent Node page now explains which nodes can use the text a sub-agent receives (llm) and which need a variable (condition, switch, router, and action/tool/webhook arguments), and shows how to avoid an extraction call by keeping those nodes in the master. No behaviour change.
  • Docs: the Read Channel Facts Without an LLM Call recipe now says up front which workflows have channel.raw (the one a message starts, not a sub-agent) and that set_variable is optional: read channel.raw directly, and add set_variable only for shorter names, a number or default, or a node that needs a flat variable name.
  • Docs: new cookbook recipe, Read Channel Facts Without an LLM Call: replace extraction llm nodes with one set_variable node that reads channel.raw (bracket syntax for dotted keys, a guard for a missing marker, and excludeHistory/matchAnyOf/modelOverride for the nodes that still need a model).
  • Changed ((live)): workflow runs record the published version they executed, and a paused conversation (await_reply or approval) resumes on the version it paused on, not on a graph published later. See Publishing while a conversation waits.
  • Fixed ((live)): sdkEndSession no longer fails when the evaluation model’s recommendation is longer than 50 characters; it returns n/a for the recommendation instead.
  • Docs (correction): the Sub-Agent Node page no longer suggests set_variable for pulling a value out of the sub-agent’s opening message. set_variable computes from existing variables and cannot split text; use the LLM node reading {{userMessage}} directly, or an extraction LLM node when a non-LLM node needs a variable.
  • Docs: the Sub-Agent Node page now states that channel (including channel.raw) and attachment are not available inside a sub-agent, and how to pass those values as text. No behaviour change.
  • Docs: the Sub-Agent Node page now explains how to use a master variable inside the sub-agent’s LLM node: put it in contextTemplate, then read {{userMessage}} in the sub-agent. No behaviour change. The Channels page also now shows how to read a dotted channel.raw key such as support.name ({{channel.raw.[support.name]}}).
  • Docs: a read-only Docs MCP Server for coding assistants that speak the Model Context Protocol. Seven tools answer from the developer portal’s generated files, offline: the catalogued operations with every input field, type and allowed value, the published samples in curl, TypeScript, PHP, C# and Python, a keyword search of the docs, the workflow node reference, and the JSON to Flow visualizer’s workflow checks with a code and a fix per finding. It never calls the API and never takes a credential. Not published to npm yet: run it from a checkout of the docs site repository. No API change.
  • Docs: a new Interactive API Reference shows the 41 operations of the Developer Portal catalogue on one page, rendered from the OpenAPI file: each operation listed as /graphql#<operationName>, its credential, variables with types and allowed values, example responses and request samples in curl, JavaScript, PHP, C# and Python. The Try it console is not switched on yet. No API change.
  • Changed ((live)): a workflow run’s trace now has one row per dispatch. When a node ran but routing then failed (a condition with no edge for its result, a switch with no matching edge, a router with no match and no default, an approval outcome with no edge, a labelled node with no success edge), that node’s row is FAILED and carries a new failurePhase (routing, or pause_persist when saving an await_reply pause failed) instead of a COMPLETED row followed by a FAILED row. The error text, the run status and NodeFailedEvent are unchanged. Runs stored before the change keep the two rows.
  • Fixed: createAgent now checks llmModelOverride and llmProviderOverride against your workspace’s allowed models, as updateAgent already did. Before, an agent could be created on a blocked model and was only refused at its next update. Workspaces with no model restriction see no change.
  • Changed: sessionsByExternalCustomerId returns at most 100 sessions per page (a larger first is clamped to 100, a value below 1 to 1). Page with hasNextPage / endCursor. Before, first: 0 could report hasNextPage: true with no cursor, and a negative value failed with a server error.
  • Fixed: for agents with useCase: CUSTOM, the evaluation returned by sdkEndSession now uses the agent’s own evaluationPromptTemplate and evaluationRecommendationLabels. Before, it used the generic good/fair/poor prompt, while the background evaluation after endSession already used yours. Built-in use cases are unchanged.
  • Docs: sdkEndSession evaluates before it returns (the evaluation is in the response); the troubleshooting and reference pages now say so.
  • Docs: the Developer Portal reference and the downloadable OpenAPI file now describe every field, input, argument and allowed value of the 41 catalogued operations (for example which sdkStart fields only apply when the workspace has no active agent). The same text appears in the GraphQL explorer on the sandbox. No API behaviour changed.
  • Docs (live): a new Developer Portal for developers who usually work with REST: a Hello ticket quickstart (start a session, send a message, poll for the reply with sessionsByExternalCustomerId, end the session) in curl, TypeScript, PHP, C# and Python; an Authentication cheat sheet with the exact message of every credential error; an Errors page with every extensions.code; and an operation reference for sessions, API keys and approvals with allowed values and example responses. A Postman collection, a Postman environment and an OpenAPI 3.1 file cover the same operations. Everything is generated from one set of curated examples that is validated against the API schema.
  • Docs (live): the examples now use the sandbox base URL, https://api.wetel.dev/graphql, stated once on Getting Started; your production base URL is issued when you go live. The speech service address is always the avatarServiceUrl returned by the API. Core API Flow also had two errors fixed: sdkEndSession’s evaluation selects score and summary (there is no rating or feedback field), and the session token lives about one hour, not 24. The x-huat-platform header is checked right after the credential, not before it, so a request missing both reports UNAUTHENTICATED first. No API change.
  • Docs (live): the Developer Portal operation reference now also covers agents, workflows (including runWorkflowTask, workflowTaskOutcome, workflowDiagnostics and nodeConfigSchemas), knowledge bases (with the three-step file upload), MCP connectors and custom actions, 41 operations in all, each in five languages and in the Postman and OpenAPI files. A short Route a ticket recipe lists the calls that turn the ticket triage cookbook into a running agent.
  • Docs: new end-to-end cookbook recipe, Triage a Support Ticket End to End: one complete graph (15 nodes, 19 edges) that collects a ticket with await_reply, classifies it with an llm node (matchAnyOf, streamOutput: false), normalises the values with set_variable (including coerce: "number"), branches with a switch, asks a workspace owner to approve urgent escalations with an approval node, replies and ends the session. It shows the run trace (assigned, matchedCase), a draft test with draftApprovalOutcome, and what each workflowDiagnostics code would mean for that graph. The graph passes the platform’s save and publish checks and can be pasted into the JSON to Flow visualizer or the editor’s Import dialog.
  • Added (live in production since 2026-10-13): a workflow run trace id. WorkflowRunDto.traceId (a UUID, null for older runs) is shared by every run of one logical execution: a new id per ordinary turn, the paused run’s id when a run continues an await_reply or approval pause, and the parent’s id for a sub_agent child run. The same value is sent as the x-wetel-trace-id request header on the run’s outbound webhook, action and MCP tool calls, so a request in your logs can be matched to the run. A header of the same name that you configure yourself is kept. Additive: existing queries, graphs and callers need no change, and a server that ignores unknown headers is unaffected. It is never shown to end users.
  • Added (live in production since 2026-10-11): approvals takes an optional statuses: [ApprovalStatus!] argument that lists requests in any of several states in one newest-first list, for example every decided request with statuses: [APPROVED, REJECTED, EXPIRED, CANCELLED]. Paging (first, after) is unchanged. Sending both status and statuses, or an empty statuses list, answers BAD_REQUEST; duplicates are ignored. With neither argument the inbox still lists only PENDING requests, so existing callers need no change.
  • Added (live in production since 2026-10-11): a switch workflow node: 1 to 10 cases, each a label and an expression in the condition node’s expression language, tested in order. The first true case routes along the edge labelled with its label; when none is true the run follows the edge labelled default. Publishing requires exactly one edge per case label and exactly one default edge, and refuses any other edge label (except loop_exhausted) and reserved case labels. A case that names a variable the run does not hold counts as false, like a condition. The trace row records matchedCase, matchedCaseIndex and switchUnresolved. nodeConfigSchemas returns 13 entries. See Switch, router or condition? for which branching node to use.
  • Changed (live in production since 2026-10-11): workflowDiagnostics no longer reports LLM_EXTRACTION_REGEX_HELPER. It was an INFO note that said “no action needed” whenever an llm node used matchAnyOf, extractFirstInteger or extractAlphanumericId correctly. LLM_HELPER_IGNORED_WHEN_STREAMING, the real warning for those helpers, is unchanged. If your tooling switches on codes, treat an unseen code as a generic finding, as before.
  • Changed (live in production since 2026-10-11): the JSON to Flow visualizer now draws every node type, including await_reply, approval and set_variable, with a type chip, a colour-coded border, a one-line summary per node, labelled and coloured edges, and a dotted default edge for a router’s defaultTarget. Its Findings panel runs the same checks as workflowDiagnostics. The workflow editor in the Wetel app shows the same look, a set_variable palette entry and form, and a Checks strip with the draft’s findings.
  • Added (live in production since 2026-10-11): a set_variable workflow node that writes context variables without calling a language model. Each of its 1 to 20 assignments is an expression (the condition node’s expression language), a template (Handlebars text) or a literal, with optional coerce (number, boolean, string, json) and, for expressions, a default used when a referenced variable is not set (without one, that case fails the run, unlike a condition). coerce: "number" stores a real number, so a later condition compares numbers rather than text. It replaces an llm node used only to copy or convert a value. The run trace row lists the variables it wrote (assigned).
  • Added (live in production since 2026-10-11): workflowDiagnostics(id, published), a read-only query that lists non-blocking findings about a workflow graph: a router with no fallback, a router edge that is never followed, a dotted router variable that reads into LLM text, a condition missing a branch, an extraction option a streaming llm node ignores, two parallel paths meeting at one node with no join, unreachable nodes and more. Each finding has a stable code, a WARNING/INFO severity and a message naming the node and what to do. It checks the draft by default (published: true checks the published snapshot) and never blocks saving or publishing. See Workflow Diagnostics and the API reference.
  • Changed (behaviour, live in production since 2026-10-10): a router whose value matches no outgoing edge label and that has no defaultTarget (and no tripped circuit breaker) now fails the run at that node: a FAILED trace row whose error names the variable, the value and the available labels, a NodeFailedEvent, and the standard failure reply. Before, the run ended with no reply and no error. A router with a defaultTarget behaves as before. Set a defaultTarget on every router.
  • Added (live in production since 2026-10-10): a router’s variable can be a dotted path into an object in the run context, for example analysis.severity when analysis holds an object. If the first part of the path holds plain text (an llm node stores its answer as text, and the platform does not parse it), the router cannot read inside it: the node’s trace row now carries a routerNote explaining that, so write the value to its own variable with a separate step instead.
  • Added (live in production since 2026-10-09): partnerAgentTemplates returns each slot’s slotKey, so you know which key to pass in slotBindings or partnerBindAgentTemplateSlot before hiring. The workspace gallery still returns null for it. See Hiring role templates with an API key.
  • Added (live in production since 2026-10-09): partners can hire role templates with an API key. createNamedApiKey takes optional scopes (templates:hire, owner only); with that scope a key can call partnerAgentTemplates, partnerHireAgentTemplate (synchronous, idempotent, 200 active roles and 50 hires per day per key by default), partnerAgentTemplateInstall(s) and partnerBindAgentTemplateSlot, and sees only the installs it made itself. slotBindings on the hire binds shared custom actions, MCP connectors and knowledge bases instead of creating new ones. Templates have an audience (gallery, partner or both) that Wetel sets. See Hiring role templates with an API key.
  • Docs: the AI Coding Assistant Skills file now describes Wetel as an enterprise AI workforce platform and adds the rules the live docs depend on (number gates with > 0, streamOutput: false for extraction, approval as a step you add, draft tests and secrets in templates, what an API key can do) plus guidance for the assistant itself: never print keys, ask before publishing, and do not claim capabilities the docs list as not built. If you copied the older skill, replace it.
  • Docs (correction): the skill file listed 11 workflow node types without approval and said an API key only starts sessions; it now matches Authentication. The Workbench page now says the platform header is required. Troubleshooting said a secret in a rendered request shows “unredacted”; recognisable secret shapes are masked on a best-effort basis, but a raw secret in a template can still appear. The Agents page lists all five voiceTier values.
  • Docs (correction): an API key cannot create or change agents or workflows (those need a dashboard login); Multi-Tenancy said a key grants full access to agents and workflows, and the Authentication credentials table said a key only starts sessions. Both now describe the runtime operations a key can run (starting sessions, workflow tasks, model and embedding calls). The generateApiKey curl example sent an API key as the bearer token; the mutation needs a login access token. The Admin API panel guide said usage is billed through Wetel; Wetel reports usage and does not bill it yet.
  • Docs (correction): the order-lookup extract_order_id step in Worked examples set extractFirstInteger without streamOutput: false. An llm node streams by default and a streaming node ignores the extraction options, so the order number was never extracted and the orderId > 0 check could not pass. The example now sets streamOutput: false. If you copied it, add that line to your extraction step.
  • Docs (correction): the order-lookup example in Worked examples gated on orderId != '0'. Since 2026-09-11 extractFirstInteger stores the number 0 when nothing is found, and a condition does not coerce types, so that gate let a “no order number” message through to the lookup. It now reads orderId > 0. If you copied the old expression, change it. The order-support recipe no longer calls the extracted value a string.
  • Docs (correction): Pricing said the monthly spend cap covers only the direct language-model API. It is also checked before each chat turn, workflow task (scheduled runs included) and playground call. It is a check made before work starts, so work already under way can carry spend past it, and speech and tool-call usage does not count toward it. The wording “exact” for speech and tool-call credits now reads “calculated from fixed per-unit rates”, because credits are a usage figure and not an invoice.
  • Docs (correction): the Pricing, Multi-Tenancy and Core Concepts pages said or implied that a dedicated database per workspace is available. It is designed but not currently offered; workspaces share the platform’s database and every request is scoped to the signed-in workspace. The Voice Messages page listed the old four-language fallback set; the default is English and Malay (changed 2026-09-29). The Roadmap no longer lists hiring a role yourself as future work, since owners can already do it (2026-10-04).
  • Added (live in production since 2026-10-09): runWorkflowTask accepts an optional attachments list (up to 10 files, the same shape as on sdkSendMessage) next to the single attachmentUrl fields; sending both is a 400. Changed (stricter): the single attachmentUrl/attachmentMime/attachmentFilename fields now go through the same validation as attachments: attachmentMime must be a valid type/subtype (it is lowercased; a malformed one answers 400 attachmentMime is not a valid MIME type), the URL must not carry user:password@, and the filename loses quotes, brackets and control characters. Regression scenarios now capture and replay structured attachments and turnContext as structured input (no marker is written into the text).
  • Added (live in production since 2026-10-09): sessionEvents(sessionId, sinceMessageId). A reply published while your websocket was closed is no longer lost: pass the id of the last model message you processed (0 on the first subscribe) and the server first replays the stored replies you missed (newest 20, oldest first), then continues live, delivering each reply once. AiResponseEvent gains messageId. Omit the argument for the old live-only behaviour. See Reconnecting without losing a reply.
  • Added (live in production since 2026-10-09): messages now store their structured attachments. The message attachments field returns each attachment with its URL’s query string and credentials removed (?[redacted]), and imageMarkerHistory on an llm node reads structured IMAGE attachments from earlier user messages as well as [image:] markers. Changed: in a run’s context (workflowRuns), attachments[].url, attachmentUrl and attachmentImageUrls are now returned with the query string removed, so a signed link can no longer be copied back out of the run view; the stored value is unchanged and nodes still fetch the full URL. See Sending files and context.
  • Added (live in production since 2026-10-09): structured attachments and context on the SDK. sdkSendMessage and sendMessage take optional attachments (up to 10 files: url, mime, filename, kind) and turnContext, and sdkStart takes an optional context. Workflows see them as attachments, attachmentImageUrls (usable directly as an llm node’s imageUrlsVar), turn.context and session.context. Empty message text is allowed when an attachment is present. Text markers keep working and are overridden by structured attachments. attachments, attachmentImageUrls and turn are now reserved workflow context names. See Sending files and context.
  • Added: WorkflowRun.continuedByRunId: on a run that paused at an await_reply or approval node, the id of the run that continued it (the inverse of resumedFromRunId). It is null while the run is genuinely still waiting, so a dashboard can tell a waiting run from one that was already continued; the paused run’s status stays AWAITING_INPUT. Returned by workflowRun and workflowRuns.
  • Changed, live in production: the Gemini speech model behind POST /stt (and POST /stt/gemini) is now gemini-3.5-flash instead of the dedicated gemini-3.5-transcribe, which Google caps at 100 requests a day per project. No request or response change. Transcript wording can differ slightly for the same audio. In a 48-hour test on staging, 99.6% of 1,382 clips succeeded, 1 fell back to Cloud Speech-to-Text, none came back empty, the median call took 1.65 s and the 95th percentile 3.2 s.
  • Changed: a “not found” error now answers extensions.code = NOT_FOUND and a conflict answers CONFLICT (both used to arrive as INTERNAL_SERVER_ERROR, with the real HTTP status only in extensions.status, which is still there). The message is unchanged. BAD_REQUEST, UNAUTHENTICATED and FORBIDDEN are unchanged, and rate limits (429) and server errors keep INTERNAL_SERVER_ERROR. If your client treats INTERNAL_SERVER_ERROR as retryable, a missing record or a conflict is no longer retried, which is what you want. See Error handling.
  • Added: the approval workflow node and the approvals API: a workflow can pause until a workspace owner approves or rejects a step, then continue down the approved, rejected or expired edge. New operations approvals, approval, decideApproval, cancelApproval and the subscriptions approvalOpened/approvalDecided (owner-only), plus draftApprovalOutcome on sendMessage for draft tests. Email notification is not available yet. Step by step: Human approval: a walkthrough.
  • Changed: sdkSendMessage’s and sendMessage’s text limit raised from 10,000 to 100,000 characters (still rejected, not truncated, with text must be shorter than or equal to 100000 characters). The model sees only as much history as fits its token budget, so very long messages leave less room for earlier turns. If your own code also caps the text you pass along (for example a prompt-building step with its own limit), raise that too.
  • Changed: input-validation errors now say what is wrong. The response is still HTTP 200 with extensions.code = BAD_REQUEST and extensions.originalError.message as the array of constraint messages, but the top-level errors[0].message is those messages joined with ; (for example name should not be empty) instead of Bad Request Exception, on the main API and the portal API. Template keys must be 3 to 64 characters of lowercase letters, digits and dashes, starting and ending with a letter or digit (pattern ^[a-z0-9][a-z0-9-]{1,62}[a-z0-9]$, for example partner-image-reader); a dot is refused with a message naming the pattern. See Troubleshooting.
  • Added: createNamedApiKey also returns the key’s id and name (the key itself is still shown once); pass the id to revokeNamedApiKey to revoke it. See Authentication.
  • Changed: workflow node type values must be lowercase (start, llm, response, …); an uppercase one is refused at save and publish with BAD_USER_INPUT (node n1: type "START" must be lowercase: "start"), and publishing a graph with no start node lists the node types it saw. Previously an uppercase type was only caught at execution.
  • Fixed: setting llmModelOverride on an agent without llmProviderOverride now runs the agent on the provider that owns that model (a Gemini model name with the default provider used to fail every image node). createAgent and updateAgent refuse a model no enabled provider serves, and a provider that contradicts the model, with BAD_REQUEST and a message that lists the allowed choices. See Agents.
  • Docs: the LLM node page now says matchAnyOf replaces the output with the matched label, so it is only for single-label classification nodes, and how to handle JSON wrapped in a markdown code fence. The photo-reading recipe notes that the SDK credential cannot read workflowRuns or the serving model.
  • Changed: invalid llm image options are now refused with BAD_USER_INPUT (was INTERNAL_SERVER_ERROR) when you call updateWorkflow or publishWorkflow, with a message naming the node id, the field and the allowed range. imageMarkerHistory must be an integer from 1 to 40, imageUrlsVar a non-empty string, imageUrlsFailPolicy skip or fail, and imageVars an array of non-empty strings. See LLM node.

  • Changed: signed URLs in [image:<url>] markers are still stored exactly as you send them (the node needs them to fetch the image), but when the message text is read back through the API (session messages, workflowRuns context, the portal) the marker is shown as [image:https://host/path?[redacted]]: scheme, host and path are kept, userinfo, query and fragment are removed. Text outside a marker is not rewritten, and your own conversation-sync integration still receives the original text.

  • Added: Recipe: Read Many Photos in One Node, a live-verified step-by-step walkthrough of the llm node URL image options: requests and responses, the imageFetch trace, limits, a migration note and a troubleshooting table.

  • Fixed (docs): voiceTier is optional on createAgent (it defaults to STANDARD), not required. A missing x-huat-platform header on a real operation answers HTTP 200 with extensions.code = FORBIDDEN, not an HTTP 403. The docs now say which credential each management call takes (a dashboard JWT for createAgent, publishWorkflow and workflowRuns; the API key for sdkStart and runWorkflowTask), that runWorkflowTask variables must be flat scalars (send an imageUrlsVar list as a JSON string), and that an out-of-range imageMarkerHistory was then reported as INTERNAL_SERVER_ERROR (now BAD_USER_INPUT, see above).

  • Changed: the URL image options (imageUrlsVar, imageMarkerHistory, imageUrlsFailPolicy), server-side image shrinking and the 40-image default are now live on production as well as staging. After tuning, the shared fetch deadline for the whole fetch-and-shrink phase is 90 seconds (was 30) and each server shrinks three images at a time (was two). Measured with 40 large phone photos (about 253 MB of originals, 12.6 MB after shrinking): alone, 40 of 40 attached in about 54 s; 2 overlapping runs attached 40 and 40 in about 113 s each; 4 overlapping runs attached 38 to 40 in 109 to 129 s each. With the old 30 s and two at a time, 2 overlapping runs attached only 23 and 25 of 40. See LLM node.

  • Changed: llm node images fetched by URL are now shrunk for you instead of skipped when large. Originals up to 20 MB are fetched, auto-oriented and shrunk to a long edge of about 1568 px (typically 200 to 600 KB each; an image already within the limits is passed through untouched), so imageUrlsVar and imageMarkerHistory now take up to 40 images per node by default (imageMarkerHistory 1 to 40). imageVars keeps its cap of 20. Originals over 20 MB are skipped (too-large) and so are images over 36 megapixels (too-many-pixels). After shrinking, the 5 MB per image (about 3.9 MB on the Claude route) and 18 MB per call limits apply, or 24 MB when the node pins a Gemini model. The fetch deadline is now 90 seconds (see the first entry of this day), and a run with 40 large photos can take about a minute or more, so keep imageMarkerHistory as small as the question needs. The earlier advice to resize images before sending them is no longer required.

  • Fixed: per-IP rate limits now count each caller’s own address. The platform used to see a Cloudflare edge address for every request, so callers that happened to share an edge could share a count, and a limit such as the 5-per-minute sign-in limit was not really per caller. Limits are unchanged; only whose requests are counted together changed. Callers behind one office network or one server still share a bucket. Per-tenant ceilings are unaffected.

  • Added: an llm node can fetch images by URL itself. imageUrlsVar names a context variable holding one or more image URLs, and imageMarkerHistory attaches the images named by the last N [image:<url>] markers in the user’s messages. Until now each image needed its own fetch step (action with fetchAsBase64Var) feeding imageVars; the URL options replace that, and the image bytes are never stored in the workflow context or run record. Only https:// and s3:// (granted buckets) URLs, no redirects, no private addresses; each image must be a real JPEG/PNG/GIF/WEBP of at most 5 MB (about 3.9 MB on Claude models through the default provider), a 90-second deadline for the fetch (30 seconds when this was first released), and 18 MB per node in total. Update, same day: large images are now shrunk instead of skipped, and the limit is 40 images (see the entry above). An image that cannot be loaded is skipped and the model is told ([note: 1 of 3 images could not be loaded]); imageUrlsFailPolicy: "fail" fails the node instead. The node trace records counts, sizes, hosts and reasons, never the URLs. Existing imageVars graphs are unchanged.

  • Fixed: the per-address rate limits on the speech routes (/stt, /stt/google, /stt/gemini, /tts, /tts/google, /tts/gemini) counted every caller on the platform together, because the service saw only its reverse proxy’s address. One integration’s burst of voice notes could return 429 to unrelated customers. The service now uses the caller’s address, and the defaults are 120 requests a minute for speech-to-text and 300 for text-to-speech per address (were 10 and 30); the per-tenant ceilings (200 and 600) are unchanged and are the ones to plan around. See Avatar Service REST API: rate limiting.
  • Added: speechToken returns a credential for speech-to-text and text-to-speech (/stt, /tts) without starting a session. Before this, the only way to get a token for those routes was sdkStart, which creates a metered session and is limited to 30 starts a minute per client IP. Works with a dashboard JWT or an X-Api-Key. The token is tenant-scoped and rejected by every session operation. See the Speech-to-Text and Text-to-Speech Integration Guide.
  • Fixed: the avatarToken query has been failing since tokens were bound to sessions (2026-09-08). It now returns the same speech token as speechToken and is deprecated in favour of it.
  • Fixed: POST /stt/google with a LINEAR16 WAV file that was not 16 kHz (Gemini text-to-speech output is 24 kHz, most phones record 44.1 or 48 kHz) returned 500. The sample rate is now read from the WAV header, as it already was for OGG_OPUS. For a WAV the header wins over an explicit sampleRateHertz; for raw PCM the explicit value is still used.
  • Changed: a request the speech provider rejects as invalid (audio that does not match its declared encoding or sample rate, input too long) now returns 400 instead of 500 on every /stt route, so you can tell your request from a provider outage. Do not retry a 400 unchanged.
  • Changed: an llm node’s imageVars now accepts up to 20 images per call, up from 4. Each image is still under about 5 MB and all images on one call under 18 MB combined. Entries beyond 20 are dropped, not rejected. A workflow that listed more than 4 imageVars used to have the extras ignored and now sends them, so it uses more of the shared model quota.
  • Added: a Wetel administrator can now restrict a single API key to a list of models, on top of the tenant-wide list. A key can only narrow what the tenant allows; sessions started with the key keep the restriction for every later turn, workflow LLM node and sub-agent. Set on request; documented 2026-10-06.
  • Added: workspace owners can hire a role themselves. agentTemplates lists the roles Wetel has made available, hireAgentTemplate hires one into your workspace (owner only, PRO plan for now, 10 roles at once and 5 hires per day), and provideAgentTemplateSlotCredential finishes a waiting setup step by giving its credential. Credentials are write-only. Nothing appears in the gallery until Wetel lists a role, so this changes nothing for existing integrations.
  • Added: every user now has a tenantRole (OWNER or MEMBER) inside their workspace, readable on the user object. It is set from the group sign-in service’s company ownership at sign-in, or to OWNER for the creator of a workspace, and is what the owner-only operations above check.
  • Added: agentActivitySummary, a per-AI-employee outcome roll-up for supervision dashboards: runs by status, recovered failures, average evaluation score, open questions waiting on a person, schedule health and a needsAttention flag, for the whole tenant or one agent over a preset or custom window (up to 92 days). JWT only, 30 requests per minute per client IP. creditsUsed and scheduleFires are null for now.
  • Fixed: the opening greeting, the direct (non-workflow) streamed reply and the evaluation run when a session is ended through sdkEndSession were never counted in your usage totals or against the monthly spend cap. They are now, so apiUsageSummary and the cap can read slightly higher than before for tenants using those paths.
  • Fixed: timeoutMs on action, webhook, tool and sub_agent nodes (and the media fetch) now has a floor as well as a ceiling. 0, a negative number or a non-number used to disable the timeout on some nodes; it now means “unset” and the default applies, and a value below 1000 is raised to 1000. tool nodes now also enforce the 30-second ceiling their docs always stated.
  • Docs fix: expiresIn and refreshExpiresIn on the login responses are absolute Unix epoch seconds, not durations. The example responses showed duration-like values; they now show epochs.
  • Changed: a knowledge-base document that would exceed your plan’s chunk limit is now rejected before it is embedded, so a rejected upload no longer consumes embedding usage. confirmKnowledgeDocumentUpload is now rate limited to 10 requests per minute per client IP, the same as requestKnowledgeDocumentUpload.
  • Changed: isRegisterable no longer checks national identity numbers (it could confirm that a given identity number was registered, to anyone). The idNo argument is deprecated and a request that sends it is now rejected; the response is { "email": boolean }. Nothing that sends only email is affected.
  • Changed: when a tenant is suspended, new work is now refused on every path, not only for dashboard sign-ins. sdkStart, sdkSendMessage, sendMessage/startSession, the LLM API (generateText, startTextGeneration), runWorkflowTask and scheduled workflow fires all return 403 (Tenant #N is suspended.), and scheduled workflows resume on their own once the suspension is lifted. Ending a session is still allowed so in-flight conversations can close.
  • Added: agents have a timezone (IANA, default Asia/Kuala_Lumpur), and workflow templates have {{today}} and {{now}} helpers that resolve in it, daylight saving included. See Today’s date and the current time. agentTimezone is now a reserved workflow variable name.
  • Added: workflowTaskOutcome(sessionId) reads back the result of a runWorkflowTask call with the same API key: the newest run’s status, the runs, a masked error for a failed run, and the agent’s replies. Until now the only way to read a task’s outcome needed a dashboard login. It never returns the run context or node trace, and only sessions a task was accepted for are readable.
  • Changed: a session that has had no activity for 30 days is now moved from ACTIVE to EXPIRED (previously abandoned sessions stayed ACTIVE forever, which inflated active-session counts and usage figures). No evaluation is run and no event is sent. runWorkflowTask, sdkStart and the channel gateways already start a fresh session when no ACTIVE one matches, so a conversation that returns later is unaffected; a stale avatarToken for an expired session gets the existing “session is not active” error.
  • Added: testCustomAction makes one real call of a custom action through the same path a workflow uses and classifies the result (CREDENTIAL_REJECTED for a 401/403, REQUEST_REJECTED, SERVER_ERROR, TIMEOUT, …), so a wrong URL or credential is found before a live conversation hits it. A non-GET action needs confirmWrite. A successful test is billed like the same call in a workflow; a failed or refused test is free.
  • Changed: agentConfigOptions.recommendedTtsVoices now lists 24 voices (was 6): en-US across all five tiers (Standard, WaveNet, Neural2, Chirp3 HD, Studio), en-GB, ms-MY and Mandarin (cmn-CN), each name checked against Google’s own voice list. Each voice has a new voiceTier field, the value to send as the agent’s voiceTier, so you can offer only the voices that fit the chosen tier. Existing queries are unaffected.
  • Fixed: a workflow node can no longer use session, attachment, attachmentUrl, attachmentMime, attachmentFilename, channel or clientTurnId as its outputVar, saveAs or similar variable name; saving such a workflow now fails with a “reserved workflow context key” error. A WEBHOOK node’s optional outputVar is checked too. Rename the variable if you hit it.
  • Added, live in production: agents that Wetel sets up for you from a role template now come with a setup checklist. agentTemplateInstall shows what is left to finish, and bindAgentTemplateSlot finishes a slot with a resource you created yourself (a custom action with your own token, or your own MCP connector). When the last required slot is bound the agent turns on. Your credentials are never handed to Wetel.
  • Behaviour change for those agents only: an agent that is still being set up refuses sdkStart and channel connections with a Forbidden error that says so. Agents you created yourself are unaffected.
  • Added, live in production: an administrator can now restrict a tenant to a list of LLM models (for example Claude Haiku only). The llmModelCatalog query returns only the allowed models, myTenant { allowedLlmModels } shows the list (null means no restriction, the default), and a blocked model is refused with a clear error on generateText, the playground and llm nodes, and when saving an agent or publishing a workflow. Nothing changes for any tenant until a list is set. See Restricting which models a tenant can use.
  • Fixed, live in production: requests with a body over about 1 MB (for example an LLM request carrying a large base64 image) were rejected with HTTP 413 by the gateway, which browsers showed as a CORS error. The limit is now 10 MB. See the LLM API request size note.
  • Docs (new page): Choosing Languages and Voices explains primary vs alternative speech-to-text languages, the three-alternative limit, the speech tiers, and how a voice name relates to language and tier. It links to Google’s own language and voice lists as the source of truth. Also corrected the /stt page, which said Mandarin and Cantonese “will be removed” from the default fallback set; they have not been in it since 2026-10-01.
  • Changed, live in production: POST /stt now transcribes with Gemini by default and falls back to Cloud Speech-to-Text on any error. Expect confidence: 0 (“not reported”) and your languageCode echoed back when Gemini answers. POST /stt/google still gives the previous behaviour exactly.
  • Added, live in production: the WEBBYXAI_HAIKU provider can serve Claude Sonnet 4.6 and Claude Opus 4.6 (with -low, -medium, -high and -max effort variants) through modelOverride, llmModelOverride and generateText. Same per-token prices as Anthropic’s list (Sonnet $3 / $15, Opus $5 / $25 per million tokens in / out). They share the same model quota as Haiku, so use them sparingly.
  • Added, live in production since 2026-10-01: the default model provider (Claude Haiku) and the other Claude models it serves now read images. An llm node’s imageVars works on a Haiku agent with no provider change, up to 100 images per call (each under 5 MB as base64). The per-node limit stays 4 by default and the platform operator can raise it to 20, with 18 MB combined. Gemini is still available per node through modelOverride and answers automatically if an image is refused. On a quick digit-reading check Haiku scored 9 of 10 and Gemini 10 of 10.
  • Added, live in production since 2026-10-01: POST /tts/gemini, an optional Gemini text-to-speech route for voice notes. WAV output, no word timings (not for lip-sync), about 3 to 4 seconds per reply. /tts and /tts/google are unchanged.
  • Behaviour change, live in production since 2026-10-01: end_session’s runEvaluation is now honoured, and leaving it out means no evaluation. It was always documented as an opt-in but the platform ignored it, so every end_session evaluated and a node that said runEvaluation: false still did. Both false and an omitted field are live. If your workflow omits the field and you read its evaluations, add "runEvaluation": true. Sessions ended through sdkEndSession still return their evaluation. Chat flows that end a session after each exchange save up to two model calls per session.
  • Added, live in production since 2026-10-01: POST /stt/gemini and POST /stt/google let you pick the speech-to-text engine per call. /stt/gemini uses a Gemini speech model: faster in our checks, capitalised and punctuated text, no language hint needed. confidence is 0 (“not reported”) and the response languageCode echoes your request. Plain POST /stt is unchanged and keeps using Cloud Speech-to-Text unless the operator changes the default.
  • Added, live in production since 2026-10-01: an llm node’s modelOverride can now name a model another provider serves, and that one node runs on that provider. Use it to give a single image node a Gemini model inside an agent that otherwise runs on Haiku. Before, naming another provider’s model failed the node. A model no provider serves still fails it.