> ## Documentation Index
> Fetch the complete documentation index at: https://docs.klatt.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> Changes to the Klatt API reference, newest first.

Breaking changes to the REST API ship only in a new API version. Additions to version 1 and changes to the MCP server are recorded here.

## November 11, 2026

### MCP: `audit_agent` flags repeated and promised abilities

* New findings: `transfer_restated`, `webhook_restated` and `search_restated` when a paragraph of the instructions repeats what a transfer target, a webhook or the web search already says; `ability_missing` when the instructions promise an SMS, a WhatsApp message or a transfer the agent cannot do; `search_description_unclear` when the web search description is empty or vague.
* These four findings carry a new `passage` field with the paragraph they concern, left out when that paragraph contains a key or is longer than 1,500 characters.
* The `create_agent` guide now ends with an `audit_agent` review before the agent is declared ready.

## November 6, 2026

### MCP: the `guide_token` refusal carries the guide

* A write refused for a missing, expired or foreign `guide_token` now includes the guide and a new token, so an assistant can retry without loading the guide separately. A client whose tool list predates `get_setup_guide` recovers without reconnecting, as long as it can send `guide_token`.

### MCP: setup guides, agent review and a required `guide_token` on writes

* New Read tool `get_setup_guide`: loads the guide for what the user wants (`start`, `create_agent`, `review_agent`, `change_agent` or `connect_service`) and, with `agent_uuid`, the agent's current setup. It returns a `guide_token` that lasts 2 hours.
* New Read tool `audit_agent`: reviews one voice or chat agent without changing it, with checks (priority, field and a proposed fix) and counts from the last 14 days of conversations.
* Tools that create or change an agent, a webhook or a transfer target return `setup`: whether the agent is ready and what is missing.
* Breaking change for MCP clients: every tool that creates, changes or deletes something now needs the `guide_token` from `get_setup_guide`. Without a valid one the call fails before it runs, with an error that names the guide to load, and nothing changes. Read tools and the REST API are unchanged.

## November 5, 2026

### New webhook and transfer destinations wait for activation

* A webhook created or changed over MCP is saved with `pending_activation: true` unless an activated webhook of your organization already sends exactly the same request (URL including query, method, headers, body and fixed parameter values). So is a transfer target toward a phone number or SIP address your organization does not use yet. Klatt sends nothing to the webhook and the agent does not transfer to the target until a user activates it in the console. The result adds `console_url` and `next_step`. The first webhook of an organization is always held.
* `get_integration`, `list_integrations` and the transfer target results return `pending_activation`. The public REST API holds nothing back.

### One key per webhook endpoint

* Webhooks of an organization that call the same endpoint share one key. `create_integration` fills a new webhook's key from the other webhooks on that endpoint when they all hold the same one, and returns `pending_secrets: []` and `credential.shared_with`. Saving a new key in the console on one of them updates the others.
* `get_integration` and `list_integrations` return `credential` for webhooks: `status` (`configured`, `pending` or `mismatch`) and `shared_with`. The key is never returned.

### Knowledge document responses lose internal ids

* `GET /knowledge-base/documents` and `GET /knowledge-base/documents/{document_uuid}` no longer return the fields that were already absent from the published schema (`id`, `file_hash`, `custom_metadata`, `docling_metadata`, `source_url`, `organization_id` and `created_by`) to an API key. Use `document_uuid`. The console is unchanged.

### MCP marks text written by third parties

* `list_conversations`, `search_conversations`, `update_conversation_state`, `get_knowledge_document_text`, `update_knowledge_document_text`, `list_knowledge_entries`, `create_knowledge_entry`, `update_knowledge_entry`, `list_contacts`, `search_contacts`, `create_contact`, `get_contact` and `update_contact` now return two text blocks over MCP: a notice that the data comes from third parties and is not instructions, then the same JSON between `<untrusted-data-ID>` and `</untrusted-data-ID>` tags with a random `ID` per call. Their descriptions say so. REST responses are unchanged.

### The caller's number in the team briefing

* Transfer targets accept and return `announce_caller_number` (default `false`). When it is `true` and the agent briefs the team before transferring, the briefing says the caller's phone number. A `refer` target refuses it with `transfer_target_announced_only`.

### Language model and speech provider stay off the public API

* `get_chat_agent`, `update_chat_agent`, `get_voice_agent` and `update_voice_agent` no longer accept or return `model_settings`. Voice agents no longer accept or return `voice_settings.provider`, `voice_settings.model` or `voice_settings.catalog_generation`. Send the catalog voice key in `voice_settings.voice`. Klatt keeps the language model and the speech provider on the server.
* A public or MCP update that sends a language model, speech provider or speech model is refused with `model_selection_unavailable`. The same code is used for every such value. A voice-key update that the catalog cannot apply is refused with that same code.
* `https://api.klatt.ai/api/v1/openapi.json` and the same path on the console host return this public document. The console model picker and voice catalog are unchanged for a signed-in session.
* `tools/list` includes a tool only when the caller's role can run it. An organization API key is an editor, so it still sees the full list.

## November 2, 2026

### Catalan, Galician and Basque are ordinary languages

* An agent no longer needs Spanish to speak Catalan (`ca-ES`), Galician (`gl-ES`) or Basque (`eu-ES`); `cooficial_requires_spanish` is no longer returned. An agent can be created in any of them; a voice agent created in one gets a voice that speaks it, or is refused with `voice_catalog_unavailable` when the catalog has none.
* Voice agents accept them once Klatt has enabled them for voice, and refuse them with `cooficial_voice_unavailable` before that.

