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

# List template metadata



## OpenAPI

````yaml /openapi.json get /api/v1/templates
openapi: 3.1.0
info:
  title: VidGuy API
  version: 1.0.0
  description: >-
    Make videos, snacks, carousels, images and audio with VidGuy, and post them
    to your connected accounts. Authenticate with a `vf_live_` key as a Bearer
    token.
servers:
  - url: https://www.vidguy.ai
security:
  - ApiKeyAuth: []
tags:
  - name: Jobs
  - name: Credits
  - name: Brands
  - name: Snacks and memes
  - name: Videos
  - name: Carousels and slides
  - name: Images and video models
  - name: Characters
  - name: Editing
  - name: Assets
  - name: Audio
  - name: Social posting
paths:
  /api/v1/templates:
    get:
      tags:
        - Videos
      summary: List template metadata
      operationId: listTemplates
      parameters:
        - schema:
            type: string
            example: tiktok
          required: false
          name: platform
          in: query
          description: Filter templates by a supported platform.
      responses:
        '200':
          description: Available templates and the legacy brief schema.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplatesResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TemplatesResponse:
      type: object
      properties:
        templates:
          type: array
          items:
            $ref: '#/components/schemas/Template'
        briefSchema:
          type: object
          additionalProperties:
            type: object
            properties:
              type:
                type: string
              required:
                type: boolean
              minLength:
                type: integer
              maxLength:
                type: integer
              enum:
                type: array
                items:
                  type: string
              description:
                type: string
              properties:
                type: object
                additionalProperties: {}
      required:
        - templates
        - briefSchema
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Invalid request
        message:
          type: string
        details:
          type: object
          additionalProperties: {}
      required:
        - error
    Template:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        bestFor:
          type: array
          items:
            type: string
        platforms:
          type: array
          items:
            type: string
        scenes:
          type: object
          properties:
            min:
              type: integer
            max:
              type: integer
          required:
            - min
            - max
      required:
        - id
        - name
        - description
        - bestFor
        - platforms
        - scenes
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Send your API key in the Authorization header: `Bearer vf_live_...`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.