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

# List saved agents

> Your saved outbound agents with their placeholders and last-90-day results, plus starter templates you haven't saved yet.

Key permission: **Read call history**.



## OpenAPI

````yaml /api-reference/openapi.json get /agents
openapi: 3.1.0
info:
  title: Lawtte API
  version: 1.0.0
  description: >-
    Read your receptionist's calls, place AI calls, manage saved outbound agents
    and the Do Not Call list. The same rules as the Lawtte connector apply to
    every call.
servers:
  - url: https://www.lawtte.ai/api/v1
security:
  - connectorKey: []
paths:
  /agents:
    get:
      tags:
        - Agents
      summary: List saved agents
      description: >-
        Your saved outbound agents with their placeholders and last-90-day
        results, plus starter templates you haven't saved yet.


        Key permission: **Read call history**.
      parameters:
        - name: skill
          in: query
          schema:
            type: string
          description: Only agents for this skill, e.g. `demand-letter`.
        - name: query
          in: query
          schema:
            type: string
            maxLength: 80
          description: Only agents whose name or objective contains this text.
      responses:
        '200':
          description: Saved agents and starters.
          content:
            application/json:
              schema:
                type: object
                properties:
                  agents:
                    type: array
                    items:
                      $ref: '#/components/schemas/Agent'
                  starter_templates:
                    type: array
                    items:
                      type: object
        '401':
          description: Missing, wrong, revoked or expired key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key doesn't have the permission this endpoint needs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute for this key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: A problem on Lawtte's side. Nothing was changed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Agent:
      type: object
      properties:
        agent_id:
          type: string
          format: uuid
        name:
          type: string
        objective:
          type: string
        fields:
          type: array
          items:
            type: string
        recipient_type:
          type: string
        collect:
          type: array
          items:
            type: string
        voicemail:
          type: string
        related_skill:
          type:
            - string
            - 'null'
        last_90_days:
          type: object
          description: Calls, people reached and objectives met. List only.
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - unauthorized
                - insufficient_scope
                - invalid_request
                - not_found
                - rejected
                - rate_limited
                - unavailable
                - internal_error
            message:
              type: string
  securitySchemes:
    connectorKey:
      type: http
      scheme: bearer
      description: >-
        A connector key from **Settings → AI connectors → Connector keys**:
        `Authorization: Bearer lawtte_sk_…`.

````

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