Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Skip to Content
API ReferenceComputeSandboxes

Get a sandbox template

Returns a sandbox template and the state of its builds. Use the template's id to create sandboxes after its build is ready.

Required permission

Requires the sandboxes.read permission. See Permissions for the roles and API key permissions that include it.

Command line

The orl CLI wraps this endpoint:

Guided workflow: orl sandbox template get

orl sandbox template get <template-id>
GET
/v1/sandbox-templates/{templateId}

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Path Parameters

templateId*string

Response Body

The template

application/json
  1. response
id*string
name*string
builtin?boolean
state*string
Value in"building""ready""failed"
createdAt?string
Formatdate-time
Example Request
curl -X GET 'https://api.openrelay.inc/v1/sandbox-templates/string'
Example Response
{  "id": "string",  "name": "string",  "builtin": true,  "state": "building",  "createdAt": "2019-08-24T14:15:22Z"}