curl --location 'https://us-prod.notte.cc/functions/293941ed-ee51-4318-a5cc-221d31077ffc/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "293941ed-ee51-4318-a5cc-221d31077ffc",
"variables": {
"slug": "niacinamide",
"max_other_pages": 1,
"max_known_pages": 1,
"timeout_seconds": 20
}
}'
{
"ingredient": {
"url": "<string>",
"name": "<string>",
"slug": "<string>",
"cosing": {
"ec_number": "<string>",
"cas_number": "<string>",
"cosing_url": "<string>",
"references": [
"<string>"
],
"ph_eur_name": "<string>",
"all_functions": "<string>",
"chemical_iupac_name": "<string>"
},
"products": [
{
"url": "<string>",
"name": "<string>",
"slug": "<string>",
"brand": "<string>",
"source": "<string>",
"concentration_percentage": "<string>"
}
],
"also_called": [
"<string>"
],
"quick_facts": [
"<string>"
],
"what_it_does": [
{
"url": "<string>",
"name": "<string>",
"slug": "<string>"
}
],
"description_text": "<string>",
"next_known_offset": 0,
"next_other_offset": 0,
"inci_decoder_rating": "<string>",
"has_more_known_pages": true,
"has_more_other_pages": true,
"other_products_count": 0,
"known_amount_products_count": 0
}
}