curl -X POST https://api.thinnest.ai/v1/agents \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Order Lookup Agent",
"model": "gpt-4o-mini",
"instructions": "You help customers check order status. When you need to look up information, put the caller on hold first. Always explain why. Resume as soon as you have the answer.",
"voiceEnabled": true,
"transcriber": { "provider": "deepgram", "model": "nova-2-conversationalai" },
"voice": { "provider": "deepgram", "voiceId": "aura-2-thalia-en" },
"holdEnabled": true,
"holdMessage": "Please hold while I check your order status.",
"holdResumeMessage": "Thank you for holding. I have your information now."
}'