curl --location 'https://us-prod.notte.cc/functions/78b477e0-e945-41b9-98c3-cced560a9436/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "78b477e0-e945-41b9-98c3-cced560a9436",
"variables": {
"page": 1,
"school_type": "all",
"grade_level": "all"
}
}'
{
"page": 0,
"source": "<string>",
"ranking": "<string>",
"results": [
{
"url": "<string>",
"name": "<string>",
"slug": "<string>",
"tagline": [
"<string>"
],
"rank_title": "<string>",
"rank_total": 0,
"rank_ordinal": 0,
"overall_grade": "<string>",
"source_record": {},
"overall_grade_score": 0
}
],
"metadata": {
"title": "<string>",
"subtitle": "<string>",
"template": "<string>",
"photoURLs": {
"mobile": "<string>",
"desktop": "<string>"
},
"vanityURL": "<string>",
"description": "<string>",
"methodologyURL": "<string>"
},
"page_size": 0,
"query_url": "<string>",
"total_pages": 0,
"total_results": 0,
"applied_filters": {}
}