---
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.

## Changes

- **2025-10-20** `702ae6b27810` — 2 breaking, 2 warning, 2 info
  - the `code` response's property type changed from `integer` to no type, and format from `int32` to no format for status `404`
  - the `code` response's property type changed from `integer` to no type, and format from `int32` to no format for status `500`
  - added the new `404.00` enum value to the `code` response property for the response status `404`
  - added the new `500.00` enum value to the `code` response property for the response status `500`
  - …2 more
- **2022-09-26** `8a7a27296ff3` — 3 breaking, 1 warning, 2 info
  - the `code` response's property type changed from no type to `integer`, and format from no format to `int32` for status `404`
  - the `code` response's property type changed from no type to `integer`, and format from no format to `int32` for status `500`
  - removed the required property `errors` from the response with the `404` status
  - removed the optional property `error` from the response with the `500` status
  - …2 more

[Change history](https://skmtc.dev/f5networks/apis/f5-big-ip-application-services-templates-api/changes/templates/:setName/:templateName/get.md)

---

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