curl --location 'https://us-prod.notte.cc/functions/3484875c-4ebc-4ae9-b06b-3618df306175/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "3484875c-4ebc-4ae9-b06b-3618df306175",
"variables": {
"query": "teknologi",
"page": 1,
"sort": "latest",
"channel": "all",
"start_date": "",
"end_date": "",
"include_full_content": false
}
}'
{
"page": 0,
"sort": "<string>",
"query": "<string>",
"channel": "<string>",
"results": [
{
"url": "<string>",
"title": "<string>",
"channel": "<string>",
"snippet": "<string>",
"article_id": "<string>",
"content_type": "<string>",
"full_article": {
"tags": [
"<string>"
],
"title": "<string>",
"author": "<string>",
"content": "<string>",
"image_url": "<string>",
"description": "<string>",
"modified_at": "<string>",
"published_at": "<string>",
"image_caption": "<string>"
},
"published_at": "<string>",
"thumbnail_url": "<string>",
"published_relative": "<string>",
"published_timestamp": 0
}
],
"end_date": "<string>",
"has_next": true,
"start_date": "<string>",
"total_pages": 0,
"has_previous": true,
"result_count": 0
}