API Reference/Execute
Execute Code
Send a TypeScript or JavaScript module, get the result
POST
/execute/v1/script
Request Body
application/json
Requiredscript
RequiredstringThe JavaScript or TypeScript script to execute
config
objectResponse Body
200
Success
result
RequiredunknownThe return value of the default export of the script
logs
Requiredarray<object>400
Error
error
Requiredstringlogs
array | null500
Internal server error
error
Requiredstringlogs
array | nullSuccess
Provision a wildcard certificate POST
Provisions a wildcard certificate for a verified domain This speeds up deploys on all subdomains of the domain. In order to use it, you must add the following record to your DNS config: `_acme-challenge.yourdomain.com` NS `dns.freestyle.sh`
Get information on execute run GET
Get information on execute run