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

# List available calculation templates

> Returns all calculation templates available for API use, including their codes, names, categories, and whether a calculate call on each can return results.



## OpenAPI

````yaml api/openapi.json GET /v1/templates
openapi: 3.1.0
info:
  title: Connections Hub API
  version: 1.0.0
  description: >-
    Run HSS Connections Hub calculators programmatically: create projects,
    create and solve sheets from any calculator template, run batches, and
    export reports to PDF.


    All endpoints require API key authentication.
servers:
  - url: https://api.calcs.com
security:
  - bearerAuth: []
tags:
  - name: Projects
    description: >-
      Create and manage calculation projects. Each user can have multiple
      projects to organize their calculations.
  - name: Sheets
    description: >-
      Manage individual calculation sheets — read one back, update its inputs,
      solve or re-solve it, and delete single sheets or clean up many at once.
  - name: Templates
    description: >-
      Run calculations using any enabled template. Supports all calculator types
      without requiring endpoint-specific code.
paths:
  /v1/templates:
    get:
      tags:
        - Templates
      summary: List available calculation templates
      description: >-
        Returns all calculation templates available for API use, including their
        codes, names, categories, and whether a calculate call on each can
        return results.
      operationId: template-list
      parameters:
        - name: Authorization
          in: header
          required: true
          example: Bearer YOUR_KEY_HERE
          schema:
            type: string
          description: >-
            The `Authorization` header is used to authenticate with the API
            using your API key. Value is of the format `Bearer YOUR_KEY_HERE`.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 100
            minimum: 1
            maximum: 500
          description: >-
            Return up to this many templates. A page may contain fewer — always
            read the length of `templates` rather than assuming `limit` entries.
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            default: 0
          description: >-
            Number of templates to skip for pagination. An offset past the end
            returns an empty page with total unchanged.
      responses:
        '200':
          description: List of available templates
          content:
            application/json:
              schema:
                type: object
                properties:
                  templates:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          description: Unique template code used in API calls
                        name:
                          type: string
                          description: Human-readable template name
                        category:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Template category (e.g., Connections); null when the
                            template is uncategorised
                        description:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Brief description of the template; null when the
                            template provides none
                        presetCount:
                          type: integer
                          description: Number of available presets
                        hasApiOutput:
                          type: boolean
                          description: >-
                            Whether a calculate call on this template can return
                            results.
                      required:
                        - code
                        - name
                        - category
                        - description
                        - presetCount
                        - hasApiOutput
                  total:
                    type: integer
                    description: >-
                      Total number of templates available to this API key,
                      independent of `limit` and `offset`. More pages remain
                      while `offset` plus the number of entries in `templates`
                      is less than `total`.
                  limit:
                    type: integer
                    description: The `limit` applied to this page.
                  offset:
                    type: integer
                    description: The `offset` applied to this page.
                required:
                  - templates
                  - total
                  - limit
                  - offset
              examples:
                empty_page:
                  summary: >-
                    An offset past the end returns no templates; total is
                    unchanged
                  value:
                    templates: []
                    total: 224
                    limit: 100
                    offset: 99999
      security:
        - api_key: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Send your API key as a bearer token: `Authorization: Bearer
        YOUR_API_KEY`. Every endpoint requires one.
    api_key:
      type: http
      scheme: bearer

````

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