cURL
curl --request POST \ --url https://api.klavis.ai/sandbox/confluence/{sandbox_id}/initialize \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "spaces": [ { "key": "<string>", "name": "<string>", "description": "<string>", "pages": [ { "title": "<string>", "body": "<string>", "children": [ "<unknown>" ], "comments": [ { "body": "<string>" } ] } ] } ] } '
{ "sandbox_id": "<string>", "status": "idle", "message": "<string>", "records_created": {} }
Initialize the sandbox with confluence-specific data following the defined schema.
Your Klavis AI API key.
The unique sandbox identifier
Complete Confluence sandbox data structure.
Hierarchy:
List of spaces
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