Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
code
string
required

The code to execute.

allow_http_hosts
string[]
deprecated

List of allowed hosts for HTTP requests.

args
string[]

List of command line arguments to pass to the script.

env
object

Set of key-value pairs to add to the script's execution environment.

files
object[]

List of input files.

http
object | null

Configuration for HTTP requests and authentication.

language
enum<string>

The interpreter to use when executing code.

Available options:
python,
javascript,
typescript,
ruby,
php
limits
object | null

Configuration for execution environment limits.

runtime_revision_id
string

The ID of the runtime revision to use when executing code.

stdin
string

Input made available to the script via 'stdin'.

Response

200 - application/json
exit_code
integer

The exit code returned by the script. Will often be '0' on success and non-zero on failure.

stderr
string

The contents of 'stderr' after executing the script.

stdout
string

The contents of 'stdout' after executing the script.