curl --request POST \
--url https://api.klavis.ai/sandbox/google_docs/{sandbox_id}/initialize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"documents": [
{
"title": "Team Meeting Agenda",
"content": "# Team Meeting Agenda\n\n## Date: January 15, 2025\n\n### Topics:\n1. Q1 Goals Review\n2. Project Updates\n3. Resource Allocation\n4. Action Items\n\n### Attendees:\n- John Doe (Project Manager)\n- Jane Smith (Tech Lead)\n- Bob Johnson (Designer)\n- Alice Williams (QA Lead)\n\n### Notes:\nDiscuss upcoming product launch and timeline adjustments."
},
{
"title": "Product Roadmap 2025",
"content": "# Product Roadmap 2025\n\n## Q1 (January - March)\n- Feature A development and testing\n- Beta program launch\n- User feedback collection\n\n## Q2 (April - June)\n- Feature B public launch\n- Mobile app development begins\n- Integration with third-party services\n\n## Q3 (July - September)\n- Performance optimization sprint\n- Mobile app beta release\n- Advanced analytics implementation\n\n## Q4 (October - December)\n- Year-end feature freeze\n- Comprehensive security audit\n- Planning for 2026 initiatives"
},
{
"title": "Project Proposal - Customer Portal",
"content": "# Project Proposal: Customer Portal\n\n## Executive Summary\nThis proposal outlines the development of a new customer self-service portal designed to improve user experience and reduce support ticket volume.\n\n## Business Objectives\n1. Enhance customer self-service capabilities\n2. Reduce support workload by 30%\n3. Improve customer satisfaction scores by 25%\n4. Enable 24/7 account management access\n\n## Technical Requirements\n- Responsive web design\n- Mobile-first approach\n- Integration with existing CRM\n- Real-time data synchronization\n\n## Project Timeline\n- Planning Phase: 2 weeks\n- Design Phase: 3 weeks\n- Development Phase: 8 weeks\n- Testing Phase: 2 weeks\n- Deployment: Week 16\n\n## Budget Estimate\nTotal Project Cost: $150,000\n- Development: $100,000\n- Design: $25,000\n- Testing & QA: $15,000\n- Deployment & Training: $10,000"
},
{
"title": "Employee Handbook 2025",
"content": "# Employee Handbook\n\n## Welcome\nWelcome to our company! This handbook provides essential information about company policies, benefits, and expectations.\n\n## Core Values\n1. Innovation\n2. Integrity\n3. Collaboration\n4. Customer Focus\n\n## Working Hours\nStandard working hours are 9:00 AM - 5:00 PM, Monday through Friday. Flexible arrangements available.\n\n## Benefits\n- Health insurance\n- 401(k) matching\n- Paid time off\n- Professional development budget\n\n## Code of Conduct\nAll employees are expected to maintain professional behavior and respect for colleagues."
},
{
"title": "Marketing Campaign Strategy",
"content": "# Q2 Marketing Campaign Strategy\n\n## Campaign Overview\nLaunch integrated marketing campaign for new product line targeting small business owners.\n\n## Target Audience\n- Small business owners (1-50 employees)\n- Age range: 30-55\n- Tech-savvy professionals\n\n## Channels\n1. Social Media (LinkedIn, Twitter)\n2. Email Marketing\n3. Content Marketing (Blog, Webinars)\n4. Paid Search (Google Ads)\n\n## Budget Allocation\n- Social Media: $30,000\n- Email: $10,000\n- Content: $20,000\n- Paid Search: $40,000\n\n## Success Metrics\n- Lead generation: 500+ qualified leads\n- Conversion rate: 15%\n- ROI: 3x investment"
},
{
"title": "Technical Architecture Document",
"content": "# System Architecture Documentation\n\n## Overview\nThis document describes the technical architecture of our core platform.\n\n## System Components\n\n### Frontend Layer\n- React-based SPA\n- Material-UI component library\n- Redux state management\n\n### Backend Layer\n- Node.js microservices\n- RESTful API architecture\n- PostgreSQL database\n- Redis caching layer\n\n### Infrastructure\n- AWS cloud hosting\n- Docker containerization\n- Kubernetes orchestration\n- CI/CD with GitHub Actions\n\n## Security Considerations\n- OAuth 2.0 authentication\n- End-to-end encryption\n- Regular security audits\n- GDPR compliance\n\n## Scalability\nSystem designed to handle 100,000 concurrent users with auto-scaling capabilities."
}
]
}
'{
"sandbox_id": "<string>",
"status": "idle",
"message": "<string>",
"records_created": {}
}Initialize the sandbox with google_docs-specific data following the defined schema.
curl --request POST \
--url https://api.klavis.ai/sandbox/google_docs/{sandbox_id}/initialize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"documents": [
{
"title": "Team Meeting Agenda",
"content": "# Team Meeting Agenda\n\n## Date: January 15, 2025\n\n### Topics:\n1. Q1 Goals Review\n2. Project Updates\n3. Resource Allocation\n4. Action Items\n\n### Attendees:\n- John Doe (Project Manager)\n- Jane Smith (Tech Lead)\n- Bob Johnson (Designer)\n- Alice Williams (QA Lead)\n\n### Notes:\nDiscuss upcoming product launch and timeline adjustments."
},
{
"title": "Product Roadmap 2025",
"content": "# Product Roadmap 2025\n\n## Q1 (January - March)\n- Feature A development and testing\n- Beta program launch\n- User feedback collection\n\n## Q2 (April - June)\n- Feature B public launch\n- Mobile app development begins\n- Integration with third-party services\n\n## Q3 (July - September)\n- Performance optimization sprint\n- Mobile app beta release\n- Advanced analytics implementation\n\n## Q4 (October - December)\n- Year-end feature freeze\n- Comprehensive security audit\n- Planning for 2026 initiatives"
},
{
"title": "Project Proposal - Customer Portal",
"content": "# Project Proposal: Customer Portal\n\n## Executive Summary\nThis proposal outlines the development of a new customer self-service portal designed to improve user experience and reduce support ticket volume.\n\n## Business Objectives\n1. Enhance customer self-service capabilities\n2. Reduce support workload by 30%\n3. Improve customer satisfaction scores by 25%\n4. Enable 24/7 account management access\n\n## Technical Requirements\n- Responsive web design\n- Mobile-first approach\n- Integration with existing CRM\n- Real-time data synchronization\n\n## Project Timeline\n- Planning Phase: 2 weeks\n- Design Phase: 3 weeks\n- Development Phase: 8 weeks\n- Testing Phase: 2 weeks\n- Deployment: Week 16\n\n## Budget Estimate\nTotal Project Cost: $150,000\n- Development: $100,000\n- Design: $25,000\n- Testing & QA: $15,000\n- Deployment & Training: $10,000"
},
{
"title": "Employee Handbook 2025",
"content": "# Employee Handbook\n\n## Welcome\nWelcome to our company! This handbook provides essential information about company policies, benefits, and expectations.\n\n## Core Values\n1. Innovation\n2. Integrity\n3. Collaboration\n4. Customer Focus\n\n## Working Hours\nStandard working hours are 9:00 AM - 5:00 PM, Monday through Friday. Flexible arrangements available.\n\n## Benefits\n- Health insurance\n- 401(k) matching\n- Paid time off\n- Professional development budget\n\n## Code of Conduct\nAll employees are expected to maintain professional behavior and respect for colleagues."
},
{
"title": "Marketing Campaign Strategy",
"content": "# Q2 Marketing Campaign Strategy\n\n## Campaign Overview\nLaunch integrated marketing campaign for new product line targeting small business owners.\n\n## Target Audience\n- Small business owners (1-50 employees)\n- Age range: 30-55\n- Tech-savvy professionals\n\n## Channels\n1. Social Media (LinkedIn, Twitter)\n2. Email Marketing\n3. Content Marketing (Blog, Webinars)\n4. Paid Search (Google Ads)\n\n## Budget Allocation\n- Social Media: $30,000\n- Email: $10,000\n- Content: $20,000\n- Paid Search: $40,000\n\n## Success Metrics\n- Lead generation: 500+ qualified leads\n- Conversion rate: 15%\n- ROI: 3x investment"
},
{
"title": "Technical Architecture Document",
"content": "# System Architecture Documentation\n\n## Overview\nThis document describes the technical architecture of our core platform.\n\n## System Components\n\n### Frontend Layer\n- React-based SPA\n- Material-UI component library\n- Redux state management\n\n### Backend Layer\n- Node.js microservices\n- RESTful API architecture\n- PostgreSQL database\n- Redis caching layer\n\n### Infrastructure\n- AWS cloud hosting\n- Docker containerization\n- Kubernetes orchestration\n- CI/CD with GitHub Actions\n\n## Security Considerations\n- OAuth 2.0 authentication\n- End-to-end encryption\n- Regular security audits\n- GDPR compliance\n\n## Scalability\nSystem designed to handle 100,000 concurrent users with auto-scaling capabilities."
}
]
}
'{
"sandbox_id": "<string>",
"status": "idle",
"message": "<string>",
"records_created": {}
}Your Klavis AI API key.
The unique sandbox identifier
If true, use default test data for initialization
Complete Google Docs sandbox data structure
List of Google Docs documents
Show child attributes
Successful Response
Response model for sandbox initialization