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

# Replace monitor board

> Replaces the project's groups and All-monitors card order in one write. Send the whole board. Omit id, or send an id this board does not already have, and the group is stored under a new id. Membership does not change which agent a monitor watches.



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json put /projects/{project_id}/monitors/board
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/board:
    put:
      tags:
        - Monitors
      summary: Replace monitor board
      description: >-
        Replaces the project's groups and All-monitors card order in one write.
        Send the whole board. Omit id, or send an id this board does not already
        have, and the group is stored under a new id. Membership does not change
        which agent a monitor watches.
      operationId: replace_monitor_board
      parameters:
        - name: project_id
          in: path
          required: true
          description: Project ID.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                groups:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      name:
                        type: string
                        minLength: 1
                        maxLength: 120
                      monitor_ids:
                        type: array
                        items:
                          type: string
                          format: uuid
                        maxItems: 1000
                    required:
                      - name
                      - monitor_ids
                    additionalProperties: false
                  maxItems: 100
                monitor_order:
                  type: array
                  items:
                    type: string
                    format: uuid
                  maxItems: 1000
              required:
                - groups
                - monitor_order
              additionalProperties: false
      responses:
        '200':
          description: Monitor board
          content:
            application/json:
              schema:
                type: object
                properties:
                  groups:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        name:
                          type: string
                        monitor_ids:
                          type: array
                          items:
                            type: string
                            format: uuid
                      required:
                        - id
                        - name
                        - monitor_ids
                      additionalProperties: false
                  monitor_order:
                    type: array
                    items:
                      type: string
                      format: uuid
                required:
                  - groups
                  - monitor_order
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '403':
          description: Forbidden
          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.