---
title: "Get template"
method: GET
path: "/v2/templates/{templateId}"
tags: ["Templates"]
---

# Get template

`GET /v2/templates/{templateId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/templates/{templateId}`
- Auth: HTTP bearer

Get a template by template ID.

  ### Usage notes
  - Retrieve the **templateId** by calling the [/v2/templates](https://help.sigmacomputing.com/reference/list-templates) endpoint.

## Path parameters

- `templateId` string, required

## Response `200`

The response body.

- TemplatesGetTemplateResponse200
  - `templateId` string, required
  - `templateUrlId` string, required
  - `name` string, required
  - `url` string, required
  - `path` string, required
  - `latestVersion` number, double, required
  - `createdBy` string, required: The identifier of the user who created this object.
  - `updatedBy` string, required: The identifier of the user or process that last updated this object.
  - `createdAt` string, date-time, required: When the object was created.
  - `updatedAt` string, date-time, required: When the object was last updated.
  - `isArchived` boolean
  - `tags` V2TemplatesTemplateIdGetResponsesContentApplicationJsonSchemaTagsItems[]
    - `versionTagId` string, required
    - `name` string, required

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
