curl --location 'https://us-prod.notte.cc/functions/9e18de3f-bf64-4217-8588-25f0ef7133e1/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "9e18de3f-bf64-4217-8588-25f0ef7133e1",
"variables": {
"query": "bitcoin",
"page": 0,
"hits_per_page": 20
}
}'
{
"query": "<string>",
"asset_hits": [
{
"name": "<string>",
"symbol": "<string>",
"objectID": "<string>",
"visibleBy": "<string>"
}
],
"assets_meta": {
"page": 0,
"total": 0,
"page_count": 0,
"hits_per_page": 0
},
"metric_hits": [
{
"name": "<string>",
"path": "<string>",
"tags": [
"<string>"
],
"tier": 0,
"type": "<string>",
"group": "<string>",
"alerts": true,
"assets": [
"<string>"
],
"objectID": "<string>",
"shortName": "<string>",
"visibleBy": "<string>",
"workbench": true,
"metricCode": "<string>",
"description": {
"default": "<string>"
}
}
],
"metrics_meta": {
"page": 0,
"total": 0,
"page_count": 0,
"hits_per_page": 0
}
}