Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Name of the Sandbox
Name of the 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>"
}
}
]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
Was this page helpful?