cURL
curl --request PUT \ --url https://api.trillet.ai/v1/api/omni-flow-agents/{agentId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data '{ "name": "<string>", "llmModel": "<string>", "ttsModel": { "provider": "<string>", "voiceId": "<string>" } }'
{ "_id": "agentIdExample", "workspaceId": "workspaceIdExample", "userId": "userIdExample", "name": "Updated Agent Name", "llmModel": "gpt-4o-mini", "phoneNumberId": "phoneNumberIdExample", "settings": { "customSetting": "value" }, "status": "ready", "createdAt": "2025-01-01T12:00:00Z", "updatedAt": "2025-01-02T12:00:00Z" }
Update an existing agent
Show Voice Settings