Workspaces
Create a workspace
Changed onpost/api/v1/workspaces
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/workspaces
- Auth: none declared
Headers
X-Axisml-Tenantstring
Active tenant for the request (fallback for the axisml.tenant cookie).
Request body
Example request
{
"containerPort": 8888,
"description": "JupyterLab interactive development environment.",
"displayName": "Vision team dev environment",
"image": "registry.axisml.io/dev/jupyter:3.0.0",
"lifecycle": {
"idleTimeoutSeconds": 3600
},
"name": "notebook-dev",
"poolName": "gpu-a100",
"unitName": "a100-1x",
"volumes": [
{
"mountPath": "/home/jovyan/work",
"name": "notebook-data"
}
]
}Response
Workspace created.
Example response
{
"args": [
"--NotebookApp.token="
],
"command": [
"start-notebook.sh"
],
"computeNamespace": "axisml-team-vision",
"containerPort": 8888,
"createdAt": "2026-06-20T08:00:00Z",
"description": "JupyterLab interactive development environment.",
"desiredState": "Running",
"displayName": "Vision team dev environment",
"endpoint": {
"accessUrl": "https://axisml.example.com/ws/team-vision/notebook-dev/",
"internalDns": "notebook-dev.axisml-team-vision.svc.cluster.local",
"tools": [
{
"label": "JupyterLab",
"name": "jupyter",
"url": "https://axisml.example.com/ws/team-vision/notebook-dev/lab"
},
{
"label": "VS Code",
"name": "vscode",
"url": "https://axisml.example.com/ws/team-vision/notebook-dev/vscode/"
},
{
"label": "Terminal",
"name": "terminal",
"url": "https://axisml.example.com/ws/team-vision/notebook-dev/terminals/1"
}
]
},
"env": [
{
"name": "JUPYTER_ENABLE_LAB",
"value": "yes"
}
],
"id": "f1e2d3c4-5b6a-4798-8c0d-1e2f3a4b5c6d",
"image": "registry.axisml.io/dev/jupyter:3.0.0",
"lastStartedAt": "2026-06-28T09:00:00Z",
"lifecycle": {
"idleTimeoutSeconds": 3600
},
"message": "Workspace is ready.",
"name": "notebook-dev",
"namespace": "team-vision",
"owner": "li.wei",
"ownerId": "3a2b1c0d-4e5f-6789-abcd-ef0123456789",
"phase": "Running",
"poolName": "gpu-a100",
"readyReplicas": 1,
"replicas": 1,
"resources": {
"cpu": "4",
"memory": "32Gi",
"nvidia.com/gpu": "1"
},
"tenantDisplayName": "Vision Team",
"tenantName": "team-vision",
"unitName": "a100-1x",
"updatedAt": "2026-06-28T09:30:00Z",
"volumes": [
{
"mountPath": "/home/jovyan/work",
"name": "notebook-data",
"used": "12Gi"
}
]
}Changes
- warning
added the new
Queuedenum value to the////response property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- warning
removed the request property
- warning
removed the optional property
from the response with the status
- warning