curl -X POST https://api.thinnest.ai/v1/agents \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "High-Security Banking Agent",
"model": "gpt-4o",
"instructions": "You are a high-security banking agent. Verify identity via voiceprint AND PIN before any account access. For transactions over $1,000, use voice approval. For transactions over $10,000, conference in a supervisor.",
"voiceEnabled": true,
"transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
"voice": { "provider": "deepgram", "voiceId": "aura-2-thalia-en" },
"voiceBiometricsEnabled": true,
"voiceBiometricsProvider": "internal",
"voiceBiometricsEnrollPhrase": "My voice is my password",
"voiceBiometricsConfidenceThreshold": 0.8,
"callerAuthEnabled": true,
"callerAuthType": "pin",
"callerAuthMaxAttempts": 3,
"voiceApprovalEnabled": true,
"voiceApprovalMode": "blocking",
"conferenceCallingEnabled": true,
"conferenceMaxParticipants": 3,
"complianceConsentEnabled": true,
"complianceConsentMessage": "This call is being recorded for security and quality purposes.",
"guardrailsEnabled": true,
"allowedTopics": ["account", "transfers", "payments", "loans", "cards", "security"],
"holdEnabled": true,
"sentimentEscalationEnabled": true,
"sentimentThreshold": 3,
"sentimentEscalationAction": "transfer",
"recordingEnabled": true
}'