cURL
curl --request POST \ --url https://api.klavis.ai/sandbox/supabase/{sandbox_id}/initialize \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "projects": [ { "name": "<string>", "id": "<string>", "tables": [ { "name": "<string>", "columns": {}, "rows": [ {} ] } ] } ] } '
{ "sandbox_id": "<string>", "status": "idle", "message": "<string>", "records_created": {} }
Initialize the sandbox with supabase-specific data following the defined schema.
Your Klavis AI API key.
The unique sandbox identifier
Complete Supabase sandbox data structure
List of Supabase projects
Show child attributes
Project name
Project ID (read-only, set by Supabase)
List of tables in the project
Table name
Table schema mapping column names to types
Table data rows
Successful Response
Response model for sandbox initialization
Sandbox identifier
Current status
idle
occupied
Initialization result message
Count of records created per object type