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

# List Templates

> List all templates accessible to the authenticated user. Filtered by organization and user membership, sorted by creation date (newest first).



## OpenAPI

````yaml /api-reference/openapi-v1.json get /api/v1/templates/
openapi: 3.0.0
info:
  title: Artos API
  description: API for document generation, template management, and document organization
  version: 1.0.0
  contact:
    name: Artos Support
    email: internal@artosai.com
servers:
  - url: https://api.artosai.com
    description: Production server
  - url: http://localhost:8000
    description: Local development server
security:
  - bearerAuth: []
paths:
  /api/v1/templates/:
    get:
      tags:
        - Templates
      summary: List Templates
      description: >-
        List all templates accessible to the authenticated user. Filtered by
        organization and user membership, sorted by creation date (newest
        first).
      operationId: listTemplates
      responses:
        '200':
          description: Templates listed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAllTemplatesResponse'
components:
  schemas:
    ListAllTemplatesResponse:
      type: object
      properties:
        templates:
          type: array
          items:
            $ref: '#/components/schemas/TemplateInfo'
    TemplateInfo:
      type: object
      properties:
        id:
          type: string
        template_name:
          type: string
        source_document_name:
          type: string
        url:
          type: string
          description: Presigned S3 URL
        detected_document_type:
          type: string
        template_id:
          type: string
        sections:
          type: array
          items:
            type: object
          nullable: true
        status:
          type: string
          nullable: true
        template_file_name:
          type: string
          nullable: true
        created_at:
          type: string
          nullable: true
          format: date-time
        updated_at:
          type: string
          nullable: true
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication. Token provides organization-scoped access.

````