curl -X POST https://api.thinnest.ai/v1/agents \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Compliant Support Agent",
"model": "gpt-4o",
"instructions": "You are a customer support agent. Stay on-topic — only discuss billing, accounts, and products. Never make promises or guarantees.",
"voiceEnabled": true,
"transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
"voice": { "provider": "deepgram", "voiceId": "aura-2-thalia-en" },
"complianceConsentEnabled": true,
"complianceConsentMessage": "This call may be recorded for quality and training purposes.",
"complianceConsentPosition": "before_greeting",
"guardrailsEnabled": true,
"allowedTopics": ["billing", "account", "products", "shipping"],
"blockedTopics": ["politics", "religion", "competitors"],
"prohibitedStatements": ["I guarantee", "You will definitely", "We promise"],
"guardrailAction": "apologize",
"knowledgeGapDetectionEnabled": true,
"callScoringEnabled": true,
"scoringCriteria": ["greeting_quality", "issue_resolution", "professionalism"],
"scoringModel": "gpt-4o-mini"
}'