> ## 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 cases from your case feed

> The open cases Lawtte knows about from POST /cases, with stage, when they entered it and staff. Optional `?stage=` filter.

Key permission: **Read history**.



## OpenAPI

````yaml /api-reference/openapi.json get /cases
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:
  /cases:
    get:
      tags:
        - Cases
      summary: List cases from your case feed
      description: >-
        The open cases Lawtte knows about from POST /cases, with stage, when
        they entered it and staff. Optional `?stage=` filter.


        Key permission: **Read history**.
      parameters:
        - name: stage
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: The cases.
          content:
            application/json:
              schema:
                type: object
                properties:
                  cases:
                    type: array
                    items:
                      $ref: '#/components/schemas/FeedCase'
        '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:
    FeedCase:
      type: object
      additionalProperties: false
      required:
        - id
      properties:
        id:
          type: string
          description: Your case/matter id in your case system.
        name:
          type: string
          maxLength: 200
          description: Case name or number, shown in emails.
        client_name:
          type: string
          maxLength: 200
        stage:
          type: string
          maxLength: 120
          description: >-
            The case's CURRENT stage/phase, exactly as your system names it.
            Required unless status is closed.
        stage_entered_at:
          type: string
          format: date-time
          description: >-
            When it entered this stage. Leave it out and Lawtte uses the time it
            first sees the new stage.
        link:
          type: string
          format: uri
          description: Opens the case in your system (used in emails).
        status:
          type: string
          enum:
            - open
            - closed
          description: closed removes the case and stops its reminders.
        staff:
          type: object
          additionalProperties: false
          description: Who works the case. Stage reminders email these people.
          properties:
            attorney:
              type: object
              additionalProperties: false
              properties:
                name:
                  type: string
                  maxLength: 120
                email:
                  type: string
                  format: email
            case_manager:
              type: object
              additionalProperties: false
              properties:
                name:
                  type: string
                  maxLength: 120
                email:
                  type: string
                  format: email
            paralegal:
              type: object
              additionalProperties: false
              properties:
                name:
                  type: string
                  maxLength: 120
                email:
                  type: string
                  format: email
            lien_negotiator:
              type: object
              additionalProperties: false
              properties:
                name:
                  type: string
                  maxLength: 120
                email:
                  type: string
                  format: email
            assistant:
              type: object
              additionalProperties: false
              properties:
                name:
                  type: string
                  maxLength: 120
                email:
                  type: string
                  format: email
    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.