Available Actions
executeanalyze
Input Schema
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Python code to execute"
},
"timeout": {
"type": "number",
"default": 30,
"description": "Timeout in seconds"
}
}
}Output Schema
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"files": {
"type": "array"
},
"output": {
"type": "string"
}
}
}Quick Start
API Endpoint
POST /api/execute/code-interpretercURL Example
curl -X POST \
https://api.nulayers.com/execute/code-interpreter \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "execute"}'