Code
Execute code
Run a script in a secure, isolated environment. Scripts can read from stdin
and write to stdout
or stderr
. They can access input files, environment variables and command line arguments.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The code to execute.
The interpreter to use when executing code.
Available options:
python
, javascript
, typescript
, ruby
, php
List of allowed hosts for HTTP requests.
List of command line arguments to pass to the script.
Set of key-value pairs to add to the script's execution environment.
List of input files.
Configuration for HTTP requests and authentication.
Configuration for execution environment limits.
The ID of the runtime revision to use when executing code.
Input made available to the script via 'stdin'.