curl --request POST \
--url https://api.klavis.ai/sandbox/google_calendar/{sandbox_id}/initialize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"title": "Team Standup",
"description": "Daily team standup meeting to discuss progress and blockers",
"startTime": "2025-12-01T09:00:00-08:00",
"endTime": "2025-12-01T09:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
}
]
},
{
"title": "Client Meeting - Q4 Review",
"description": "Quarterly business review with key client stakeholders",
"location": "Conference Room A",
"startTime": "2025-12-02T14:00:00-08:00",
"endTime": "2025-12-02T15:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
],
"visibility": "private"
},
{
"title": "Project Planning Session",
"description": "Q1 2026 project planning and resource allocation",
"location": "Main Office - Building 2",
"startTime": "2025-12-03T10:00:00-08:00",
"endTime": "2025-12-03T12:00:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
},
{
"email": "[email protected]",
"isOptional": true
}
]
},
{
"title": "One-on-One with Manager",
"description": "Monthly check-in and career development discussion",
"startTime": "2025-12-05T15:00:00-08:00",
"endTime": "2025-12-05T15:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
}
],
"visibility": "private"
},
{
"title": "Team Lunch",
"description": "Team building lunch and informal catch-up",
"location": "Restaurant Downtown",
"startTime": "2025-12-07T12:00:00-08:00",
"endTime": "2025-12-07T13:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
}
]
},
{
"title": "All-Day Company Offsite",
"description": "Annual company offsite for strategic planning",
"location": "Retreat Center",
"startDate": "2025-12-10",
"endDate": "2025-12-11",
"attendees": [
{
"email": "[email protected]"
}
]
},
{
"title": "Product Demo Webinar",
"description": "Public webinar showcasing new product features",
"startTime": "2025-12-12T11:00:00-08:00",
"endTime": "2025-12-12T12:00:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
],
"visibility": "public"
},
{
"title": "Sprint Retrospective",
"description": "Reflect on the sprint and identify improvements",
"startTime": "2025-12-13T16:00:00-08:00",
"endTime": "2025-12-13T17:00:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
]
},
{
"title": "Budget Review - Finance",
"description": "Q4 budget review and variance analysis",
"location": "Finance Conference Room",
"startTime": "2025-12-15T13:00:00-08:00",
"endTime": "2025-12-15T14:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
],
"visibility": "confidential"
},
{
"title": "Holiday Party Planning",
"description": "Planning meeting for the annual holiday celebration",
"startTime": "2025-12-18T14:00:00-08:00",
"endTime": "2025-12-18T15:00:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
]
}
]
}
'{
"sandbox_id": "<string>",
"status": "idle",
"message": "<string>",
"records_created": {}
}Initialize the sandbox with google_calendar-specific data following the defined schema.
curl --request POST \
--url https://api.klavis.ai/sandbox/google_calendar/{sandbox_id}/initialize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"title": "Team Standup",
"description": "Daily team standup meeting to discuss progress and blockers",
"startTime": "2025-12-01T09:00:00-08:00",
"endTime": "2025-12-01T09:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
}
]
},
{
"title": "Client Meeting - Q4 Review",
"description": "Quarterly business review with key client stakeholders",
"location": "Conference Room A",
"startTime": "2025-12-02T14:00:00-08:00",
"endTime": "2025-12-02T15:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
],
"visibility": "private"
},
{
"title": "Project Planning Session",
"description": "Q1 2026 project planning and resource allocation",
"location": "Main Office - Building 2",
"startTime": "2025-12-03T10:00:00-08:00",
"endTime": "2025-12-03T12:00:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
},
{
"email": "[email protected]",
"isOptional": true
}
]
},
{
"title": "One-on-One with Manager",
"description": "Monthly check-in and career development discussion",
"startTime": "2025-12-05T15:00:00-08:00",
"endTime": "2025-12-05T15:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
}
],
"visibility": "private"
},
{
"title": "Team Lunch",
"description": "Team building lunch and informal catch-up",
"location": "Restaurant Downtown",
"startTime": "2025-12-07T12:00:00-08:00",
"endTime": "2025-12-07T13:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
}
]
},
{
"title": "All-Day Company Offsite",
"description": "Annual company offsite for strategic planning",
"location": "Retreat Center",
"startDate": "2025-12-10",
"endDate": "2025-12-11",
"attendees": [
{
"email": "[email protected]"
}
]
},
{
"title": "Product Demo Webinar",
"description": "Public webinar showcasing new product features",
"startTime": "2025-12-12T11:00:00-08:00",
"endTime": "2025-12-12T12:00:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
],
"visibility": "public"
},
{
"title": "Sprint Retrospective",
"description": "Reflect on the sprint and identify improvements",
"startTime": "2025-12-13T16:00:00-08:00",
"endTime": "2025-12-13T17:00:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
]
},
{
"title": "Budget Review - Finance",
"description": "Q4 budget review and variance analysis",
"location": "Finance Conference Room",
"startTime": "2025-12-15T13:00:00-08:00",
"endTime": "2025-12-15T14:30:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
],
"visibility": "confidential"
},
{
"title": "Holiday Party Planning",
"description": "Planning meeting for the annual holiday celebration",
"startTime": "2025-12-18T14:00:00-08:00",
"endTime": "2025-12-18T15:00:00-08:00",
"timezone": "America/Los_Angeles",
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
]
}
]
}
'{
"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 Calendar sandbox data structure
List of Google Calendar events
Show child attributes
Successful Response
Response model for sandbox initialization