---
updatedAt: 2026-08-31T10:36:28.000Z
agentTools:
  projectIndex: https://docs.telestream.dev/llms.txt
---

# Get template

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "termsOfService": "cloud.telestream.net/terms",
    "contact": {
      "name": "Telestream, LLC.",
      "email": "cloudsupport@telestream.net"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "description": "Qualify API",
    "version": "1.0.0",
    "title": "Qualify API"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "servers": [
    {
      "url": "https://api.cloud.telestream.net/qualify/v1.0"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "name": "X-Api-Key",
        "in": "header"
      }
    },
    "parameters": {
      "template-id": {
        "in": "path",
        "name": "template-id",
        "required": true,
        "schema": {
          "type": "string"
        }
      }
    },
    "schemas": {
      "Template": {
        "description": "Template holds configuration for multile quality control checks\n",
        "type": "object",
        "required": [
          "id",
          "name",
          "tests",
          "created_at",
          "updated_at"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "package_layout": {
            "$ref": "#/components/schemas/PackageLayout"
          },
          "audio_layout": {
            "$ref": "#/components/schemas/AudioLayout"
          },
          "engine_version": {
            "type": "string",
            "example": "2021.6"
          },
          "tests": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            },
            "example": {
              "caption/subtitle_test": {
                "608_present": false,
                "708_present": false,
                "cc1_presence": false,
                "cc2_presence": false,
                "cc3_presence": false,
                "cc4_presence": false,
                "teletext_page": 0,
                "caption_dropout": true,
                "caption_present": false,
                "service1_presence": false,
                "service2_presence": false,
                "service3_presence": false,
                "service4_presence": false,
                "service5_presence": false,
                "service6_presence": false,
                "teletext_presence": false,
                "no_caption_threshold": 10,
                "caption_dropout_duration_units": 0
              },
              "silence": {
                "quiet": false,
                "silent": true,
                "digital": true,
                "threshold": 0,
                "audio_track": 1,
                "dolbye_program": 1
              }
            }
          }
        }
      },
      "AudioProgram": {
        "type": "array",
        "items": {
          "type": "integer"
        },
        "example": [
          1,
          2
        ]
      },
      "AudioMapping": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/AudioProgram"
        }
      },
      "AudioLayout": {
        "type": "object",
        "description": "Map number of PCM channels to channel labels\n",
        "required": [
          "id",
          "name",
          "created_at",
          "updated_at",
          "layout"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "layout": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AudioMapping"
            }
          }
        }
      },
      "PackageLayout": {
        "type": "object",
        "description": "Map number of PCM channels to channel labels\n",
        "required": [
          "id",
          "name",
          "created_at",
          "video_index",
          "audio_indexes",
          "subtitle_indexes"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "video_index": {
            "description": "Index of video track from ABR manifest file that will be used in checks\n",
            "type": "integer",
            "format": "int64"
          },
          "audio_indexes": {
            "description": "Index of audio track from ABR manifest file that will be  used in checks\n",
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "subtitle_indexes": {
            "description": "Index of subtitle track from ABR manifest file that will be used in check\n",
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/templates/{template-id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/template-id"
        }
      ],
      "get": {
        "tags": [
          "QC"
        ],
        "operationId": "get_template",
        "summary": "Get template",
        "responses": {
          "200": {
            "description": "Show template",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Template"
                }
              }
            }
          },
          "404": {
            "description": "template not found"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```