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

# Initialize monday sandbox with data

> Initialize the sandbox with monday-specific data following the defined schema.



## OpenAPI

````yaml post /sandbox/monday/{sandbox_id}/initialize
openapi: 3.1.0
info:
  title: Klavis AI (https://www.klavis.ai)
  description: Klavis AI - Open Source MCP Integrations for AI Applications
  version: 0.1.0
servers:
  - url: https://api.klavis.ai
    description: US Production server
  - url: https://api.eu.klavis.ai
    description: EU Production server
security: []
paths:
  /sandbox/monday/{sandbox_id}/initialize:
    post:
      tags:
        - sandbox
      summary: Initialize monday sandbox with data
      description: >-
        Initialize the sandbox with monday-specific data following the defined
        schema.
      operationId: initialize_sandbox_sandbox_monday__sandbox_id__initialize_post
      parameters:
        - name: sandbox_id
          in: path
          required: true
          schema:
            type: string
            description: The unique sandbox identifier
            title: Sandbox Id
          description: The unique sandbox identifier
        - name: init_default_data
          in: query
          required: false
          schema:
            type: boolean
            description: If true, use default test data for initialization
            default: false
            title: Init Default Data
          description: If true, use default test data for initialization
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/MondayData-Input'
                - type: 'null'
              title: Request Body
            examples:
              default:
                summary: Example initialization data
                value:
                  workspaces:
                    - name: Product Development
                      kind: open
                      description: >-
                        Main workspace for product development and engineering
                        teams
                    - name: Marketing & Sales
                      kind: open
                      description: Workspace for marketing campaigns and sales tracking
                  boards:
                    - name: Sprint Planning Q1
                      description: Agile sprint planning and task tracking for Q1 2024
                      board_kind: public
                      groups:
                        - title: Backlog
                          color: '#808080'
                          items:
                            - name: Research new authentication methods
                              column_values:
                                status: Not Started
                                priority: Low
                              updates:
                                - body: >-
                                    Need to evaluate OAuth 2.0, SAML, and
                                    WebAuthn
                        - title: Sprint 1 - Foundation
                          color: '#0086c0'
                          items:
                            - name: Set up project repository
                              column_values:
                                status: Done
                                priority: High
                              updates:
                                - body: >-
                                    Repository created on GitHub with proper
                                    branch protection rules
                              subitems:
                                - name: Initialize Git repository
                            - name: Implement user authentication
                              column_values:
                                status: Working on it
                                priority: Critical
                              updates:
                                - body: Started with JWT token implementation
                              subitems:
                                - name: Implement JWT authentication
                        - title: Completed
                          color: '#00d647'
                          items:
                            - name: Initial project kickoff
                              column_values:
                                status: Done
                                priority: High
                              updates:
                                - body: >-
                                    Successful kickoff meeting with all
                                    stakeholders
                    - name: Bug Tracker
                      description: Track and manage software bugs and issues
                      board_kind: public
                      groups:
                        - title: New Bugs
                          color: '#e44258'
                          items:
                            - name: Login fails on Safari browser
                              column_values:
                                status: New
                                priority: Critical
                                severity: High
                              updates:
                                - body: >-
                                    Reported by 3 users, reproducible on Safari
                                    17+
                        - title: In Progress
                          color: '#fdab3d'
                          items:
                            - name: API timeout on large data requests
                              column_values:
                                status: Investigating
                                priority: High
                                severity: Medium
                              updates:
                                - body: Identified slow database query as root cause
                              subitems:
                                - name: Add database indexes
                        - title: Closed
                          color: '#c4c4c4'
                          items:
                            - name: Dark mode toggle not working
                              column_values:
                                status: Closed
                                priority: Medium
                                severity: Low
                              updates:
                                - body: Fixed in version 1.2.0
                    - name: Marketing Campaigns 2024
                      description: Marketing campaign planning and execution
                      board_kind: public
                      groups:
                        - title: Q1 Campaigns
                          color: '#9cd326'
                          items:
                            - name: Spring Product Launch
                              column_values:
                                status: In Progress
                                budget: $50000
                              updates:
                                - body: Landing page design completed
                              subitems:
                                - name: Create landing page
                        - title: Q2 Planning
                          color: '#037f4c'
                          items:
                            - name: Summer Webinar Series
                              column_values:
                                status: Planning
                                budget: $25000
                              updates:
                                - body: Brainstorming topics with product team
                    - name: Customer Success
                      description: Customer onboarding and support initiatives
                      board_kind: public
                      groups:
                        - title: Enterprise Clients
                          color: '#784bd1'
                          items:
                            - name: Acme Corp - Onboarding
                              column_values:
                                status: In Progress
                                account_value: $250000
                              updates:
                                - body: >-
                                    Kickoff call completed, 50 user licenses
                                    purchased
                              subitems:
                                - name: Initial training session
                        - title: SMB Clients
                          color: '#579bfc'
                          items:
                            - name: Digital Agency Co - Support
                              column_values:
                                status: Active
                                account_value: $5000
                              updates:
                                - body: Monthly check-in call completed
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitializeSandboxResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    MondayData-Input:
      properties:
        workspaces:
          anyOf:
            - items:
                $ref: '#/components/schemas/MondayWorkspace-Input'
              type: array
            - type: 'null'
          title: Workspaces
          description: List of workspaces
        boards:
          items:
            $ref: '#/components/schemas/MondayBoard-Input'
          type: array
          title: Boards
          description: List of boards with their groups and items
      type: object
      title: MondayData
      description: |-
        Complete Monday.com sandbox data structure.

        Relational structure for initialization:
        - Workspaces (optional, can be created separately)
        - Boards contain Groups
        - Groups contain Items
        - Items contain Updates and Subitems

        All objects support DELETE operations.
    InitializeSandboxResponse:
      properties:
        sandbox_id:
          type: string
          title: Sandbox Id
          description: Sandbox identifier
        status:
          $ref: '#/components/schemas/SandboxStatus'
          description: Current status
        message:
          type: string
          title: Message
          description: Initialization result message
      type: object
      required:
        - sandbox_id
        - status
        - message
      title: InitializeSandboxResponse
      description: Response model for sandbox initialization
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MondayWorkspace-Input:
      properties:
        name:
          type: string
          title: Name
          description: Workspace name
        kind:
          type: string
          title: Kind
          description: Workspace kind (open, closed)
          default: open
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Workspace description
      type: object
      required:
        - name
      title: MondayWorkspace
      description: Monday.com Workspace object - DELETE SUPPORTED
    MondayBoard-Input:
      properties:
        name:
          type: string
          title: Name
          description: Board name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Board description
        board_kind:
          type: string
          title: Board Kind
          description: Board kind (public, private, share)
          default: public
        workspace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Id
          description: Workspace ID this board belongs to (for initialization)
        groups:
          anyOf:
            - items:
                $ref: '#/components/schemas/MondayGroup-Input'
              type: array
            - type: 'null'
          title: Groups
          description: Groups in this board
      type: object
      required:
        - name
      title: MondayBoard
      description: Monday.com Board object - DELETE SUPPORTED
    SandboxStatus:
      type: string
      enum:
        - idle
        - occupied
        - error
      title: SandboxStatus
      description: Status of a sandbox instance - matches database enum
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    MondayGroup-Input:
      properties:
        title:
          type: string
          title: Title
          description: Group title
        color:
          anyOf:
            - type: string
            - type: 'null'
          title: Color
          description: Group color (e.g., '#FF0000', 'red')
        items:
          anyOf:
            - items:
                $ref: '#/components/schemas/MondayItem-Input'
              type: array
            - type: 'null'
          title: Items
          description: Items in this group
      type: object
      required:
        - title
      title: MondayGroup
      description: Monday.com Group (Section) object - DELETE SUPPORTED
    MondayItem-Input:
      properties:
        name:
          type: string
          title: Name
          description: Item name
        column_values:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Column Values
          description: Column values as JSON object
        updates:
          anyOf:
            - items:
                $ref: '#/components/schemas/MondayUpdate-Input'
              type: array
            - type: 'null'
          title: Updates
          description: Updates/comments on this item
        subitems:
          anyOf:
            - items:
                $ref: '#/components/schemas/MondaySubitem-Input'
              type: array
            - type: 'null'
          title: Subitems
          description: Subitems (nested items)
      type: object
      required:
        - name
      title: MondayItem
      description: Monday.com Item (Task/Row) object - DELETE SUPPORTED
    MondayUpdate-Input:
      properties:
        body:
          type: string
          title: Body
          description: Update text content
      type: object
      required:
        - body
      title: MondayUpdate
      description: Monday.com Update (Comment) object - DELETE SUPPORTED
    MondaySubitem-Input:
      properties:
        name:
          type: string
          title: Name
          description: Subitem name
        column_values:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Column Values
          description: Column values as JSON object
      type: object
      required:
        - name
      title: MondaySubitem
      description: Monday.com Subitem object (nested item) - DELETE SUPPORTED
  securitySchemes:
    HTTPBearer:
      type: http
      description: Your Klavis AI API key.
      scheme: bearer
      x-fern-bearer:
        name: api_key

````