using RestSharp;
var options = new RestClientOptions("https://api.insuranceboosters.com/api/v1/agents/{agentId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("x-ib-api-key", "<api-key>");
request.AddJsonBody("{}", false);
var response = await client.PutAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://api.insuranceboosters.com/api/v1/agents/{agentId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("x-ib-api-key", "<api-key>");
request.AddJsonBody("{}", false);
var response = await client.PutAsync(request);
Console.WriteLine("{0}", response.Content);
val client = OkHttpClient()
val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{}")
val request = Request.Builder()
.url("https://api.insuranceboosters.com/api/v1/agents/{agentId}")
.put(body)
.addHeader("x-ib-api-key", "<api-key>")
.addHeader("Content-Type", "application/json")
.build()
val response = client.newCall(request).execute()
false
import Foundation
let parameters = [] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://api.insuranceboosters.com/api/v1/agents/{agentId}")!
var request = URLRequest(url: url)
request.httpMethod = "PUT"
request.timeoutInterval = 10
request.allHTTPHeaderFields = [
"x-ib-api-key": "<api-key>",
"Content-Type": "application/json"
]
request.httpBody = postData
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))
using RestSharp;
var options = new RestClientOptions("https://api.insuranceboosters.com/api/v1/agents/{agentId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("x-ib-api-key", "<api-key>");
request.AddJsonBody("{}", false);
var response = await client.PutAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://api.insuranceboosters.com/api/v1/agents/{agentId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("x-ib-api-key", "<api-key>");
request.AddJsonBody("{}", false);
var response = await client.PutAsync(request);
Console.WriteLine("{0}", response.Content);
val client = OkHttpClient()
val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{}")
val request = Request.Builder()
.url("https://api.insuranceboosters.com/api/v1/agents/{agentId}")
.put(body)
.addHeader("x-ib-api-key", "<api-key>")
.addHeader("Content-Type", "application/json")
.build()
val response = client.newCall(request).execute()
false
import Foundation
let parameters = [] as [String : Any?]
let postData = try JSONSerialization.data(withJSONObject: parameters, options: [])
let url = URL(string: "https://api.insuranceboosters.com/api/v1/agents/{agentId}")!
var request = URLRequest(url: url)
request.httpMethod = "PUT"
request.timeoutInterval = 10
request.allHTTPHeaderFields = [
"x-ib-api-key": "<api-key>",
"Content-Type": "application/json"
]
request.httpBody = postData
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))
{ "id": "<agentId>", "tenantId": "<tenantId>", "name": "Asistente de Acme Seguros", "description": "Atiende consultas de pólizas.", "instructions": "Responde consultas con información clara y breve.", "modelConfig": { "provider": "openai", "model": "<modelo>", "temperature": 0.2 }, "toolIds": [ "<toolId>" ], "topicIds": [ "<topicId>" ], "isActive": true, "version": 2, "createdAt": 1710000000000, "lastUpdatedAt": 1710003600000}
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Insurance Boosters API","description":"Documentación de la API de Insurance Boosters para integradores externos.","colors":{"primary":"#6746C2","light":"#6746C2","dark":"#8B6FE8"},"logo":{"light":"https://mintcdn.com/insurance-boosters/Xcjz70lXRQ2GedqW/assets/logo.png?fit=max\u0026auto=format\u0026n=Xcjz70lXRQ2GedqW\u0026q=85\u0026s=55567c3a57de1462828afcff190e9ac9","dark":"https://mintcdn.com/insurance-boosters/Xcjz70lXRQ2GedqW/assets/logo-dark.png?fit=max\u0026auto=format\u0026n=Xcjz70lXRQ2GedqW\u0026q=85\u0026s=2d6582fb0f5f441b10f827d6e36a9e73","href":"https://developers.insuranceboosters.com"},"favicon":"https://mintcdn.com/insurance-boosters/Xcjz70lXRQ2GedqW/assets/logo.png?fit=max\u0026auto=format\u0026n=Xcjz70lXRQ2GedqW\u0026q=85\u0026s=55567c3a57de1462828afcff190e9ac9","api":{"openapi":"openapi/whatsapp-v1.json","playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","python","javascript","typescript","node","java","csharp","dotnet","go","ruby","php","kotlin","rust","swift","powershell"],"prefill":true,"autogenerate":true},"mdx":{"auth":{"method":"key","name":"x-ib-api-key"},"server":"https://api.insuranceboosters.com/api/v1"}},"appearance":{"default":"light","strict":false},"background":{"decoration":"gradient","color":{"light":"#F8F6FF","dark":"#1A1425"}},"navbar":{"links":[{"href":"https://insuranceboosters.com","label":"Sitio web"}],"primary":{"type":"button","label":"Soporte","href":"mailto:soporte@insuranceboosters.com"}},"footer":{"socials":{"website":"https://insuranceboosters.com"}},"seo":{"metatags":{"og:site_name":"Insurance Boosters API","og:locale":"es_MX"},"indexing":"all"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor","mcp","vscode","devin-mcp","aistudio","grok"],"display":"header"},"variables":{"api-base-url":"https://api.insuranceboosters.com/api/v1"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"insurance-boosters","hasAudioNarration":false,"actualSubdomain":"insurance-boosters","customDomains":["developers.insuranceboosters.com"],"gitSource":{"type":"github","owner":"autoclupp","repo":"insurance-boosters-app","deployBranch":"main","contentDirectory":"docs/brands/insurance-boosters","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"df3ca13c-f47c-45dd-916e-a9c733e0bc48","liveDeploymentHistoryId":"6ae198907209e70752c6f3ee","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae198907209e70752c6f3ee"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae27b42326bb2ece5175fba","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Referencia API","count":86},{"language":"default","tag":"Automatizaciones","count":37},{"language":"default","tag":"Tableros","count":25},{"language":"default","tag":"Pasos","count":11},{"language":"default","tag":"Registros","count":10},{"language":"default","tag":"WhatsApp","count":9},{"language":"default","tag":"Plantillas","count":9},{"language":"default","tag":"Agentes IA","count":8},{"language":"default","tag":"Triggers","count":8},{"language":"default","tag":"Agentes preconfigurados","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"alex@insuranceboosters.com"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"agentes/editar-agente","slug":"/agentes/editar-agente","pageMetadata":{"title":"Editar agente personalizado","description":"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.","openapi":"openapi/agentes-v1.yaml PUT /agents/{agentId}","keywords":["agentes","IA","editar","actualizar","plataforma"],"href":"/agentes/editar-agente"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Actualiza uno o más campos de un agente personalizado. Los campos que no envíes conservan su valor actual.`}),`\n`,_jsx(_components.p,{children:`Antes de empezar, necesitas:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Una `,_jsx(_components.a,{href:`/autenticacion`,children:`API key`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`El `,_jsx(_components.code,{children:`agentId`}),`, disponible en la URL del agente dentro de la plataforma.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`actualizar-el-agente`,children:`Actualizar el agente`}),`\n`,_jsxs(_components.p,{children:[`Llama a `,_jsx(_components.code,{children:`PUT /agents/{agentId}`}),` con los campos que quieres cambiar. Sustituye `,_jsx(_components.code,{children:`{agentId}`}),` y `,_jsx(_components.code,{children:`TU_API_KEY`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.insuranceboosters.com/api/v1/agents/{agentId}\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-ib-api-key: TU_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Asistente de Acme Seguros\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\": \"\u003cinstrucciones>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"isActive\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Si incluyes `,_jsx(_components.code,{children:`modelConfig`}),`, `,_jsx(_components.code,{children:`toolIds`}),` o `,_jsx(_components.code,{children:`topicIds`}),`, ese valor reemplaza por completo al anterior. Un arreglo vacío en `,_jsx(_components.code,{children:`toolIds`}),` o `,_jsx(_components.code,{children:`topicIds`}),` quita la lista.`]}),`\n`,_jsx(Heading,{level:`2`,id:`campos`,children:`Campos`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descripción`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Nombre del agente. Si lo envías, no puede ir vacío.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Descripción del agente.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`instructions`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Instrucciones que definen su comportamiento.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`modelConfig`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{children:`Proveedor, modelo y temperatura. Reemplaza la configuración completa.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`toolIds`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string[]`})}),_jsx(_components.td,{children:`Identificadores de herramientas. Reemplaza la lista completa.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`topicIds`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string[]`})}),_jsx(_components.td,{children:`Identificadores de temas. Reemplaza la lista completa.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`isActive`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),` permite ejecutar el agente. `,_jsx(_components.code,{children:`false`}),` hace que la ejecución responda `,_jsx(_components.code,{children:`400`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`version`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`integer`})}),_jsx(_components.td,{children:`Entero positivo. Si lo envías, reemplaza la versión guardada.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`modelconfig`,children:_jsx(_components.code,{children:`modelConfig`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`provider`}),` y `,_jsx(_components.code,{children:`model`}),` son obligatorios cuando envías este objeto. `,_jsx(_components.code,{children:`temperature`}),` es opcional.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descripción`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`provider`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`openai`}),` o `,_jsx(_components.code,{children:`gemini`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Identificador del modelo.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`temperature`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[`Valor entre `,_jsx(_components.code,{children:`0`}),` y `,_jsx(_components.code,{children:`2`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`respuesta`,children:`Respuesta`}),`\n`,_jsxs(_components.p,{children:[`Un `,_jsx(_components.code,{children:`200`}),` devuelve el agente actualizado.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descripción`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Identificador del agente.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tenantId`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Identificador de tu cuenta.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Nombre del agente.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Descripción, si existe.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`instructions`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Instrucciones, si existen.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`modelConfig`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{children:`Configuración del modelo, si existe.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`toolIds`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string[]`})}),_jsx(_components.td,{children:`Herramientas asociadas, si existen.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`topicIds`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string[]`})}),_jsx(_components.td,{children:`Temas asociados, si existen.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`isActive`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:`Estado de ejecución, si está definido.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`version`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`integer`})}),_jsx(_components.td,{children:`Versión del agente.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`createdAt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`Creación en milisegundos (epoch).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lastUpdatedAt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`Última actualización en milisegundos (epoch).`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cagentId>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tenantId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003ctenantId>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Asistente de Acme Seguros\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Atiende consultas de pólizas.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cinstrucciones>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"modelConfig\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cmodelo>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"temperature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"toolIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003ctoolId>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"topicIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003ctopicId>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isActive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1710000000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastUpdatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1710003600000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errores-frecuentes`,children:`Errores frecuentes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Qué significa`}),_jsx(_components.th,{children:`Qué hacer`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`El body no cumple el esquema, o una herramienta o un tema no es válido.`}),_jsxs(_components.td,{children:[`Revisa tipos, `,_jsx(_components.code,{children:`provider`}),`, `,_jsx(_components.code,{children:`temperature`}),` (0 a 2) y que cada id de `,_jsx(_components.code,{children:`toolIds`}),` y `,_jsx(_components.code,{children:`topicIds`}),` pertenezca a tu cuenta.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`API key inválida o faltante.`}),_jsxs(_components.td,{children:[`Verifica `,_jsx(_components.code,{children:`x-ib-api-key`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`El agente no existe o no pertenece a tu cuenta.`}),_jsxs(_components.td,{children:[`Abre el agente en la plataforma y confirma su `,_jsx(_components.code,{children:`agentId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Error inesperado.`}),_jsx(_components.td,{children:`Reintenta; si continúa, contacta soporte.`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Editar agente personalizado","description":"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.","openapi":"openapi/agentes-v1.yaml PUT /agents/{agentId}","keywords":["agentes","IA","editar","actualizar","plataforma"],"href":"/agentes/editar-agente"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Actualizar el agente","slug":"actualizar-el-agente","depth":2,"children":[]},{"title":"Campos","slug":"campos","depth":2,"children":[{"title":"modelConfig","slug":"modelconfig","depth":3,"children":[]}]},{"title":"Respuesta","slug":"respuesta","depth":2,"children":[]},{"title":"Errores frecuentes","slug":"errores-frecuentes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateAgent","summary":"Editar agente","description":"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.","tags":["Agentes IA"],"parameters":["96de7382-dd58-471f-b7d7-b81569032c2a"],"requestBody":"87a38cb3-d2e2-4785-90d8-bb0a3b232297","responses":{"200":"f3531e77-2d0b-4ef2-aa89-654dc427d08c","400":"ccb2ad70-6c48-4479-8110-6b3a21849417","401":"b3397f78-8725-4cae-91fd-a4efdc6163e1","404":"c66ac788-2680-4606-a7e3-82b7b164cd16","500":"d01bfdaa-81a6-44a1-af5b-fd15c9b26df8"},"method":"put","type":"path","servers":["ecc80caf-9a23-4125-9eb5-e362be072067"],"security":["5454376d-c2b0-49f3-8695-313afa84277e"],"path":"/agents/{agentId}","baseUrlOptions":["https://api.insuranceboosters.com/api/v1"],"title":"Editar agente","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","typescript","node","java","csharp","dotnet","go","ruby","php","kotlin","rust","swift","powershell"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.name":"Asistente de Acme Seguros","body.instructions":"Responde consultas con información clara y breve.","body.isActive":true}]},"dependencies":{"parameters":{"96de7382-dd58-471f-b7d7-b81569032c2a":{"name":"agentId","in":"path","required":true,"description":"Identificador del agente. Solicítalo con tu ejecutivo de cuenta.","schema":{"type":"string","isRequired":true,"description":"Identificador del agente. Solicítalo con tu ejecutivo de cuenta.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Campos a modificar. Todos son opcionales. Los que omites conservan su valor actual.\n","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"description":"Nombre del agente. Si lo envías, no puede ir vacío.","uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"Descripción del agente.","uniqueKey":"description","typeLabel":"string"},"instructions":{"type":"string","description":"Instrucciones que definen el comportamiento del agente.","uniqueKey":"instructions","typeLabel":"string"},"modelConfig":{"type":"object","required":["provider","model"],"additionalProperties":false,"properties":{"provider":{"type":"string","enum":["openai","gemini"],"description":"Proveedor del modelo.","isRequired":true,"uniqueKey":"modelConfig.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"Identificador del modelo.","isRequired":true,"uniqueKey":"modelConfig.model","typeLabel":"string"},"temperature":{"type":"number","minimum":0,"maximum":2,"description":"Control de variación de la respuesta. Valor entre 0 y 2.","uniqueKey":"modelConfig.temperature","typeLabel":"number"}},"uniqueKey":"modelConfig","typeLabel":"object"},"toolIds":{"type":"array","description":"Identificadores de las herramientas del agente. Si lo envías, reemplaza la lista completa. Un arreglo vacío las quita.\n","items":{"type":"string","uniqueKey":"toolIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"toolIds","typeLabel":"string[]"},"topicIds":{"type":"array","description":"Identificadores de los temas del agente. Si lo envías, reemplaza la lista completa. Un arreglo vacío los quita.\n","items":{"type":"string","uniqueKey":"topicIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"topicIds","typeLabel":"string[]"},"isActive":{"type":"boolean","description":"Indica si el agente acepta ejecuciones. Con `false`, ejecutar el agente responde 400.\n","uniqueKey":"isActive","typeLabel":"boolean"},"version":{"type":"integer","minimum":1,"description":"Versión del agente. Entero positivo.","uniqueKey":"version","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"name":"Asistente de Acme Seguros","instructions":"Responde consultas con información clara y breve.","isActive":true},"examples":{"Example":{"title":"Example","value":{"name":"Asistente de Acme Seguros","instructions":"Responde consultas con información clara y breve.","isActive":true}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"f3531e77-2d0b-4ef2-aa89-654dc427d08c":{"description":"Agente actualizado.","content":{"application/json":{"schema":{"type":"object","required":["id","tenantId","name","version","createdAt","lastUpdatedAt"],"additionalProperties":true,"properties":{"id":{"type":"string","description":"Identificador del agente.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"tenantId":{"type":"string","description":"Identificador de tu cuenta.","isRequired":true,"uniqueKey":"tenantId","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"Nombre del agente.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"version":{"type":"integer","minimum":1,"description":"Versión del agente.","isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"createdAt":{"type":"number","description":"Marca de tiempo de creación en milisegundos (epoch).","isRequired":true,"uniqueKey":"createdAt","typeLabel":"number"},"lastUpdatedAt":{"type":"number","description":"Marca de tiempo de la última actualización en milisegundos (epoch).","isRequired":true,"uniqueKey":"lastUpdatedAt","typeLabel":"number"},"description":{"type":"string","description":"Descripción del agente.","uniqueKey":"description","typeLabel":"string"},"instructions":{"type":"string","description":"Instrucciones del agente.","uniqueKey":"instructions","typeLabel":"string"},"modelConfig":{"type":"object","required":["provider","model"],"additionalProperties":false,"properties":{"provider":{"type":"string","enum":["openai","gemini"],"description":"Proveedor del modelo.","isRequired":true,"uniqueKey":"modelConfig.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"Identificador del modelo.","isRequired":true,"uniqueKey":"modelConfig.model","typeLabel":"string"},"temperature":{"type":"number","minimum":0,"maximum":2,"description":"Control de variación de la respuesta. Valor entre 0 y 2.","uniqueKey":"modelConfig.temperature","typeLabel":"number"}},"uniqueKey":"modelConfig","typeLabel":"object"},"toolIds":{"type":"array","items":{"type":"string","uniqueKey":"toolIds.items.[INDEX]","typeLabel":"string"},"description":"Identificadores de las herramientas asociadas.","uniqueKey":"toolIds","typeLabel":"string[]"},"topicIds":{"type":"array","items":{"type":"string","uniqueKey":"topicIds.items.[INDEX]","typeLabel":"string"},"description":"Identificadores de los temas asociados.","uniqueKey":"topicIds","typeLabel":"string[]"},"isActive":{"type":"boolean","description":"Indica si el agente acepta ejecuciones.","uniqueKey":"isActive","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"\u003cagentId>","tenantId":"\u003ctenantId>","name":"Asistente de Acme Seguros","description":"Atiende consultas de pólizas.","instructions":"Responde consultas con información clara y breve.","modelConfig":{"provider":"openai","model":"\u003cmodelo>","temperature":0.2},"toolIds":["\u003ctoolId>"],"topicIds":["\u003ctopicId>"],"isActive":true,"version":2,"createdAt":1710000000000,"lastUpdatedAt":1710003600000},"examples":{"Example":{"title":"Example","value":{"id":"\u003cagentId>","tenantId":"\u003ctenantId>","name":"Asistente de Acme Seguros","description":"Atiende consultas de pólizas.","instructions":"Responde consultas con información clara y breve.","modelConfig":{"provider":"openai","model":"\u003cmodelo>","temperature":0.2},"toolIds":["\u003ctoolId>"],"topicIds":["\u003ctopicId>"],"isActive":true,"version":2,"createdAt":1710000000000,"lastUpdatedAt":1710003600000}}},"exampleType":"examples"}},"exampleType":"examples"},"ccb2ad70-6c48-4479-8110-6b3a21849417":{"description":"El body no cumple el esquema, o un identificador de `toolIds` o `topicIds` no es válido para tu cuenta.\n","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","description":"Detalle del error de validación o de negocio.","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"error.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Detalle del error de validación o de negocio.","uniqueKey":"error.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"error","typeLabel":"string | object[]"},"message":{"type":"string","description":"Mensaje de error de autenticación.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"campoInvalido":{"title":"campoInvalido","value":{"error":[{"message":"Name is required","path":["name"]}]}},"herramientaInvalida":{"title":"herramientaInvalida","value":{"error":"Una o más herramientas seleccionadas ya no están disponibles. Quítalas de la selección e intenta guardar de nuevo."}}},"exampleType":"examples"}},"exampleType":"examples"},"b3397f78-8725-4cae-91fd-a4efdc6163e1":{"description":"API key inválida o faltante.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","description":"Detalle del error de validación o de negocio.","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"error.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Detalle del error de validación o de negocio.","uniqueKey":"error.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"error","typeLabel":"string | object[]"},"message":{"type":"string","description":"Mensaje de error de autenticación.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"invalidApiKey":{"title":"invalidApiKey","value":{"message":"Invalid API key."}},"missingAuth":{"title":"missingAuth","value":{"message":"Invalid authorization format."}}},"exampleType":"examples"}},"exampleType":"examples"},"c66ac788-2680-4606-a7e3-82b7b164cd16":{"description":"El agente no existe o no pertenece a tu cuenta.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","description":"Detalle del error de validación o de negocio.","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"error.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Detalle del error de validación o de negocio.","uniqueKey":"error.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"error","typeLabel":"string | object[]"},"message":{"type":"string","description":"Mensaje de error de autenticación.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Agent with ID \u003cagentId> not found."},"examples":{"Example":{"title":"Example","value":{"error":"Agent with ID \u003cagentId> not found."}}},"exampleType":"examples"}},"exampleType":"examples"},"d01bfdaa-81a6-44a1-af5b-fd15c9b26df8":{"description":"Error inesperado.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","description":"Detalle del error de validación o de negocio.","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"error.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Detalle del error de validación o de negocio.","uniqueKey":"error.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"error","typeLabel":"string | object[]"},"message":{"type":"string","description":"Mensaje de error de autenticación.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Internal server error."},"examples":{"Example":{"title":"Example","value":{"error":"Internal server error."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"5454376d-c2b0-49f3-8695-313afa84277e":{"IbApiKey":{"type":"apiKey","in":"header","name":"x-ib-api-key","scopes":[],"schemeName":"IbApiKey"}}},"servers":{"ecc80caf-9a23-4125-9eb5-e362be072067":{"url":"https://api.insuranceboosters.com/api/v1","description":"Producción"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-ib-api-key","scopes":[],"schemeName":"IbApiKey"},"schema":{"title":"x-ib-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"IbApiKey","name":"x-ib-api-key"}],"title":"IbApiKey"}]},"originalFileLocation":"openapi/agentes-v1.yaml"},"subdomain":"insurance-boosters","siteName":"Insurance Boosters API","title":"Editar agente personalizado - Insurance Boosters API","contextualStarterQuestions":[{"_id":"6ae27b5093ebfaf2f4b14b94","deploymentId":"6a546a253fa2eb468be6e093","questionText":"¿Qué campos puedo cambiar?","status":"active","generatedBy":"contextual","path":"agentes/editar-agente","createdAt":"2026-10-28T22:46:40.197Z","updatedAt":"2026-10-28T22:46:40.197Z","__v":0},{"_id":"6ae27b5093ebfaf2f4b14b95","deploymentId":"6a546a253fa2eb468be6e093","questionText":"¿Cómo desactivo un agente?","status":"active","generatedBy":"contextual","path":"agentes/editar-agente","createdAt":"2026-10-28T22:46:40.197Z","updatedAt":"2026-10-28T22:46:40.197Z","__v":0},{"_id":"6ae27b5093ebfaf2f4b14b93","deploymentId":"6a546a253fa2eb468be6e093","questionText":"¿Cómo actualizo un agente?","status":"active","generatedBy":"contextual","path":"agentes/editar-agente","createdAt":"2026-10-28T22:46:40.196Z","updatedAt":"2026-10-28T22:46:40.196Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T22:46:36.294Z","originalFileLocation":"agentes/editar-agente.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Insurance Boosters API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Editar agente personalizado - Insurance Boosters API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Insurance Boosters API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.insuranceboosters.com/agentes/editar-agente\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://insurance-boosters.mintlify.app/_mintlify/api/og/v2?division=Agentes+personalizados\u0026amp;title=Editar+agente+personalizado\u0026amp;description=Actualiza+uno+o+m%C3%A1s+campos+de+un+agente+de+IA+administrado+desde+la+plataforma.\u0026amp;theme=4cd7373192b5789da3cb9883\u0026amp;signature=5fa312474b7e90296894e6be1b82eaf10e2e277ca52d12435332ef0013411040\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Editar agente personalizado - Insurance Boosters API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://insurance-boosters.mintlify.app/_mintlify/api/og/v2?division=Agentes+personalizados\u0026amp;title=Editar+agente+personalizado\u0026amp;description=Actualiza+uno+o+m%C3%A1s+campos+de+un+agente+de+IA+administrado+desde+la+plataforma.\u0026amp;theme=4cd7373192b5789da3cb9883\u0026amp;signature=5fa312474b7e90296894e6be1b82eaf10e2e277ca52d12435332ef0013411040\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/insurance-boosters/XD2CD8bAEI5GqRPn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Insurance Boosters API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6746C2\">\u003cmeta data-mint-head name=\"og:locale\" content=\"es_MX\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.insuranceboosters.com/agentes/editar-agente\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/agentes/editar-agente.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.insuranceboosters.com/#organization\",\"name\":\"Insurance Boosters API\",\"url\":\"https://developers.insuranceboosters.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/insurance-boosters/Xcjz70lXRQ2GedqW/assets/logo.png?fit=max\u0026auto=format\u0026n=Xcjz70lXRQ2GedqW\u0026q=85\u0026s=55567c3a57de1462828afcff190e9ac9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.insuranceboosters.com#website\",\"name\":\"Insurance Boosters API\",\"url\":\"https://developers.insuranceboosters.com\",\"publisher\":{\"@id\":\"https://developers.insuranceboosters.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.insuranceboosters.com/agentes/editar-agente#webpage\",\"url\":\"https://developers.insuranceboosters.com/agentes/editar-agente\",\"name\":\"Editar agente personalizado\",\"description\":\"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.\",\"dateModified\":\"2026-10-28T22:46:36.294Z\",\"isPartOf\":{\"@id\":\"https://developers.insuranceboosters.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.insuranceboosters.com/agentes/editar-agente#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.insuranceboosters.com/agentes/editar-agente#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agentes IA\",\"item\":\"https://developers.insuranceboosters.com/agentes/introduccion\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agentes personalizados\",\"item\":\"https://developers.insuranceboosters.com/agentes/personalizados\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Editar agente personalizado\",\"item\":\"https://developers.insuranceboosters.com/agentes/editar-agente\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.insuranceboosters.com/agentes/editar-agente#apireference\",\"headline\":\"Editar agente personalizado\",\"name\":\"Editar agente personalizado\",\"description\":\"Actualiza uno o más campos de un agente de IA administrado desde la plataforma.\",\"url\":\"https://developers.insuranceboosters.com/agentes/editar-agente\",\"mainEntityOfPage\":{\"@id\":\"https://developers.insuranceboosters.com/agentes/editar-agente#webpage\"},\"dateModified\":\"2026-10-28T22:46:36.294Z\",\"keywords\":\"agentes, IA, editar, actualizar, plataforma\",\"publisher\":{\"@id\":\"https://developers.insuranceboosters.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.insuranceboosters.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Insurance Boosters API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Insurance Boosters API","nav":{"global":null,"tabs":[{"tab":"Inicio","icon":"house","pages":[{"title":"Inicio","href":""}]},{"tab":"Referencia API","icon":"square-terminal","groups":[{"group":"WhatsApp","icon":"message-circle","root":{"title":"WhatsApp","icon":"message-circle","href":"/whatsapp/introduccion"},"directory":"accordion","pages":[{"group":"Plantillas","icon":"message-square-text","root":{"title":"Plantillas","icon":"message-square-text","href":"/whatsapp/plantillas"},"pages":[{"title":"Listar plantillas","openapi":"openapi/whatsapp-v1.json GET /whatsapp/{phoneNumberId}/templates","href":"/whatsapp/listar-plantillas"},{"title":"Enviar plantilla","openapi":"openapi/whatsapp-v1.json POST /whatsapp/{phoneNumberId}/template","href":"/whatsapp/enviar-plantilla"},{"group":"Ejemplos","icon":"list-tree","root":{"title":"Tipos de plantilla","href":"/whatsapp/tipos-de-plantilla"},"pages":[{"title":"Sin variables","openapi":"openapi/examples/sin-variables.json POST /whatsapp/{phoneNumberId}/template","href":"/whatsapp/enviar-plantilla/sin-variables"},{"title":"Variables posicionales","openapi":"openapi/examples/variables-posicionales.json POST /whatsapp/{phoneNumberId}/template","href":"/whatsapp/enviar-plantilla/variables-posicionales"},{"title":"Variables con nombre","openapi":"openapi/examples/variables-con-nombre.json POST /whatsapp/{phoneNumberId}/template","href":"/whatsapp/enviar-plantilla/variables-con-nombre"},{"title":"Header con imagen","openapi":"openapi/examples/header-imagen.json POST /whatsapp/{phoneNumberId}/template","href":"/whatsapp/enviar-plantilla/header-imagen"},{"title":"Header con PDF","openapi":"openapi/examples/header-pdf.json POST /whatsapp/{phoneNumberId}/template","href":"/whatsapp/enviar-plantilla/header-pdf"},{"title":"Header con video","openapi":"openapi/examples/header-video.json POST /whatsapp/{phoneNumberId}/template","href":"/whatsapp/enviar-plantilla/header-video"},{"title":"Botones dinámicos","openapi":"openapi/examples/botones-dinamicos.json POST /whatsapp/{phoneNumberId}/template","href":"/whatsapp/enviar-plantilla/botones-dinamicos"}]}]}]},{"group":"Contactos","icon":"contact","root":{"title":"Contactos","icon":"contact","href":"/contactos/introduccion"},"directory":"accordion","pages":[{"title":"Obtener esquema de contactos","openapi":"openapi/contactos-v1.yaml GET /tenants/{tenantId}/schemas/contact","href":"/contactos/obtener-schema"},{"title":"Crear contacto","openapi":"openapi/contactos-v1.yaml POST /contacts","href":"/contactos/crear-contacto"},{"title":"Listar contactos","openapi":"openapi/contactos-v1.yaml GET /contacts","href":"/contactos/listar-contactos"},{"title":"Buscar contactos","openapi":"openapi/contactos-v1.yaml POST /contacts/search","href":"/contactos/buscar-contactos"},{"title":"Consultar contacto","openapi":"openapi/contactos-v1.yaml GET /contacts/{contactId}","href":"/contactos/consultar-contacto"},{"title":"Actualizar contacto","openapi":"openapi/contactos-v1.yaml PATCH /contacts/{contactId}","href":"/contactos/actualizar-contacto"},{"title":"Eliminar contacto","openapi":"openapi/contactos-v1.yaml DELETE /contacts/{contactId}","href":"/contactos/eliminar-contacto"}]},{"group":"Agentes IA","icon":"bot","root":{"title":"Agentes IA","icon":"bot","href":"/agentes/introduccion"},"directory":"card","pages":[{"group":"Agentes personalizados","icon":"bot","root":{"title":"Agentes personalizados","description":"Edita y ejecuta mediante la API los agentes de IA creados y administrados desde la plataforma.","icon":"bot","href":"/agentes/personalizados"},"directory":"accordion","pages":[{"title":"Editar agente personalizado","openapi":"openapi/agentes-v1.yaml PUT /agents/{agentId}","href":"/agentes/editar-agente"},{"title":"Ejecutar agente personalizado","description":"Envía un mensaje a un agente de IA administrado desde la plataforma y recibe su respuesta.","openapi":"openapi/agentes-v1.yaml POST /agents/{agentId}/execute","href":"/agentes/ejecutar-agente"}]},{"group":"Agentes preconfigurados","icon":"sparkles","root":{"title":"Agentes preconfigurados","icon":"sparkles","href":"/agentes/preconfigurados"},"directory":"card","pages":[{"group":"Seguros","icon":"shield","root":{"title":"Agentes preconfigurados para Seguros","sidebarTitle":"Seguros","icon":"shield","href":"/agentes/industrias/seguros"},"directory":"card","pages":[{"title":"Agente de IA: Emisión RC Profesional en GNP","sidebarTitle":"GNP: Emisión RC Profesional","icon":"shield-check","href":"/automatizaciones/paso-gnp-emision-rc-profesional"},{"title":"Agente de IA: Cotización GMM en GNP","sidebarTitle":"GNP: cotización GMM","icon":"heart-pulse","href":"/automatizaciones/paso-gnp-cotizacion-gmm"},{"title":"Agente de IA: Reporte de pólizas y recibos pendientes en GNP","sidebarTitle":"GNP: pólizas y recibos pendientes","icon":"file-search","href":"/automatizaciones/paso-gnp-recibos-vencidos"},{"title":"Agente de IA: Reporte de pólizas y recibos pendientes en Quálitas","sidebarTitle":"Quálitas: reporte pendiente","icon":"file-down","tag":"Nuevo","href":"/automatizaciones/paso-qualitas-cobranza-pendiente"},{"title":"Agente de IA: PDFs de recibos pendientes en GNP","sidebarTitle":"GNP: PDFs de recibos","icon":"file-down","href":"/automatizaciones/paso-gnp-documentos-recibos"},{"title":"Agente de IA: Cotización GMM en HDI","sidebarTitle":"HDI: cotización GMM","icon":"heart-pulse","href":"/automatizaciones/paso-hdi-cotizacion-gmm"},{"title":"Agente de IA: Cotización GMM en MAPFRE","sidebarTitle":"MAPFRE: cotización GMM","icon":"heart-pulse","href":"/automatizaciones/paso-mapfre-cotizacion-gmm"}]}]}]},{"group":"Automatizaciones","icon":"workflow","root":{"title":"Automatizaciones","icon":"workflow","href":"/automatizaciones/introduccion"},"directory":"accordion","pages":[{"group":"Definición","icon":"file-pen","root":{"title":"Definición","icon":"file-pen","href":"/automatizaciones/definicion"},"pages":[{"title":"Listar automatizaciones","openapi":"openapi/automatizaciones-v1.yaml GET /workflows","href":"/automatizaciones/listar-automatizaciones"},{"title":"Crear automatización","openapi":"openapi/automatizaciones-v1.yaml POST /workflows","href":"/automatizaciones/crear-automatizacion"},{"title":"Consultar automatización","openapi":"openapi/automatizaciones-v1.yaml GET /workflows/{workflowId}","href":"/automatizaciones/consultar-automatizacion"},{"title":"Actualizar automatización","openapi":"openapi/automatizaciones-v1.yaml PUT /workflows/{workflowId}","href":"/automatizaciones/actualizar-automatizacion"},{"title":"Eliminar automatización","openapi":"openapi/automatizaciones-v1.yaml DELETE /workflows/{workflowId}","href":"/automatizaciones/eliminar-automatizacion"}]},{"group":"Publicación","icon":"badge-check","root":{"title":"Publicación","icon":"badge-check","href":"/automatizaciones/publicacion"},"pages":[{"title":"Publicar automatización","openapi":"openapi/automatizaciones-v1.yaml POST /workflows/{workflowId}/publish","href":"/automatizaciones/publicar-automatizacion"},{"title":"Activar automatización","openapi":"openapi/automatizaciones-v1.yaml POST /workflows/{workflowId}/activate","href":"/automatizaciones/activar-automatizacion"},{"title":"Desactivar automatización","openapi":"openapi/automatizaciones-v1.yaml POST /workflows/{workflowId}/deactivate","href":"/automatizaciones/desactivar-automatizacion"}]},{"group":"Versiones","icon":"git-branch","root":{"title":"Versiones","icon":"git-branch","href":"/automatizaciones/versiones"},"pages":[{"title":"Listar versiones","openapi":"openapi/automatizaciones-v1.yaml GET /workflows/{workflowId}/versions","href":"/automatizaciones/listar-versiones"},{"title":"Consultar versión","openapi":"openapi/automatizaciones-v1.yaml GET /workflows/{workflowId}/versions/{versionId}","href":"/automatizaciones/consultar-version"}]},{"group":"Disparos","icon":"zap","root":{"title":"Disparos","icon":"zap","href":"/automatizaciones/disparos"},"pages":[{"title":"Disparar webhook","openapi":"openapi/automatizaciones-v1.yaml POST /webhooks/{workflowId}/{secret}","href":"/automatizaciones/disparar-webhook"},{"title":"Ejecutar ahora (cron)","openapi":"openapi/automatizaciones-v1.yaml POST /workflows/{workflowId}/trigger-now","href":"/automatizaciones/ejecutar-ahora"},{"title":"Trigger de correo Gmail","icon":"https://mintlify.s3.us-west-1.amazonaws.com/insurance-boosters/assets/gmail.png","href":"/automatizaciones/trigger-gmail"},{"title":"Trigger de respuesta rápida de WhatsApp","icon":"message-circle-reply","href":"/automatizaciones/trigger-whatsapp-quick-reply"}]},{"group":"Triggers","icon":"radio-tower","root":{"title":"Triggers","icon":"radio-tower","href":"/automatizaciones/triggers"},"pages":[{"title":"Webhook","icon":"webhook","href":"/automatizaciones/triggers/webhook"},{"title":"Programación","icon":"clock","href":"/automatizaciones/triggers/programacion"},{"title":"Registro creado","icon":"database","href":"/automatizaciones/triggers/registro-creado"},{"title":"Registro actualizado","icon":"database-zap","href":"/automatizaciones/triggers/registro-actualizado"},{"title":"Contacto creado","icon":"contact-round","href":"/automatizaciones/triggers/contacto-creado"},{"title":"Contacto actualizado","icon":"contact-round-cog","href":"/automatizaciones/triggers/contacto-actualizado"},{"title":"Respuesta de WhatsApp Flow","icon":"message-circle","href":"/automatizaciones/triggers/respuesta-whatsapp-flow"},{"title":"Reintentos e idempotencia","icon":"refresh-cw","href":"/automatizaciones/triggers/reintentos-idempotencia"}]},{"group":"Ejecuciones","icon":"history","root":{"title":"Ejecuciones","icon":"history","href":"/automatizaciones/ejecuciones"},"pages":[{"title":"Listar ejecuciones","openapi":"openapi/automatizaciones-v1.yaml GET /workflows/{workflowId}/runs","href":"/automatizaciones/listar-ejecuciones"},{"title":"Consultar ejecución","openapi":"openapi/automatizaciones-v1.yaml GET /workflows/{workflowId}/runs/{runId}","href":"/automatizaciones/consultar-ejecucion"},{"title":"Listar pasos de una ejecución","sidebarTitle":"Pasos de la ejecución","openapi":"openapi/automatizaciones-v1.yaml GET /workflows/{workflowId}/runs/{runId}/steps","href":"/automatizaciones/listar-pasos-ejecucion"},{"title":"Diagnosticar un paso de navegador","sidebarTitle":"Diagnóstico de navegador","openapi":"openapi/automatizaciones-v1.yaml GET /workflows/{workflowId}/runs/{runId}/steps/{stepId}/diagnostics","icon":"stethoscope","href":"/automatizaciones/diagnosticar-paso-navegador"}]},{"group":"Pasos","icon":"blocks","root":{"title":"Tipos de paso","icon":"blocks","href":"/automatizaciones/tipos-de-paso"},"pages":[{"title":"Variables y contexto","icon":"braces","href":"/automatizaciones/variables-y-contexto"},{"title":"Archivos entre pasos","icon":"files","href":"/automatizaciones/archivos-entre-pasos"},{"title":"Enviar correo con Gmail","icon":"https://mintlify.s3.us-west-1.amazonaws.com/insurance-boosters/assets/gmail.png","href":"/automatizaciones/paso-gmail"},{"title":"Llamadas con mensaje","icon":"phone-call","href":"/automatizaciones/paso-llamadas-con-mensaje"},{"title":"Paso Agente IA: investigar la web","icon":"globe","href":"/automatizaciones/paso-navegador"},{"title":"Paso Agente IA: completar tarea web","icon":"mouse-pointer-click","href":"/automatizaciones/paso-tarea-navegador"},{"title":"Paso Agente IA: automatizar portal","icon":"bot","href":"/automatizaciones/paso-agente-guion"},{"title":"Paso Criterio IA","icon":"https://mintlify.s3.us-west-1.amazonaws.com/insurance-boosters/assets/typesafe-mark.svg","href":"/automatizaciones/paso-decision"},{"title":"Paso JavaScript","icon":"code","href":"/automatizaciones/paso-javascript"},{"title":"Paso HTTP","icon":"globe","href":"/automatizaciones/paso-http"},{"title":"Paso Esperar","icon":"clock","href":"/automatizaciones/paso-esperar"}]}]},{"group":"Tableros","icon":"table-2","root":{"title":"Tableros","icon":"table-2","href":"/tableros/introduccion"},"directory":"accordion","pages":[{"group":"Administración","icon":"layout-dashboard","root":{"title":"Gestión de tableros","icon":"layout-dashboard","href":"/tableros/gestion"},"pages":[{"title":"Listar tableros","openapi":"openapi/tableros-v1.yaml GET /databases","href":"/tableros/listar-tableros"},{"title":"Crear tablero","openapi":"openapi/tableros-v1.yaml POST /databases","href":"/tableros/crear-tablero"},{"title":"Consultar tablero","openapi":"openapi/tableros-v1.yaml GET /databases/{databaseId}","href":"/tableros/consultar-tablero"},{"title":"Actualizar tablero","openapi":"openapi/tableros-v1.yaml PATCH /databases/{databaseId}","href":"/tableros/actualizar-tablero"}]},{"group":"Campos","icon":"columns-3","root":{"title":"Campos","icon":"columns-3","href":"/tableros/campos"},"pages":[{"title":"Crear campo","openapi":"openapi/tableros-v1.yaml POST /databases/{databaseId}/fields","href":"/tableros/crear-campo"},{"title":"Tipos y configuración de campos","icon":"list-tree","href":"/tableros/tipos-de-campo"},{"title":"Actualizar campo","openapi":"openapi/tableros-v1.yaml PATCH /databases/{databaseId}/fields/{fieldId}","href":"/tableros/actualizar-campo"},{"title":"Reordenar campos","openapi":"openapi/tableros-v1.yaml PUT /databases/{databaseId}/fields/reorder","href":"/tableros/reordenar-campos"},{"title":"Vincular relación bidireccional","openapi":"openapi/tableros-v1.yaml POST /databases/{databaseId}/fields/{fieldId}/link","sidebarTitle":"Vincular relación","href":"/tableros/vincular-relacion"},{"title":"Desvincular relación bidireccional","openapi":"openapi/tableros-v1.yaml POST /databases/{databaseId}/fields/{fieldId}/unlink","sidebarTitle":"Desvincular relación","href":"/tableros/desvincular-relacion"},{"title":"Eliminar campo","openapi":"openapi/tableros-v1.yaml DELETE /databases/{databaseId}/fields/{fieldId}","href":"/tableros/eliminar-campo"}]},{"group":"Registros","icon":"rows-3","root":{"title":"Registros","icon":"rows-3","href":"/tableros/registros"},"pages":[{"title":"Valores por tipo de campo","icon":"braces","href":"/tableros/valores-por-tipo"},{"title":"Listar registros","openapi":"openapi/tableros-v1.yaml GET /databases/{databaseId}/records","href":"/tableros/listar-registros"},{"title":"Buscar registros","openapi":"openapi/tableros-v1.yaml POST /databases/{databaseId}/records/search","href":"/tableros/buscar-registros"},{"title":"Crear registro","openapi":"openapi/tableros-v1.yaml POST /databases/{databaseId}/records","href":"/tableros/crear-registro"},{"title":"Crear registros en lote","openapi":"openapi/tableros-v1.yaml POST /databases/{databaseId}/records/bulk","sidebarTitle":"Crear en lote","href":"/tableros/crear-registros-lote"},{"title":"Consultar registro","openapi":"openapi/tableros-v1.yaml GET /databases/{databaseId}/records/{recordId}","href":"/tableros/consultar-registro"},{"title":"Actualizar registro","openapi":"openapi/tableros-v1.yaml PATCH /databases/{databaseId}/records/{recordId}","href":"/tableros/actualizar-registro"},{"title":"Actualizar relaciones de un registro","openapi":"openapi/tableros-v1.yaml PATCH /databases/{databaseId}/records/{recordId}/relation-links","sidebarTitle":"Actualizar relaciones","href":"/tableros/actualizar-relaciones-registro"},{"title":"Consultar historial de un registro","openapi":"openapi/tableros-v1.yaml GET /databases/{databaseId}/records/{recordId}/history","sidebarTitle":"Consultar historial","href":"/tableros/historial-registro"},{"title":"Eliminar registro","openapi":"openapi/tableros-v1.yaml DELETE /databases/{databaseId}/records/{recordId}","href":"/tableros/eliminar-registro"}]},{"group":"Archivos","icon":"paperclip","root":{"title":"Archivos","icon":"paperclip","href":"/tableros/archivos"},"pages":[{"title":"Subir archivo","openapi":"openapi/tableros-v1.yaml POST /databases/{databaseId}/records/{recordId}/fields/{fieldKey}/files","href":"/tableros/subir-archivo"},{"title":"Desadjuntar archivo","openapi":"openapi/tableros-v1.yaml DELETE /databases/{databaseId}/records/{recordId}/fields/{fieldKey}/files/{fileId}","href":"/tableros/desadjuntar-archivo"}]},{"group":"PDF","icon":"file-text","root":{"title":"Generar PDF","icon":"file-text","href":"/tableros/generar-pdf"},"pages":[{"title":"Listar plantillas PDF","openapi":"openapi/tableros-v1.yaml GET /databases/{databaseId}/pdf-templates","href":"/tableros/listar-plantillas-pdf"},{"title":"Generar PDF de un registro","openapi":"openapi/tableros-v1.yaml POST /databases/{databaseId}/records/{recordId}/pdf-template","href":"/tableros/generar-pdf-registro"}]}]}]}]},"title":"Editar agente personalizado - Insurance Boosters API","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CBCH2P7b.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}