curl --location --request GET 'https://api.flireo.com/api/v1/agents' \
--header 'Authorization: Bearer <token>'{
"agents": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Customer Support Agent",
"business_name": "Acme Corp",
"notification_email": "support@acme.com",
"first_message": "Hallo, welkom bij Acme. Waarmee kan ik u helpen?",
"is_active": true,
"webhook_url": "http://example.com",
"webhook_secret": "string",
"webhook_events": [
"string"
],
"analysis_plan": {
"structuredDataPlan": {
"enabled": true,
"schema": {
"type": "object",
"properties": {
"intent": {
"type": "string"
},
"sentiment": {
"type": "string",
"enum": [
"positive",
"neutral",
"negative"
]
},
"appointment_booked": {
"type": "boolean"
}
}
},
"messages": [
{
"role": "system",
"content": "Analyze the following call transcript according to this schema: {{schema}}"
}
]
},
"minMessagesThreshold": 2
},
"stt_config": {
"provider": "deepgram",
"model": "nova-3-general",
"language": "nl"
},
"llm_config": {
"provider": "openai",
"model": "gpt-4o-mini",
"voice": "ara",
"temperature": 0.7,
"messages": [
{
"role": "system",
"content": "string"
}
],
"tools": [
{}
]
},
"tts_config": {
"provider": "openai",
"voiceId": "alloy",
"model": "eleven_flash_v2_5"
},
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
]
}