Update an Agent
Change an Agent: instructions, first message, name, language, time zone, settings, integration tools, Knowledge, procedures, connection procedures or status. Omitted fields stay and null clears one; settings, integrationTools, integrationProcedures, procedures and knowledgeDocumentIds replace the whole value when given (keep each existing procedure's id), so read the Agent with get_agent first and send its version as expectedVersion (VERSION_CONFLICT: read it again). status: paused stops it from answering and calling. modality changes only while it has no channels and no published voice line (AGENT_MODALITY_LOCKED). A voice Agent republishes in the background: check synced.
- Scope:
raiz:agents:write - Credentials: an API key, a client-credentials token or a person's access token
- Effect: writes; idempotent, safe to retry
- Limits: request body up to 512 KB, response up to 1 MB
- CLI:
arbol raiz agents update· MCP tool:raiz_agents_update
https://api.getarbol.com/v1/raiz/agents/{agentId}Authorization
- Authorizationstringrequired
Bearer <token>, where the token is an API key, a client-credentials token or a person's access token with the scoperaiz:agents:write. Get an API key.
Path parameters
Request body JSON required
- knowledgeDocumentIdsoptionalarray ofstring
The Knowledge documents the Agent consults. In an update, the complete new set.
pattern: ^(?:kdc_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))|(?:con)_(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$ - settingsoptionalobject
How the Agent behaves. In an update, the complete new settings: keys left out return to their default. Text and voice settings apply only to Agents of that modality.
- recoveryManageroptionalobject | null
Optional WhatsApp recovery advisor. Null or enabled=false disables it. A journaled evidence check precedes any paid review. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.
- modelarbolito/agileorarbolito/balancedorarbolito/advancedorarbolito/toprequired
arbolito/agile: quickest and least expensive, for direct conversations.arbolito/balanced: more deliberate answers at moderate cost.arbolito/advanced: strong reasoning for complex instructions and many tools, with an adjustablereasoningEffort.arbolito/top: the most capable, for the hardest cases, with an adjustablereasoningEffortup toxhigh. Every tier reads images and PDF documents. - advisorAgentIdoptionalstring | null
Optional active text Agent in the same organization, other than this Agent, whose instructions and procedures provide specialist guidance. The configured recovery model and cost bounds stay unchanged; no specialist tools or conversation history are accessed.
pattern: ^agt_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$
- attachmentReaderoptionalvisionorocrornull
Text Agents on WhatsApp. Who reads an image or PDF when the Agent calls
read_attachment:vision(a vision model describes and transcribes it, with a stronger one when the first reads nothing) orocr(text recognition, which also answers thefieldsthe Agent asks for, each null when absent or unclear; the vision model reads the file when recognition cannot). Withocrthe Agent sees files as markers and reads them withread_attachment; withvision, tiers that read files themselves see the original. Null:vision. - budgetExhaustedMessageoptionalstring | null
Text Agents on WhatsApp. What the contact reads when the Agent has used its
monthlyTokenBudget: the conversation then goes to the team, as an escalation does, and the Agent writes nothing until the budget is raised or the month ends. Null:handoffMessage, including an empty notice when disabled.maxLength: 1000 · minLength: 1 - businessHoursoptional}
One of the following:
- RaizBusinessHours
- closedDatesarray ofstringrequired
Local dates (
YYYY-MM-DD) closed all day, such as holidays.format: date - outsideHoursMessagestringrequired
What whoever writes outside the hours receives, once per number and closed period (until the hours open again), whether the conversation's AI is on, off or paused. With
outsideHoursTemplate, the template goes instead, and this text only when WhatsApp refuses the template. The notice is never taken as an answer: the AI answers what the contact wrote when a person turns it on or resumes it in business hours.maxLength: 1000 · minLength: 1 - timeZonestring | nullrequired
IANA time zone of the windows. Null uses the organization's.
maxLength: 64 · pattern: ^[A-Za-z]+(/[A-Za-z0-9_+-]+)*$ - windowsarray ofobjectrequired
Several windows may share a day, for a break at midday or an afternoon shift.
- daysarray ofMOorTUorWEorTHorFRorSA+1 morerequired
RFC 5545 weekdays the window applies to.
- fromstringrequired
Local wall-clock time
HH:MM(24-hour).pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]$ - tostringrequired
Closing time
HH:MM, exclusive;24:00closes at midnight. Must be afterfrom: split a window that crosses midnight in two.pattern: ^(([01][0-9]|2[0-3]):[0-5][0-9]|24:00)$
- closingGraceMinutesoptional15or30or60or120ornull
Minutes after a closing during which a conversation in progress at it is still attended: the AI keeps answering, with its tools, and no notice is sent. In progress: the contact wrote before the closing, and the AI or a person answered within these minutes before it, or since (a notice is not an answer). New conversations get the notice as always. Null or absent: off.
- outsideHoursTemplateoptional
Send the notice as this approved WhatsApp template instead of
outsideHoursMessage: a template of the number's account with no variables and no document, image or video header (inlist_templates:sendable, withparameterCount0). WhatsApp's approval is checked when the hours are saved. If WhatsApp refuses the template when a notice goes (deleted, paused or disabled since),outsideHoursMessagegoes instead. Null or absent: the notice isoutsideHoursMessage.}One of the following:
- RaizOutsideHoursTemplate
- null
- null
- closingMessageoptionalstring | null
Text Agents on WhatsApp. After a reply that completed an action (an integration tool that changes data succeeded), explicitly finished the case with end_conversation and left nothing pending (no question, no offered choices, no handoff), a contact message that only thanks or closes («gracias», «ok», «listo», an emoji) gets this text at once, without the model; the Agent still reads both in its next turn. Write it in the Agent's language and ask nothing in it. Null: the Agent answers such messages itself.
maxLength: 1000 · minLength: 1 - evalGateoptionalboolean | null
Text and voice Agents. When true, an
updateAgentthat changes what the model reads (instructions, procedures, connection procedures,modelorreasoningEffort) must sendevalRunId: a completedcreateEvalRunof this Agent with exactly that content, in which every case passed (EVAL_GATE_UNMET otherwise). Null: no requirement. - handoffMessageoptionalstring | null
Text Agents on WhatsApp. The notice appended after an escalation or a requested human handoff. Null: the current localized review notice or the case-specific notice supplied under the Agent's instructions. An empty string disables the notice; the handoff and pause still happen. The model does not write this notice.
maxLength: 1000 - humanReplyTimeoutMinutesoptionalinteger | null
Text Agents on WhatsApp. After a manual takeover, resume automatic replies when the contact's newest message waits this many minutes. An Agent handoff always stays with the team until a person explicitly resumes AI. Null: only a person resumes automatic replies.
maximum: 1440 · minimum: 1 - investigationsEnabledoptionalboolean | null
Opt this Agent into internal root-cause investigations of tool failures, human escalations, failed outcomes and negative feedback. Incidents are grouped only with participating Agents in the same organization. Null or false: disabled. Turning this off stops new events and pending dispatch when no participating Agent remains; an already active investigation may finish.
- modeloptionalarbolito/agileorarbolito/balancedorarbolito/advancedorarbolito/topornull
Text Agents. The tier that writes replies.
arbolito/agile: quickest and least expensive, for direct conversations.arbolito/balanced: more deliberate answers at moderate cost.arbolito/advanced: strong reasoning for complex instructions and many tools, with an adjustablereasoningEffort.arbolito/top: the most capable, for the hardest cases, with an adjustablereasoningEffortup toxhigh. Every tier reads images and PDF documents. Null: the default, asarbolito/agile. - modelTrialoptional}
One of the following:
- RaizAgentModelTrial
- modelarbolito/agileorarbolito/balancedorarbolito/advancedorarbolito/toprequired
The tier the trial's conversations are answered with.
- percentintegerrequired
The share of new conversations in the trial, in percent.
maximum: 50 · minimum: 1 - reasoningEffortnoneorlowormediumorhighorxhighornullrequired
The trial tier's reasoning, as
reasoningEffort. Null: the tier's default.
- null
- monthlyTokenBudgetoptionalinteger | null
Text Agents. Tokens (input, cached input included, plus output) the Agent may use per calendar month (UTC), on every channel. On WhatsApp, a reply that would start past it does not run: the contact reads
budgetExhaustedMessageand the team continues; at 80 % the API logs an alert once a month. Null: no limit.maximum: 1000000000000 · minimum: 10000 - pauseOnHumanReplyoptionalboolean | null
Text Agents on WhatsApp: pause automatic replies when a live WhatsApp Business App message that says something (not a reaction, an edit or a deletion) proves a person took over. Null: disabled. The recipient stays paused until resumed or until that conversation closes; their next conversation starts with the AI.
- policyoptional}
One of the following:
- RaizAgentTurnPolicy
- maxOutputTokensoptionalinteger
Output tokens per model call, reasoning included. Default 4096.
maximum: 16384 · minimum: 256 - maxStepsoptionalinteger
Model calls one reply may make: tool rounds plus the answer. The last call never offers tools, so the contact always gets an answer. Default 16.
maximum: 32 · minimum: 2 - maxWritesPerStepoptionalinteger
Integration tool calls that change data (
effect: write) one model step may run. A further one is refused with a fixed reason, and the Agent runs it in its next step after reading the first result. 0 forbids writes. Default 1.maximum: 3 · minimum: 0 - repeatedReadLimitoptionalinteger
Identical reads (same tool, same arguments) one reply may run; the next is refused with a fixed reason. Omitted: no limit, as an Agent that polls a pending operation repeats one read on purpose.
maximum: 10 · minimum: 1 - toolsoptionalobject
Per-tool rules, by the name the model sees.
- null
- pollPendingOperationsoptionalboolean | null
Text Agents on WhatsApp: when a reply ends while an integration answered that its work is still pending (
status: pendingwith anoperationId) and the same connection offersgetOperation, Raíz checks it again on its own and the Agent answers with the result, without waiting for the contact to write. Null: disabled. - reasoningEffortoptionalnoneorlowormediumorhighorxhighornull
Text Agents whose tier reasons (
arbolito/advanced,arbolito/top, or an Agent already running a model that reasons):noneanswers fastest,highdeliberates most, andxhigh, onarbolito/advancedandarbolito/top, deliberates past it. Null: the tier's default. A tier that does not reason refuses it (AGENT_SETTINGS_INVALID). - voiceoptional}
One of the following:
- RaizAgentVoiceSettings
- keywordsarray ofstringrequired
Names and terms the transcriber should favor (people, places, products).
maxLength: 64 · minLength: 1 - maxDurationSecondsinteger | nullrequired
Hard limit of one call. Null: 600 seconds.
maximum: 7200 · minimum: 30 - recordCallsbooleanrequired
Keep the call recording (copied to Raíz after the call).
- silenceEndCallTimeoutSecondsinteger | nullrequired
Hang up after this much caller silence. Null: the platform default.
maximum: 600 · minimum: 10 - similarityBoostnumber | nullrequiredmaximum: 1 · minimum: 0
- speednumber | nullrequiredmaximum: 1.2 · minimum: 0.7
- stabilitynumber | nullrequiredmaximum: 1 · minimum: 0
- turnTimeoutSecondsinteger | nullrequired
Seconds to wait for the caller before prompting again. Null: the platform default.
maximum: 30 · minimum: 1 - llmarbolito/agileorarbolito/balancedorarbolito/advancedorarbolito/topornullrequired
The tier the Agent thinks with on calls.
arbolito/agile: quickest and least expensive, for direct conversations.arbolito/balanced: more deliberate answers at moderate cost.arbolito/advanced: strong reasoning for complex instructions and many tools, with an adjustablereasoningEffort.arbolito/top: the most capable, for the hardest cases, with an adjustablereasoningEffortup toxhigh. Every tier reads images and PDF documents. Null: the default, asarbolito/agile. - voiceIdstring | nullrequired
A voice from
listVoices. Null uses the default voice.pattern: ^vce_[A-Za-z0-9_-]{20,156}$ - redactKeypadInputoptionalboolean
Replace numbers entered on the phone keypad with <REDACTED> in stored transcripts and analysis. False (the default) keeps them visible. Applies to future calls; the Agent still receives the digits during the call.
default: false - reasoningEffortoptionalnoneorminimalorlowormediumorhighorxhigh+2 more
Reasoning effort on calls, when supported by the selected model. Null uses the model default.
- responseDelayMessagesoptionalboolean
Speak a short contextual message while preparing a slow response. False disables automatic delay messages. Omitted preserves the current runtime setting.
- toolCallSoundoptionaltypingornull
typing: Play a typing sound while this Agent's tools execute. Null disables the sound; omitted preserves the current setting. Applies to future calls after synchronization.
- backupModelsoptionalarray | null
Ordered backup tiers when the primary voice model fails. Null restores the runtime default. Omitted preserves the current runtime setting. An empty list is not allowed because calls need a fallback.
- null
- evalRunIdoptionalstring
With the Agent's
settings.evalGate: the completed evaluation run (createEvalRun) of exactly the content this update leaves the model reading, in which every case passed.pattern: ^evr_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$
Returns
200
Successful operation.
- dataobjectrequired
- knowledgeDocumentIdsarray ofstringrequired
The Knowledge documents the Agent consults.
pattern: ^(?:kdc_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))|(?:con)_(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$ - settingsobjectrequired
- recoveryManagerobject | nullrequired
Optional WhatsApp recovery advisor. Null or enabled=false disables it. A journaled evidence check precedes any paid review. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.
- modelarbolito/agileorarbolito/balancedorarbolito/advancedorarbolito/toprequired
arbolito/agile: quickest and least expensive, for direct conversations.arbolito/balanced: more deliberate answers at moderate cost.arbolito/advanced: strong reasoning for complex instructions and many tools, with an adjustablereasoningEffort.arbolito/top: the most capable, for the hardest cases, with an adjustablereasoningEffortup toxhigh. Every tier reads images and PDF documents. - advisorAgentIdoptionalstring | null
Optional active text Agent in the same organization, other than this Agent, whose instructions and procedures provide specialist guidance. The configured recovery model and cost bounds stay unchanged; no specialist tools or conversation history are accessed.
pattern: ^agt_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$
- attachmentReadervisionorocrornullrequired
Text Agents on WhatsApp. Who reads an image or PDF when the Agent calls
read_attachment:vision(a vision model describes and transcribes it, with a stronger one when the first reads nothing) orocr(text recognition, which also answers thefieldsthe Agent asks for, each null when absent or unclear; the vision model reads the file when recognition cannot). Withocrthe Agent sees files as markers and reads them withread_attachment; withvision, tiers that read files themselves see the original. Null:vision. - budgetExhaustedMessagestring | nullrequired
Text Agents on WhatsApp. What the contact reads when the Agent has used its
monthlyTokenBudget: the conversation then goes to the team, as an escalation does, and the Agent writes nothing until the budget is raised or the month ends. Null:handoffMessage, including an empty notice when disabled.maxLength: 1000 · minLength: 1 - closingMessagestring | nullrequired
Text Agents on WhatsApp. After a reply that completed an action (an integration tool that changes data succeeded), explicitly finished the case with end_conversation and left nothing pending (no question, no offered choices, no handoff), a contact message that only thanks or closes («gracias», «ok», «listo», an emoji) gets this text at once, without the model; the Agent still reads both in its next turn. Write it in the Agent's language and ask nothing in it. Null: the Agent answers such messages itself.
maxLength: 1000 · minLength: 1 - evalGateboolean | nullrequired
Text and voice Agents. When true, an
updateAgentthat changes what the model reads (instructions, procedures, connection procedures,modelorreasoningEffort) must sendevalRunId: a completedcreateEvalRunof this Agent with exactly that content, in which every case passed (EVAL_GATE_UNMET otherwise). Null: no requirement. - handoffMessagestring | nullrequired
Text Agents on WhatsApp. The notice appended after an escalation or a requested human handoff. Null: the current localized review notice or the case-specific notice supplied under the Agent's instructions. An empty string disables the notice; the handoff and pause still happen. The model does not write this notice.
maxLength: 1000 - humanReplyTimeoutMinutesinteger | nullrequired
Text Agents on WhatsApp. After a manual takeover, resume automatic replies when the contact's newest message waits this many minutes. An Agent handoff always stays with the team until a person explicitly resumes AI. Null: only a person resumes automatic replies.
maximum: 1440 · minimum: 1 - investigationsEnabledboolean | nullrequired
Opt this Agent into internal root-cause investigations of tool failures, human escalations, failed outcomes and negative feedback. Incidents are grouped only with participating Agents in the same organization. Null or false: disabled. Turning this off stops new events and pending dispatch when no participating Agent remains; an already active investigation may finish.
- modelarbolito/agileorarbolito/balancedorarbolito/advancedorarbolito/topornullrequired
Text Agents. The tier that writes replies.
arbolito/agile: quickest and least expensive, for direct conversations.arbolito/balanced: more deliberate answers at moderate cost.arbolito/advanced: strong reasoning for complex instructions and many tools, with an adjustablereasoningEffort.arbolito/top: the most capable, for the hardest cases, with an adjustablereasoningEffortup toxhigh. Every tier reads images and PDF documents. Null: the default, asarbolito/agile. - modelTrialrequired}
One of the following:
- RaizAgentModelTrial
- modelarbolito/agileorarbolito/balancedorarbolito/advancedorarbolito/toprequired
The tier the trial's conversations are answered with.
- percentintegerrequired
The share of new conversations in the trial, in percent.
maximum: 50 · minimum: 1 - reasoningEffortnoneorlowormediumorhighorxhighornullrequired
The trial tier's reasoning, as
reasoningEffort. Null: the tier's default.
- null
- monthlyTokenBudgetinteger | nullrequired
Text Agents. Tokens (input, cached input included, plus output) the Agent may use per calendar month (UTC), on every channel. On WhatsApp, a reply that would start past it does not run: the contact reads
budgetExhaustedMessageand the team continues; at 80 % the API logs an alert once a month. Null: no limit.maximum: 1000000000000 · minimum: 10000 - pauseOnHumanReplyboolean | nullrequired
Text Agents on WhatsApp: pause automatic replies when a live WhatsApp Business App message that says something (not a reaction, an edit or a deletion) proves a person took over. Null: disabled. The recipient stays paused until resumed or until that conversation closes; their next conversation starts with the AI.
- policyrequired}
One of the following:
- RaizAgentTurnPolicy
- maxOutputTokensoptionalinteger
Output tokens per model call, reasoning included. Default 4096.
maximum: 16384 · minimum: 256 - maxStepsoptionalinteger
Model calls one reply may make: tool rounds plus the answer. The last call never offers tools, so the contact always gets an answer. Default 16.
maximum: 32 · minimum: 2 - maxWritesPerStepoptionalinteger
Integration tool calls that change data (
effect: write) one model step may run. A further one is refused with a fixed reason, and the Agent runs it in its next step after reading the first result. 0 forbids writes. Default 1.maximum: 3 · minimum: 0 - repeatedReadLimitoptionalinteger
Identical reads (same tool, same arguments) one reply may run; the next is refused with a fixed reason. Omitted: no limit, as an Agent that polls a pending operation repeats one read on purpose.
maximum: 10 · minimum: 1 - toolsoptionalobject
Per-tool rules, by the name the model sees.
- null
- pollPendingOperationsboolean | nullrequired
Text Agents on WhatsApp: when a reply ends while an integration answered that its work is still pending (
status: pendingwith anoperationId) and the same connection offersgetOperation, Raíz checks it again on its own and the Agent answers with the result, without waiting for the contact to write. Null: disabled. - reasoningEffortnoneorlowormediumorhighorxhighornullrequired
Text Agents whose tier reasons (
arbolito/advanced,arbolito/top, or an Agent already running a model that reasons):noneanswers fastest,highdeliberates most, andxhigh, onarbolito/advancedandarbolito/top, deliberates past it. Null: the tier's default. A tier that does not reason refuses it (AGENT_SETTINGS_INVALID). - voicerequired}
One of the following:
- RaizAgentVoiceSettings
- keywordsarray ofstringrequired
Names and terms the transcriber should favor (people, places, products).
maxLength: 64 · minLength: 1 - maxDurationSecondsinteger | nullrequired
Hard limit of one call. Null: 600 seconds.
maximum: 7200 · minimum: 30 - recordCallsbooleanrequired
Keep the call recording (copied to Raíz after the call).
- silenceEndCallTimeoutSecondsinteger | nullrequired
Hang up after this much caller silence. Null: the platform default.
maximum: 600 · minimum: 10 - similarityBoostnumber | nullrequiredmaximum: 1 · minimum: 0
- speednumber | nullrequiredmaximum: 1.2 · minimum: 0.7
- stabilitynumber | nullrequiredmaximum: 1 · minimum: 0
- turnTimeoutSecondsinteger | nullrequired
Seconds to wait for the caller before prompting again. Null: the platform default.
maximum: 30 · minimum: 1 - llmarbolito/agileorarbolito/balancedorarbolito/advancedorarbolito/topornullrequired
The tier the Agent thinks with on calls.
arbolito/agile: quickest and least expensive, for direct conversations.arbolito/balanced: more deliberate answers at moderate cost.arbolito/advanced: strong reasoning for complex instructions and many tools, with an adjustablereasoningEffort.arbolito/top: the most capable, for the hardest cases, with an adjustablereasoningEffortup toxhigh. Every tier reads images and PDF documents. Null: the default, asarbolito/agile. - voiceIdstring | nullrequired
A voice from
listVoices. Null uses the default voice.pattern: ^vce_[A-Za-z0-9_-]{20,156}$ - redactKeypadInputoptionalboolean
Replace numbers entered on the phone keypad with <REDACTED> in stored transcripts and analysis. False (the default) keeps them visible. Applies to future calls; the Agent still receives the digits during the call.
default: false - reasoningEffortoptionalnoneorminimalorlowormediumorhighorxhigh+2 more
Reasoning effort on calls, when supported by the selected model. Null uses the model default.
- responseDelayMessagesoptionalboolean
Speak a short contextual message while preparing a slow response. False disables automatic delay messages. Omitted preserves the current runtime setting.
- toolCallSoundoptionaltypingornull
typing: Play a typing sound while this Agent's tools execute. Null disables the sound; omitted preserves the current setting. Applies to future calls after synchronization.
- backupModelsoptionalarray | null
Ordered backup tiers when the primary voice model fails. Null restores the runtime default. Omitted preserves the current runtime setting. An empty list is not allowed because calls need a fallback.
- null
400
INVALID_INPUT: The request does not match the published schema.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
401
UNAUTHORIZED: A valid access token is required.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
403
FORBIDDEN: The token does not authorize this operation.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
404
NOT_FOUND: The requested operation does not exist.RESOURCE_NOT_FOUND: The requested resource does not exist in this organization.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
405
HTTP_METHOD_NOT_ALLOWED: The HTTP method is not supported for this resource.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
409
AGENT_IN_USE: The Agent still has channels or active campaigns. Unassign them before deleting it.AGENT_MODALITY_LOCKED: The Agent's modality cannot change while it has channels or is published for calls. Create a new Agent instead.EVAL_GATE_UNMET: This Agent requires a completed evaluation run of exactly this content, in which every case passed, before what its model reads changes. Create one with createEvalRun and send its id as evalRunId.VERSION_CONFLICT: The resource changed after it was read. Read it again and retry with the new version.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
413
REQUEST_TOO_LARGE: The request exceeds the allowed size.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
415
UNSUPPORTED_MEDIA_TYPE: The request content type is not supported.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
422
AGENT_PROCEDURES_INVALID: A procedure is incomplete, references a tool, document or procedure the Agent does not have, or breaks the structured step rules.issuessays where.AGENT_SETTINGS_INVALID: The settings do not apply to this Agent's modality, or two settings contradict each other.INTEGRATION_PROCEDURE_UNAVAILABLE: A procedure does not exist in this organization's connections, Raíz cannot run its connection, or the Agent is not a text Agent.INTEGRATION_TOOL_UNAVAILABLE: An integration tool does not exist in this organization's connections, or Raíz cannot run it.KNOWLEDGE_DOCUMENT_UNAVAILABLE: A Knowledge document does not exist in this organization.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
429
RATE_LIMITED: The request rate limit was exceeded. Try again later.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
500
INTERNAL_ERROR: The service could not complete the operation.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
502
OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
503
UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.VOICE_UNAVAILABLE: Calls are unavailable right now. Try again in a few minutes.INTEGRATIONS_UNAVAILABLE: The organization's integrations cannot be read right now. Try again shortly.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
504
UPSTREAM_TIMEOUT: The upstream service did not respond before its deadline.
- errorrequired}
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object