Create a sandbox
Changed onStart one instance per replica, paying the first lease from the API wallet before any instance is created. The sandbox runs until you stop it, its command exits, the wallet cannot pay a lease, or its ttl_seconds ends, when you give one. 404 while sandboxes are not enabled for your workspace.
Request
- Base URLhttps://api.hedra.com/v3
- Auth
- API key in header Authorization
- or HTTP bearer
Headers
Caller-chosen key that makes retrying this create safe. A repeat create with the same key and body answers the same sandbox instead of creating and charging a second one. Keys are scoped to the calling user and workspace. A create refused with 402, 429 or 503 releases its key, so a retry under it is a new create. Reusing a key with a different body is a 409 ALREADY_EXISTS, and retrying while the original is still being created is a 409 ALREADY_IN_PROGRESS carrying Retry-After.
Request body
Response
Successful Response
Changes
- warning
added the new
idle_ttl_endedenum value to the/response property for the response status - info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- info
added the new optional request property
//
- info