Preview merged configuration

Returns the result of merging the source branch into the target branch without performing the merge. Useful for showing an accurate diff before confirming.

パスパラメータ

agent_idstring必須
The id of an agent. This is returned on agent creation.
source_branch_idstring必須
Unique identifier for the source branch to merge from.

ヘッダー

xi-api-keystringオプション

クエリパラメータ

target_branch_idstring必須
The ID of the target branch to merge into.
forcebooleanオプションデフォルト値 false
When true, source branch changes always win conflicts regardless of timestamps

レスポンス

Successful Response
agent_idstring
The ID of the agent
namestring
The name of the agent
conversation_configobject
The conversation configuration of the agent
metadataobject
The metadata of the agent
platform_settingsobjectオプション
The platform settings of the agent
phone_numberslist of objectsオプション
The phone numbers of the agent
whatsapp_accountslist of objectsオプション
WhatsApp accounts assigned to the agent
workflowobjectオプション
The workflow of the agent
access_infoobjectオプション
The access information of the agent for the user
tagslist of stringsオプション
Agent tags used to categorize the agent
version_idstringオプション
The ID of the version the agent is on
branch_idstringオプション
The ID of the branch the agent is on
main_branch_idstringオプション
The ID of the main branch for this agent
proceduresmap from strings to objectsオプション

Procedures keyed by procedure_id.

default_hold_audio_urlstringオプションデフォルト値 https://eleven-public-cdn-common.elevenlabs.io/convai/ambient-audio-assets/elevator1.mp3
URL of the default hold tone played to queued callers when no custom hold audio is uploaded, so the dashboard can preview it.
overridden_fieldslist of stringsオプション

Dot-paths of config fields where both branches modified the same field relative to their common ancestor (conflicts). Present regardless of which side wins the conflict.

conflictslist of objectsオプション

Structured view of the same conflicts as overridden_fields, each carrying the value on the base (common ancestor), source branch, and target branch so the divergence can be presented and resolved field-by-field.

source_identical_to_targetbooleanオプションデフォルト値 false

True when the merge/rebase would be a no-op, i.e. the merged result is identical to the source branch tip. The rebase endpoint rejects in this case.

エラー

422
Branches Preview Merge Request Unprocessable Entity Error