---
title: "GET /api/v2/prebuilds/template/{environmentId}"
method: GET
path: "/api/v2/prebuilds/template/{environmentId}"
tags: ["Prebuilds"]
---

# GET /api/v2/prebuilds/template/{environmentId}

`GET /api/v2/prebuilds/template/{environmentId}`

## Path parameters

- `environmentId` string, uuid, required

## Response `200`

Success

- PrebuildTemplateInfoResult
  - `id` string, nullable
  - `isPrebuild` boolean, nullable
  - `prebuildHash` string, nullable
  - `repoId` integer
  - `branchName` string, nullable
  - `commitId` string, nullable
  - `templateStatus` string, nullable
  - `logicalSkus` string[], nullable
  - `lastUsedTime` string, date-time, nullable
  - `devcontainerPath` string, nullable
  - `prebuildConfigurationId` string, nullable

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/visualstudio/apis/vsonline.md) · [All operations](https://skmtc.net/visualstudio/apis/vsonline/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/visualstudio/vsonline/versions/d55b712ea3ab/schema)
