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