curl --location 'https://us-prod.notte.cc/functions/ef6ab54e-d6b6-4639-a776-1dcdf068f8a2/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "ef6ab54e-d6b6-4639-a776-1dcdf068f8a2",
"variables": {
"query": "Austin"
}
}'
{
"query": "<string>",
"events": [
{
"id": 0,
"href": "<string>",
"venue": {
"name": "<string>",
"location": "<string>"
},
"imageSrc": "<string>",
"promoted": true,
"startsAt": "<string>",
"timezone": "<string>",
"artistName": "<string>",
"streamingEvent": true,
"properlySizedImageURL": "<string>"
}
],
"venues": [
{
"id": 0,
"href": "<string>",
"name": "<string>",
"imageSrc": "<string>",
"location": "<string>",
"properlySizedImageURL": "<string>"
}
],
"artists": [
{
"id": 0,
"href": "<string>",
"name": "<string>",
"imageSrc": "<string>",
"verified": true,
"trackerText": "<string>",
"properlySizedImageURL": "<string>"
}
],
"festivals": [
{
"href": "<string>",
"venue": {
"name": "<string>"
},
"endsAt": "<string>",
"imageSrc": "<string>",
"startsAt": "<string>",
"timezone": "<string>",
"festivalName": "<string>",
"streamingEvent": true,
"properlySizedImageURL": "<string>"
}
]
}