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

# Understand agent settings and defaults

> Understand Nixflex agent fields, defaults, limits and nullable values. Configure call behavior, prompts, keyterms, retention and supported channel settings.

**FIXED · agent** For a different inbound opening on each number, use Dynamic greeting and put the opening in that number’s custom\_prompt. Fixed welcome\_message text, spoken language, pickup delay and general call timezone are shared agent settings. Use separate agents when those must differ. A booking timezone changes calendar times only.

**NOT OFFERED → do this instead · number** A number cannot override fixed agent settings. Use its dynamic opening for business-specific wording. Use different agents for different fixed settings.

**YOU CAN CHANGE · agent** Choose the supported catalogue voice and an eligible route. Select manual speech terms or configure structured values to extract from transcripts.

**SCOPE · number** Choose a complete primary and backup voice pair on the number. It overrides the agent pair as a whole. To use the saved agent pair, set voice\_pair\_inherit to true. Setting the older voice\_id field can clear the agent’s catalogue key, and a pair that is only partly set can be unavailable. Never choose by alias precedence.

Group numbers by the knowledge and agent settings their customers need. Attribute each customer’s usage to its verified business number.

Agents are unlimited. There is no fee per agent. Customers pay only for usage (minutes and texts). Many customers can use one shared agent, each with its own number and number prompt. Use separate agents only for different knowledge or agent settings. List page size, knowledge-base quotas and simultaneous-call limits do not cap agent count.

For a different greeting per business, keep Dynamic greeting on (the default) and put the opening line in that number’s custom\_prompt. For example, “Start every call with: Thank you for calling Oak and Stone”.

