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

# Get Template

> Get a single template by ID.



## OpenAPI

````yaml https://api.oviond.com/openapi.json get /v1/templates/{id}
openapi: 3.1.0
info:
  title: Oviond Backend API
  version: 1.0.0
  description: Authentication, account management, billing, and media services for Oviond.
  x-logo:
    url: https://app.oviond.com/img/oviond-full-logo.svg
    altText: Oviond
servers:
  - url: https://api.oviond.com
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /v1/templates/{id}:
    get:
      tags:
        - Templates
      summary: Get Template
      description: Get a single template by ID.
      operationId: get_template
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Template document
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateResponse'
        '404':
          description: Template not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
components:
  schemas:
    TemplateResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          $ref: '#/components/schemas/Template'
      required:
        - success
        - data
    Template:
      type: object
      properties:
        id:
          type: string
        account_id:
          type: string
        name:
          type: string
        description:
          type: string
        type:
          type: string
          enum:
            - REPORT
            - DASHBOARD
        ranking:
          type: number
        datasources:
          type: array
          items:
            type: string
        thumbnail:
          type: string
        date_range:
          $ref: '#/components/schemas/DateRange'
        theme_id:
          type:
            - string
            - 'null'
        logo_url:
          type:
            - string
            - 'null'
        orientation:
          type: string
          enum:
            - portrait
            - landscape
        paper_size:
          type:
            - string
            - 'null'
          enum:
            - a4
            - letter
        branding_source:
          type:
            - string
            - 'null'
          enum:
            - inherit
            - client
            - agency
        show_dashboard_navigation:
          type:
            - boolean
            - 'null'
        show_cover_page:
          type:
            - boolean
            - 'null'
        show_cover_page_logo:
          type:
            - boolean
            - 'null'
        show_cover_page_client_logo:
          type:
            - boolean
            - 'null'
        show_cover_page_agency_logo:
          type:
            - boolean
            - 'null'
        show_cover_page_name:
          type:
            - boolean
            - 'null'
        show_cover_page_date:
          type:
            - boolean
            - 'null'
        show_cover_page_bg_image:
          type:
            - boolean
            - 'null'
        show_header:
          type:
            - boolean
            - 'null'
        show_header_logo:
          type:
            - boolean
            - 'null'
        show_header_name:
          type:
            - boolean
            - 'null'
        show_header_date:
          type:
            - boolean
            - 'null'
        show_page_numbers:
          type:
            - boolean
            - 'null'
        show_table_of_contents:
          type:
            - boolean
            - 'null'
        show_date:
          type:
            - boolean
            - 'null'
        show_thank_you:
          type:
            - boolean
            - 'null'
        show_thank_you_bg_image:
          type:
            - boolean
            - 'null'
        show_thank_you_logo:
          type:
            - boolean
            - 'null'
        show_thank_you_client_logo:
          type:
            - boolean
            - 'null'
        show_thank_you_agency_logo:
          type:
            - boolean
            - 'null'
        show_thank_you_heading:
          type:
            - boolean
            - 'null'
        show_thank_you_message:
          type:
            - boolean
            - 'null'
        created_at: {}
        source:
          type: string
          enum:
            - standard
            - mine
      required:
        - id
        - account_id
        - name
    DateRange:
      type: object
      properties:
        text:
          type: string
          enum:
            - Today
            - Yesterday
            - Last 7 Days
            - Last 30 Days
            - Last 60 Days
            - Custom Days
            - This Month
            - Last Month
            - Custom Months
            - Last 2 Months
            - Last 3 Months
            - Last 12 Months
            - This Year
            - Last Year
            - Custom
          example: Last 30 Days
        compare:
          type: string
          enum:
            - None
            - Period
            - Month
            - Year
            - Custom
          example: None
        include_today:
          type: boolean
          example: false
        current_start:
          type: string
          example: '2026-03-01'
        current_end:
          type: string
          example: '2026-03-31'
        previous_start:
          type: string
          example: '2026-02-01'
        previous_end:
          type: string
          example: '2026-02-28'
        custom_days:
          type: number
          example: 60
        custom_months:
          type: number
          example: 3
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        Oviond API key (prefix `oviond_`) sent as a Bearer token — the
        credential for REST/programmatic and headless integrations. Manage keys
        in Settings → API Keys. API keys do NOT authenticate the MCP endpoint
        (/mcp), which uses OAuth 2.1 + PKCE.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Supabase-issued JWT used by the Oviond web app session. External API
        consumers should authenticate with an Oviond API key (ApiKeyAuth)
        instead.

````