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>"
}
}
]
Gets tokens for a Sandbox Preview.
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>"
}
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Name of the Sandbox
Name of the Preview
successful operation
The response is of type object[]
.
Was this page helpful?