Skip to main content
POST
Initialize motion sandbox with data

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Path Parameters

sandbox_id
string
required

The unique sandbox identifier

Query Parameters

init_default_data
boolean
default:false

If true, use default test data for initialization

Body

application/json

Complete Motion sandbox data structure.

Hierarchical structure for initialization:

  • Workspaces contain Projects
  • Projects contain Tasks
  • Tasks contain Comments

Delete operation support:

  • Tasks: YES
  • Comments: YES
  • Projects: YES
  • Workspaces: NO (organization level, typically not deleted)
workspaces
MotionWorkspace · object[]

List of workspaces with their projects and tasks

Response

Successful Response

Response model for sandbox initialization

sandbox_id
string
required

Sandbox identifier

status
enum<string>
required

Current status

Available options:
idle,
occupied,
error
message
string
required

Initialization result message