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

# List custom templates

> Retrieve all custom templates



## OpenAPI

````yaml https://console.gputrader.io/assets/gputrader-api.json get /templates/custom
openapi: 3.1.1
info:
  title: GPU Trader API
  version: 0.4.16
  description: This is the Swagger/OpenAPI-compatible GPUTrader API documentation
servers:
  - url: https://api.gputrader.io/v1
security: []
tags: []
paths:
  /templates/custom:
    get:
      tags:
        - Templates
      summary: List custom templates
      description: Retrieve all custom templates
      responses:
        '200':
          description: Successfully retrieved templates
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                      description: Name of the template
                    description:
                      type: string
                      description: Description of the template
                    content:
                      type: string
                      description: Template content
                    createdAt:
                      type: string
                      format: date-time
                      description: Creation timestamp of the template
                    userId:
                      type: string
                      description: ID of the user who created the template
                    customTemplateId:
                      type: string
                      description: Unique identifier for the custom template
                    environmentVariables:
                      type: array
                      description: Array of key-value pairs for environment variables
                    isBasicAuthEnabled:
                      type: boolean
                      description: Indicates if basic authentication is enabled
                    insecure:
                      type: boolean
                      description: Indicates if the template has insecure settings
                    updatedAt:
                      type: string
                      format: date-time
                      description: Last update timestamp of the template
                    logo:
                      type: string
                      description: URL or identifier for the template logo
                    link:
                      type: string
                      description: Related link for the template
        '500':
          description: Internal server error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````