curl --request POST \
--url https://app.recallio.ai/api/Knowledge/recall \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "What is the listing with the highest taxe rate?",
"userId": {
"recallio_anon_id": "<string>",
"user_id": "<string>",
"user_hash": "<string>",
"user_metadata": "<unknown>"
},
"projectId": "project_abc",
"type": "listing,document",
"chatHistory": [
{
"role": "<string>",
"content": "<string>",
"tool_calls": [
{
"id": "<string>",
"type": "<string>",
"function": {
"name": "<string>",
"arguments": "<string>"
}
}
],
"tool_call_id": "<string>"
}
]
}
'