curl --location 'https://us-prod.notte.cc/functions/c862eb0c-78f9-4c07-acbc-1473c2b32abb/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "c862eb0c-78f9-4c07-acbc-1473c2b32abb",
"variables": {
"limit": 25,
"maximum_age": 25
}
}'
{
"drivers": [
{
"id": 0,
"age": "<string>",
"dob": "<string>",
"stats": {},
"gender": "<string>",
"ddb_url": "<string>",
"full_name": "<string>",
"is_active": true,
"last_name": "<string>",
"name_full": "<string>",
"first_name": "<string>",
"is_claimed": true,
"country_iso": "<string>",
"profile_url": "<string>",
"country_name": "<string>",
"current_team": {
"id": 0,
"name": "<string>",
"logo_url": "<string>"
},
"fia_category": "<string>",
"nationalities": [
{
"country": {
"id": 0,
"name": "<string>",
"ddb_url": "<string>",
"iso_code": "<string>",
"nationality": "<string>"
},
"is_primary": true
}
],
"place_of_birth": "<string>",
"declared_gender": "<string>",
"championship_name": "<string>",
"profile_image_url": "<string>",
"active_championship": 0
}
],
"returned": 0,
"sort_order": "<string>",
"source_url": "<string>",
"active_only": true,
"maximum_age": 0
}