> ## 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.

# Get monitor summary

> Returns the fit rate, fit count, traces seen, and a chart series for the window. Counts are exact over the latest judgment of each trace. recalibrating is true during a cron or manual recalibrate, and suggestions lists pending phrasing changes. feedback_consumed_through is the latest succeeded cron or manual run's start, or null when none has succeeded. The window includes start and excludes end.



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json get /projects/{project_id}/monitors/{monitor_id}/summary
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:
  /projects/{project_id}/monitors/{monitor_id}/summary:
    get:
      tags:
        - Monitors
      summary: Get monitor summary
      description: >-
        Returns the fit rate, fit count, traces seen, and a chart series for the
        window. Counts are exact over the latest judgment of each trace.
        recalibrating is true during a cron or manual recalibrate, and
        suggestions lists pending phrasing changes. feedback_consumed_through is
        the latest succeeded cron or manual run's start, or null when none has
        succeeded. The window includes start and excludes end.
      operationId: get_monitor_summary
      parameters:
        - name: project_id
          in: path
          required: true
          description: Project ID.
          schema:
            type: string
        - name: monitor_id
          in: path
          required: true
          description: Monitor ID.
          schema:
            type: string
        - name: start
          in: query
          required: true
          description: Window start, inclusive.
          schema:
            type: string
        - name: end
          in: query
          required: true
          description: Window end, exclusive.
          schema:
            type: string
        - name: granularity
          in: query
          required: false
          description: Bucket size for the chart series.
          schema:
            type: string
            enum:
              - day
              - week
              - month
      responses:
        '200':
          description: Monitor summary
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  project_id:
                    type: string
                    format: uuid
                  kind:
                    type: string
                    enum:
                      - signal
                      - tool
                  name:
                    type: string
                  exploration_status:
                    type: string
                    enum:
                      - learning
                      - backfilling
                      - ready
                      - failed
                  created_at:
                    type: string
                  updated_at:
                    type: string
                  trace_phrasing:
                    type:
                      - string
                      - 'null'
                  issue_phrasing:
                    type:
                      - string
                      - 'null'
                  rate:
                    type:
                      - number
                      - 'null'
                  fit_count:
                    type: integer
                    minimum: 0
                  traces_seen:
                    type: integer
                    minimum: 0
                  series:
                    type: array
                    items:
                      type: object
                      properties:
                        bucket:
                          type: string
                        traces_seen:
                          type: integer
                          minimum: 0
                        fit_count:
                          type: integer
                          minimum: 0
                        rate:
                          type:
                            - number
                            - 'null'
                      required:
                        - bucket
                        - traces_seen
                        - fit_count
                        - rate
                      additionalProperties: false
                  recalibrating:
                    type: boolean
                  suggestions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        target:
                          type: string
                          enum:
                            - trace_phrasing
                            - issue_phrasing
                        proposed_text:
                          type: string
                        created_at:
                          type: string
                      required:
                        - id
                        - target
                        - proposed_text
                        - created_at
                      additionalProperties: false
                  feedback_consumed_through:
                    type:
                      - string
                      - 'null'
                required:
                  - id
                  - project_id
                  - kind
                  - name
                  - exploration_status
                  - created_at
                  - updated_at
                  - trace_phrasing
                  - issue_phrasing
                  - rate
                  - fit_count
                  - traces_seen
                  - series
                  - recalibrating
                  - suggestions
                  - feedback_consumed_through
                additionalProperties: false
        '400':
          description: Bad request
          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
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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