This documentation is built and maintained by the Flireo AI team to help you create, launch, and scale intelligent phone agents. Access the dashboard here.
curl --location --request POST 'https://api.flireo.nl/query-knowledgebase' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"assistant_phone": "+31850835003",
"query": "what are our prices?",
"match_threshold": 0.4,
"match_count": 1
}'
{
"result": "success",
"query": "what are our prices?",
"text_data": "Here is a list of our prices and offers:...",
"similarity": 0.23783234051887,
"knowledgebase_id": "227ac8bd-16ef-4d29-9064-d939e27702d1"
}