[{"data":1,"prerenderedAt":2747},["ShallowReactive",2],{"navigation_docs_en":3,"-en-api-reference-agents-update-agent":705,"-en-api-reference-agents-update-agent-surround":2742},[4,8,26,52,101,131,181,219,237,247,269,291,562,572,612,661,691],{"title":5,"path":6,"stem":7},"Introduction","\u002Fen\u002Fintroduction","en\u002F01.introduction",{"title":9,"path":10,"stem":11,"children":12},"Getting started","\u002Fen\u002Fgetting-started","en\u002F02.getting-started\u002Findex",[13,14,18,22],{"title":9,"path":10,"stem":11},{"title":15,"path":16,"stem":17},"Initial setup","\u002Fen\u002Fgetting-started\u002Finitial-setup","en\u002F02.getting-started\u002F01.initial-setup",{"title":19,"path":20,"stem":21},"Create your first agent","\u002Fen\u002Fgetting-started\u002Ffirst-agent","en\u002F02.getting-started\u002F02.first-agent",{"title":23,"path":24,"stem":25},"Run a test call","\u002Fen\u002Fgetting-started\u002Ftest-call","en\u002F02.getting-started\u002F03.test-call",{"title":27,"path":28,"stem":29,"children":30},"Concepts","\u002Fen\u002Fconcepts","en\u002F03.concepts\u002Findex",[31,32,36,40,44,48],{"title":27,"path":28,"stem":29},{"title":33,"path":34,"stem":35},"Voice agent","\u002Fen\u002Fconcepts\u002Fagent","en\u002F03.concepts\u002F01.agent",{"title":37,"path":38,"stem":39},"Flow","\u002Fen\u002Fconcepts\u002Fflow","en\u002F03.concepts\u002F02.flow",{"title":41,"path":42,"stem":43},"Runtime","\u002Fen\u002Fconcepts\u002Fruntime","en\u002F03.concepts\u002F03.runtime",{"title":45,"path":46,"stem":47},"Organization and permissions","\u002Fen\u002Fconcepts\u002Forganization","en\u002F03.concepts\u002F04.organization",{"title":49,"path":50,"stem":51},"Prompt Builder","\u002Fen\u002Fconcepts\u002Fprompt-builder","en\u002F03.concepts\u002F05.prompt-builder",{"title":53,"path":54,"stem":55,"children":56},"Guides","\u002Fen\u002Fguides","en\u002F04.guides\u002Findex",[57,58,61,65,69,73,77,81,85,89,93,97],{"title":53,"path":54,"stem":55},{"title":19,"path":59,"stem":60},"\u002Fen\u002Fguides\u002Fcreate-first-agent","en\u002F04.guides\u002F01.create-first-agent",{"title":62,"path":63,"stem":64},"Use the Flow Builder","\u002Fen\u002Fguides\u002Fuse-flow-builder","en\u002F04.guides\u002F02.use-flow-builder",{"title":66,"path":67,"stem":68},"Publish and receive calls","\u002Fen\u002Fguides\u002Fpublish-agent","en\u002F04.guides\u002F03.publish-agent",{"title":70,"path":71,"stem":72},"Test an agent","\u002Fen\u002Fguides\u002Ftest-agent","en\u002F04.guides\u002F04.test-agent",{"title":74,"path":75,"stem":76},"Transfer to a human","\u002Fen\u002Fguides\u002Ftransfer-to-human","en\u002F04.guides\u002F05.transfer-to-human",{"title":78,"path":79,"stem":80},"Book meetings with Cal.com","\u002Fen\u002Fguides\u002Fbook-meetings","en\u002F04.guides\u002F06.book-meetings",{"title":82,"path":83,"stem":84},"Send SMS","\u002Fen\u002Fguides\u002Fsend-sms","en\u002F04.guides\u002F07.send-sms",{"title":86,"path":87,"stem":88},"Configure a phone book","\u002Fen\u002Fguides\u002Fconfigure-phone-book","en\u002F04.guides\u002F08.configure-phone-book",{"title":90,"path":91,"stem":92},"Embed the voice widget","\u002Fen\u002Fguides\u002Fembed-widget","en\u002F04.guides\u002F09.embed-widget",{"title":94,"path":95,"stem":96},"Record calls","\u002Fen\u002Fguides\u002Frecord-calls","en\u002F04.guides\u002F10.record-calls",{"title":98,"path":99,"stem":100},"Redact personal data","\u002Fen\u002Fguides\u002Fredact-personal-data","en\u002F04.guides\u002F11.redact-personal-data",{"title":102,"path":103,"stem":104,"children":105},"Flow Builder","\u002Fen\u002Fflow-builder","en\u002F05.flow-builder\u002Findex",[106,107,111,115,119,123,127],{"title":102,"path":103,"stem":104},{"title":108,"path":109,"stem":110},"Builder interface","\u002Fen\u002Fflow-builder\u002Finterface","en\u002F05.flow-builder\u002F01.interface",{"title":112,"path":113,"stem":114},"Flow structure","\u002Fen\u002Fflow-builder\u002Fstructure","en\u002F05.flow-builder\u002F02.structure",{"title":116,"path":117,"stem":118},"Flow variables","\u002Fen\u002Fflow-builder\u002Fvariables","en\u002F05.flow-builder\u002F03.variables",{"title":120,"path":121,"stem":122},"Conditions and paths","\u002Fen\u002Fflow-builder\u002Fbranches","en\u002F05.flow-builder\u002F04.branches",{"title":124,"path":125,"stem":126},"Test a flow","\u002Fen\u002Fflow-builder\u002Ftesting","en\u002F05.flow-builder\u002F05.testing",{"title":128,"path":129,"stem":130},"Validation and publishing","\u002Fen\u002Fflow-builder\u002Fvalidation-publishing","en\u002F05.flow-builder\u002F06.validation-publishing",{"title":132,"path":133,"stem":134,"children":135},"Nodes","\u002Fen\u002Fnodes","en\u002F06.nodes\u002Findex",[136,137,141,145,149,153,157,161,165,169,173,177],{"title":132,"path":133,"stem":134},{"title":138,"path":139,"stem":140},"Conversation","\u002Fen\u002Fnodes\u002Fconversation","en\u002F06.nodes\u002F01.conversation",{"title":142,"path":143,"stem":144},"Message","\u002Fen\u002Fnodes\u002Fmessage","en\u002F06.nodes\u002F02.message",{"title":146,"path":147,"stem":148},"Split path","\u002Fen\u002Fnodes\u002Fsplit-path","en\u002F06.nodes\u002F03.split-path",{"title":150,"path":151,"stem":152},"Jump to","\u002Fen\u002Fnodes\u002Fjump-to","en\u002F06.nodes\u002F04.jump-to",{"title":154,"path":155,"stem":156},"Trigger subflow","\u002Fen\u002Fnodes\u002Ftrigger-subflow","en\u002F06.nodes\u002F05.trigger-subflow",{"title":158,"path":159,"stem":160},"Custom action","\u002Fen\u002Fnodes\u002Fcustom-action","en\u002F06.nodes\u002F06.custom-action",{"title":162,"path":163,"stem":164},"Send SMS during the call","\u002Fen\u002Fnodes\u002Fsend-sms-during-call","en\u002F06.nodes\u002F07.send-sms-during-call",{"title":166,"path":167,"stem":168},"Transfer","\u002Fen\u002Fnodes\u002Ftransfer","en\u002F06.nodes\u002F08.transfer",{"title":170,"path":171,"stem":172},"Booking","\u002Fen\u002Fnodes\u002Fbooking","en\u002F06.nodes\u002F09.booking",{"title":174,"path":175,"stem":176},"End call","\u002Fen\u002Fnodes\u002Fend-call","en\u002F06.nodes\u002F10.end-call",{"title":178,"path":179,"stem":180},"Nodes coming soon","\u002Fen\u002Fnodes\u002Fcoming-soon","en\u002F06.nodes\u002F11.coming-soon",{"title":182,"path":183,"stem":184,"children":185},"Actions","\u002Fen\u002Factions","en\u002F07.actions\u002Findex",[186,187,191,195,199,203,207,211,215],{"title":182,"path":183,"stem":184},{"title":188,"path":189,"stem":190},"Call transfers","\u002Fen\u002Factions\u002Fcall-transfers","en\u002F07.actions\u002F01.call-transfers",{"title":192,"path":193,"stem":194},"IVR","\u002Fen\u002Factions\u002Fivr","en\u002F07.actions\u002F02.ivr",{"title":196,"path":197,"stem":198},"SMS during the call","\u002Fen\u002Factions\u002Fduring-call-sms","en\u002F07.actions\u002F03.during-call-sms",{"title":200,"path":201,"stem":202},"Post-call SMS","\u002Fen\u002Factions\u002Fpost-call-sms","en\u002F07.actions\u002F04.post-call-sms",{"title":204,"path":205,"stem":206},"Custom actions","\u002Fen\u002Factions\u002Fcustom-actions","en\u002F07.actions\u002F05.custom-actions",{"title":208,"path":209,"stem":210},"Information extractors","\u002Fen\u002Factions\u002Finformation-extractors","en\u002F07.actions\u002F06.information-extractors",{"title":212,"path":213,"stem":214},"Custom evaluations","\u002Fen\u002Factions\u002Fcustom-evaluations","en\u002F07.actions\u002F07.custom-evaluations",{"title":216,"path":217,"stem":218},"Real-time booking","\u002Fen\u002Factions\u002Freal-time-booking","en\u002F07.actions\u002F08.real-time-booking",{"title":220,"path":221,"stem":222,"children":223},"Knowledge base","\u002Fen\u002Fknowledge-base","en\u002F08.knowledge-base\u002Findex",[224,225,229,233],{"title":220,"path":221,"stem":222},{"title":226,"path":227,"stem":228},"Sources","\u002Fen\u002Fknowledge-base\u002Fsources","en\u002F08.knowledge-base\u002F01.sources",{"title":230,"path":231,"stem":232},"Citations","\u002Fen\u002Fknowledge-base\u002Fcitations","en\u002F08.knowledge-base\u002F02.citations",{"title":234,"path":235,"stem":236},"Shared memory","\u002Fen\u002Fknowledge-base\u002Fshared-memory","en\u002F08.knowledge-base\u002F03.shared-memory",{"title":238,"path":239,"stem":240,"children":241},"Test Center","\u002Fen\u002Ftest-center","en\u002F09.test-center\u002Findex",[242,243],{"title":238,"path":239,"stem":240},{"title":244,"path":245,"stem":246},"Evaluations","\u002Fen\u002Ftest-center\u002Fevaluations","en\u002F09.test-center\u002F01.evaluations",{"title":248,"path":249,"stem":250,"children":251},"History and analytics","\u002Fen\u002Fhistory","en\u002F10.history\u002Findex",[252,253,257,261,265],{"title":248,"path":249,"stem":250},{"title":254,"path":255,"stem":256},"Overview","\u002Fen\u002Fhistory\u002Fdashboard","en\u002F10.history\u002F01.dashboard",{"title":258,"path":259,"stem":260},"Calls","\u002Fen\u002Fhistory\u002Fcalls","en\u002F10.history\u002F02.calls",{"title":262,"path":263,"stem":264},"Recordings","\u002Fen\u002Fhistory\u002Frecordings","en\u002F10.history\u002F03.recordings",{"title":266,"path":267,"stem":268},"Analytics","\u002Fen\u002Fhistory\u002Fanalytics","en\u002F10.history\u002F04.analytics",{"title":270,"path":271,"stem":272,"children":273},"WhatsApp","\u002Fen\u002Fwhatsapp","en\u002F11.whatsapp\u002Findex",[274,275,279,283,287],{"title":270,"path":271,"stem":272},{"title":276,"path":277,"stem":278},"Connect the number","\u002Fen\u002Fwhatsapp\u002Fconnect","en\u002F11.whatsapp\u002F01.connect",{"title":280,"path":281,"stem":282},"Templates","\u002Fen\u002Fwhatsapp\u002Ftemplates","en\u002F11.whatsapp\u002F02.templates",{"title":284,"path":285,"stem":286},"Conversations","\u002Fen\u002Fwhatsapp\u002Fconversations","en\u002F11.whatsapp\u002F03.conversations",{"title":288,"path":289,"stem":290},"Voice calls","\u002Fen\u002Fwhatsapp\u002Fcalls","en\u002F11.whatsapp\u002F04.calls",{"title":292,"path":293,"stem":294,"children":295},"API","\u002Fen\u002Fapi","en\u002F12.api\u002Findex",[296,297,301,305,309,313,317,321,536,554,558],{"title":292,"path":293,"stem":294},{"title":298,"path":299,"stem":300},"Getting started with the API","\u002Fen\u002Fapi\u002Fgetting-started","en\u002F12.api\u002F01.getting-started",{"title":302,"path":303,"stem":304},"DISKA API","\u002Fen\u002Fapi\u002Fapi-channel","en\u002F12.api\u002F02.api-channel",{"title":306,"path":307,"stem":308},"Authentication","\u002Fen\u002Fapi\u002Fauthentication","en\u002F12.api\u002F03.authentication",{"title":310,"path":311,"stem":312},"Webhooks","\u002Fen\u002Fapi\u002Fwebhooks","en\u002F12.api\u002F04.webhooks",{"title":314,"path":315,"stem":316},"Endpoints","\u002Fen\u002Fapi\u002Fendpoints","en\u002F12.api\u002F05.endpoints",{"title":318,"path":319,"stem":320},"Realtime","\u002Fen\u002Fapi\u002Frealtime","en\u002F12.api\u002F06.realtime",{"title":322,"path":323,"stem":324,"children":325},"API reference","\u002Fen\u002Fapi\u002Freference","en\u002F12.api\u002F07.reference\u002Findex",[326,327,337,363,380,398,440,466,475,485,511],{"title":322,"path":323,"stem":324},{"title":328,"path":329,"stem":330,"children":331},"Identity","\u002Fen\u002Fapi\u002Freference\u002Fidentity","en\u002F12.api\u002F07.reference\u002F01.identity\u002Findex",[332,333],{"title":328,"path":329,"stem":330},{"title":334,"path":335,"stem":336},"Get the key and organization","\u002Fen\u002Fapi\u002Freference\u002Fidentity\u002Fget-identity","en\u002F12.api\u002F07.reference\u002F01.identity\u002F01.get-identity",{"title":338,"path":339,"stem":340,"children":341},"Agents","\u002Fen\u002Fapi\u002Freference\u002Fagents","en\u002F12.api\u002F07.reference\u002F02.agents\u002Findex",[342,343,347,351,355,359],{"title":338,"path":339,"stem":340},{"title":344,"path":345,"stem":346},"List agents","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Flist-agents","en\u002F12.api\u002F07.reference\u002F02.agents\u002F01.list-agents",{"title":348,"path":349,"stem":350},"Get an agent","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Fget-agent","en\u002F12.api\u002F07.reference\u002F02.agents\u002F02.get-agent",{"title":352,"path":353,"stem":354},"Update an agent","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Fupdate-agent","en\u002F12.api\u002F07.reference\u002F02.agents\u002F03.update-agent",{"title":356,"path":357,"stem":358},"Create an agent","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Fcreate-agent","en\u002F12.api\u002F07.reference\u002F02.agents\u002F04.create-agent",{"title":360,"path":361,"stem":362},"Publish an agent","\u002Fen\u002Fapi\u002Freference\u002Fagents\u002Fpublish-agent","en\u002F12.api\u002F07.reference\u002F02.agents\u002F05.publish-agent",{"title":258,"path":364,"stem":365,"children":366},"\u002Fen\u002Fapi\u002Freference\u002Fcalls","en\u002F12.api\u002F07.reference\u002F03.calls\u002Findex",[367,368,372,376],{"title":258,"path":364,"stem":365},{"title":369,"path":370,"stem":371},"List calls","\u002Fen\u002Fapi\u002Freference\u002Fcalls\u002Flist-calls","en\u002F12.api\u002F07.reference\u002F03.calls\u002F01.list-calls",{"title":373,"path":374,"stem":375},"Get a call","\u002Fen\u002Fapi\u002Freference\u002Fcalls\u002Fget-call","en\u002F12.api\u002F07.reference\u002F03.calls\u002F02.get-call",{"title":377,"path":378,"stem":379},"Download the recording","\u002Fen\u002Fapi\u002Freference\u002Fcalls\u002Fget-call-recording","en\u002F12.api\u002F07.reference\u002F03.calls\u002F03.get-call-recording",{"title":381,"path":382,"stem":383,"children":384},"Outbound calls","\u002Fen\u002Fapi\u002Freference\u002Foutbound-calls","en\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002Findex",[385,386,390,394],{"title":381,"path":382,"stem":383},{"title":387,"path":388,"stem":389},"Make an outbound call","\u002Fen\u002Fapi\u002Freference\u002Foutbound-calls\u002Fcreate-outbound-call","en\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F01.create-outbound-call",{"title":391,"path":392,"stem":393},"Get an outbound call","\u002Fen\u002Fapi\u002Freference\u002Foutbound-calls\u002Fget-outbound-call","en\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F02.get-outbound-call",{"title":395,"path":396,"stem":397},"Hang up an outbound call","\u002Fen\u002Fapi\u002Freference\u002Foutbound-calls\u002Fhang-up-outbound-call","en\u002F12.api\u002F07.reference\u002F04.outbound-calls\u002F03.hang-up-outbound-call",{"title":399,"path":400,"stem":401,"children":402},"Campaigns","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002Findex",[403,404,408,412,416,420,424,428,432,436],{"title":399,"path":400,"stem":401},{"title":405,"path":406,"stem":407},"List campaigns","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Flist-campaigns","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F01.list-campaigns",{"title":409,"path":410,"stem":411},"Create a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fcreate-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F02.create-campaign",{"title":413,"path":414,"stem":415},"Get a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fget-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F03.get-campaign",{"title":417,"path":418,"stem":419},"Add recipients","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fadd-campaign-recipients","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F04.add-campaign-recipients",{"title":421,"path":422,"stem":423},"List recipients","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Flist-campaign-recipients","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F05.list-campaign-recipients",{"title":425,"path":426,"stem":427},"Start a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fstart-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F06.start-campaign",{"title":429,"path":430,"stem":431},"Pause a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fpause-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F07.pause-campaign",{"title":433,"path":434,"stem":435},"Resume a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fresume-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F08.resume-campaign",{"title":437,"path":438,"stem":439},"Cancel a campaign","\u002Fen\u002Fapi\u002Freference\u002Fcampaigns\u002Fcancel-campaign","en\u002F12.api\u002F07.reference\u002F05.campaigns\u002F09.cancel-campaign",{"title":441,"path":442,"stem":443,"children":444},"Chat","\u002Fen\u002Fapi\u002Freference\u002Fchats","en\u002F12.api\u002F07.reference\u002F06.chats\u002Findex",[445,446,450,454,458,462],{"title":441,"path":442,"stem":443},{"title":447,"path":448,"stem":449},"Create a chat","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Fcreate-chat","en\u002F12.api\u002F07.reference\u002F06.chats\u002F01.create-chat",{"title":451,"path":452,"stem":453},"Send a message","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Fsend-chat-message","en\u002F12.api\u002F07.reference\u002F06.chats\u002F02.send-chat-message",{"title":455,"path":456,"stem":457},"Get a chat","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Fget-chat","en\u002F12.api\u002F07.reference\u002F06.chats\u002F03.get-chat",{"title":459,"path":460,"stem":461},"List chats","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Flist-chats","en\u002F12.api\u002F07.reference\u002F06.chats\u002F04.list-chats",{"title":463,"path":464,"stem":465},"End a chat","\u002Fen\u002Fapi\u002Freference\u002Fchats\u002Fend-chat","en\u002F12.api\u002F07.reference\u002F06.chats\u002F05.end-chat",{"title":266,"path":467,"stem":468,"children":469},"\u002Fen\u002Fapi\u002Freference\u002Fanalytics","en\u002F12.api\u002F07.reference\u002F07.analytics\u002Findex",[470,471],{"title":266,"path":467,"stem":468},{"title":472,"path":473,"stem":474},"Analytics overview","\u002Fen\u002Fapi\u002Freference\u002Fanalytics\u002Fget-overview","en\u002F12.api\u002F07.reference\u002F07.analytics\u002F01.get-overview",{"title":476,"path":477,"stem":478,"children":479},"Phone numbers","\u002Fen\u002Fapi\u002Freference\u002Fphone-numbers","en\u002F12.api\u002F07.reference\u002F08.phone-numbers\u002Findex",[480,481],{"title":476,"path":477,"stem":478},{"title":482,"path":483,"stem":484},"List phone numbers","\u002Fen\u002Fapi\u002Freference\u002Fphone-numbers\u002Flist-phone-numbers","en\u002F12.api\u002F07.reference\u002F08.phone-numbers\u002F01.list-phone-numbers",{"title":486,"path":487,"stem":488,"children":489},"Knowledge","\u002Fen\u002Fapi\u002Freference\u002Fknowledge","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002Findex",[490,491,495,499,503,507],{"title":486,"path":487,"stem":488},{"title":492,"path":493,"stem":494},"List knowledge bases","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Flist-knowledge-bases","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F01.list-knowledge-bases",{"title":496,"path":497,"stem":498},"Create a knowledge base","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Fcreate-knowledge-base","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F02.create-knowledge-base",{"title":500,"path":501,"stem":502},"Add a text document","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Fadd-text-document","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F03.add-text-document",{"title":504,"path":505,"stem":506},"Import a web page","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Fimport-url","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F04.import-url",{"title":508,"path":509,"stem":510},"Upload a PDF","\u002Fen\u002Fapi\u002Freference\u002Fknowledge\u002Fupload-pdf","en\u002F12.api\u002F07.reference\u002F09.knowledge\u002F05.upload-pdf",{"title":310,"path":512,"stem":513,"children":514},"\u002Fen\u002Fapi\u002Freference\u002Fwebhooks","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002Findex",[515,516,520,524,528,532],{"title":310,"path":512,"stem":513},{"title":517,"path":518,"stem":519},"List webhook endpoints","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Flist-webhook-endpoints","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F01.list-webhook-endpoints",{"title":521,"path":522,"stem":523},"Create a webhook endpoint","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Fcreate-webhook-endpoint","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F02.create-webhook-endpoint",{"title":525,"path":526,"stem":527},"Update a webhook endpoint","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Fupdate-webhook-endpoint","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F03.update-webhook-endpoint",{"title":529,"path":530,"stem":531},"Delete a webhook endpoint","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Fdelete-webhook-endpoint","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F04.delete-webhook-endpoint",{"title":533,"path":534,"stem":535},"Test a webhook endpoint","\u002Fen\u002Fapi\u002Freference\u002Fwebhooks\u002Ftest-webhook-endpoint","en\u002F12.api\u002F07.reference\u002F10.webhooks\u002F05.test-webhook-endpoint",{"title":537,"path":538,"stem":539,"children":540},"API guides","\u002Fen\u002Fapi\u002Fguides","en\u002F12.api\u002F08.guides\u002Findex",[541,542,546,550],{"title":537,"path":538,"stem":539},{"title":543,"path":544,"stem":545},"Sync calls with your CRM","\u002Fen\u002Fapi\u002Fguides\u002Fsync-calls-crm","en\u002F12.api\u002F08.guides\u002F01.sync-calls-crm",{"title":547,"path":548,"stem":549},"Export the call history","\u002Fen\u002Fapi\u002Fguides\u002Fexport-call-history","en\u002F12.api\u002F08.guides\u002F02.export-call-history",{"title":551,"path":552,"stem":553},"Feed knowledge from your website","\u002Fen\u002Fapi\u002Fguides\u002Fknowledge-from-website","en\u002F12.api\u002F08.guides\u002F03.knowledge-from-website",{"title":555,"path":556,"stem":557},"Versioning and changelog","\u002Fen\u002Fapi\u002Fchangelog","en\u002F12.api\u002F09.changelog",{"title":559,"path":560,"stem":561},"OAuth for partner platforms","\u002Fen\u002Fapi\u002Foauth","en\u002F12.api\u002F10.oauth",{"title":563,"path":564,"stem":565,"children":566},"Integrations","\u002Fen\u002Fintegrations","en\u002F13.integrations\u002Findex",[567,568],{"title":563,"path":564,"stem":565},{"title":569,"path":570,"stem":571},"Cal.com","\u002Fen\u002Fintegrations\u002Fcalcom","en\u002F13.integrations\u002F01.calcom",{"title":573,"path":574,"stem":575,"children":576},"Telephony","\u002Fen\u002Ftelephony","en\u002F14.telephony\u002Findex",[577,578,581,585,589,593,596,600,604,608],{"title":573,"path":574,"stem":575},{"title":476,"path":579,"stem":580},"\u002Fen\u002Ftelephony\u002Fnumbers","en\u002F14.telephony\u002F01.numbers",{"title":582,"path":583,"stem":584},"Connect over SIP","\u002Fen\u002Ftelephony\u002Fsip-trunk","en\u002F14.telephony\u002F02.sip-trunk",{"title":586,"path":587,"stem":588},"Phone calls","\u002Fen\u002Ftelephony\u002Fphone-calls","en\u002F14.telephony\u002F03.phone-calls",{"title":590,"path":591,"stem":592},"Call settings","\u002Fen\u002Ftelephony\u002Fcall-settings","en\u002F14.telephony\u002F04.call-settings",{"title":399,"path":594,"stem":595},"\u002Fen\u002Ftelephony\u002Fcampaigns","en\u002F14.telephony\u002F05.campaigns",{"title":597,"path":598,"stem":599},"Simultaneous calls","\u002Fen\u002Ftelephony\u002Fconcurrency","en\u002F14.telephony\u002F06.concurrency",{"title":601,"path":602,"stem":603},"Transfers","\u002Fen\u002Ftelephony\u002Ftransfers","en\u002F14.telephony\u002F07.transfers",{"title":605,"path":606,"stem":607},"Agent webhooks","\u002Fen\u002Ftelephony\u002Fwebhooks","en\u002F14.telephony\u002F08.webhooks",{"title":609,"path":610,"stem":611},"Errors and end reasons","\u002Fen\u002Ftelephony\u002Ferrors","en\u002F14.telephony\u002F09.errors",{"title":613,"path":614,"stem":615,"children":616},"Settings","\u002Fen\u002Fsettings","en\u002F15.settings\u002Findex",[617,618,622,626,630,634,638,642,646,650,653,657],{"title":613,"path":614,"stem":615},{"title":619,"path":620,"stem":621},"Profile","\u002Fen\u002Fsettings\u002Fpersonal-profile","en\u002F15.settings\u002F01.personal-profile",{"title":623,"path":624,"stem":625},"Credentials","\u002Fen\u002Fsettings\u002Fcredentials","en\u002F15.settings\u002F02.credentials",{"title":627,"path":628,"stem":629},"Password","\u002Fen\u002Fsettings\u002Fpassword","en\u002F15.settings\u002F03.password",{"title":631,"path":632,"stem":633},"Two-factor authentication","\u002Fen\u002Fsettings\u002Ftwo-factor","en\u002F15.settings\u002F04.two-factor",{"title":635,"path":636,"stem":637},"Active sessions","\u002Fen\u002Fsettings\u002Fsessions","en\u002F15.settings\u002F05.sessions",{"title":639,"path":640,"stem":641},"Company","\u002Fen\u002Fsettings\u002Fcompany","en\u002F15.settings\u002F06.company",{"title":643,"path":644,"stem":645},"Organization","\u002Fen\u002Fsettings\u002Forganization","en\u002F15.settings\u002F07.organization",{"title":647,"path":648,"stem":649},"Members","\u002Fen\u002Fsettings\u002Fmembers","en\u002F15.settings\u002F08.members",{"title":563,"path":651,"stem":652},"\u002Fen\u002Fsettings\u002Fintegrations","en\u002F15.settings\u002F09.integrations",{"title":654,"path":655,"stem":656},"API keys","\u002Fen\u002Fsettings\u002Fapi-keys","en\u002F15.settings\u002F10.api-keys",{"title":658,"path":659,"stem":660},"Connected apps and OAuth apps","\u002Fen\u002Fsettings\u002Fconnected-apps","en\u002F15.settings\u002F11.connected-apps",{"title":662,"path":663,"stem":664,"children":665},"Common problems","\u002Fen\u002Ftroubleshooting","en\u002F16.troubleshooting\u002Findex",[666,667,671,675,679,683,687],{"title":662,"path":663,"stem":664},{"title":668,"path":669,"stem":670},"Agent not answering","\u002Fen\u002Ftroubleshooting\u002Fagent-not-answering","en\u002F16.troubleshooting\u002F01.agent-not-answering",{"title":672,"path":673,"stem":674},"Calls drop","\u002Fen\u002Ftroubleshooting\u002Fcalls-drop","en\u002F16.troubleshooting\u002F02.calls-drop",{"title":676,"path":677,"stem":678},"Flow not publishing","\u002Fen\u002Ftroubleshooting\u002Fflow-not-publishing","en\u002F16.troubleshooting\u002F03.flow-not-publishing",{"title":680,"path":681,"stem":682},"Knowledge not answering","\u002Fen\u002Ftroubleshooting\u002Fkb-not-answering","en\u002F16.troubleshooting\u002F04.kb-not-answering",{"title":684,"path":685,"stem":686},"Integration not connecting","\u002Fen\u002Ftroubleshooting\u002Fintegration-not-connecting","en\u002F16.troubleshooting\u002F05.integration-not-connecting",{"title":688,"path":689,"stem":690},"Tests failing","\u002Fen\u002Ftroubleshooting\u002Ftests-failing","en\u002F16.troubleshooting\u002F06.tests-failing",{"title":692,"path":693,"stem":694,"children":695,"page":704},"Legal","\u002Fen\u002Flegal","en\u002F17.legal",[696,700],{"title":697,"path":698,"stem":699},"Privacy Policy","\u002Fen\u002Flegal\u002Fprivacy","en\u002F17.legal\u002F01.privacy",{"title":701,"path":702,"stem":703},"Terms and Conditions","\u002Fen\u002Flegal\u002Fterms","en\u002F17.legal\u002F02.terms",false,{"id":706,"title":352,"body":707,"description":2736,"extension":2737,"links":2738,"meta":2739,"navigation":1237,"path":353,"seo":2740,"stem":354,"__hash__":2741},"docs_en\u002Fen\u002F12.api\u002F07.reference\u002F02.agents\u002F03.update-agent.md",{"type":708,"value":709,"toc":2725},"minimark",[710,727,738,750,755,760,802,806,811,1014,1139,1143,1812,1816,1823,1829,1836,2192,2619,2623,2699,2721],[711,712,717],"pre",{"className":713,"code":714,"language":715,"meta":716,"style":716},"language-http shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","PATCH https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fagents\u002F{agent_id}\n","http","",[718,719,720],"code",{"__ignoreMap":716},[721,722,725],"span",{"class":723,"line":724},"line",1,[721,726,714],{},[728,729,730,734,735],"p",{},[731,732,733],"strong",{},"Scope:"," ",[718,736,737],{},"agents:write",[728,739,740,741,745,746,749],{},"Calls keep using the published version until you ",[742,743,744],"a",{"href":361},"publish",". Voice, engine and actions are edited in the backoffice. Flow Builder agents take their text from their flows, so ",[718,747,748],{},"prompt"," is refused. If two changes arrive at once, the last one wins.",[751,752,754],"h2",{"id":753},"parameters","Parameters",[756,757,759],"h3",{"id":758},"path","Path",[761,762,763,782],"table",{},[764,765,766],"thead",{},[767,768,769,773,776,779],"tr",{},[770,771,772],"th",{},"Name",[770,774,775],{},"Type",[770,777,778],{},"Required",[770,780,781],{},"Description",[783,784,785],"tbody",{},[767,786,787,793,796,799],{},[788,789,790],"td",{},[718,791,792],{},"agent_id",[788,794,795],{},"string",[788,797,798],{},"Yes",[788,800,801],{},"The agent's ID.",[751,803,805],{"id":804},"request-body","Request body",[728,807,808],{},[718,809,810],{},"application\u002Fjson",[761,812,813,826],{},[764,814,815],{},[767,816,817,820,822,824],{},[770,818,819],{},"Field",[770,821,775],{},[770,823,778],{},[770,825,781],{},[783,827,828,844,862,875,890,911,928,946,963,979,996],{},[767,829,830,835,838,841],{},[788,831,832],{},[718,833,834],{},"name",[788,836,837],{},"string | null",[788,839,840],{},"No",[788,842,843],{},"New name. Up to 120 characters.",[767,845,846,851,853,855],{},[788,847,848],{},[718,849,850],{},"description",[788,852,837],{},[788,854,840],{},[788,856,857,858,861],{},"New description; ",[718,859,860],{},"null"," clears it. Up to 2000 characters.",[767,863,864,868,870,872],{},[788,865,866],{},[718,867,748],{},[788,869,837],{},[788,871,840],{},[788,873,874],{},"New instructions (prompt-mode agents only). Up to 60000 characters.",[767,876,877,882,885,887],{},[788,878,879],{},[718,880,881],{},"greeting",[788,883,884],{},"object | null",[788,886,840],{},[788,888,889],{},"Changes the greeting; only the fields sent change.",[767,891,892,897,899,901],{},[788,893,894],{},[718,895,896],{},"greeting.mode",[788,898,837],{},[788,900,840],{},[788,902,903,906,907,910],{},[718,904,905],{},"agent_first"," or ",[718,908,909],{},"human_first",".",[767,912,913,918,920,922],{},[788,914,915],{},[718,916,917],{},"greeting.message",[788,919,837],{},[788,921,840],{},[788,923,924,925,927],{},"The greeting; ",[718,926,860],{}," clears it. Up to 500 characters.",[767,929,930,935,937,939],{},[788,931,932],{},[718,933,934],{},"language",[788,936,837],{},[788,938,840],{},[788,940,941,942,945],{},"Language, in the ",[718,943,944],{},"pt-PT"," format.",[767,947,948,953,955,957],{},[788,949,950],{},[718,951,952],{},"personality",[788,954,837],{},[788,956,840],{},[788,958,959,960,962],{},"Personality and tone; ",[718,961,860],{}," clears it. Up to 10000 characters.",[767,964,965,970,972,974],{},[788,966,967],{},[718,968,969],{},"objections",[788,971,837],{},[788,973,840],{},[788,975,976,977,962],{},"How to handle objections; ",[718,978,860],{},[767,980,981,986,988,990],{},[788,982,983],{},[718,984,985],{},"knowledge_notes",[788,987,837],{},[788,989,840],{},[788,991,992,993,995],{},"Knowledge notes; ",[718,994,860],{}," clears them. Up to 10000 characters.",[767,997,998,1003,1009,1011],{},[788,999,1000],{},[718,1001,1002],{},"knowledge_base_ids",[788,1004,1005,1006],{},"array",[795,1007,1008],{}," | null",[788,1010,840],{},[788,1012,1013],{},"Replaces the assigned bases with the list sent.",[711,1015,1019],{"className":1016,"code":1017,"language":1018,"meta":716,"style":716},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"prompt\": \"És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.\",\n  \"greeting\": {\n    \"mode\": \"agent_first\",\n    \"message\": \"Clínica Sol, bom dia!\"\n  },\n  \"language\": \"pt-PT\"\n}\n","json",[718,1020,1021,1027,1054,1068,1090,1110,1116,1133],{"__ignoreMap":716},[721,1022,1023],{"class":723,"line":724},[721,1024,1026],{"class":1025},"sMK4o","{\n",[721,1028,1030,1033,1036,1039,1042,1045,1049,1051],{"class":723,"line":1029},2,[721,1031,1032],{"class":1025},"  \"",[721,1034,748],{"class":1035},"spNyl",[721,1037,1038],{"class":1025},"\"",[721,1040,1041],{"class":1025},":",[721,1043,1044],{"class":1025}," \"",[721,1046,1048],{"class":1047},"sfazB","És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.",[721,1050,1038],{"class":1025},[721,1052,1053],{"class":1025},",\n",[721,1055,1057,1059,1061,1063,1065],{"class":723,"line":1056},3,[721,1058,1032],{"class":1025},[721,1060,881],{"class":1035},[721,1062,1038],{"class":1025},[721,1064,1041],{"class":1025},[721,1066,1067],{"class":1025}," {\n",[721,1069,1071,1074,1078,1080,1082,1084,1086,1088],{"class":723,"line":1070},4,[721,1072,1073],{"class":1025},"    \"",[721,1075,1077],{"class":1076},"sBMFI","mode",[721,1079,1038],{"class":1025},[721,1081,1041],{"class":1025},[721,1083,1044],{"class":1025},[721,1085,905],{"class":1047},[721,1087,1038],{"class":1025},[721,1089,1053],{"class":1025},[721,1091,1093,1095,1098,1100,1102,1104,1107],{"class":723,"line":1092},5,[721,1094,1073],{"class":1025},[721,1096,1097],{"class":1076},"message",[721,1099,1038],{"class":1025},[721,1101,1041],{"class":1025},[721,1103,1044],{"class":1025},[721,1105,1106],{"class":1047},"Clínica Sol, bom dia!",[721,1108,1109],{"class":1025},"\"\n",[721,1111,1113],{"class":723,"line":1112},6,[721,1114,1115],{"class":1025},"  },\n",[721,1117,1119,1121,1123,1125,1127,1129,1131],{"class":723,"line":1118},7,[721,1120,1032],{"class":1025},[721,1122,934],{"class":1035},[721,1124,1038],{"class":1025},[721,1126,1041],{"class":1025},[721,1128,1044],{"class":1025},[721,1130,944],{"class":1047},[721,1132,1109],{"class":1025},[721,1134,1136],{"class":723,"line":1135},8,[721,1137,1138],{"class":1025},"}\n",[751,1140,1142],{"id":1141},"examples","Examples",[1144,1145,1146,1220,1334,1668],"code-group",{},[711,1147,1152],{"className":1148,"code":1149,"filename":1150,"language":1151,"meta":716,"style":716},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X PATCH \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fagents\u002F\u003Cagent_id>\" \\\n  -H \"Authorization: Bearer $DISKA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"prompt\":\"És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.\",\"greeting\":{\"mode\":\"agent_first\",\"message\":\"Clínica Sol, bom dia!\"},\"language\":\"pt-PT\"}'\n","cURL","bash",[718,1153,1154,1176,1193,1206],{"__ignoreMap":716},[721,1155,1156,1159,1162,1165,1167,1170,1172],{"class":723,"line":724},[721,1157,1158],{"class":1076},"curl",[721,1160,1161],{"class":1047}," -X",[721,1163,1164],{"class":1047}," PATCH",[721,1166,1044],{"class":1025},[721,1168,1169],{"class":1047},"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fagents\u002F\u003Cagent_id>",[721,1171,1038],{"class":1025},[721,1173,1175],{"class":1174},"sTEyZ"," \\\n",[721,1177,1178,1181,1183,1186,1189,1191],{"class":723,"line":1029},[721,1179,1180],{"class":1047},"  -H",[721,1182,1044],{"class":1025},[721,1184,1185],{"class":1047},"Authorization: Bearer ",[721,1187,1188],{"class":1174},"$DISKA_API_KEY",[721,1190,1038],{"class":1025},[721,1192,1175],{"class":1174},[721,1194,1195,1197,1199,1202,1204],{"class":723,"line":1056},[721,1196,1180],{"class":1047},[721,1198,1044],{"class":1025},[721,1200,1201],{"class":1047},"Content-Type: application\u002Fjson",[721,1203,1038],{"class":1025},[721,1205,1175],{"class":1174},[721,1207,1208,1211,1214,1217],{"class":723,"line":1070},[721,1209,1210],{"class":1047},"  -d",[721,1212,1213],{"class":1025}," '",[721,1215,1216],{"class":1047},"{\"prompt\":\"És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.\",\"greeting\":{\"mode\":\"agent_first\",\"message\":\"Clínica Sol, bom dia!\"},\"language\":\"pt-PT\"}",[721,1218,1219],{"class":1025},"'\n",[711,1221,1226],{"className":1222,"code":1223,"filename":1224,"language":1225,"meta":716,"style":716},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import os\n\nimport requests\n\nresponse = requests.patch(\n    \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fagents\u002F\u003Cagent_id>\",\n    headers={\"Authorization\": f\"Bearer {os.environ['DISKA_API_KEY']}\"},\n    json={\n        \"prompt\": \"És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.\",\n        \"greeting\": {\n            \"mode\": \"agent_first\",\n            \"message\": \"Clínica Sol, bom dia!\",\n        },\n        \"language\": \"pt-PT\",\n    },\n    timeout=30,\n)\nresponse.raise_for_status()\nprint(response.json())\n","Python","python",[718,1227,1228,1233,1239,1244,1248,1253,1258,1263,1268,1274,1280,1286,1292,1298,1304,1310,1316,1322,1328],{"__ignoreMap":716},[721,1229,1230],{"class":723,"line":724},[721,1231,1232],{},"import os\n",[721,1234,1235],{"class":723,"line":1029},[721,1236,1238],{"emptyLinePlaceholder":1237},true,"\n",[721,1240,1241],{"class":723,"line":1056},[721,1242,1243],{},"import requests\n",[721,1245,1246],{"class":723,"line":1070},[721,1247,1238],{"emptyLinePlaceholder":1237},[721,1249,1250],{"class":723,"line":1092},[721,1251,1252],{},"response = requests.patch(\n",[721,1254,1255],{"class":723,"line":1112},[721,1256,1257],{},"    \"https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fagents\u002F\u003Cagent_id>\",\n",[721,1259,1260],{"class":723,"line":1118},[721,1261,1262],{},"    headers={\"Authorization\": f\"Bearer {os.environ['DISKA_API_KEY']}\"},\n",[721,1264,1265],{"class":723,"line":1135},[721,1266,1267],{},"    json={\n",[721,1269,1271],{"class":723,"line":1270},9,[721,1272,1273],{},"        \"prompt\": \"És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.\",\n",[721,1275,1277],{"class":723,"line":1276},10,[721,1278,1279],{},"        \"greeting\": {\n",[721,1281,1283],{"class":723,"line":1282},11,[721,1284,1285],{},"            \"mode\": \"agent_first\",\n",[721,1287,1289],{"class":723,"line":1288},12,[721,1290,1291],{},"            \"message\": \"Clínica Sol, bom dia!\",\n",[721,1293,1295],{"class":723,"line":1294},13,[721,1296,1297],{},"        },\n",[721,1299,1301],{"class":723,"line":1300},14,[721,1302,1303],{},"        \"language\": \"pt-PT\",\n",[721,1305,1307],{"class":723,"line":1306},15,[721,1308,1309],{},"    },\n",[721,1311,1313],{"class":723,"line":1312},16,[721,1314,1315],{},"    timeout=30,\n",[721,1317,1319],{"class":723,"line":1318},17,[721,1320,1321],{},")\n",[721,1323,1325],{"class":723,"line":1324},18,[721,1326,1327],{},"response.raise_for_status()\n",[721,1329,1331],{"class":723,"line":1330},19,[721,1332,1333],{},"print(response.json())\n",[711,1335,1340],{"className":1336,"code":1337,"filename":1338,"language":1339,"meta":716,"style":716},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Node.js 18 or later, in a .mjs file\nconst response = await fetch('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fagents\u002F\u003Cagent_id>', {\n  method: 'PATCH',\n  headers: {\n    Authorization: `Bearer ${process.env.DISKA_API_KEY}`,\n    'Content-Type': 'application\u002Fjson'\n  },\n  body: JSON.stringify({\n    \"prompt\": \"És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.\",\n    \"greeting\": {\n      \"mode\": \"agent_first\",\n      \"message\": \"Clínica Sol, bom dia!\"\n    },\n    \"language\": \"pt-PT\"\n  })\n})\nif (!response.ok) throw new Error(`${response.status} ${await response.text()}`)\nconsole.log(await response.json())\n","JavaScript","js",[718,1341,1342,1348,1382,1399,1408,1442,1460,1464,1483,1501,1513,1532,1548,1552,1568,1575,1582,1645],{"__ignoreMap":716},[721,1343,1344],{"class":723,"line":724},[721,1345,1347],{"class":1346},"sHwdD","\u002F\u002F Node.js 18 or later, in a .mjs file\n",[721,1349,1350,1353,1356,1359,1363,1367,1370,1373,1375,1377,1380],{"class":723,"line":1029},[721,1351,1352],{"class":1035},"const",[721,1354,1355],{"class":1174}," response ",[721,1357,1358],{"class":1025},"=",[721,1360,1362],{"class":1361},"s7zQu"," await",[721,1364,1366],{"class":1365},"s2Zo4"," fetch",[721,1368,1369],{"class":1174},"(",[721,1371,1372],{"class":1025},"'",[721,1374,1169],{"class":1047},[721,1376,1372],{"class":1025},[721,1378,1379],{"class":1025},",",[721,1381,1067],{"class":1025},[721,1383,1384,1388,1390,1392,1395,1397],{"class":723,"line":1056},[721,1385,1387],{"class":1386},"swJcz","  method",[721,1389,1041],{"class":1025},[721,1391,1213],{"class":1025},[721,1393,1394],{"class":1047},"PATCH",[721,1396,1372],{"class":1025},[721,1398,1053],{"class":1025},[721,1400,1401,1404,1406],{"class":723,"line":1070},[721,1402,1403],{"class":1386},"  headers",[721,1405,1041],{"class":1025},[721,1407,1067],{"class":1025},[721,1409,1410,1413,1415,1418,1421,1424,1427,1429,1432,1434,1437,1440],{"class":723,"line":1092},[721,1411,1412],{"class":1386},"    Authorization",[721,1414,1041],{"class":1025},[721,1416,1417],{"class":1025}," `",[721,1419,1420],{"class":1047},"Bearer ",[721,1422,1423],{"class":1025},"${",[721,1425,1426],{"class":1174},"process",[721,1428,910],{"class":1025},[721,1430,1431],{"class":1174},"env",[721,1433,910],{"class":1025},[721,1435,1436],{"class":1174},"DISKA_API_KEY",[721,1438,1439],{"class":1025},"}`",[721,1441,1053],{"class":1025},[721,1443,1444,1447,1450,1452,1454,1456,1458],{"class":723,"line":1112},[721,1445,1446],{"class":1025},"    '",[721,1448,1449],{"class":1386},"Content-Type",[721,1451,1372],{"class":1025},[721,1453,1041],{"class":1025},[721,1455,1213],{"class":1025},[721,1457,810],{"class":1047},[721,1459,1219],{"class":1025},[721,1461,1462],{"class":723,"line":1118},[721,1463,1115],{"class":1025},[721,1465,1466,1469,1471,1474,1476,1479,1481],{"class":723,"line":1135},[721,1467,1468],{"class":1386},"  body",[721,1470,1041],{"class":1025},[721,1472,1473],{"class":1174}," JSON",[721,1475,910],{"class":1025},[721,1477,1478],{"class":1365},"stringify",[721,1480,1369],{"class":1174},[721,1482,1026],{"class":1025},[721,1484,1485,1487,1489,1491,1493,1495,1497,1499],{"class":723,"line":1270},[721,1486,1073],{"class":1025},[721,1488,748],{"class":1386},[721,1490,1038],{"class":1025},[721,1492,1041],{"class":1025},[721,1494,1044],{"class":1025},[721,1496,1048],{"class":1047},[721,1498,1038],{"class":1025},[721,1500,1053],{"class":1025},[721,1502,1503,1505,1507,1509,1511],{"class":723,"line":1276},[721,1504,1073],{"class":1025},[721,1506,881],{"class":1386},[721,1508,1038],{"class":1025},[721,1510,1041],{"class":1025},[721,1512,1067],{"class":1025},[721,1514,1515,1518,1520,1522,1524,1526,1528,1530],{"class":723,"line":1282},[721,1516,1517],{"class":1025},"      \"",[721,1519,1077],{"class":1386},[721,1521,1038],{"class":1025},[721,1523,1041],{"class":1025},[721,1525,1044],{"class":1025},[721,1527,905],{"class":1047},[721,1529,1038],{"class":1025},[721,1531,1053],{"class":1025},[721,1533,1534,1536,1538,1540,1542,1544,1546],{"class":723,"line":1288},[721,1535,1517],{"class":1025},[721,1537,1097],{"class":1386},[721,1539,1038],{"class":1025},[721,1541,1041],{"class":1025},[721,1543,1044],{"class":1025},[721,1545,1106],{"class":1047},[721,1547,1109],{"class":1025},[721,1549,1550],{"class":723,"line":1294},[721,1551,1309],{"class":1025},[721,1553,1554,1556,1558,1560,1562,1564,1566],{"class":723,"line":1300},[721,1555,1073],{"class":1025},[721,1557,934],{"class":1386},[721,1559,1038],{"class":1025},[721,1561,1041],{"class":1025},[721,1563,1044],{"class":1025},[721,1565,944],{"class":1047},[721,1567,1109],{"class":1025},[721,1569,1570,1573],{"class":723,"line":1306},[721,1571,1572],{"class":1025},"  }",[721,1574,1321],{"class":1174},[721,1576,1577,1580],{"class":723,"line":1312},[721,1578,1579],{"class":1025},"}",[721,1581,1321],{"class":1174},[721,1583,1584,1587,1590,1593,1596,1598,1601,1604,1607,1610,1612,1615,1617,1619,1622,1624,1627,1630,1633,1635,1638,1641,1643],{"class":723,"line":1318},[721,1585,1586],{"class":1361},"if",[721,1588,1589],{"class":1174}," (",[721,1591,1592],{"class":1025},"!",[721,1594,1595],{"class":1174},"response",[721,1597,910],{"class":1025},[721,1599,1600],{"class":1174},"ok) ",[721,1602,1603],{"class":1361},"throw",[721,1605,1606],{"class":1025}," new",[721,1608,1609],{"class":1365}," Error",[721,1611,1369],{"class":1174},[721,1613,1614],{"class":1025},"`${",[721,1616,1595],{"class":1174},[721,1618,910],{"class":1025},[721,1620,1621],{"class":1174},"status",[721,1623,1579],{"class":1025},[721,1625,1626],{"class":1025}," ${",[721,1628,1629],{"class":1361},"await",[721,1631,1632],{"class":1174}," response",[721,1634,910],{"class":1025},[721,1636,1637],{"class":1365},"text",[721,1639,1640],{"class":1174},"()",[721,1642,1439],{"class":1025},[721,1644,1321],{"class":1174},[721,1646,1647,1650,1652,1655,1657,1659,1661,1663,1665],{"class":723,"line":1324},[721,1648,1649],{"class":1174},"console",[721,1651,910],{"class":1025},[721,1653,1654],{"class":1365},"log",[721,1656,1369],{"class":1174},[721,1658,1629],{"class":1361},[721,1660,1632],{"class":1174},[721,1662,910],{"class":1025},[721,1664,1018],{"class":1365},[721,1666,1667],{"class":1174},"())\n",[711,1669,1674],{"className":1670,"code":1671,"filename":1672,"language":1673,"meta":716,"style":716},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C?php\n$ch = curl_init('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fagents\u002F\u003Cagent_id>');\ncurl_setopt_array($ch, [\n    CURLOPT_CUSTOMREQUEST => 'PATCH',\n    CURLOPT_HTTPHEADER => [\n        'Authorization: Bearer ' . getenv('DISKA_API_KEY'),\n        'Content-Type: application\u002Fjson',\n    ],\n    CURLOPT_POSTFIELDS => json_encode([\n        'prompt' => 'És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.',\n        'greeting' => [\n            'mode' => 'agent_first',\n            'message' => 'Clínica Sol, bom dia!',\n        ],\n        'language' => 'pt-PT',\n    ]),\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_TIMEOUT => 30,\n]);\n$body = curl_exec($ch);\n$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\ncurl_close($ch);\nif ($status >= 400) {\n    throw new RuntimeException(\"HTTP $status: $body\");\n}\nprint_r(json_decode($body, true));\n","PHP","php",[718,1675,1676,1681,1686,1691,1696,1701,1706,1711,1716,1721,1726,1731,1736,1741,1746,1751,1756,1761,1766,1771,1777,1783,1789,1795,1801,1806],{"__ignoreMap":716},[721,1677,1678],{"class":723,"line":724},[721,1679,1680],{},"\u003C?php\n",[721,1682,1683],{"class":723,"line":1029},[721,1684,1685],{},"$ch = curl_init('https:\u002F\u002Fapi.diska.ai\u002Fv1\u002Fagents\u002F\u003Cagent_id>');\n",[721,1687,1688],{"class":723,"line":1056},[721,1689,1690],{},"curl_setopt_array($ch, [\n",[721,1692,1693],{"class":723,"line":1070},[721,1694,1695],{},"    CURLOPT_CUSTOMREQUEST => 'PATCH',\n",[721,1697,1698],{"class":723,"line":1092},[721,1699,1700],{},"    CURLOPT_HTTPHEADER => [\n",[721,1702,1703],{"class":723,"line":1112},[721,1704,1705],{},"        'Authorization: Bearer ' . getenv('DISKA_API_KEY'),\n",[721,1707,1708],{"class":723,"line":1118},[721,1709,1710],{},"        'Content-Type: application\u002Fjson',\n",[721,1712,1713],{"class":723,"line":1135},[721,1714,1715],{},"    ],\n",[721,1717,1718],{"class":723,"line":1270},[721,1719,1720],{},"    CURLOPT_POSTFIELDS => json_encode([\n",[721,1722,1723],{"class":723,"line":1276},[721,1724,1725],{},"        'prompt' => 'És a recepcionista da Clínica Sol. Marca consultas de segunda a sexta.',\n",[721,1727,1728],{"class":723,"line":1282},[721,1729,1730],{},"        'greeting' => [\n",[721,1732,1733],{"class":723,"line":1288},[721,1734,1735],{},"            'mode' => 'agent_first',\n",[721,1737,1738],{"class":723,"line":1294},[721,1739,1740],{},"            'message' => 'Clínica Sol, bom dia!',\n",[721,1742,1743],{"class":723,"line":1300},[721,1744,1745],{},"        ],\n",[721,1747,1748],{"class":723,"line":1306},[721,1749,1750],{},"        'language' => 'pt-PT',\n",[721,1752,1753],{"class":723,"line":1312},[721,1754,1755],{},"    ]),\n",[721,1757,1758],{"class":723,"line":1318},[721,1759,1760],{},"    CURLOPT_RETURNTRANSFER => true,\n",[721,1762,1763],{"class":723,"line":1324},[721,1764,1765],{},"    CURLOPT_TIMEOUT => 30,\n",[721,1767,1768],{"class":723,"line":1330},[721,1769,1770],{},"]);\n",[721,1772,1774],{"class":723,"line":1773},20,[721,1775,1776],{},"$body = curl_exec($ch);\n",[721,1778,1780],{"class":723,"line":1779},21,[721,1781,1782],{},"$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\n",[721,1784,1786],{"class":723,"line":1785},22,[721,1787,1788],{},"curl_close($ch);\n",[721,1790,1792],{"class":723,"line":1791},23,[721,1793,1794],{},"if ($status >= 400) {\n",[721,1796,1798],{"class":723,"line":1797},24,[721,1799,1800],{},"    throw new RuntimeException(\"HTTP $status: $body\");\n",[721,1802,1804],{"class":723,"line":1803},25,[721,1805,1138],{},[721,1807,1809],{"class":723,"line":1808},26,[721,1810,1811],{},"print_r(json_decode($body, true));\n",[751,1813,1815],{"id":1814},"try-it","Try it",[728,1817,1818,1819,1822],{},"Send the request from this page, with your key. The key stays on this page: it is not stored and is only sent to ",[718,1820,1821],{},"api.diska.ai",". Use a test key with the fewest scopes you need.",[1824,1825],"api-playground",{":params":1826,"body":1017,"body-type":1018,"locale":1827,"method":1394,"path":1828},"[{\"name\":\"agent_id\",\"in\":\"path\",\"required\":true}]","en","\u002Fv1\u002Fagents\u002F{agent_id}",[751,1830,1832,1833],{"id":1831},"response-200","Response ",[718,1834,1835],{},"200",[761,1837,1838,1848],{},[764,1839,1840],{},[767,1841,1842,1844,1846],{},[770,1843,819],{},[770,1845,775],{},[770,1847,781],{},[783,1849,1850,1862,1873,1885,1898,1924,1947,1966,1982,1996,2015,2027,2039,2052,2067,2079,2098,2112,2126,2138,2150,2162,2176],{},[767,1851,1852,1857,1859],{},[788,1853,1854],{},[718,1855,1856],{},"id",[788,1858,795],{},[788,1860,1861],{},"Agent ID.",[767,1863,1864,1868,1870],{},[788,1865,1866],{},[718,1867,834],{},[788,1869,795],{},[788,1871,1872],{},"Agent name.",[767,1874,1875,1880,1882],{},[788,1876,1877],{},[718,1878,1879],{},"slug",[788,1881,795],{},[788,1883,1884],{},"Readable agent identifier.",[767,1886,1887,1891,1893],{},[788,1888,1889],{},[718,1890,850],{},[788,1892,837],{},[788,1894,1895,1896,910],{},"Description, or ",[718,1897,860],{},[767,1899,1900,1904,1906],{},[788,1901,1902],{},[718,1903,1621],{},[788,1905,795],{},[788,1907,1908,1911,1912,1911,1915,906,1918,1921,1922,910],{},[718,1909,1910],{},"draft",", ",[718,1913,1914],{},"active",[718,1916,1917],{},"inactive",[718,1919,1920],{},"archived",". A published agent is ",[718,1923,1914],{},[767,1925,1926,1931,1933],{},[788,1927,1928],{},[718,1929,1930],{},"agent_type",[788,1932,795],{},[788,1934,1935,1911,1938,1911,1941,906,1944,910],{},[718,1936,1937],{},"inbound",[718,1939,1940],{},"outbound",[718,1942,1943],{},"voice_widget",[718,1945,1946],{},"chat",[767,1948,1949,1954,1956],{},[788,1950,1951],{},[718,1952,1953],{},"editing_mode",[788,1955,795],{},[788,1957,1958,906,1960,1963,1964,910],{},[718,1959,748],{},[718,1961,1962],{},"flow"," (Flow Builder). It does not change after creation. Default: ",[718,1965,748],{},[767,1967,1968,1973,1976],{},[788,1969,1970],{},[718,1971,1972],{},"version",[788,1974,1975],{},"integer",[788,1977,1978,1979,910],{},"Agent version number. Default: ",[718,1980,1981],{},"1",[767,1983,1984,1989,1991],{},[788,1985,1986],{},[718,1987,1988],{},"phone_number",[788,1990,837],{},[788,1992,1993,1994,910],{},"Number assigned to the agent, or ",[718,1995,860],{},[767,1997,1998,2003,2006],{},[788,1999,2000],{},[718,2001,2002],{},"public_channel_enabled",[788,2004,2005],{},"boolean",[788,2007,2008,2011,2012,910],{},[718,2009,2010],{},"true"," when the agent's public link is on. Default: ",[718,2013,2014],{},"false",[767,2016,2017,2022,2024],{},[788,2018,2019],{},[718,2020,2021],{},"created_at",[788,2023,795],{},[788,2025,2026],{},"Creation date (ISO 8601).",[767,2028,2029,2034,2036],{},[788,2030,2031],{},[718,2032,2033],{},"updated_at",[788,2035,795],{},[788,2037,2038],{},"Last change date (ISO 8601).",[767,2040,2041,2046,2049],{},[788,2042,2043],{},[718,2044,2045],{},"configuration",[788,2047,2048],{},"object",[788,2050,2051],{},"The editable configuration (the draft).",[767,2053,2054,2059,2061],{},[788,2055,2056],{},[718,2057,2058],{},"configuration.prompt",[788,2060,837],{},[788,2062,2063,2064,2066],{},"The agent's instructions (prompt-mode agents only; ",[718,2065,860],{}," for Flow Builder agents).",[767,2068,2069,2074,2076],{},[788,2070,2071],{},[718,2072,2073],{},"configuration.greeting",[788,2075,2048],{},[788,2077,2078],{},"How the conversation opens.",[767,2080,2081,2086,2088],{},[788,2082,2083],{},[718,2084,2085],{},"configuration.greeting.mode",[788,2087,795],{},[788,2089,2090,2092,2093,2095,2096,910],{},[718,2091,905],{}," (the agent speaks first) or ",[718,2094,909],{}," (it waits for the person). Default: ",[718,2097,905],{},[767,2099,2100,2105,2107],{},[788,2101,2102],{},[718,2103,2104],{},"configuration.greeting.message",[788,2106,837],{},[788,2108,2109,2110,910],{},"The greeting, or ",[718,2111,860],{},[767,2113,2114,2119,2121],{},[788,2115,2116],{},[718,2117,2118],{},"configuration.language",[788,2120,837],{},[788,2122,2123,2124,910],{},"Conversation language, for example ",[718,2125,944],{},[767,2127,2128,2133,2135],{},[788,2129,2130],{},[718,2131,2132],{},"configuration.personality",[788,2134,837],{},[788,2136,2137],{},"Personality and tone.",[767,2139,2140,2145,2147],{},[788,2141,2142],{},[718,2143,2144],{},"configuration.objections",[788,2146,837],{},[788,2148,2149],{},"How to handle objections.",[767,2151,2152,2157,2159],{},[788,2153,2154],{},[718,2155,2156],{},"configuration.knowledge_notes",[788,2158,837],{},[788,2160,2161],{},"Knowledge notes written on the agent.",[767,2163,2164,2169,2173],{},[788,2165,2166],{},[718,2167,2168],{},"configuration.knowledge_base_ids",[788,2170,1005,2171],{},[795,2172],{},[788,2174,2175],{},"Assigned knowledge bases.",[767,2177,2178,2183,2185],{},[788,2179,2180],{},[718,2181,2182],{},"has_unpublished_changes",[788,2184,2005],{},[788,2186,2187,2189,2190,910],{},[718,2188,2010],{}," when the draft differs from the published version. Default: ",[718,2191,2014],{},[711,2193,2195],{"className":1016,"code":2194,"language":1018,"meta":716,"style":716},"{\n  \"id\": \"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93\",\n  \"name\": \"Exemplo\",\n  \"slug\": \"recepcao\",\n  \"description\": \"CRM — produção\",\n  \"status\": \"draft\",\n  \"agent_type\": \"inbound\",\n  \"editing_mode\": \"prompt\",\n  \"version\": 3,\n  \"phone_number\": \"+244900000000\",\n  \"public_channel_enabled\": false,\n  \"created_at\": \"2026-10-25T18:40:00Z\",\n  \"updated_at\": \"2026-10-25T18:40:00Z\",\n  \"configuration\": {\n    \"prompt\": \"…\",\n    \"greeting\": {\n      \"mode\": \"agent_first\",\n      \"message\": \"…\"\n    },\n    \"language\": \"…\",\n    \"personality\": \"…\",\n    \"objections\": \"…\",\n    \"knowledge_notes\": \"…\",\n    \"knowledge_base_ids\": [\n      \"…\"\n    ]\n  },\n  \"has_unpublished_changes\": false\n}\n",[718,2196,2197,2201,2220,2239,2258,2277,2295,2313,2331,2347,2366,2379,2398,2416,2428,2447,2459,2477,2493,2497,2515,2533,2551,2569,2582,2590,2595,2600,2614],{"__ignoreMap":716},[721,2198,2199],{"class":723,"line":724},[721,2200,1026],{"class":1025},[721,2202,2203,2205,2207,2209,2211,2213,2216,2218],{"class":723,"line":1029},[721,2204,1032],{"class":1025},[721,2206,1856],{"class":1035},[721,2208,1038],{"class":1025},[721,2210,1041],{"class":1025},[721,2212,1044],{"class":1025},[721,2214,2215],{"class":1047},"5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",[721,2217,1038],{"class":1025},[721,2219,1053],{"class":1025},[721,2221,2222,2224,2226,2228,2230,2232,2235,2237],{"class":723,"line":1056},[721,2223,1032],{"class":1025},[721,2225,834],{"class":1035},[721,2227,1038],{"class":1025},[721,2229,1041],{"class":1025},[721,2231,1044],{"class":1025},[721,2233,2234],{"class":1047},"Exemplo",[721,2236,1038],{"class":1025},[721,2238,1053],{"class":1025},[721,2240,2241,2243,2245,2247,2249,2251,2254,2256],{"class":723,"line":1070},[721,2242,1032],{"class":1025},[721,2244,1879],{"class":1035},[721,2246,1038],{"class":1025},[721,2248,1041],{"class":1025},[721,2250,1044],{"class":1025},[721,2252,2253],{"class":1047},"recepcao",[721,2255,1038],{"class":1025},[721,2257,1053],{"class":1025},[721,2259,2260,2262,2264,2266,2268,2270,2273,2275],{"class":723,"line":1092},[721,2261,1032],{"class":1025},[721,2263,850],{"class":1035},[721,2265,1038],{"class":1025},[721,2267,1041],{"class":1025},[721,2269,1044],{"class":1025},[721,2271,2272],{"class":1047},"CRM — produção",[721,2274,1038],{"class":1025},[721,2276,1053],{"class":1025},[721,2278,2279,2281,2283,2285,2287,2289,2291,2293],{"class":723,"line":1112},[721,2280,1032],{"class":1025},[721,2282,1621],{"class":1035},[721,2284,1038],{"class":1025},[721,2286,1041],{"class":1025},[721,2288,1044],{"class":1025},[721,2290,1910],{"class":1047},[721,2292,1038],{"class":1025},[721,2294,1053],{"class":1025},[721,2296,2297,2299,2301,2303,2305,2307,2309,2311],{"class":723,"line":1118},[721,2298,1032],{"class":1025},[721,2300,1930],{"class":1035},[721,2302,1038],{"class":1025},[721,2304,1041],{"class":1025},[721,2306,1044],{"class":1025},[721,2308,1937],{"class":1047},[721,2310,1038],{"class":1025},[721,2312,1053],{"class":1025},[721,2314,2315,2317,2319,2321,2323,2325,2327,2329],{"class":723,"line":1135},[721,2316,1032],{"class":1025},[721,2318,1953],{"class":1035},[721,2320,1038],{"class":1025},[721,2322,1041],{"class":1025},[721,2324,1044],{"class":1025},[721,2326,748],{"class":1047},[721,2328,1038],{"class":1025},[721,2330,1053],{"class":1025},[721,2332,2333,2335,2337,2339,2341,2345],{"class":723,"line":1270},[721,2334,1032],{"class":1025},[721,2336,1972],{"class":1035},[721,2338,1038],{"class":1025},[721,2340,1041],{"class":1025},[721,2342,2344],{"class":2343},"sbssI"," 3",[721,2346,1053],{"class":1025},[721,2348,2349,2351,2353,2355,2357,2359,2362,2364],{"class":723,"line":1276},[721,2350,1032],{"class":1025},[721,2352,1988],{"class":1035},[721,2354,1038],{"class":1025},[721,2356,1041],{"class":1025},[721,2358,1044],{"class":1025},[721,2360,2361],{"class":1047},"+244900000000",[721,2363,1038],{"class":1025},[721,2365,1053],{"class":1025},[721,2367,2368,2370,2372,2374,2376],{"class":723,"line":1282},[721,2369,1032],{"class":1025},[721,2371,2002],{"class":1035},[721,2373,1038],{"class":1025},[721,2375,1041],{"class":1025},[721,2377,2378],{"class":1025}," false,\n",[721,2380,2381,2383,2385,2387,2389,2391,2394,2396],{"class":723,"line":1288},[721,2382,1032],{"class":1025},[721,2384,2021],{"class":1035},[721,2386,1038],{"class":1025},[721,2388,1041],{"class":1025},[721,2390,1044],{"class":1025},[721,2392,2393],{"class":1047},"2026-10-25T18:40:00Z",[721,2395,1038],{"class":1025},[721,2397,1053],{"class":1025},[721,2399,2400,2402,2404,2406,2408,2410,2412,2414],{"class":723,"line":1294},[721,2401,1032],{"class":1025},[721,2403,2033],{"class":1035},[721,2405,1038],{"class":1025},[721,2407,1041],{"class":1025},[721,2409,1044],{"class":1025},[721,2411,2393],{"class":1047},[721,2413,1038],{"class":1025},[721,2415,1053],{"class":1025},[721,2417,2418,2420,2422,2424,2426],{"class":723,"line":1300},[721,2419,1032],{"class":1025},[721,2421,2045],{"class":1035},[721,2423,1038],{"class":1025},[721,2425,1041],{"class":1025},[721,2427,1067],{"class":1025},[721,2429,2430,2432,2434,2436,2438,2440,2443,2445],{"class":723,"line":1306},[721,2431,1073],{"class":1025},[721,2433,748],{"class":1076},[721,2435,1038],{"class":1025},[721,2437,1041],{"class":1025},[721,2439,1044],{"class":1025},[721,2441,2442],{"class":1047},"…",[721,2444,1038],{"class":1025},[721,2446,1053],{"class":1025},[721,2448,2449,2451,2453,2455,2457],{"class":723,"line":1312},[721,2450,1073],{"class":1025},[721,2452,881],{"class":1076},[721,2454,1038],{"class":1025},[721,2456,1041],{"class":1025},[721,2458,1067],{"class":1025},[721,2460,2461,2463,2465,2467,2469,2471,2473,2475],{"class":723,"line":1318},[721,2462,1517],{"class":1025},[721,2464,1077],{"class":2343},[721,2466,1038],{"class":1025},[721,2468,1041],{"class":1025},[721,2470,1044],{"class":1025},[721,2472,905],{"class":1047},[721,2474,1038],{"class":1025},[721,2476,1053],{"class":1025},[721,2478,2479,2481,2483,2485,2487,2489,2491],{"class":723,"line":1324},[721,2480,1517],{"class":1025},[721,2482,1097],{"class":2343},[721,2484,1038],{"class":1025},[721,2486,1041],{"class":1025},[721,2488,1044],{"class":1025},[721,2490,2442],{"class":1047},[721,2492,1109],{"class":1025},[721,2494,2495],{"class":723,"line":1330},[721,2496,1309],{"class":1025},[721,2498,2499,2501,2503,2505,2507,2509,2511,2513],{"class":723,"line":1773},[721,2500,1073],{"class":1025},[721,2502,934],{"class":1076},[721,2504,1038],{"class":1025},[721,2506,1041],{"class":1025},[721,2508,1044],{"class":1025},[721,2510,2442],{"class":1047},[721,2512,1038],{"class":1025},[721,2514,1053],{"class":1025},[721,2516,2517,2519,2521,2523,2525,2527,2529,2531],{"class":723,"line":1779},[721,2518,1073],{"class":1025},[721,2520,952],{"class":1076},[721,2522,1038],{"class":1025},[721,2524,1041],{"class":1025},[721,2526,1044],{"class":1025},[721,2528,2442],{"class":1047},[721,2530,1038],{"class":1025},[721,2532,1053],{"class":1025},[721,2534,2535,2537,2539,2541,2543,2545,2547,2549],{"class":723,"line":1785},[721,2536,1073],{"class":1025},[721,2538,969],{"class":1076},[721,2540,1038],{"class":1025},[721,2542,1041],{"class":1025},[721,2544,1044],{"class":1025},[721,2546,2442],{"class":1047},[721,2548,1038],{"class":1025},[721,2550,1053],{"class":1025},[721,2552,2553,2555,2557,2559,2561,2563,2565,2567],{"class":723,"line":1791},[721,2554,1073],{"class":1025},[721,2556,985],{"class":1076},[721,2558,1038],{"class":1025},[721,2560,1041],{"class":1025},[721,2562,1044],{"class":1025},[721,2564,2442],{"class":1047},[721,2566,1038],{"class":1025},[721,2568,1053],{"class":1025},[721,2570,2571,2573,2575,2577,2579],{"class":723,"line":1797},[721,2572,1073],{"class":1025},[721,2574,1002],{"class":1076},[721,2576,1038],{"class":1025},[721,2578,1041],{"class":1025},[721,2580,2581],{"class":1025}," [\n",[721,2583,2584,2586,2588],{"class":723,"line":1803},[721,2585,1517],{"class":1025},[721,2587,2442],{"class":1047},[721,2589,1109],{"class":1025},[721,2591,2592],{"class":723,"line":1808},[721,2593,2594],{"class":1025},"    ]\n",[721,2596,2598],{"class":723,"line":2597},27,[721,2599,1115],{"class":1025},[721,2601,2603,2605,2607,2609,2611],{"class":723,"line":2602},28,[721,2604,1032],{"class":1025},[721,2606,2182],{"class":1035},[721,2608,1038],{"class":1025},[721,2610,1041],{"class":1025},[721,2612,2613],{"class":1025}," false\n",[721,2615,2617],{"class":723,"line":2616},29,[721,2618,1138],{"class":1025},[751,2620,2622],{"id":2621},"errors","Errors",[761,2624,2625,2635],{},[764,2626,2627],{},[767,2628,2629,2632],{},[770,2630,2631],{},"Code",[770,2633,2634],{},"When",[783,2636,2637,2650,2665,2678],{},[767,2638,2639,2644],{},[788,2640,2641],{},[718,2642,2643],{},"404",[788,2645,2646,2649],{},[718,2647,2648],{},"Agente não encontrado."," — the agent does not exist in this organization.",[767,2651,2652,2656],{},[788,2653,2654],{},[718,2655,2643],{},[788,2657,2658,2661,2662,2664],{},[718,2659,2660],{},"Base de conhecimento não encontrada."," — one of the ",[718,2663,1002],{}," does not exist.",[767,2666,2667,2672],{},[788,2668,2669],{},[718,2670,2671],{},"409",[788,2673,2674,2675,2677],{},"The agent is archived, or ",[718,2676,748],{}," was sent for a Flow Builder agent.",[767,2679,2680,2685],{},[788,2681,2682],{},[718,2683,2684],{},"422",[788,2686,2687,2688,2690,2691,1911,2693,1911,2695,906,2697,910],{},"An unknown field, a value out of bounds, or ",[718,2689,860],{}," in ",[718,2692,834],{},[718,2694,748],{},[718,2696,881],{},[718,2698,934],{},[728,2700,2701,2702,1911,2705,1911,2708,1911,2710,2713,2714,2717,2718,910],{},"Errors common to every endpoint (",[718,2703,2704],{},"401",[718,2706,2707],{},"403",[718,2709,2684],{},[718,2711,2712],{},"429"," and ",[718,2715,2716],{},"5xx",") are in ",[742,2719,2622],{"href":2720},"\u002Fen\u002Fapi\u002Fapi-channel#errors",[2722,2723,2724],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":716,"searchDepth":1029,"depth":1029,"links":2726},[2727,2730,2731,2732,2733,2735],{"id":753,"depth":1029,"text":754,"children":2728},[2729],{"id":758,"depth":1056,"text":759},{"id":804,"depth":1029,"text":805},{"id":1141,"depth":1029,"text":1142},{"id":1814,"depth":1029,"text":1815},{"id":1831,"depth":1029,"text":2734},"Response 200",{"id":2621,"depth":1029,"text":2622},"Changes the agent's draft: only the fields you send change, and null clears the optional texts.","md",null,{},{"title":352,"description":2736},"doLXdgK9S1Yf4RTA0ghoa9nlVkNauog-PjGAS2gX8b8",[2743,2745],{"title":348,"path":349,"stem":350,"description":2744,"children":-1},"Returns one of the organization's agents with the configuration you can edit (configuration): prompt, greeting, language, personality, objections, notes and knowledge bases.",{"title":356,"path":357,"stem":358,"description":2746,"children":-1},"Creates an agent, blank or from a Diska template (template_id).",1795253343395]