curl --location 'https://us-prod.notte.cc/functions/fd033ca8-4df3-4216-85f7-8630e14b9362/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "fd033ca8-4df3-4216-85f7-8630e14b9362",
"variables": {
"person_name": "Keanu Reeves",
"role": "actor",
"page": 1
}
}'
{
"page": 0,
"role": "<string>",
"count": 0,
"films": [
{
"year": 0,
"title": "<string>",
"votes": 0,
"rating": 0,
"country": "<string>",
"film_id": "<string>",
"film_url": "<string>",
"directors": [
{
"name": "<string>",
"person_id": "<string>",
"person_url": "<string>"
}
],
"poster_url": "<string>",
"media_types": [
"<string>"
],
"cast_context": "<string>",
"cast_preview": [
{
"name": "<string>",
"person_id": "<string>",
"person_url": "<string>"
}
],
"country_code": "<string>",
"cast_preview_truncated": true
}
],
"query": "<string>",
"person_id": "<string>",
"role_code": "<string>",
"person_url": "<string>",
"person_name": "<string>",
"total_pages": 0,
"has_next_page": true,
"search_method": "<string>",
"total_results": 0,
"available_roles": [
"<string>"
]
}