> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get proxy template

> Get a proxy template visible to the caller (own or common default).



## OpenAPI

````yaml /api-reference/services_docs_mintlify_enriched/edge_proxy_api.yaml get /security/edgeproxy/v3/templates/{template_id}
openapi: 3.1.0
info:
  title: Gcore OpenAPI – Edge Proxy API
  description: >-
    This OpenAPI is an aggregated OpenAPI specification that unifies all Gcore
    products into a single file. It covers Cloud, CDN, DNS, WAAP, DDoS
    Protection, Object Storage, Streaming, and FastEdge services.
  version: 6fbf2663b9b9
servers:
  - url: https://api.gcore.com
security:
  - APIKey: []
tags:
  - name: Proxy profiles
    description: >-
      Create and manage Edge Proxy profiles: origin, protected address and
      port-based ACL rules.
  - name: Proxy templates
    description: Browse proxy templates and the policies they offer for profile ACL rules.
paths:
  /security/edgeproxy/v3/templates/{template_id}:
    get:
      tags:
        - Proxy templates
      summary: Get proxy template
      description: Get a proxy template visible to the caller (own or common default).
      operationId: getProxyTemplate
      parameters:
        - name: template_id
          in: path
          required: true
          schema:
            type: integer
            maximum: 1000000000
            minimum: 1
            description: A positive integer ID
            title: Template Id
          description: A positive integer ID
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProxyTemplateUserResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Request'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Request'
          description: Forbidden
        '404':
          description: Proxy template not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Request'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ProxyTemplateUserResponse:
      properties:
        id:
          type: integer
          title: Id
          description: Template id
        name:
          type: string
          title: Name
          description: Template name
        description:
          type: string
          title: Description
          description: Template description
        is_default:
          type: boolean
          title: Is Default
          description: Whether this is the scope default
        policies:
          items:
            $ref: '#/components/schemas/ProxyTemplatePolicy'
          type: array
          title: Policies
          description: Policies available on this template
        is_base:
          type: boolean
          title: Is Base
          readOnly: true
      type: object
      required:
        - id
        - name
        - description
        - is_default
        - policies
        - is_base
      title: ProxyTemplateUserResponse
      description: >-
        Client-facing view: only non-sensitive identifying fields.


        The raw Jinja body and meta are deliberately withheld from non-admin
        callers;

        `policies` is derived from meta with internal/debug policy ids filtered
        out.
    Request:
      properties: {}
      type: object
      title: Request
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProxyTemplatePolicy:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier of the policy
        name:
          type: string
          title: Name
          description: Name of the policy
        description:
          type: string
          title: Description
          description: Description of the policy
        icon_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon Url
          description: Absolute URL to the policy's icon, if set
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Url
          description: 'Deprecated: use `logo_url_light`. Equal to `logo_url_light`.'
        logo_url_light:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Url Light
          description: >-
            Absolute URL to the policy's light-theme logo, if one was uploaded
            as that variant.
        logo_url_dark:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Url Dark
          description: >-
            Absolute URL to the policy's dark-theme logo, if one was uploaded as
            that variant.
      type: object
      required:
        - id
        - name
        - description
        - icon_url
        - logo_url
        - logo_url_light
        - logo_url_dark
      title: ProxyTemplatePolicy
      example:
        description: Allow traffic matching the rule to pass through the proxy
        id: allow
        name: Allow
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKey:
      description: >-
        API key for authentication. Make sure to include the word `apikey`,
        followed by a single space and then your token.

        Example: `apikey 1234_abcdef`
      type: apiKey
      in: header
      name: Authorization

````