curl --location 'https://us-prod.notte.cc/functions/fe6b95c1-5ae5-4e67-a782-cde8badfdb18/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "fe6b95c1-5ae5-4e67-a782-cde8badfdb18",
"variables": {
"sort": "trendingScore",
"offset": 0
}
}'
{
"sort": "<string>",
"total": 0,
"offset": 0,
"spaces": [
{
"id": "<string>",
"sdk": "<string>",
"tags": [
"<string>"
],
"emoji": "<string>",
"likes": 0,
"title": "<string>",
"author": "<string>",
"pinned": true,
"private": true,
"runtime": {
"sha": "<string>",
"stage": "<string>",
"domains": [
{
"stage": "<string>",
"domain": "<string>"
}
],
"dev_mode": true,
"hardware": {
"current": "<string>",
"requested": "<string>"
},
"replicas": {
"current": 0,
"requested": 0
},
"gc_timeout": 0
},
"disabled": true,
"featured": true,
"repo_type": "<string>",
"created_at": "<string>",
"visibility": "<string>",
"ai_category": "<string>",
"origin_repo": {
"name": "<string>",
"author": {
"name": "<string>",
"type": "<string>",
"is_hf": true,
"is_mod": true,
"is_pro": true,
"fullname": "<string>",
"is_hf_admin": true,
"follower_count": 0
}
},
"last_modified": "<string>",
"trending_score": 0,
"short_description": "<string>",
"ai_short_description": "<string>"
}
],
"page_size": 0,
"next_offset": 0
}