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

# List saved templates

> Retrieve saved templates with numeric IDs and workflow definitions.

This returns saved template records, including `id`, `template_name`, `template_description`, `template_json`, and creation time. Use a returned ID with [Duplicate a saved template](https://docs.agents.labs.bandwidth.com/api-reference/agents/duplicate-template.md).

Saved templates are a different catalog from the named keys accepted by [Create from a catalog template](https://docs.agents.labs.bandwidth.com/api-reference/agents/create-from-catalog.md). An empty array means no saved templates are available. This operation has no request body or pagination parameters.


## OpenAPI

````yaml GET /api/v1/workflow/templates
openapi: 3.1.0
info:
  title: Bandwidth Agent Builder API
  version: v1
  description: >-
    Manage agents, place calls, and retrieve conversation results in your
    workspace.
servers:
  - url: https://agents.labs.bandwidth.com
    description: Workspace API
security: []
paths:
  /api/v1/workflow/templates:
    get:
      tags:
        - agents
      summary: List saved templates
      description: >-
        **Authorization:** Hosted access requires a Labs OAuth bearer token or
        Labs API key. This shared catalog is not scoped to a workspace.


        Retrieve saved templates with numeric IDs and workflow definitions.
      operationId: get_workflow_templates_api_v1_workflow_templates_get
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/WorkflowTemplateResponse'
                title: Response Get Workflow Templates Api V1 Workflow Templates Get
                type: array
          description: Successful Response
        '401':
          description: Missing, invalid, or expired credential.
        '404':
          description: Not found
      security:
        - LabsAuth: []
        - LabsApiKey: []
components:
  schemas:
    WorkflowTemplateResponse:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        id:
          title: Id
          type: integer
        template_description:
          title: Template Description
          type: string
        template_json:
          additionalProperties: true
          title: Template Json
          type: object
        template_name:
          title: Template Name
          type: string
      required:
        - id
        - template_name
        - template_description
        - template_json
        - created_at
      title: WorkflowTemplateResponse
      type: object
  securitySchemes:
    LabsAuth:
      description: >-
        Bandwidth Labs OAuth access token. Uses the user's selected workspace;
        the workspace header is not required. Do not also send an API key.
        Bearer-only operations may additionally require the Labs `super_user`
        role.
      scheme: bearer
      type: http
    LabsApiKey:
      description: >-
        Bandwidth Labs API key. Also send `X-VOAI-ORGANIZATION-ID` with a
        positive local workspace ID belonging to the key owner. Access follows
        the owner's current workspace role. Do not also send a bearer token. API
        keys cannot access bearer-only or Labs `super_user` operations.
      in: header
      name: X-BW-LABS-AGENTS-API-KEY
      type: apiKey

````

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