Copy
curl -X POST "https://api.chanl.ai/api/v1/workspaces/ws_123/scenarios/scenario_456/execute" \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/json" \
-d '{
"variables": {
"charge_amount": "$49.99"
}
}'
Copy
{
"success": true,
"data": {
"execution": {
"id": "exec_123",
"scenario_id": "scenario_456",
"status": "queued",
"simulations_created": 4,
"estimated_completion": "2024-01-15T10:35:00Z"
}
}
}