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

# List Templates

> List templates for the current account.



## OpenAPI

````yaml https://api.oviond.com/openapi.json get /v1/templates
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:
    get:
      tags:
        - Templates
      summary: List Templates
      description: List templates for the current account.
      operationId: list_templates
      parameters:
        - schema:
            type:
              - integer
              - 'null'
            minimum: 0
            default: 0
            example: 0
          required: false
          name: page
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
            example: 20
          required: false
          name: limit
          in: query
        - schema:
            type: string
          required: false
          name: search
          in: query
        - schema:
            type: string
            enum:
              - ranking
              - created_at
              - name
            default: ranking
            example: ranking
          required: false
          name: sort_by
          in: query
        - schema:
            anyOf:
              - type: string
                enum:
                  - asc
                  - desc
              - type:
                  - integer
                  - 'null'
                minimum: -1
                maximum: 1
              - type: 'null'
            default: desc
            example: desc
          required: false
          name: sort_order
          in: query
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
            description: >-
              Filter by datasource IDs (comma-separated or array; each a known
              datasource id)
          required: false
          name: datasources
          in: query
        - schema:
            type: string
            enum:
              - all
              - standard
              - mine
            default: all
            description: >-
              all = both libraries merged, standard = Oviond templates, mine =
              this account's saved templates
          required: false
          name: source
          in: query
        - schema:
            type: string
            enum:
              - REPORT
              - DASHBOARD
            description: Filter by project type
          required: false
          name: type
          in: query
      responses:
        '200':
          description: Template list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTemplatesResponse'
components:
  schemas:
    ListTemplatesResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: array
          items:
            $ref: '#/components/schemas/Template'
        meta:
          type: object
          properties:
            page:
              type: number
            limit:
              type: number
            total:
              type: number
          required:
            - page
            - limit
            - total
      required:
        - success
        - data
        - meta
    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.

````