GET
/
sandboxes
/
{sandboxName}
/
previews
/
{previewName}
/
tokens
curl --request GET \
  --url https://api.blaxel.ai/v0/sandboxes/{sandboxName}/previews/{previewName}/tokens \
  --header 'Authorization: Bearer <token>'
[
  {
    "metadata": {
      "name": "<string>",
      "previewName": "<string>",
      "resourceName": "<string>",
      "resourceType": "<string>",
      "workspace": "<string>"
    },
    "spec": {
      "expired": true,
      "expiresAt": "<string>",
      "token": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sandboxName
string
required

Name of the Sandbox

previewName
string
required

Name of the Preview

Response

200 - application/json
successful operation

The response is of type object[].