---
title: "Get specified Template"
method: GET
path: "/templates/{setName}/{templateName}"
tags: ["Template Management"]
---

# Get specified Template

`GET /templates/{setName}/{templateName}`

Get the Template by Template name and Template Set name.

## Response `200`

A Template object.

- Template — An JSON-serialized, f5-fast-core Template object. All fields prefixed with an underscore should be treated as internal/private and only intended for Template.fromJson(). As such, they are not documented here.
  - `title` string — A "pretty name" for the Template
  - `description` string — Template description
  - `definitions` ParametersDefinition — Object must conform to specified template's schema.
  - `target` string — A hint to Template consumers about the intended purpose of the Template
  - `templateText` string — A Mustache-templated string
  - `defaultParameters` ParametersDefinition — Object must conform to specified template's schema.
  - `sourceType` string — A hint on where templateText originated from (e.g., "MST" for loading via Template.loadMst())
  - `sourceText` string — The raw text of the source the Template class parsed
  - `sourceHash` string — A sha256 hash of the sourceText (useful for determining if a Template has changed)
  - `contentType` string — A MIME type for the intended output of Template.render()
  - `httpForward` union — Information for forwarding the rendered result to an HTTP endpoint. Either a URL string or an Axios config object
    - string — A generic definition for a string.
    - ObjectDefinition — A generic definition for an object.

## Other responses

- `404` — Set or Template was not found.
- `500` — Internal error. A bug report should be filed.

---

[API](https://skmtc.net/f5networks/apis/f5-big-ip-application-services-templates-api.md) · [All operations](https://skmtc.net/f5networks/apis/f5-big-ip-application-services-templates-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/f5networks/f5-big-ip-application-services-templates-api/versions/69d12c15d1c7/schema)
