Initialize google_docs sandbox with data
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."
}
]
}
'import requests
url = "https://api.klavis.ai/sandbox/google_docs/{sandbox_id}/initialize"
payload = { "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."
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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.'
}
]
})
};
fetch('https://api.klavis.ai/sandbox/google_docs/{sandbox_id}/initialize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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.'
}
]
})
};
fetch('https://api.klavis.ai/sandbox/google_docs/{sandbox_id}/initialize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"sandbox_id": "<string>",
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Google Docs
Initialize google_docs sandbox with data
Initialize the sandbox with google_docs-specific data following the defined schema.
POST
/
sandbox
/
google_docs
/
{sandbox_id}
/
initialize
Initialize google_docs sandbox with data
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."
}
]
}
'import requests
url = "https://api.klavis.ai/sandbox/google_docs/{sandbox_id}/initialize"
payload = { "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."
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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.'
}
]
})
};
fetch('https://api.klavis.ai/sandbox/google_docs/{sandbox_id}/initialize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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.'
}
]
})
};
fetch('https://api.klavis.ai/sandbox/google_docs/{sandbox_id}/initialize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"sandbox_id": "<string>",
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Your Klavis AI API key.
Path Parameters
The unique sandbox identifier
Query Parameters
If true, use default test data for initialization
Body
application/json
Complete Google Docs sandbox data structure
List of Google Docs documents
Show child attributes
Show child attributes
⌘I
