Create an environment
Create an environment. Required permissions: CreateEnvironment, EditEnvironment, UseFileStorage. Note: This is a beta endpoint with known limitations.
curl --request POST \
--url https://mycluster.domino.tech/api/environments/beta/environments \
--header 'Content-Type: application/json' \
--header 'X-Domino-Api-Key: <api-key>' \
--data '
{
"dockerfileInstructions": "<string>",
"environmentVariables": [
{
"key": "USERNAME",
"value": "my_name"
}
],
"image": "<string>",
"postRunScript": "<string>",
"postSetupScript": "<string>",
"preRunScript": "<string>",
"preSetupScript": "<string>",
"skipCache": true,
"summary": "<string>",
"supportedClusters": [],
"tags": [
"<string>"
],
"useVpn": true,
"workspaceTools": [
{
"name": "Jupyter",
"startScripts": [
"echo hello"
],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"supportedFileExtensions": [
".ipynb"
]
}
],
"addBaseDependencies": true,
"description": "<string>",
"duplicateFromEnvironmentId": "<string>",
"isCurated": true,
"isRestricted": true,
"name": "<string>",
"orgOwnerId": "<string>"
}
'import requests
url = "https://mycluster.domino.tech/api/environments/beta/environments"
payload = {
"dockerfileInstructions": "<string>",
"environmentVariables": [
{
"key": "USERNAME",
"value": "my_name"
}
],
"image": "<string>",
"postRunScript": "<string>",
"postSetupScript": "<string>",
"preRunScript": "<string>",
"preSetupScript": "<string>",
"skipCache": True,
"summary": "<string>",
"supportedClusters": [],
"tags": ["<string>"],
"useVpn": True,
"workspaceTools": [
{
"name": "Jupyter",
"startScripts": ["echo hello"],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"supportedFileExtensions": [".ipynb"]
}
],
"addBaseDependencies": True,
"description": "<string>",
"duplicateFromEnvironmentId": "<string>",
"isCurated": True,
"isRestricted": True,
"name": "<string>",
"orgOwnerId": "<string>"
}
headers = {
"X-Domino-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Domino-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
dockerfileInstructions: '<string>',
environmentVariables: [{key: 'USERNAME', value: 'my_name'}],
image: '<string>',
postRunScript: '<string>',
postSetupScript: '<string>',
preRunScript: '<string>',
preSetupScript: '<string>',
skipCache: true,
summary: '<string>',
supportedClusters: [],
tags: ['<string>'],
useVpn: true,
workspaceTools: [
{
name: 'Jupyter',
startScripts: ['echo hello'],
title: 'Jupyter',
iconUrl: '/assets/images/workspace-logos/Jupyter.svg',
supportedFileExtensions: ['.ipynb']
}
],
addBaseDependencies: true,
description: '<string>',
duplicateFromEnvironmentId: '<string>',
isCurated: true,
isRestricted: true,
name: '<string>',
orgOwnerId: '<string>'
})
};
fetch('https://mycluster.domino.tech/api/environments/beta/environments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/api/environments/beta/environments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dockerfileInstructions' => '<string>',
'environmentVariables' => [
[
'key' => 'USERNAME',
'value' => 'my_name'
]
],
'image' => '<string>',
'postRunScript' => '<string>',
'postSetupScript' => '<string>',
'preRunScript' => '<string>',
'preSetupScript' => '<string>',
'skipCache' => true,
'summary' => '<string>',
'supportedClusters' => [
],
'tags' => [
'<string>'
],
'useVpn' => true,
'workspaceTools' => [
[
'name' => 'Jupyter',
'startScripts' => [
'echo hello'
],
'title' => 'Jupyter',
'iconUrl' => '/assets/images/workspace-logos/Jupyter.svg',
'supportedFileExtensions' => [
'.ipynb'
]
]
],
'addBaseDependencies' => true,
'description' => '<string>',
'duplicateFromEnvironmentId' => '<string>',
'isCurated' => true,
'isRestricted' => true,
'name' => '<string>',
'orgOwnerId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Domino-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/api/environments/beta/environments"
payload := strings.NewReader("{\n \"dockerfileInstructions\": \"<string>\",\n \"environmentVariables\": [\n {\n \"key\": \"USERNAME\",\n \"value\": \"my_name\"\n }\n ],\n \"image\": \"<string>\",\n \"postRunScript\": \"<string>\",\n \"postSetupScript\": \"<string>\",\n \"preRunScript\": \"<string>\",\n \"preSetupScript\": \"<string>\",\n \"skipCache\": true,\n \"summary\": \"<string>\",\n \"supportedClusters\": [],\n \"tags\": [\n \"<string>\"\n ],\n \"useVpn\": true,\n \"workspaceTools\": [\n {\n \"name\": \"Jupyter\",\n \"startScripts\": [\n \"echo hello\"\n ],\n \"title\": \"Jupyter\",\n \"iconUrl\": \"/assets/images/workspace-logos/Jupyter.svg\",\n \"supportedFileExtensions\": [\n \".ipynb\"\n ]\n }\n ],\n \"addBaseDependencies\": true,\n \"description\": \"<string>\",\n \"duplicateFromEnvironmentId\": \"<string>\",\n \"isCurated\": true,\n \"isRestricted\": true,\n \"name\": \"<string>\",\n \"orgOwnerId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Domino-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mycluster.domino.tech/api/environments/beta/environments")
.header("X-Domino-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dockerfileInstructions\": \"<string>\",\n \"environmentVariables\": [\n {\n \"key\": \"USERNAME\",\n \"value\": \"my_name\"\n }\n ],\n \"image\": \"<string>\",\n \"postRunScript\": \"<string>\",\n \"postSetupScript\": \"<string>\",\n \"preRunScript\": \"<string>\",\n \"preSetupScript\": \"<string>\",\n \"skipCache\": true,\n \"summary\": \"<string>\",\n \"supportedClusters\": [],\n \"tags\": [\n \"<string>\"\n ],\n \"useVpn\": true,\n \"workspaceTools\": [\n {\n \"name\": \"Jupyter\",\n \"startScripts\": [\n \"echo hello\"\n ],\n \"title\": \"Jupyter\",\n \"iconUrl\": \"/assets/images/workspace-logos/Jupyter.svg\",\n \"supportedFileExtensions\": [\n \".ipynb\"\n ]\n }\n ],\n \"addBaseDependencies\": true,\n \"description\": \"<string>\",\n \"duplicateFromEnvironmentId\": \"<string>\",\n \"isCurated\": true,\n \"isRestricted\": true,\n \"name\": \"<string>\",\n \"orgOwnerId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/environments/beta/environments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Domino-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dockerfileInstructions\": \"<string>\",\n \"environmentVariables\": [\n {\n \"key\": \"USERNAME\",\n \"value\": \"my_name\"\n }\n ],\n \"image\": \"<string>\",\n \"postRunScript\": \"<string>\",\n \"postSetupScript\": \"<string>\",\n \"preRunScript\": \"<string>\",\n \"preSetupScript\": \"<string>\",\n \"skipCache\": true,\n \"summary\": \"<string>\",\n \"supportedClusters\": [],\n \"tags\": [\n \"<string>\"\n ],\n \"useVpn\": true,\n \"workspaceTools\": [\n {\n \"name\": \"Jupyter\",\n \"startScripts\": [\n \"echo hello\"\n ],\n \"title\": \"Jupyter\",\n \"iconUrl\": \"/assets/images/workspace-logos/Jupyter.svg\",\n \"supportedFileExtensions\": [\n \".ipynb\"\n ]\n }\n ],\n \"addBaseDependencies\": true,\n \"description\": \"<string>\",\n \"duplicateFromEnvironmentId\": \"<string>\",\n \"isCurated\": true,\n \"isRestricted\": true,\n \"name\": \"<string>\",\n \"orgOwnerId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"environment": {
"archived": false,
"id": "623132867a0af0281c01a69c",
"name": "MyOrg",
"rebuildOnBaseChanges": "never",
"supportedClusters": [
"dask"
],
"visibility": "global",
"activeRevisionTags": [
"<string>"
],
"internalTags": [
"<string>"
],
"isCurated": true,
"latestRevision": {
"availableTools": [
{
"name": "Jupyter",
"startScripts": [
"echo hello"
],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"proxyConfig": {
"internalPath": "/{{ownerUsername}}/{{projectName}}/{{sessionPathComponent}}/{{runId}}/{{#if pathToOpen}}tree/{{pathToOpen}}{{/if}}",
"port": 8888,
"requireSubdomain": false,
"rewrite": false
},
"supportedFileExtensions": [
".ipynb"
]
}
],
"id": "62313cfd7a0af0281c01a6a6",
"number": 4,
"status": "queued"
},
"owner": {
"id": "6231327c7a0af0281c01a69b",
"ownerType": "individual",
"username": "OrgOwner"
},
"restrictedRevision": {
"availableTools": [
{
"name": "Jupyter",
"startScripts": [
"echo hello"
],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"proxyConfig": {
"internalPath": "/{{ownerUsername}}/{{projectName}}/{{sessionPathComponent}}/{{runId}}/{{#if pathToOpen}}tree/{{pathToOpen}}{{/if}}",
"port": 8888,
"requireSubdomain": false,
"rewrite": false
},
"supportedFileExtensions": [
".ipynb"
]
}
],
"id": "62313cfd7a0af0281c01a6a6",
"number": 4,
"status": "queued"
},
"selectedRevision": {
"availableTools": [
{
"name": "Jupyter",
"startScripts": [
"echo hello"
],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"proxyConfig": {
"internalPath": "/{{ownerUsername}}/{{projectName}}/{{sessionPathComponent}}/{{runId}}/{{#if pathToOpen}}tree/{{pathToOpen}}{{/if}}",
"port": 8888,
"requireSubdomain": false,
"rewrite": false
},
"supportedFileExtensions": [
".ipynb"
]
}
],
"id": "62313cfd7a0af0281c01a6a6",
"number": 4,
"status": "queued"
}
},
"metadata": {
"notices": [
"<string>"
],
"requestId": "<string>"
}
}{
"error": "<string>"
}{
"code": "UNAUTHORIZED",
"message": "Authentication is required to access this resource."
}{
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Body
Environment to create
Show child attributes
Show child attributes
Environment revision image. Required for creating a new environment
Type of compute cluster
dask, mpi, ray, slurm, spark Show child attributes
Show child attributes
Required for creating a new environment
The id of the environment to duplicate. When specifying this property, no other properties in the payload must be set.
Specifies if an environment is restricted. Only users with ClassifyEnvironments permission can set this to true
Environment name. Required for creating a new environment
Sets an Organization as the Environment owner. Only used if visibility is 'Private', as 'Global' environments don't have owners.
Whether to build a new revision when the base environment changes.
never, followActive Environment visibility. Required for creating a new environment
global, private Related topics
Configure Ray prerequisitesCreate a Domino EnvironmentCreate Environments from external custom imagesManually create an Environment with a pre-built imageWas this page helpful?
curl --request POST \
--url https://mycluster.domino.tech/api/environments/beta/environments \
--header 'Content-Type: application/json' \
--header 'X-Domino-Api-Key: <api-key>' \
--data '
{
"dockerfileInstructions": "<string>",
"environmentVariables": [
{
"key": "USERNAME",
"value": "my_name"
}
],
"image": "<string>",
"postRunScript": "<string>",
"postSetupScript": "<string>",
"preRunScript": "<string>",
"preSetupScript": "<string>",
"skipCache": true,
"summary": "<string>",
"supportedClusters": [],
"tags": [
"<string>"
],
"useVpn": true,
"workspaceTools": [
{
"name": "Jupyter",
"startScripts": [
"echo hello"
],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"supportedFileExtensions": [
".ipynb"
]
}
],
"addBaseDependencies": true,
"description": "<string>",
"duplicateFromEnvironmentId": "<string>",
"isCurated": true,
"isRestricted": true,
"name": "<string>",
"orgOwnerId": "<string>"
}
'import requests
url = "https://mycluster.domino.tech/api/environments/beta/environments"
payload = {
"dockerfileInstructions": "<string>",
"environmentVariables": [
{
"key": "USERNAME",
"value": "my_name"
}
],
"image": "<string>",
"postRunScript": "<string>",
"postSetupScript": "<string>",
"preRunScript": "<string>",
"preSetupScript": "<string>",
"skipCache": True,
"summary": "<string>",
"supportedClusters": [],
"tags": ["<string>"],
"useVpn": True,
"workspaceTools": [
{
"name": "Jupyter",
"startScripts": ["echo hello"],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"supportedFileExtensions": [".ipynb"]
}
],
"addBaseDependencies": True,
"description": "<string>",
"duplicateFromEnvironmentId": "<string>",
"isCurated": True,
"isRestricted": True,
"name": "<string>",
"orgOwnerId": "<string>"
}
headers = {
"X-Domino-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Domino-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
dockerfileInstructions: '<string>',
environmentVariables: [{key: 'USERNAME', value: 'my_name'}],
image: '<string>',
postRunScript: '<string>',
postSetupScript: '<string>',
preRunScript: '<string>',
preSetupScript: '<string>',
skipCache: true,
summary: '<string>',
supportedClusters: [],
tags: ['<string>'],
useVpn: true,
workspaceTools: [
{
name: 'Jupyter',
startScripts: ['echo hello'],
title: 'Jupyter',
iconUrl: '/assets/images/workspace-logos/Jupyter.svg',
supportedFileExtensions: ['.ipynb']
}
],
addBaseDependencies: true,
description: '<string>',
duplicateFromEnvironmentId: '<string>',
isCurated: true,
isRestricted: true,
name: '<string>',
orgOwnerId: '<string>'
})
};
fetch('https://mycluster.domino.tech/api/environments/beta/environments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/api/environments/beta/environments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dockerfileInstructions' => '<string>',
'environmentVariables' => [
[
'key' => 'USERNAME',
'value' => 'my_name'
]
],
'image' => '<string>',
'postRunScript' => '<string>',
'postSetupScript' => '<string>',
'preRunScript' => '<string>',
'preSetupScript' => '<string>',
'skipCache' => true,
'summary' => '<string>',
'supportedClusters' => [
],
'tags' => [
'<string>'
],
'useVpn' => true,
'workspaceTools' => [
[
'name' => 'Jupyter',
'startScripts' => [
'echo hello'
],
'title' => 'Jupyter',
'iconUrl' => '/assets/images/workspace-logos/Jupyter.svg',
'supportedFileExtensions' => [
'.ipynb'
]
]
],
'addBaseDependencies' => true,
'description' => '<string>',
'duplicateFromEnvironmentId' => '<string>',
'isCurated' => true,
'isRestricted' => true,
'name' => '<string>',
'orgOwnerId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Domino-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/api/environments/beta/environments"
payload := strings.NewReader("{\n \"dockerfileInstructions\": \"<string>\",\n \"environmentVariables\": [\n {\n \"key\": \"USERNAME\",\n \"value\": \"my_name\"\n }\n ],\n \"image\": \"<string>\",\n \"postRunScript\": \"<string>\",\n \"postSetupScript\": \"<string>\",\n \"preRunScript\": \"<string>\",\n \"preSetupScript\": \"<string>\",\n \"skipCache\": true,\n \"summary\": \"<string>\",\n \"supportedClusters\": [],\n \"tags\": [\n \"<string>\"\n ],\n \"useVpn\": true,\n \"workspaceTools\": [\n {\n \"name\": \"Jupyter\",\n \"startScripts\": [\n \"echo hello\"\n ],\n \"title\": \"Jupyter\",\n \"iconUrl\": \"/assets/images/workspace-logos/Jupyter.svg\",\n \"supportedFileExtensions\": [\n \".ipynb\"\n ]\n }\n ],\n \"addBaseDependencies\": true,\n \"description\": \"<string>\",\n \"duplicateFromEnvironmentId\": \"<string>\",\n \"isCurated\": true,\n \"isRestricted\": true,\n \"name\": \"<string>\",\n \"orgOwnerId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Domino-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mycluster.domino.tech/api/environments/beta/environments")
.header("X-Domino-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dockerfileInstructions\": \"<string>\",\n \"environmentVariables\": [\n {\n \"key\": \"USERNAME\",\n \"value\": \"my_name\"\n }\n ],\n \"image\": \"<string>\",\n \"postRunScript\": \"<string>\",\n \"postSetupScript\": \"<string>\",\n \"preRunScript\": \"<string>\",\n \"preSetupScript\": \"<string>\",\n \"skipCache\": true,\n \"summary\": \"<string>\",\n \"supportedClusters\": [],\n \"tags\": [\n \"<string>\"\n ],\n \"useVpn\": true,\n \"workspaceTools\": [\n {\n \"name\": \"Jupyter\",\n \"startScripts\": [\n \"echo hello\"\n ],\n \"title\": \"Jupyter\",\n \"iconUrl\": \"/assets/images/workspace-logos/Jupyter.svg\",\n \"supportedFileExtensions\": [\n \".ipynb\"\n ]\n }\n ],\n \"addBaseDependencies\": true,\n \"description\": \"<string>\",\n \"duplicateFromEnvironmentId\": \"<string>\",\n \"isCurated\": true,\n \"isRestricted\": true,\n \"name\": \"<string>\",\n \"orgOwnerId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/environments/beta/environments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Domino-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dockerfileInstructions\": \"<string>\",\n \"environmentVariables\": [\n {\n \"key\": \"USERNAME\",\n \"value\": \"my_name\"\n }\n ],\n \"image\": \"<string>\",\n \"postRunScript\": \"<string>\",\n \"postSetupScript\": \"<string>\",\n \"preRunScript\": \"<string>\",\n \"preSetupScript\": \"<string>\",\n \"skipCache\": true,\n \"summary\": \"<string>\",\n \"supportedClusters\": [],\n \"tags\": [\n \"<string>\"\n ],\n \"useVpn\": true,\n \"workspaceTools\": [\n {\n \"name\": \"Jupyter\",\n \"startScripts\": [\n \"echo hello\"\n ],\n \"title\": \"Jupyter\",\n \"iconUrl\": \"/assets/images/workspace-logos/Jupyter.svg\",\n \"supportedFileExtensions\": [\n \".ipynb\"\n ]\n }\n ],\n \"addBaseDependencies\": true,\n \"description\": \"<string>\",\n \"duplicateFromEnvironmentId\": \"<string>\",\n \"isCurated\": true,\n \"isRestricted\": true,\n \"name\": \"<string>\",\n \"orgOwnerId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"environment": {
"archived": false,
"id": "623132867a0af0281c01a69c",
"name": "MyOrg",
"rebuildOnBaseChanges": "never",
"supportedClusters": [
"dask"
],
"visibility": "global",
"activeRevisionTags": [
"<string>"
],
"internalTags": [
"<string>"
],
"isCurated": true,
"latestRevision": {
"availableTools": [
{
"name": "Jupyter",
"startScripts": [
"echo hello"
],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"proxyConfig": {
"internalPath": "/{{ownerUsername}}/{{projectName}}/{{sessionPathComponent}}/{{runId}}/{{#if pathToOpen}}tree/{{pathToOpen}}{{/if}}",
"port": 8888,
"requireSubdomain": false,
"rewrite": false
},
"supportedFileExtensions": [
".ipynb"
]
}
],
"id": "62313cfd7a0af0281c01a6a6",
"number": 4,
"status": "queued"
},
"owner": {
"id": "6231327c7a0af0281c01a69b",
"ownerType": "individual",
"username": "OrgOwner"
},
"restrictedRevision": {
"availableTools": [
{
"name": "Jupyter",
"startScripts": [
"echo hello"
],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"proxyConfig": {
"internalPath": "/{{ownerUsername}}/{{projectName}}/{{sessionPathComponent}}/{{runId}}/{{#if pathToOpen}}tree/{{pathToOpen}}{{/if}}",
"port": 8888,
"requireSubdomain": false,
"rewrite": false
},
"supportedFileExtensions": [
".ipynb"
]
}
],
"id": "62313cfd7a0af0281c01a6a6",
"number": 4,
"status": "queued"
},
"selectedRevision": {
"availableTools": [
{
"name": "Jupyter",
"startScripts": [
"echo hello"
],
"title": "Jupyter",
"iconUrl": "/assets/images/workspace-logos/Jupyter.svg",
"proxyConfig": {
"internalPath": "/{{ownerUsername}}/{{projectName}}/{{sessionPathComponent}}/{{runId}}/{{#if pathToOpen}}tree/{{pathToOpen}}{{/if}}",
"port": 8888,
"requireSubdomain": false,
"rewrite": false
},
"supportedFileExtensions": [
".ipynb"
]
}
],
"id": "62313cfd7a0af0281c01a6a6",
"number": 4,
"status": "queued"
}
},
"metadata": {
"notices": [
"<string>"
],
"requestId": "<string>"
}
}{
"error": "<string>"
}{
"code": "UNAUTHORIZED",
"message": "Authentication is required to access this resource."
}{
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action."
}{
"error": "<string>"
}{
"error": "<string>"
}