> ## 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 google_docs sandbox with data

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



## OpenAPI

````yaml post /sandbox/google_docs/{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/google_docs/{sandbox_id}/initialize:
    post:
      tags:
        - sandbox
      summary: Initialize google_docs sandbox with data
      description: >-
        Initialize the sandbox with google_docs-specific data following the
        defined schema.
      operationId: initialize_sandbox_sandbox_google_docs__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/GoogleDocsData'
                - type: 'null'
              title: Request Body
            examples:
              default:
                summary: Example initialization data
                value:
                  documents:
                    - title: Team Meeting Agenda
                      content: >-
                        # Team Meeting Agenda


                        ## Date: January 15, 2025


                        ### Topics:

                        1. Q1 Goals Review

                        2. Project Updates

                        3. Resource Allocation

                        4. Action Items


                        ### Attendees:

                        - John Doe (Project Manager)

                        - Jane Smith (Tech Lead)

                        - Bob Johnson (Designer)

                        - Alice Williams (QA Lead)


                        ### Notes:

                        Discuss upcoming product launch and timeline
                        adjustments.
                    - title: Product Roadmap 2025
                      content: |-
                        # Product Roadmap 2025

                        ## Q1 (January - March)
                        - Feature A development and testing
                        - Beta program launch
                        - User feedback collection

                        ## Q2 (April - June)
                        - Feature B public launch
                        - Mobile app development begins
                        - Integration with third-party services

                        ## Q3 (July - September)
                        - Performance optimization sprint
                        - Mobile app beta release
                        - Advanced analytics implementation

                        ## Q4 (October - December)
                        - Year-end feature freeze
                        - Comprehensive security audit
                        - Planning for 2026 initiatives
                    - title: Project Proposal - Customer Portal
                      content: >-
                        # Project Proposal: Customer Portal


                        ## Executive Summary

                        This proposal outlines the development of a new customer
                        self-service portal designed to improve user experience
                        and reduce support ticket volume.


                        ## Business Objectives

                        1. Enhance customer self-service capabilities

                        2. Reduce support workload by 30%

                        3. Improve customer satisfaction scores by 25%

                        4. Enable 24/7 account management access


                        ## Technical Requirements

                        - Responsive web design

                        - Mobile-first approach

                        - Integration with existing CRM

                        - Real-time data synchronization


                        ## Project Timeline

                        - Planning Phase: 2 weeks

                        - Design Phase: 3 weeks

                        - Development Phase: 8 weeks

                        - Testing Phase: 2 weeks

                        - Deployment: Week 16


                        ## Budget Estimate

                        Total Project Cost: $150,000

                        - Development: $100,000

                        - Design: $25,000

                        - Testing & QA: $15,000

                        - Deployment & Training: $10,000
                    - title: Employee Handbook 2025
                      content: >-
                        # Employee Handbook


                        ## Welcome

                        Welcome to our company! This handbook provides essential
                        information about company policies, benefits, and
                        expectations.


                        ## Core Values

                        1. Innovation

                        2. Integrity

                        3. Collaboration

                        4. Customer Focus


                        ## Working Hours

                        Standard working hours are 9:00 AM - 5:00 PM, Monday
                        through Friday. Flexible arrangements available.


                        ## Benefits

                        - Health insurance

                        - 401(k) matching

                        - Paid time off

                        - Professional development budget


                        ## Code of Conduct

                        All employees are expected to maintain professional
                        behavior and respect for colleagues.
                    - title: Marketing Campaign Strategy
                      content: >-
                        # Q2 Marketing Campaign Strategy


                        ## Campaign Overview

                        Launch integrated marketing campaign for new product
                        line targeting small business owners.


                        ## Target Audience

                        - Small business owners (1-50 employees)

                        - Age range: 30-55

                        - Tech-savvy professionals


                        ## Channels

                        1. Social Media (LinkedIn, Twitter)

                        2. Email Marketing

                        3. Content Marketing (Blog, Webinars)

                        4. Paid Search (Google Ads)


                        ## Budget Allocation

                        - Social Media: $30,000

                        - Email: $10,000

                        - Content: $20,000

                        - Paid Search: $40,000


                        ## Success Metrics

                        - Lead generation: 500+ qualified leads

                        - Conversion rate: 15%

                        - ROI: 3x investment
                    - title: Technical Architecture Document
                      content: >-
                        # System Architecture Documentation


                        ## Overview

                        This document describes the technical architecture of
                        our core platform.


                        ## System Components


                        ### Frontend Layer

                        - React-based SPA

                        - Material-UI component library

                        - Redux state management


                        ### Backend Layer

                        - Node.js microservices

                        - RESTful API architecture

                        - PostgreSQL database

                        - Redis caching layer


                        ### Infrastructure

                        - AWS cloud hosting

                        - Docker containerization

                        - Kubernetes orchestration

                        - CI/CD with GitHub Actions


                        ## Security Considerations

                        - OAuth 2.0 authentication

                        - End-to-end encryption

                        - Regular security audits

                        - GDPR compliance


                        ## Scalability

                        System designed to handle 100,000 concurrent users with
                        auto-scaling capabilities.
      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:
    GoogleDocsData:
      properties:
        documents:
          anyOf:
            - items:
                $ref: '#/components/schemas/GoogleDocsDocument'
              type: array
            - type: 'null'
          title: Documents
          description: List of Google Docs documents
      type: object
      title: GoogleDocsData
      description: Complete Google Docs sandbox data structure
    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
    GoogleDocsDocument:
      properties:
        title:
          type: string
          minLength: 1
          title: Title
          description: Document title (required)
        content:
          anyOf:
            - type: string
            - type: 'null'
          title: Content
          description: Plain text content of the document
      type: object
      required:
        - title
      title: GoogleDocsDocument
      description: Google Docs document object
    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
  securitySchemes:
    HTTPBearer:
      type: http
      description: Your Klavis AI API key.
      scheme: bearer
      x-fern-bearer:
        name: api_key

````