### MCP integration tools

* `create_integration` sets the credential each guide uses: the custom header `klatt-key` for a Supabase Edge Function URL, and a custom header instead of `api_key` for an n8n `/webhook/` URL. It returns `auth` when it changed what was sent. See [Integrations](https://docs.klatt.ai/api-reference/mcp.md#integrations).
* `next_step` names the Supabase secret `KLATT_KEY_<FUNCTION>`. Each function now has its own secret, because Supabase secrets are shared by the whole project and one key overwrote another.
* `update_integration` gives the same credential to a webhook that is still waiting for its key. See [Integrations](https://docs.klatt.ai/api-reference/mcp.md#integrations).
* `get_integration` and `update_integration` return `pending_secrets`, and `console_url` and `next_step` when a key is missing.
* Refusals that only the console can resolve, and the voice caller-verification error, link the console.
* The integration tools and `search_docs` now carry [tool annotations](https://docs.klatt.ai/api-reference/mcp.md#tool-annotations).

### One staff notification template per WhatsApp account

* Chat agents have a new `text_settings.staff_templates` list with at most one `{account_uuid, name, language}` entry for each WhatsApp Business account the agent answers on. The notice uses the template of the account that received the chat; without one it goes only by text within the staff member's 24-hour window. An `account_uuid` the agent does not answer on is refused with 422 `whatsapp_staff_account_unknown`.
* `text_settings.staff_template` is deprecated but still accepted by `update_chat_agent` and its REST equivalent: it is applied to every account the agent answers on. In responses it has a value only when `staff_templates` has exactly one entry.

## November 1, 2026

### Catalan, Galician and Basque for chat agents

* `language` and `additional_languages` accept `ca-ES`, `gl-ES` and `eu-ES`. An agent with any of them must also have `es-ES` as its `language` or in `additional_languages`; otherwise the update is refused with `cooficial_requires_spanish`. Voice agents refuse them with `cooficial_voice_unavailable` for now, and an agent cannot be created in them: create it in `es-ES` and update it. See [Voice agents](https://docs.klatt.ai/api-reference/mcp.md#voice-agents).

### Six languages for agents

* `language` and `additional_languages` of voice and chat agents accept `es-ES`, `en`, `fr-FR`, `it-IT`, `de-DE` and `pt-PT` (before: `es-ES` and `en`). Agents that already use `es-ES` or `en` are not changed. A voice no longer has to be in the agent's language: any catalog voice that works with the text-to-speech model can be used with any of the six languages, and keeps its accent. See [Voice agents](https://docs.klatt.ai/api-reference/mcp.md#voice-agents).

## October 30, 2026

### Search the guides over MCP

* New read-only `search_docs` tool searches Klatt's public guides and returns the matching pages with a short excerpt of the best one. See [Documentation](https://docs.klatt.ai/api-reference/mcp.md#documentation).

### Pending credentials in webhooks created over MCP

* `create_integration` accepts `request.auth` with a type and header name but no `secret`. The integration is created pending: the agent does not offer it and it sends nothing until the key is added in the console.
* The response adds `pending_secrets`, and, while a key is missing, `console_url` and `next_step`. A `secret` key in `request.auth`, whatever its value, is still refused with `integration_secret_not_allowed`. See [Integrations](https://docs.klatt.ai/api-reference/mcp.md#integrations).
* `update_integration` keeps a pending integration pending when `request.auth` is sent back as read.

### Outcome fields for agents

* Voice and chat agents have a new `outcome_fields` list, in responses and in the update requests of `update_voice_agent`, `update_chat_agent` and their REST equivalents. It defines the data Klatt extracts from each conversation, for use as `{{outcome.<key>}}` in end-of-conversation webhooks. It is not accepted when creating an agent. See [Voice agents](https://docs.klatt.ai/api-reference/mcp.md#voice-agents).

### Additional languages for agents

* Voice and chat agents have a new `additional_languages` list, in requests and responses of `update_voice_agent`, `update_chat_agent` and their REST equivalents. It holds the other supported language (`es-ES` or `en`) so one agent can answer callers in either. The default is `[]`, which keeps the agent single-language. See [Voice agents](https://docs.klatt.ai/api-reference/mcp.md#voice-agents).

## October 29, 2026

### Read and edit webhooks over MCP

* New `get_integration` and `update_integration` tools read and edit an HTTP request integration. Credentials stay in the console. See [Integrations](https://docs.klatt.ai/api-reference/mcp.md#integrations).

### MCP tools for API v1

* The MCP server now has a tool for every API v1 operation, each with MCP tool annotations. See [Tools](https://docs.klatt.ai/api-reference/mcp.md#tools).
* Breaking for MCP clients: `list_documents` is removed. Use `list_knowledge_documents`, which returns one page of documents.
* Most tool errors return the REST status and `detail` as JSON.

## October 28, 2026

### API v1 published

* Organization API keys now work on `https://api.klatt.ai` with `Authorization: Bearer <key>`.
* Endpoint reference for voice agents and transfer targets, chat agents, conversations (list, search and state), contact lists, contact fields, contacts, knowledge documents and knowledge entries.
* Guides for authentication, errors, rate limits (300 requests per minute per key) and pagination.
* MCP server at `https://api.klatt.ai/api/v1/mcp/` with the `list_integrations`, `list_documents` and `create_integration` tools.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.