---
title: "Get Early Template"
method: GET
path: "/v1/template/early/{id}"
tags: ["templates"]
---

# Get Early Template

`GET /v1/template/early/{id}`

Get early template text

## Headers

- `X-Team-Id` string

## Response `200`

Shared Response

- object
  - `message` string, required
  - `template` TemplateData — Template Document or object
    - `uri` string — The URI of the template (could be a path or a ksuid)
    - `id` string — The ID of the template
    - `name` string — The name of the template
    - `author` string[] — The authors of the template
    - `tags` string[] — The tags of the template
    - `severity` string — The severity of the template
    - `type` string — The type of the template
    - `dir` string
    - `ref` string
    - `vendor` string — The vendor of the template
    - `product` string — The product of the template
    - `classification` Classification — Classification of template including additional metadata like cve-id, cwe-id etc
      - `cve-id` string[] — CVE IDs for the template
      - `cwe-id` string[] — CWE IDs for the template
      - `cvss-metrics` string — CVSS Metrics for the template
      - `cvss-score` number, float — CVSS Score for the template
      - `epss-score` number, float — EPSS Score for the template
      - `epss-percentile` number, float — EPSS Percentile for the template
      - `cpe` string — CPE for the template
    - `metadata` object
    - `digest` string — The digest of the template
    - `created_at` string, date-time — The time when template was created
    - `updated_at` string, date-time — The time when template was updated
    - `release_tag` string — The release tag of the template (contains tag when the file was first released)
    - `is_early` boolean — True if template is in early access
    - `raw` string — The raw unparsed template
    - `template_id` string
    - `description` string
    - `filename` string
    - `impact` string
    - `ai_meta` AIMeta
      - `model_used` string — The AI model used to generate the template
      - `is_prompt_by_human` boolean — Whether the prompt was written by a human
      - `is_template_by_human` boolean — Whether the template was written by a human
      - `prompt` string — The prompt used to generate the template
    - `references` string[]
    - `template_type` 'public' | 'user' | 'shared'
    - `is_draft` boolean
    - `is_github` boolean
    - `is_new` boolean
    - `is_pdteam` boolean — Is the template from pdteam
    - `remediation` string

## Other responses

- `400` — Example response
- `403` — Example response
- `404` — Example response
- `500` — Example response
- `default` — Example response

---

[API](https://skmtc.net/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.net/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/versions/220f0adf9efd/schema)
