> ## 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.

# Get Template

> Retrieve a single template by ID with full details including sections and users.



## OpenAPI

````yaml /api-reference/openapi-v1.json get /api/v1/templates/{template_id}
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/{template_id}:
    get:
      tags:
        - Templates
      summary: Get Template
      description: >-
        Retrieve a single template by ID with full details including sections
        and users.
      operationId: getTemplate
      parameters:
        - name: template_id
          in: path
          required: true
          description: UUID of template
          schema:
            type: string
      responses:
        '200':
          description: Template retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOneTemplateResponse'
        '400':
          description: Authentication failure
        '404':
          description: Template not found
components:
  schemas:
    GetOneTemplateResponse:
      type: object
      properties:
        url:
          type: string
          description: Presigned S3 URL
        template_name:
          type: string
        source_document_name:
          type: string
        detected_document_type:
          type: string
        template_id:
          type: string
        sections:
          type: array
          items:
            type: object
        users:
          type: array
          items:
            type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication. Token provides organization-scoped access.

````