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

# List One-Click Templates

> Ready-made services and databases. Pass an entry’s `id` as `git_repository` with `git_source` of `template` (for a service) or `database` (for a standalone database).



## OpenAPI

````yaml GET /workers/templates
openapi: 3.0.3
info:
  title: CloudBlast API
  description: >-
    The CloudBlast V2 API provides a modern RESTful interface for managing your
    cloud infrastructure programmatically. All responses follow a consistent `{
    "data": ... }` or `{ "error": ... }` format.
  version: 2.0.0
servers:
  - url: https://console.cloudblast.io/api/v2
    description: Production
security:
  - bearerAuth: []
paths:
  /workers/templates:
    get:
      tags:
        - Workers
      summary: List one-click templates
      description: >-
        Ready-made services and databases. Pass an entry’s `id` as
        `git_repository` with `git_source` of `template` (for a service) or
        `database` (for a standalone database).
      operationId: listWorkerTemplates
      responses:
        '200':
          description: Template catalog
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/WorkerTemplate'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '502':
          description: Something went wrong. Please try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: TEMPLATE_CATALOG_UNAVAILABLE
                  message: Something went wrong. Please try again.
components:
  schemas:
    WorkerTemplate:
      type: object
      properties:
        id:
          type: string
          description: >-
            Pass as `git_repository` when `git_source` is `template` or
            `database`.
          example: postgresql
        name:
          type: string
          example: PostgreSQL
        slogan:
          type: string
          nullable: true
          example: Open source object-relational database.
        category:
          type: string
          nullable: true
          example: database
        resource_type:
          type: string
          description: >-
            Which `git_source` this entry is for: `service` goes with
            `template`, `database` with `database`.
          enum:
            - service
            - database
          example: database
        tags:
          type: array
          items:
            type: string
          example:
            - database
            - sql
        logo:
          type: string
          nullable: true
          description: Absolute URL, or `null` when no public logo is held.
        documentation:
          type: string
          nullable: true
        port:
          type: string
          nullable: true
          description: Port the template listens on, to pass as `ports_exposes`.
          example: '5432'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable error code
            message:
              type: string
              description: Human-readable error message
          required:
            - code
            - message
  responses:
    Unauthenticated:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: UNAUTHENTICATED
              message: >-
                Missing or invalid Authorization header. Use: Authorization:
                Bearer <token>
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token from your CloudBlast account settings. Pass as `Authorization:
        Bearer <token>`.

````