GenAiConfig

Creates or updates one brand's configuration. The row is created on the first save of any kind, including one that switches the feature off.

Validate-then-write throughout: brand access is checked here, and the service refuses an unhonourable trigger object or an enable with no knowledge base before anything is persisted. The server-managed identity pointer has no property on the request DTO; a save that switches the feature ON establishes it (once per brand, reused forever after), and any other save preserves it.

put/v1/admin/genai/config

Request body

departmentIdinteger

Brand this configuration targets. Mandatory and > 0: there is no account-level gen-ai row, so a payload without a brand has no valid target.

enabledboolean required
maxResponseTokensinteger nullable
idleWarningMinutesinteger nullable

Minutes of complete silence before the agent asks the visitor whether they are still there. Null inherits the service default, like every tuning field here.

The lower bound is 1 and not 0: zero would mean "warn immediately", which in a live chat is the assistant interrupting its own answer. Switching the behaviour off is not expressed as a zero here — see the remarks on Infoset.Types.Models.Admin.UpdateGenAiConfigDto.IdleCloseMinutes.

idleCloseMinutesinteger nullable

Further minutes of silence after the warning before the conversation is closed as solved.

The 1440-minute (24 h) ceiling is not arbitrary: a room the agent still holds is a room no human is looking at, so an unbounded value would let conversations accumulate forever in a state where nobody is responsible for them.

Response

No Content

Changes

No recorded changes to this endpoint across all 1 revision of this API.