Interpreter
GET
/process/interpreter/contextReturns information about all user-created interpreter contexts (excludes default context)
Response Body
application/json
application/json
curl -X GET "https://example.com/process/interpreter/context"{ "contexts": [ { "active": true, "createdAt": "string", "cwd": "string", "id": "string", "language": "string" } ]}POST
/process/interpreter/contextCreates a new isolated interpreter context with optional working directory and language
Request Body
application/json
Context configuration
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/process/interpreter/context" \ -H "Content-Type: application/json" \ -d '{}'{ "active": true, "createdAt": "string", "cwd": "string", "id": "string", "language": "string"}DELETE
/process/interpreter/context/{id}Deletes an interpreter context and shuts down its worker process
Path Parameters
id*string
Context ID
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/process/interpreter/context/string"{ "property1": "string", "property2": "string"}GET
/process/interpreter/executeExecutes code in a specified context (or default context if not specified) via WebSocket streaming
Response Body
application/json
curl -X GET "https://example.com/process/interpreter/execute""string"