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

# List monitors on a trace

> List the monitor judgments made on one trace.



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json get /traces/{trace_id}/monitors
openapi: 3.1.0
info:
  title: Lemma Platform API
  description: Lemma Platform HTTP API for AI observability and workspace operations.
  version: 0.1.0
servers:
  - url: https://api.uselemma.ai
    description: Lemma production API
security:
  - bearerAuth: []
paths:
  /traces/{trace_id}/monitors:
    get:
      tags:
        - Traces / Monitors
      summary: List monitors on a trace
      description: List the monitor judgments made on one trace.
      operationId: list_trace_monitors
      parameters:
        - name: trace_id
          in: path
          required: true
          description: Trace ID.
          schema:
            type: string
        - name: project_id
          in: query
          required: true
          description: Project ID.
          schema:
            type: string
      responses:
        '200':
          description: Trace monitors
          content:
            application/json:
              schema:
                type: object
                properties:
                  monitors:
                    type: array
                    items:
                      type: object
                      properties:
                        monitor_id:
                          type: string
                        name:
                          type: string
                        kind:
                          type: string
                          enum:
                            - signal
                            - tool
                        agent_name:
                          type: string
                        counted:
                          type: boolean
                        fit:
                          type: boolean
                        correction:
                          type:
                            - object
                            - 'null'
                          properties:
                            id:
                              type: string
                            verdict:
                              type: string
                              enum:
                                - include
                                - exclude
                            reason:
                              type:
                                - string
                                - 'null'
                            active:
                              type: boolean
                          required:
                            - id
                            - verdict
                            - reason
                            - active
                          additionalProperties: false
                      required:
                        - monitor_id
                        - name
                        - kind
                        - agent_name
                        - counted
                        - fit
                        - correction
                      additionalProperties: false
                required:
                  - monitors
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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