GMI Sandbox SDK Usage
Install
Configure
Use environment variables or pass values directly. To get an API key, log in tohttps://console.gmicloud.ai/, click API keys, select compute, and click Create API key.
GMI_SANDBOX_IDC_NAME is optional. Leave it unset to use your organization’s default IDC. Set it only when you want requests to target a non-default IDC:
Create a client
Create and use a sandbox
Files
download() returns bytes and can also write to a destination path.
Commands
Templates
Product specifications
Errors
The SDK raises typed exceptions for HTTP failures:BadRequestErrorAuthenticationErrorPermissionDeniedErrorNotFoundErrorConflictErrorRateLimitErrorServerError