curl --location 'https://us-prod.notte.cc/functions/58eb9628-ffd9-4a21-9a41-aadceabdefd5/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "58eb9628-ffd9-4a21-9a41-aadceabdefd5",
"variables": {
"query": "",
"category": "all",
"faq_id": "",
"limit": 10,
"offset": 0,
"mode": "semantic",
"min_relevance": 0.55
}
}'
{
"limit": 0,
"query": "<string>",
"faq_id": "<string>",
"offset": 0,
"results": [
{
"id": "<string>",
"url": "<string>",
"links": [
{
"url": "<string>",
"label": "<string>"
}
],
"answer": "<string>",
"images": [
{
"alt": "<string>",
"url": "<string>"
}
],
"category": "commercial",
"question": "<string>",
"match_reason": "<string>",
"category_label": "<string>",
"relevance_score": 0
}
],
"category": "all",
"has_more": true,
"language": "<string>",
"returned": 0,
"categories": [
{
"key": "commercial",
"label": "<string>",
"total_faqs": 0
}
],
"fetched_at": "<string>",
"source_url": "<string>",
"total_faqs": 0,
"search_mode": "semantic",
"min_relevance": 0,
"total_matches": 0,
"no_match_reason": "<string>",
"interpreted_query": "<string>"
}