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

# List templates



## OpenAPI

````yaml /openapi.json get /api/v1/templates
openapi: 3.0.0
info:
  title: Atlas API
  version: 0.0.0
servers:
  - url: https://api.atlaswork.ai
security: []
paths:
  /api/v1/templates:
    get:
      tags:
        - Templates
      summary: List templates
      parameters:
        - schema:
            type: string
          required: false
          name: cursor
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 100
          required: false
          name: limit
          in: query
      responses:
        '200':
          description: Cursor-paginated templates
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        organizationId:
                          type: string
                        teamId:
                          type: string
                        name:
                          type: string
                        originalFilename:
                          type: string
                        sourceFormat:
                          type: string
                        contentHash:
                          type: string
                        sizeBytes:
                          type: number
                        archivedAt:
                          type: string
                          nullable: true
                          format: date-time
                        useCount:
                          type: integer
                          minimum: 0
                        lastUsedAt:
                          type: string
                          nullable: true
                          format: date-time
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - id
                        - organizationId
                        - teamId
                        - name
                        - originalFilename
                        - sourceFormat
                        - contentHash
                        - sizeBytes
                        - archivedAt
                        - useCount
                        - lastUsedAt
                        - createdAt
                        - updatedAt
                  nextCursor:
                    type: string
                required:
                  - items
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: object
                    additionalProperties:
                      nullable: true
                required:
                  - code
                  - message
      security:
        - apiKey: []
        - oauthJwt: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        Organization API key (format `atlas_sk_...`), passed as a bearer token
        or the x-api-key header. Created and revoked in the dashboard (Better
        Auth api-key plugin); shown in full only once and stored hashed.
    oauthJwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Better Auth OAuth resource access token. The token audience must match
        the Atlas MCP resource and include the scope required by the route.

````