curl --location 'https://us-prod.notte.cc/functions/60df8ee3-522f-4940-b0ba-112c369c6e71/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "60df8ee3-522f-4940-b0ba-112c369c6e71",
"variables": {
"region": "Europe",
"page": 0,
"page_size": 10
}
}'
{
"page": 0,
"index": "<string>",
"region": "<string>",
"articles": [
{
"uri": "<string>",
"date": "<string>",
"type": "<string>",
"image": "<string>",
"title": "<string>",
"locale": "<string>",
"people": [
"<string>"
],
"regions": [
"<string>"
],
"keywords": [
"<string>"
],
"objectID": "<string>",
"sections": [
"<string>"
],
"permalink": "<string>",
"description": "<string>",
"publish_year": 0,
"organizations": [
"<string>"
],
"date_timestamp": 0,
"article_content": "<string>",
"weight_collection_type": 0
}
],
"page_size": 0,
"ordered_by": "<string>",
"total_pages": 0,
"facet_counts": {
"type": {
"News": 0,
"Scoop": 0,
"Feature": 0,
"Investigation": 0
},
"regions": {},
"sections": {}
},
"total_results": 0
}