[Read the compact AI rules](https://docs.nixflex.com/ai-rules.md#agents-voices)

Use saved agent values and number overrides to determine the effective call settings.

Guide: **API reference** · Topic: **Settings and defaults**

**The important part**

* Omitted update fields keep saved values.
* Number overrides can change the effective settings for one phone number.

[Business guide](https://docs.nixflex.com/guides/business/call-actions.md) · [Developer guide](https://docs.nixflex.com/concepts/agent-inheritance.md) · [Glossary](https://docs.nixflex.com/guides/glossary.md)

Use these fields with the matching engine and client versions.
See [settings by channel](https://docs.nixflex.com/concepts/agent-channels.md) and
[privacy/action inheritance](https://docs.nixflex.com/concepts/agent-inheritance.md) before treating a saved field
as an effective behaviour on every channel.
All four read/write responses use the same reviewed projection. Responses never contain
`twilio_auth_token`; `twilio_account_sid` is a legacy readable account identifier.

## Inputs

No coercion of strings into booleans/numbers. Valid 0/false values are preserved.
Omitted fields retain defaults (create) or the saved value (update).
Pickup delay is the deliberate legacy exception: this release does not alter its
validation, values or defaults.

| Fields | Contract |
| - | - |
| name | string, max 200 |
| system\_prompt, welcome\_message | strings, max 16000 each |
| language | supported language code or multi; existing empty create default retained |
| voice\_id / voice\_key | string or null; key max 36, alias max 200; resolve one catalog voice, reject conflicting pair |
| is\_active, ai\_speaks\_first, dynamic\_greeting, record\_call, amd\_enabled, greet\_by\_name, remember\_callers, require\_booking\_confirmation | booleans |
| func\_end\_call, func\_cold\_transfer, func\_send\_sms | booleans; last two are compatibility fields, not runtime permission switches |
| temperature | finite number 0..0.7, omitted create default 0.3 |
| response\_length | short / medium / long |
| response\_eagerness | whole milliseconds 0..1000, not pickup delay |
| stt\_confidence | finite number 0..1 |
| stt\_max\_silence\_ms | whole number 0..2147483647 (stored control; not the response-delay slider) |
| interruption\_sensitivity | whole number 0..100; retained compatibility setting |
| max\_call\_duration\_seconds / silence\_hangup\_seconds | whole seconds 1..2147483 or null (avoids milliseconds-timer overflow); null preserves existing runtime fallback; new-create defaults 300 / 10 |
| wait\_tag\_seconds / ivr\_timeout\_seconds | whole seconds 30..120 or null / whole seconds 1..1800 |
| timezone | valid IANA name, max 100; new create uses valid account zone or UTC when omitted; no existing row or calling-hours policy is changed |
| incall\_sms\_enabled / post\_call\_sms\_enabled | booleans |
| post\_call\_sms\_template | string, max 600 |
| voicemail\_leave\_enabled | boolean; true requires a non-blank merged voicemail\_message |
| voicemail\_message | string max 600 or null |
| transfer\_type | cold / warm |
| transfer\_number / phone\_number | E.164, null or empty; phone\_number is legacy, not an import |
| transfer\_whisper | string max 16000 or null |
| webhook\_url | HTTP(S) without user-info, max 2048, null or empty; URL shape validation is not an outbound fetch |
| boosted\_keywords | Customer keyterms: at most 20 nonempty comma-separated terms, at most 50 Unicode characters per trimmed term, and a conservative 450-byte total safety budget for changed values. The text field also has a 2,000-character ceiling. Empty entries do not count; repeated nonempty terms count separately toward 20. Null clears the list. On update, omitted values are retained. An exact unchanged saved string is kept even if it exceeds the newer count, term-length, size or text limits. Any change must meet all current limits. |
| dtmf\_enabled | true / false / null; null retains inheritance |
| recording\_source | provider / nixflex, case/space-normalized by the existing parser; null/empty normalizes to provider; invalid\_recording\_source retained |
| speaking\_rate | finite number (existing clamp 0.5..1.5), null or empty (clear) |
| voice\_speed | finite number 0.01..100; compatibility only, not used for speech |
| llm\_model / fallback\_message | strings max 200 / 16000; compatibility only, not runtime model/fallback selection |
| call\_retention\_days | PUT only: 90 / 30 / 7 / 1 / 0. POST inherits account default |
| twilio\_account\_sid / twilio\_auth\_token | deprecated input: real values fail; null/empty may clear on PUT, never echo a token |
| data\_extraction\_fields | array of up to 50 definitions below; \[] clears |

`func_end_call` governs duration/silence timers; it is not a blanket prohibition on model END\_CALL.
This release does not turn inert compatibility settings into features, and does not
change channel rules, billing, recording, pickup timing or the dashboard's direct writes.

Extraction entries: required `name` (unique identifier, 1-64 letters/digits/underscores,
starting with a letter/underscore; **proto**/constructor/prototype forbidden) and
`type` (text / selector / boolean / number). Optional `description` and
`format_example` are strings up to 2000; `optional` is boolean.
`choices` is up to 100 unique non-blank strings, each at most 200 characters;
a selector requires at least one. Unknown nested properties reject the whole request.

## Errors and warnings

Empty/unknown-only PUT: 400 empty\_agent\_update.
Mixed supported/unknown fields: supported fields save, with a JSON `warnings` array
containing code unknown\_fields, unknown names, and "These fields were not saved."
Unknown input values are not echoed. Empty POST still creates defaults.

Known invalid input fails before writing. Dedicated prompt, recording-source,
remember-callers, retention, voice-selection and credential errors remain.
Missing/foreign agent: 404 not\_found. Database failure: 503 agent\_store\_unavailable.
Catalog lookup outage: 503 catalog\_unavailable. No blind write retries.

## SDK and CLI

Use the [SDK and CLI installation guide](https://docs.nixflex.com/sdks/ecosystem.md#install-a-client)
for Node, Python, CLI and MCP at the documented minimum versions.
The CLI passes write fields via repeated `--set` or `--body`. Agent list supports
`--offset`, `--status` and `--search`. Do not automatically replay a mutation after
an uncertain response. MCP exposes named settings while retaining unknown keys
so the engine can return its warning.

DELETE soft-disables only and returns `{"message":"Agent deleted"}`.
It does not detach numbers, erase history or make GET of an owned disabled agent return 404.

The safety byte count normalizes each trimmed term (NFKD, removes combining marks, lowercases, removes whitespace) to detect duplicates. Each unique normalized term costs the UTF-8 bytes of its first trimmed original spelling plus 4 bytes. Empty and duplicate normalized terms add no bytes. This conservative count is not a tokenizer. Term length counts Unicode code points, not UTF-16 code units.

Automatic knowledge terms are read-only. They come from valid, unsuppressed live pieces, keep source spelling, and are ranked by importance, essential identity, repeated support and stable tie-breaks. Generic terms are filtered. The default limit is 80 per agent; platform configuration can choose 0–100. Customer terms take priority and stay first on calls; duplicates and weaker automatic terms are removed to fit the call limits. The returned list is not a promise that every term will be sent on a call. Read [automatic keyterms](https://docs.nixflex.com/api-reference/knowledge/get-agents-target-knowledge-keyterms.md).

More than 20 terms returns 400 invalid\_agent\_field with message "Keep up to 20 words - remove some to save" and details.field "boosted\_keywords".

* [`keyterms_term_too_long`](https://docs.nixflex.com/api-reference/errors#keyterms_term_too_long): Keep each word or phrase within 50 characters to save Shorten the term. details.field is boosted\_keywords; details.limit is 50.
* [`keyterms_list_too_large`](https://docs.nixflex.com/api-reference/errors#keyterms_list_too_large): This list is {over_bytes} bytes over the 450-byte safety limit. Shorten or remove some words to save. Shorten the list. details.field is boosted\_keywords, limit is 450, actual\_bytes is the calculated size, and over\_bytes is the excess. For one excess byte the message uses byte.

## Next steps

* [API overview](https://docs.nixflex.com/api-reference/introduction.md)
* [Errors and recovery](https://docs.nixflex.com/api-reference/errors.md)
* [Retry rules](https://docs.nixflex.com/api-reference/retries.md)


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