curl --location 'https://us-prod.notte.cc/functions/6b5d8535-2077-46bb-897d-bede7d3abd60/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "6b5d8535-2077-46bb-897d-bede7d3abd60",
"variables": {
"search": "",
"page": 1,
"per_page": 10
}
}'
{
"page": 0,
"count": 0,
"total": 0,
"grants": [
{
"id": 0,
"date": "<string>",
"link": "<string>",
"slug": "<string>",
"tags": [
{
"id": 0,
"link": "<string>",
"name": "<string>",
"slug": "<string>"
}
],
"title": "<string>",
"format": "<string>",
"status": "<string>",
"sticky": true,
"excerpt": "<string>",
"date_gmt": "<string>",
"modified": "<string>",
"author_id": 0,
"post_type": "<string>",
"categories": [
{
"id": 0,
"link": "<string>",
"name": "<string>",
"slug": "<string>"
}
],
"ping_status": "<string>",
"modified_gmt": "<string>",
"comment_status": "<string>",
"featured_image": {
"id": 0,
"url": "<string>",
"width": 0,
"height": 0,
"mime_type": "<string>"
},
"featured_media_id": 0
}
],
"search": "<string>",
"per_page": 0,
"total_pages": 0
}