Update an existing contextual or helper agentAsk AIput https://api.indigitall.com/v2/chatgen/agent/{id}This endpoint allows you to update the configuration of an existing contextual or helper bot.Path ParamsidintegerrequiredThe unique identifier of the contextual or helper agent to be updated.Query ParamsapplicationIdintegerrequiredThe ID of the application that owns this contextual or helper agent.Body ParamsagentNamestringName that will be given to the bot.companyNamestringName of the company that creates the bot (referenced by the bot).modelNamestringAI model that will respond.agentRolestringRole of the agent to create.routeKeywordsobjectKeywords used to route the conversation to an agent or Dialogflow.routeKeywords objecthasMemorybooleanIndicates if the bot has memory.truefalsesemaphoreCustomResponseobjectCustom response message for semaphore control.semaphoreCustomResponse objecttimeAwarestringenumgive more weight to more recently uploaded documents.awakeasleepAllowed:awakeasleepshortenUrlsbooleanEnable or disable URL shortening for shared links.truefalseopenAiConfigobjectConfiguration settings for OpenAI.openAiConfig objectdialogflowConfigobjectConfiguration settings for Dialogflow.dialogflowConfig objectResponses 200The request has succeeded. The response contains the status code and a message indicating success. 400The request could not be understood or was missing required parameters. 401Authentication failed or user does not have permissions for the desired action. 403The server understood the request, but refuses to authorize it. 404The requested resource could not be found. 409The request could not be processed because of conflict in the request. 422The server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions. 500The server encountered an unexpected condition that prevented it from fulfilling the request. defaultAn unexpected error occurred.Updated 16 days ago