Create a new router agentAsk AIpost https://api.indigitall.com/v2/chatgen/router-agentsThis endpoint allows you to create a new router agent associated with a specific application.Query ParamsapplicationIdintegerrequiredThe ID of the application to associate with the chat agent.Body ParamsnamestringrequiredThe name of the instance.routerClassifierstringrequiredThe prompt used by the router agent.routerRolestringThe role assigned to the router agent.toolsarray of objectsrequiredA list of tools associated with the router agent.tools*ADD objectResponses 201The 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 18 days ago