Skip to main content
POST
Run python code in an isolated sandbox

Authorizations

Authorization
string
header
required

Organisation API key created in the dashboard (format: amrg_live_…). Sent as Authorization: Bearer amrg_live_….

Body

application/json
code
string
required

Python source to execute.

Maximum string length: 65536
timeoutSeconds
integer
default:60
Required range: 1 <= x <= 300

Response

Accepted — execution started

id
string<uuid>
status
string
estimatedCostPence
integer