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

# List templates



## OpenAPI

````yaml /openapi.json get /templates
openapi: 3.1.0
info:
  title: Motion
  version: 1.0.0
  description: >-
    Create and edit videos with Motion through a prompt, optional attachments,
    and follow-up edits. New video jobs default to GVA standard. Motion Legacy
    requires eligible existing-account or administrator access. Use GET /engines
    for available choices. Manage owner-scoped automations, schedules, run
    history, and analytics. Automation execution is GVA-only and defaults to
    standard effort.
servers:
  - url: https://api.motion.so/api/motion
security:
  - MotionApiKey: []
paths:
  /templates:
    get:
      summary: List templates available to your account for an engine
      operationId: listMotionTemplates
      parameters:
        - name: engine
          in: query
          schema:
            type: string
            enum:
              - gva
              - motion
          description: Omit to use GVA.
      responses:
        '200':
          description: Published account-accessible templates
          content:
            application/json:
              schema:
                type: object
                properties:
                  engine:
                    type: string
                  templates:
                    type: array
                    items:
                      type: object
                      properties:
                        template:
                          type: string
                        engine:
                          type: string
                        name:
                          type: string
                        description:
                          type:
                            - string
                            - 'null'
                        duration_seconds:
                          type: number
                        preview_url:
                          type:
                            - string
                            - 'null'
                        thumbnail_url:
                          type:
                            - string
                            - 'null'
                        width:
                          type: number
                        height:
                          type: number
        '403':
          description: >-
            The account lacks access to the selected or persisted engine. No
            generation starts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: engine_access_required
                message: >-
                  Your account does not have access to this engine. Use
                  list_engines or GET /engines to see available engines.
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: object
  securitySchemes:
    MotionApiKey:
      type: http
      scheme: bearer
      description: >-
        Motion API key (motion_ prefix), authenticated as its owner. Account and
        engine permissions still apply.

````

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