curl --request POST \
--url https://s-server-demo.siftd.ai:9800/api/workspaces/{workspace_id}/notebooks/{notebook_id}/compile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"content": {
"metadata": {},
"spin_cells": [
{
"cell_id": "<string>",
"cxn_name": "<string>",
"desc": "<string>",
"loop_id": "<string>",
"metadata": {
"collapsed": true,
"display_settings": {},
"output_variable_name": "<string>",
"scrolled": "<any>",
"tags": [
"<string>"
]
},
"param_map": {},
"payload": [
123
],
"tool": "<string>"
}
],
"template_vars": [
{
"code": "<string>",
"kind": "static",
"name": "<string>",
"possible_values": [
"<string>"
],
"value": "<string>",
"var_id": "<string>"
}
]
},
"emit_to_stdout": true,
"end_index": 123,
"loop_id": "<string>",
"request_id": "<string>",
"start_index": 123
}'