Skip to main content
Every codeinterpreter.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Code

execute

code.execute Execute code in the sandbox Risk: write
Input Output

File

delete

file.delete Delete a file from the sandbox Risk: destructive
Input Output

download

file.download Download a file from the sandbox Risk: read
Input Output

list

file.list List files in the sandbox Risk: read
Input Output

upload

file.upload Upload a file to the sandbox Risk: write
Input Output