Developer
Quickstart
Start running awesome sandbox environments using AVM.
Generate an API Key
To use AVM’s services, you’ll need an API key. Here’s how to generate one:
- Login to your AVM account
- Navigate to your AVM API Keys Dashboard
- Click on ”+ API Key” to generate new API Key
- Give your key a descriptive name (e.g., “Development Key”)
- Copy and securely store your API key - you won’t be able to see it again!
Never share your API key or commit it to version control. We recommend using environment variables to store your key securely.
Using Your API Key to run a sandbox
Once you have your API key, you can start using AVM’s services. Here’s how to authenticate your requests:
Only Python code is supported at the moment by AVM Sandbox runs.
Example of python code to run in a sandbox:
The output of the above code will be the following JSON Response:
Credit System
Each sandbox run consumes credits from your account. Here’s how the credit system works:
- Every new account starts with 3600 free credits
- Each second of sandbox execution costs 1 credit
- Credits are consumed even in case of error occurrence
- The maximum execution time for each run is 120 seconds
- You can monitor your credit usage in the Credits
If you need more credits, you can purchase additional credits through your Credits page.