---
title: "Get workspace pod template details"
method: GET
path: "/workspaces/{namespace}/{name}/podtemplate/details"
tags: ["workspaces"]
---

# Get workspace pod template details

`GET /workspaces/{namespace}/{name}/podtemplate/details`

## Request

- Base URL: `http://localhost:4000/api/v1`
- URL: `http://localhost:4000/api/v1/workspaces/{namespace}/{name}/podtemplate/details`
- Auth: none declared

Returns detail-level data for the workspace details overlay (volumes, secrets, pod info).

## Path parameters

- `namespace` string, required
- `name` string, required

## Response `200`

Successful operation.

- ApiWorkspaceDetailsEnvelope
  - `data` DetailsWorkspaceDetails, required
    - `pod` DetailsWorkspaceDetailPod
      - `containers` DetailsWorkspaceDetailContainer[]
        - `name` string, required
      - `initContainers` DetailsWorkspaceDetailContainer[]
        - `name` string, required
      - `name` string, required
      - `nodeName` string, required
    - `podMetadata` CommonPodMetadata, required
      - `annotations` object, required
      - `labels` object, required
    - `volumes` DetailsWorkspaceDetailVolumes, required
      - `data` DetailsPodVolumeInfo[]
        - `mountPath` string, required
        - `pvcName` string, required
        - `readOnly` boolean, required
      - `home` DetailsPodVolumeInfo, required
        - `mountPath` string, required
        - `pvcName` string, required
        - `readOnly` boolean, required
      - `secrets` DetailsPodSecretInfo[]
        - `defaultMode` integer
        - `mountPath` string, required
        - `secretName` string, required

## Other responses

- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Workspace not found.
- `422`: Unprocessable Entity. Validation error.
- `500`: Internal server error.

## Changes

- **2026-09-16** `24448c74071d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api/changes/workspaces/:namespace/:name/podtemplate/details/get.md)

---

[API](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api.md) - [All operations](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api/revisions/f336b3b779f0?raw)
