cURL
curl --request POST \ --url https://api.klavis.ai/sandbox/google_sheets/{sandbox_id}/initialize \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "spreadsheets": [ { "properties": { "title": "<string>" }, "sheets": [ { "properties": { "title": "<string>", "index": 123, "gridProperties": {} }, "data": [ { "startRow": 0, "startColumn": 0, "rowData": [ { "values": [ { "userEnteredValue": {} } ] } ] } ] } ] } ] } '
{ "sandbox_id": "<string>", "status": "idle", "message": "<string>", "records_created": {} }
Initialize the sandbox with google_sheets-specific data following the defined schema.
Your Klavis AI API key.
The unique sandbox identifier
Complete Google Sheets sandbox data structure
List of Google Sheets spreadsheets
Show child attributes
Successful Response
Response model for sandbox initialization
Sandbox identifier
Current status
idle
occupied
Initialization result message
Count of records created per object type