curl --location 'https://us-prod.notte.cc/functions/cad86fb4-68c5-4a21-9bc1-3d7fc9be2df2/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "cad86fb4-68c5-4a21-9bc1-3d7fc9be2df2",
"variables": {
"section_number": "302",
"act": "all"
}
}'
{
"count": 0,
"matches": [
{
"title": "<string>",
"chapter": "<string>",
"act_code": "<string>",
"act_name": "<string>",
"source_url": "<string>",
"composition": "<string>",
"classification": {
"bail": "<string>",
"entries": [
{
"punishment": "<string>",
"offence_type": "<string>"
}
],
"framework": "<string>",
"cognizance": "<string>",
"triable_by": "<string>"
},
"section_number": "<string>",
"cross_references": [
{
"url": "<string>",
"text": "<string>",
"act_code": "<string>",
"section_number": "<string>"
}
],
"description_html": "<string>",
"description_text": "<string>",
"navigation_links": [
{
"url": "<string>",
"label": "<string>",
"section_number": "<string>"
}
]
}
],
"source_url": "<string>"
}