cURL
curl --request POST \ --url https://chat.api.toolzz.com.br/api/v1/bot/duplicate/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "<string>" }'
{ "id": "<string>", "name": "<string>", "prompt": "<string>", "metaprompt": "<string>", "description": "<string>", "botGenAI": [ { "id": "<string>", "botId": "<string>", "credentialId": "<string>", "genAIModelId": "<string>", "genAIId": "<string>", "genAIKey": "<string>", "genAIOrganization": "<string>", "assistantId": "<string>", "isDefault": true, "messagesLimit": 123, "charactersLimit": 123, "temperature": 123, "topP": 123, "frequencyPenalty": 123, "presencePenalty": 123, "topK": 123, "messagesQuery": 123, "model": "<string>", "tools": [ { "type": "<string>", "description": "<string>" } ], "credential": { "id": "<string>", "name": "<string>", "userId": "<string>", "unityId": "<string>", "integrationId": "<string>", "secretId": "<string>", "status": true, "virtualKey": "<string>", "createdAt": "<string>", "updatedAt": "<string>" } } ], "assistantId": "<string>", "tags": [ {} ], "unityId": "<string>", "institutionId": "<string>", "progressStatus": "<string>", "safeMode": true, "isActivated": true, "botMonetization": {}, "hasMonetization": true, "hasAnalytics": true, "isAdvancedBot": true, "hasTools": true, "hasPlugins": true, "favorites": [ {} ], "botFallBack": [ {} ] }
Endpoint para duplicar um Agente
Show BotGenAI properties
Show Tool properties
Show Credential properties