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

# List workflow templates

> Workflow templates for the template picker, in gallery order. Paged with a cursor: keep passing `nextCursor` until it is null.




## OpenAPI

````yaml /openapi/automations.yaml get /templates
openapi: 3.1.0
info:
  title: Connie Automations API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for automations. They authenticate with
    your signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Workflows
    description: List, create, read, update and delete workflows.
  - name: Runs
    description: >-
      Start, retry and stop workflow runs, switch a workflow Live, and read run
      counts.
  - name: Triggers
    description: A workflow's triggers and its schedule settings.
  - name: Templates
    description: The template gallery and copying a template into a workspace.
  - name: Agents
    description: Agents on the Agents page.
paths:
  /templates:
    get:
      tags:
        - Templates
      summary: List workflow templates
      description: >
        Workflow templates for the template picker, in gallery order. Paged with
        a cursor: keep passing `nextCursor` until it is null.
      operationId: listWorkflowTemplates
      parameters:
        - name: workspaceId
          in: query
          required: true
          description: A workspace you belong to.
          schema:
            type: string
            format: uuid
        - name: q
          in: query
          description: Match template names containing this text.
          schema:
            type: string
            maxLength: 200
        - name: category
          in: query
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            default: 24
            maximum: 50
        - name: cursor
          in: query
          description: The `nextCursor` from the previous page.
          schema:
            type: string
        - name: includeSnapshots
          in: query
          description: Also include the curated gallery templates.
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: A page of templates.
          content:
            application/json:
              schema:
                type: object
                properties:
                  templates:
                    type: array
                    items:
                      $ref: '#/components/schemas/WorkflowTemplateSummary'
                  nextCursor:
                    type:
                      - string
                      - 'null'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    WorkflowTemplateSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Pass this to Get a workflow template and Use a workflow template.
        kind:
          type: string
          example: workspace
        name:
          type: string
        description:
          type:
            - string
            - 'null'
        icon:
          type:
            - string
            - 'null'
        category:
          type:
            - string
            - 'null'
        tags:
          type: array
          items:
            type: string
        usage_count:
          type:
            - integer
            - 'null'
        node_types:
          type: array
          items:
            type: string
          description: Step types in the template.
        connectors:
          type: array
          description: The apps the template uses, for the card's icons.
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              logoDomain:
                type: string
        catalogPosition:
          type: integer
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-readable code, when there is one.
        details:
          description: Extra detail, for example the invalid fields.
      required:
        - error
  responses:
    Unauthorized:
      description: >-
        Not signed in (`UNAUTHORIZED`), or the session cookie has expired
        (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        You aren't a member of the workspace, or don't have the access this
        needs.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

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