{"openapi":"3.1.0","info":{"title":"Kite Workspace 2 Backend","version":"0.3.0"},"paths":{"/api/agent":{"post":{"summary":"Agent Prompt","description":"HTTP endpoint for agent prompts.\n\nReturns the complete response (no streaming). Use the WebSocket\nendpoint for real-time streaming.","operationId":"agent_prompt_api_agent_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/approve":{"post":{"summary":"Agent Approve","description":"Handle user approval/rejection decisions for proposed changes.","operationId":"agent_approve_api_agent_approve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/messages":{"get":{"summary":"Agent Messages","description":"Return stored conversation messages for a project or conversation.","operationId":"agent_messages_api_agent_messages_get","parameters":[{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"conversation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/conversations":{"get":{"summary":"List Conversations","description":"List all conversations for a project (lightweight — no messages).","operationId":"list_conversations_api_agent_conversations_get","parameters":[{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Conversation","description":"Create a new conversation for a project.","operationId":"create_conversation_api_agent_conversations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/conversations/{conversation_id}":{"patch":{"summary":"Update Conversation","description":"Update conversation title.","operationId":"update_conversation_api_agent_conversations__conversation_id__patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Conversation","description":"Delete a conversation and all its messages (cascade).","operationId":"delete_conversation_api_agent_conversations__conversation_id__delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ide-agent":{"post":{"summary":"Ide Agent Prompt","operationId":"ide_agent_prompt_api_ide_agent_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeAgentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/agent":{"post":{"summary":"Demo Agent Prompt","description":"Unauthenticated HTTP endpoint for the public demo.\n\nSame as /api/agent but no Firebase token required.\nRate-limited by client IP.","operationId":"demo_agent_prompt_api_demo_agent_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoAgentPromptRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects":{"get":{"tags":["projects"],"summary":"List Projects","description":"List all projects for the current user (filtered by workspaces user belongs to).\n\nReturns lightweight summaries without fileContents, fileTree, etc.\nUse GET /api/projects/{id} to fetch the full project.","operationId":"list_projects_api_projects_get","parameters":[{"name":"include_deleted","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Deleted"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by workspace ID","title":"Workspace Id"},"description":"Filter by workspace ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectListOut"},"title":"Response List Projects Api Projects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["projects"],"summary":"Create Project","description":"Create a new project.","operationId":"create_project_api_projects_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}":{"get":{"tags":["projects"],"summary":"Get Project","description":"Get project details (requires READ_PROJECTS permission).","operationId":"get_project_api_projects__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["projects"],"summary":"Update Project","description":"Update project (requires UPDATE_PROJECT permission).","operationId":"update_project_api_projects__project_id__patch","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["projects"],"summary":"Delete Project","description":"Soft delete a project (requires DELETE_PROJECT permission).","operationId":"delete_project_api_projects__project_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/sync":{"post":{"tags":["projects"],"summary":"Sync Project","description":"Sync project state (for auto-save).","operationId":"sync_project_api_projects__project_id__sync_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectSync"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/files/{file_path}":{"get":{"tags":["projects"],"summary":"Get Project File","description":"Get file content from project.","operationId":"get_project_file_api_projects__project_id__files__file_path__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"file_path","in":"path","required":true,"schema":{"type":"string","description":"File path","title":"File Path"},"description":"File path"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileContentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["projects"],"summary":"Update Project File","description":"Update file content in project.","operationId":"update_project_file_api_projects__project_id__files__file_path__put","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"file_path","in":"path","required":true,"schema":{"type":"string","description":"File path","title":"File Path"},"description":"File path"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileContentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileContentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/migrate":{"post":{"tags":["projects"],"summary":"Migrate Project","description":"Migrate a project from localStorage to cloud storage.","operationId":"migrate_project_api_projects_migrate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/wandb/validate":{"post":{"tags":["projects"],"summary":"Validate Wandb Key","description":"Validate a W&B API key and store it in the project settings.","operationId":"validate_wandb_key_api_projects__project_id__wandb_validate_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspaces":{"get":{"tags":["workspaces"],"summary":"List Workspaces","description":"List all workspaces the current user belongs to.","operationId":"list_workspaces_api_workspaces_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceOut"},"title":"Response List Workspaces Api Workspaces Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["workspaces"],"summary":"Create Workspace","description":"Create a new workspace.","operationId":"create_workspace_api_workspaces_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspaces/me":{"get":{"tags":["workspaces"],"summary":"Get Default Workspace","description":"Get current user's default workspace.","operationId":"get_default_workspace_api_workspaces_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspaces/{workspace_id}":{"get":{"tags":["workspaces"],"summary":"Get Workspace","description":"Get workspace details (requires workspace membership).","operationId":"get_workspace_api_workspaces__workspace_id__get","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","description":"Workspace ID","title":"Workspace Id"},"description":"Workspace ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["workspaces"],"summary":"Update Workspace","description":"Update workspace (requires UPDATE_WORKSPACE permission).","operationId":"update_workspace_api_workspaces__workspace_id__patch","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","description":"Workspace ID","title":"Workspace Id"},"description":"Workspace ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["workspaces"],"summary":"Delete Workspace","description":"Delete workspace (requires DELETE_WORKSPACE permission).","operationId":"delete_workspace_api_workspaces__workspace_id__delete","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","description":"Workspace ID","title":"Workspace Id"},"description":"Workspace ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspaces/{workspace_id}/members":{"get":{"tags":["workspaces"],"summary":"List Workspace Members","description":"List all members of a workspace (requires workspace membership).","operationId":"list_workspace_members_api_workspaces__workspace_id__members_get","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","description":"Workspace ID","title":"Workspace Id"},"description":"Workspace ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceMemberOut"},"title":"Response List Workspace Members Api Workspaces  Workspace Id  Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["workspaces"],"summary":"Invite Member","description":"Invite/add a member to workspace (requires INVITE_MEMBERS permission).","operationId":"invite_member_api_workspaces__workspace_id__members_post","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","description":"Workspace ID","title":"Workspace Id"},"description":"Workspace ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceMemberCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceMemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspaces/{workspace_id}/members/{user_id}":{"patch":{"tags":["workspaces"],"summary":"Update Member Role","description":"Update member role (requires MANAGE_MEMBERS permission).","operationId":"update_member_role_api_workspaces__workspace_id__members__user_id__patch","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","description":"Workspace ID","title":"Workspace Id"},"description":"Workspace ID"},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID","title":"User Id"},"description":"User ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceMemberUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceMemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["workspaces"],"summary":"Remove Member","description":"Remove a member from workspace (requires MANAGE_MEMBERS permission).","operationId":"remove_member_api_workspaces__workspace_id__members__user_id__delete","parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","description":"Workspace ID","title":"Workspace Id"},"description":"Workspace ID"},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID","title":"User Id"},"description":"User ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/preferences":{"get":{"tags":["users"],"summary":"Get User Preferences","description":"Get current user's preferences from Firestore.\n\nReturns empty preferences if none exist.","operationId":"get_user_preferences_api_v1_users_preferences_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferences"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["users"],"summary":"Update User Preferences","description":"Update current user's preferences in Firestore.\n\nOnly updates provided fields (partial update).\nValidates theme value if provided.","operationId":"update_user_preferences_api_v1_users_preferences_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferencesUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferences"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/robots":{"get":{"tags":["models"],"summary":"List Robots","description":"List all built-in robots, optionally filtered by source.","operationId":"list_robots_api_models_robots_get","parameters":[{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/robots/{robot_id}":{"get":{"tags":["models"],"summary":"Get Robot","description":"Get robot model info and file content.","operationId":"get_robot_api_models_robots__robot_id__get","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/robots/{robot_id}/file":{"get":{"tags":["models"],"summary":"Get Robot File","description":"Get robot model file with <include> directives resolved server-side.","operationId":"get_robot_file_api_models_robots__robot_id__file_get","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/robots/{robot_id}/meshes/{asset_path}":{"get":{"tags":["models"],"summary":"Get Robot Asset","description":"Get robot model asset file (STL, textures, etc.).\n\nSupports both /assets/ and /meshes/ paths (or any meshdir from XML).\nThe asset_path may be just the filename (e.g., \"pelvis.STL\") or include subdirectories.","operationId":"get_robot_asset_api_models_robots__robot_id__meshes__asset_path__get","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"asset_path","in":"path","required":true,"schema":{"type":"string","title":"Asset Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/robots/{robot_id}/assets/{asset_path}":{"get":{"tags":["models"],"summary":"Get Robot Asset","description":"Get robot model asset file (STL, textures, etc.).\n\nSupports both /assets/ and /meshes/ paths (or any meshdir from XML).\nThe asset_path may be just the filename (e.g., \"pelvis.STL\") or include subdirectories.","operationId":"get_robot_asset_api_models_robots__robot_id__assets__asset_path__get","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"asset_path","in":"path","required":true,"schema":{"type":"string","title":"Asset Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/robots/{robot_id}/assets":{"get":{"tags":["models"],"summary":"List Robot Assets","description":"List all asset files (STL, OBJ, etc.) in the robot's assets/meshes directory.","operationId":"list_robot_assets_api_models_robots__robot_id__assets_get","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/registry/rebuild":{"post":{"tags":["models"],"summary":"Rebuild Registry","description":"Rebuild registry (admin endpoint).","operationId":"rebuild_registry_api_models_registry_rebuild_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/robots/connect":{"post":{"tags":["robots"],"summary":"Connect Robot","description":"Connect to a robot.","operationId":"connect_robot_api_v1_robots_connect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotConnectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/robots":{"get":{"tags":["robots"],"summary":"List Robots","description":"List available robots (connected + discovered).\n\nSerial connections in the in-memory ConnectionManager are pruned\nagainst the live serial-port enumeration: if the device the adapter\nwas bound to is no longer present (USB unplugged, port renamed),\nthe adapter is disconnected and dropped from the list. Otherwise\nstale \"connected\" rows persist forever in this process's memory.","operationId":"list_robots_api_v1_robots_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RobotInfo"},"title":"Response List Robots Api V1 Robots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/robots/{robot_id}":{"get":{"tags":["robots"],"summary":"Get Robot Status","description":"Get robot status.","operationId":"get_robot_status_api_v1_robots__robot_id__get","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/robots/{robot_id}/execute":{"post":{"tags":["robots"],"summary":"Execute Code","description":"Execute Python code on connected robot.","operationId":"execute_code_api_v1_robots__robot_id__execute_post","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeExecutionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeExecutionResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/robots/serial/ports":{"get":{"tags":["robots"],"summary":"List Serial Ports","description":"List available serial ports.","operationId":"list_serial_ports_api_v1_robots_serial_ports_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SerialPortInfo"},"type":"array","title":"Response List Serial Ports Api V1 Robots Serial Ports Get"}}}}}}},"/api/v1/robots/{robot_id}/disconnect":{"post":{"tags":["robots"],"summary":"Disconnect Robot","description":"Disconnect robot.","operationId":"disconnect_robot_api_v1_robots__robot_id__disconnect_post","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/robots/{robot_id}/presets":{"post":{"tags":["robots"],"summary":"Get Deployment Presets","description":"Get available presets for a Python file.","operationId":"get_deployment_presets_api_v1_robots__robot_id__presets_post","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileDeploymentPreset"},"title":"Response Get Deployment Presets Api V1 Robots  Robot Id  Presets Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/robots/{robot_id}/deploy-file":{"post":{"tags":["robots"],"summary":"Deploy File","description":"Deploy and execute a Python file on the backend with robot connection context.","operationId":"deploy_file_api_v1_robots__robot_id__deploy_file_post","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileDeploymentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileDeploymentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/robots/{robot_id}/deployments/{deployment_id}/stop":{"post":{"tags":["robots"],"summary":"Stop Deployment","description":"Stop a running deployment.","operationId":"stop_deployment_api_v1_robots__robot_id__deployments__deployment_id__stop_post","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/jobs":{"post":{"tags":["training"],"summary":"Create Training Job","description":"Create and start a training job.\n\nCreates a Docker container with the project files and starts training.","operationId":"create_training_job_api_training_jobs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingJobCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingJobStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["training"],"summary":"List Training Jobs","description":"List training jobs for the current user.\n\nOptionally filter by project_id.\nSupports pagination via limit parameter (max 100).","operationId":"list_training_jobs_api_training_jobs_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by project ID","title":"Project Id"},"description":"Filter by project ID"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of jobs to return","default":50,"title":"Limit"},"description":"Maximum number of jobs to return"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingJobList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/jobs/{job_id}":{"get":{"tags":["training"],"summary":"Get Training Job Status","description":"Get training job status.\n\nReturns current status, progress, and metrics for a training job.","operationId":"get_training_job_status_api_training_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job ID","title":"Job Id"},"description":"Training job ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingJobStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["training"],"summary":"Delete Training Job","description":"Delete/cleanup a training job.\n\nRemoves the container, volumes, and job record from Firestore.","operationId":"delete_training_job_api_training_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job ID","title":"Job Id"},"description":"Training job ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/jobs/{job_id}/stop":{"post":{"tags":["training"],"summary":"Stop Training Job","description":"Stop a running training job.\n\nGracefully stops the container and updates job status to \"cancelled\".","operationId":"stop_training_job_api_training_jobs__job_id__stop_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job ID","title":"Job Id"},"description":"Training job ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/jobs/{job_id}/logs":{"get":{"tags":["training"],"summary":"Get Training Job Logs","description":"Get training job logs.\n\nReturns recent container logs for the training job.","operationId":"get_training_job_logs_api_training_jobs__job_id__logs_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job ID","title":"Job Id"},"description":"Training job ID"},{"name":"tail","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Number of log lines to retrieve","default":100,"title":"Tail"},"description":"Number of log lines to retrieve"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingJobLogs"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/jobs/{job_id}/artifacts":{"get":{"tags":["training"],"summary":"List Training Artifacts","description":"List available artifacts for a completed training job.\n\nReads the ``artifacts_manifest.json`` stored in GCS alongside the\nartifacts.  Falls back to scanning the GCS prefix if the manifest is\nmissing.","operationId":"list_training_artifacts_api_training_jobs__job_id__artifacts_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job ID","title":"Job Id"},"description":"Training job ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingArtifactList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/jobs/{job_id}/artifacts/{artifact_type}/download":{"get":{"tags":["training"],"summary":"Download Training Artifact","description":"Download a training artifact.\n\nStreams the file from GCS through the backend so the browser receives\nthe bytes directly (with ``Content-Disposition: attachment``).\n\nAccepts authentication either via the normal ``Authorization`` header\n**or** via a ``?token=`` query parameter (so ``<a href>`` / ``<video\nsrc>`` work without custom headers).","operationId":"download_training_artifact_api_training_jobs__job_id__artifacts__artifact_type__download_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job ID","title":"Job Id"},"description":"Training job ID"},{"name":"artifact_type","in":"path","required":true,"schema":{"type":"string","description":"Artifact type: model, metrics, or video","title":"Artifact Type"},"description":"Artifact type: model, metrics, or video"},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Auth token (for direct browser downloads)","title":"Token"},"description":"Auth token (for direct browser downloads)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/jobs/{job_id}/checkpoints":{"get":{"tags":["training"],"summary":"List Job Checkpoints","description":"List LeRobot checkpoints saved during VLA training.\n\nScans the GCS prefix ``jobs/{job_id}/artifacts/lerobot/checkpoints/`` for\nstep sub-directories.  lerobot writes either zero-padded numeric names\n(``001000/``) or the legacy ``checkpoint_XXXXX/`` form depending on\nversion, so we accept both. Each step must contain a ``pretrained_model``\nsub-directory to be considered deployable.\n\nReturns an empty list for RL jobs, jobs that have not yet reached the\nfirst checkpoint, or when GCS is not configured.  Results are sorted\nby step descending (latest first) so the wizard can default to the\nmost recent checkpoint.","operationId":"list_job_checkpoints_api_training_jobs__job_id__checkpoints_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job ID","title":"Job Id"},"description":"Training job ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingCheckpointList-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/preflight":{"post":{"tags":["training"],"summary":"Run Preflight","description":"Run preflight checks on a proposed training config.\n\nAccepts the same config shape the client would send to `/jobs`. Returns a\nreport with `errors`, `warnings`, `infos`, `ctx_summary`, `ran_check_ids`,\nand a `blocking` boolean the UI uses to enable/disable the submit button.\n\nIntentionally 200 OK even when errors exist — the UI uses `report.blocking`,\nnot the HTTP status. That way a red flag on one field doesn't turn\nevery keystroke into a 4xx in the browser console.","operationId":"run_preflight_api_training_preflight_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Config"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Run Preflight Api Training Preflight Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/preflight/summary":{"get":{"tags":["training"],"summary":"Preflight Summary","description":"Admin: per-check-id frequency rollup over the last N hours.\n\nRows are sorted by total fires descending. Use this to find:\n  * checks that error/block often → likely real user confusion\n  * checks that only emit warnings that get dismissed → crying wolf, tune down\n  * ran_check_ids that never match → dead code, consider removing","operationId":"preflight_summary_api_training_preflight_summary_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":2160,"minimum":1,"description":"Lookback window","default":168,"title":"Hours"},"description":"Lookback window"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by source: 'preflight' (UI keystroke) or 'job_create' (gate on submission). Omit for both.","title":"Source"},"description":"Filter by source: 'preflight' (UI keystroke) or 'job_create' (gate on submission). Omit for both."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Preflight Summary Api Training Preflight Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/test-connection":{"get":{"tags":["worlds"],"summary":"Test Marble Connection","description":"Test connection to Marble API without using credits.\nValidates API key and connectivity.\n\nReturns:\n    Dict with 'valid' (bool) and 'message' (str)","operationId":"test_marble_connection_api_worlds_test_connection_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/presets":{"get":{"tags":["worlds"],"summary":"Get Preset Worlds","description":"List all available preset worlds (generated + not yet generated).\nReturns definition metadata for each preset so the frontend can\nshow them in the dropdown regardless of generation status.\n\nDeclared as a sync `def` (not `async`) on purpose: `list_available_presets()`\ndoes blocking GCS metadata reads (~12s cold). As a sync path operation FastAPI\nruns it in a threadpool, so it no longer stalls the event loop — which was\nmaking every concurrent request (auth `/me`, project saves) fail with\n\"Failed to fetch\" whenever the preset dropdown loaded.","operationId":"get_preset_worlds_api_worlds_presets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/worlds/presets/seed":{"post":{"tags":["worlds"],"summary":"Seed Preset Worlds","description":"Trigger generation of all preset worlds via WorldLabs API.\nAdmin-only. Runs synchronously — may take several minutes per world.","operationId":"seed_preset_worlds_api_worlds_presets_seed_post","parameters":[{"name":"force","in":"query","required":false,"schema":{"type":"boolean","description":"Force regenerate even if already exists","default":false,"title":"Force"},"description":"Force regenerate even if already exists"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/presets/{preset_id}/assets/{filename}":{"head":{"tags":["worlds"],"summary":"Get Preset World Asset","description":"Proxy preset world assets from GCS (avoids CORS).","operationId":"get_preset_world_asset_api_worlds_presets__preset_id__assets__filename__head","parameters":[{"name":"preset_id","in":"path","required":true,"schema":{"type":"string","description":"Preset world ID","title":"Preset Id"},"description":"Preset world ID"},{"name":"filename","in":"path","required":true,"schema":{"type":"string","description":"Asset filename","title":"Filename"},"description":"Asset filename"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["worlds"],"summary":"Get Preset World Asset","description":"Proxy preset world assets from GCS (avoids CORS).","operationId":"get_preset_world_asset_api_worlds_presets__preset_id__assets__filename__head","parameters":[{"name":"preset_id","in":"path","required":true,"schema":{"type":"string","description":"Preset world ID","title":"Preset Id"},"description":"Preset world ID"},{"name":"filename","in":"path","required":true,"schema":{"type":"string","description":"Asset filename","title":"Filename"},"description":"Asset filename"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/presets/{preset_id}/{meshdir}/{filename}":{"head":{"tags":["worlds"],"summary":"Get Preset World Asset With Meshdir","description":"Proxy preset world mesh assets from GCS (avoids CORS).","operationId":"get_preset_world_asset_with_meshdir_api_worlds_presets__preset_id___meshdir___filename__head","parameters":[{"name":"preset_id","in":"path","required":true,"schema":{"type":"string","description":"Preset world ID","title":"Preset Id"},"description":"Preset world ID"},{"name":"meshdir","in":"path","required":true,"schema":{"type":"string","description":"Mesh directory","title":"Meshdir"},"description":"Mesh directory"},{"name":"filename","in":"path","required":true,"schema":{"type":"string","description":"Asset filename","title":"Filename"},"description":"Asset filename"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["worlds"],"summary":"Get Preset World Asset With Meshdir","description":"Proxy preset world mesh assets from GCS (avoids CORS).","operationId":"get_preset_world_asset_with_meshdir_api_worlds_presets__preset_id___meshdir___filename__head","parameters":[{"name":"preset_id","in":"path","required":true,"schema":{"type":"string","description":"Preset world ID","title":"Preset Id"},"description":"Preset world ID"},{"name":"meshdir","in":"path","required":true,"schema":{"type":"string","description":"Mesh directory","title":"Meshdir"},"description":"Mesh directory"},{"name":"filename","in":"path","required":true,"schema":{"type":"string","description":"Asset filename","title":"Filename"},"description":"Asset filename"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/generate":{"post":{"tags":["worlds"],"summary":"Generate World","description":"Start world generation from image(s), video, and prompt.\n\nSupports three input types:\n- image: single image upload (image_file)\n- multi_image: multiple images (image_files) with optional direction control\n- video: short video upload (video_file)","operationId":"generate_world_api_worlds_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_generate_world_api_worlds_generate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/generate/{generation_id}/status":{"get":{"tags":["worlds"],"summary":"Get Generation Status","description":"Get world generation status.\n\nArgs:\n    generation_id: Generation ID\n    project_id: Project ID\n    current_user: Authenticated user\n    \nReturns:\n    WorldGenerationStatusResponse with current status","operationId":"get_generation_status_api_worlds_generate__generation_id__status_get","parameters":[{"name":"generation_id","in":"path","required":true,"schema":{"type":"string","description":"Generation ID","title":"Generation Id"},"description":"Generation ID"},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldGenerationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/list":{"get":{"tags":["worlds"],"summary":"List Worlds","description":"List all saved worlds (environments) for a project.\nReturns metadata for each world including visual and physics scene availability.","operationId":"list_worlds_api_worlds_list_get","parameters":[{"name":"project_id","in":"query","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response List Worlds Api Worlds List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/my":{"get":{"tags":["worlds"],"summary":"List My Worlds","description":"List all custom-generated worlds across all of the current user's projects.\nReturns a flat list of world entries with their associated project_id.","operationId":"list_my_worlds_api_worlds_my_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response List My Worlds Api Worlds My Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/{world_id}/assets/{filename}":{"get":{"tags":["worlds"],"summary":"Get World Asset","description":"Serve world asset files (mesh, splat, XML). No auth required for 3D viewer compatibility.","operationId":"get_world_asset_api_worlds__world_id__assets__filename__get","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","description":"World ID or folder name","title":"World Id"},"description":"World ID or folder name"},{"name":"filename","in":"path","required":true,"schema":{"type":"string","description":"Asset filename (e.g., environment.obj)","title":"Filename"},"description":"Asset filename (e.g., environment.obj)"},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/{world_id}/{meshdir}/{filename}":{"get":{"tags":["worlds"],"summary":"Get World Asset With Meshdir","description":"Serve world mesh assets for the 3D viewer.\nCalled by XMLModelLoader which doesn't send auth headers.\nThe meshdir path segment comes from MuJoCo XML compiler meshdir attribute.","operationId":"get_world_asset_with_meshdir_api_worlds__world_id___meshdir___filename__get","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","description":"World ID","title":"World Id"},"description":"World ID"},{"name":"meshdir","in":"path","required":true,"schema":{"type":"string","description":"Mesh directory (e.g., 'assets' or '.')","title":"Meshdir"},"description":"Mesh directory (e.g., 'assets' or '.')"},{"name":"filename","in":"path","required":true,"schema":{"type":"string","description":"Asset filename","title":"Filename"},"description":"Asset filename"},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/worlds/{world_id}":{"delete":{"tags":["worlds"],"summary":"Delete World","description":"Delete a generated world and its files.","operationId":"delete_world_api_worlds__world_id__delete","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","description":"World ID or folder name","title":"World Id"},"description":"World ID or folder name"},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["worlds"],"summary":"Get World","description":"Get world metadata and model path.\n\nArgs:\n    world_id: World ID or folder name (sanitized display name)\n    project_id: Project ID\n    current_user: Authenticated user\n    \nReturns:\n    WorldOut with world metadata","operationId":"get_world_api_worlds__world_id__get","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","description":"World ID or folder name","title":"World Id"},"description":"World ID or folder name"},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users":{"get":{"tags":["admin"],"summary":"List Users","description":"List all users with pagination and search.","operationId":"list_users_api_v1_admin_users_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Items per page","default":50,"title":"Page Size"},"description":"Items per page"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by email or display name","title":"Search"},"description":"Search by email or display name"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserListPaginatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}":{"get":{"tags":["admin"],"summary":"Get User","description":"Get user details by ID.","operationId":"get_user_api_v1_admin_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID","title":"User Id"},"description":"User ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin"],"summary":"Update User","description":"Update user information.","operationId":"update_user_api_v1_admin_users__user_id__patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID","title":"User Id"},"description":"User ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Delete User","description":"Delete a user account.","operationId":"delete_user_api_v1_admin_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID","title":"User Id"},"description":"User ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/impersonate":{"post":{"tags":["admin"],"summary":"Impersonate User","description":"Generate an impersonation token for a user.","operationId":"impersonate_user_api_v1_admin_users__user_id__impersonate_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID to impersonate","title":"User Id"},"description":"User ID to impersonate"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImpersonationTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/projects":{"get":{"tags":["admin"],"summary":"List Projects","description":"List all projects with pagination and search.","operationId":"list_projects_api_v1_admin_projects_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Items per page","default":50,"title":"Page Size"},"description":"Items per page"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by project name","title":"Search"},"description":"Search by project name"},{"name":"include_deleted","in":"query","required":false,"schema":{"type":"boolean","description":"Include deleted projects","default":false,"title":"Include Deleted"},"description":"Include deleted projects"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectListPaginatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/projects/{project_id}":{"get":{"tags":["admin"],"summary":"Get Project","description":"Get project details by ID.","operationId":"get_project_api_v1_admin_projects__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Delete Project","description":"Delete a project (soft delete).","operationId":"delete_project_api_v1_admin_projects__project_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/payments":{"get":{"tags":["admin"],"summary":"List Payments","description":"List all payment transactions with pagination and filters.","operationId":"list_payments_api_v1_admin_payments_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Items per page","default":50,"title":"Page Size"},"description":"Items per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by payment status","title":"Status"},"description":"Filter by payment status"},{"name":"payment_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by payment type","title":"Payment Type"},"description":"Filter by payment type"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentListPaginatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/subscriptions":{"get":{"tags":["admin"],"summary":"List Subscriptions","description":"List all subscriptions with pagination and filters.","operationId":"list_subscriptions_api_v1_admin_subscriptions_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Items per page","default":50,"title":"Page Size"},"description":"Items per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by subscription status","title":"Status"},"description":"Filter by subscription status"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionListPaginatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/training-jobs":{"get":{"tags":["admin"],"summary":"List Training Jobs","description":"List all training jobs with pagination and filters.","operationId":"list_training_jobs_api_v1_admin_training_jobs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Items per page","default":50,"title":"Page Size"},"description":"Items per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by training job status","title":"Status"},"description":"Filter by training job status"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingJobListPaginatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/training-jobs/{job_id}/logs":{"get":{"tags":["admin"],"summary":"Get Training Job Logs","description":"Get training job logs (admin only).\n\nReturns recent container logs for any training job.\nAdmin can view logs for any job without ownership checks.","operationId":"get_training_job_logs_api_v1_admin_training_jobs__job_id__logs_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job ID","title":"Job Id"},"description":"Training job ID"},{"name":"tail","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Number of log lines to retrieve","default":100,"title":"Tail"},"description":"Number of log lines to retrieve"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingJobLogs"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/augment-sessions":{"get":{"tags":["admin"],"summary":"List Augment Sessions","description":"List ALL users' augmentation sessions (scalar columns only — no preview payloads).","operationId":"list_augment_sessions_api_v1_admin_augment_sessions_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Items per page","default":50,"title":"Page Size"},"description":"Items per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by session status","title":"Status"},"description":"Filter by session status"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by user email, dataset repo, or session id","title":"Search"},"description":"Search by user email, dataset repo, or session id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AugmentSessionAdminPaginatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/grant-pro":{"post":{"tags":["admin"],"summary":"Grant Pro","description":"Grant Pro subscription to a user without Stripe.","operationId":"grant_pro_api_v1_admin_users__user_id__grant_pro_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID","title":"User Id"},"description":"User ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/revoke-pro":{"post":{"tags":["admin"],"summary":"Revoke Pro","description":"Revoke Pro subscription from a user.","operationId":"revoke_pro_api_v1_admin_users__user_id__revoke_pro_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID","title":"User Id"},"description":"User ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/billing":{"get":{"tags":["admin"],"summary":"Get User Billing","description":"Get a user's billing details (admin view).","operationId":"get_user_billing_api_v1_admin_users__user_id__billing_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","description":"User ID","title":"User Id"},"description":"User ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserBillingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/incidents":{"post":{"tags":["admin"],"summary":"Create Incident","description":"Open an incident. One can be open at a time: post updates to it, or resolve it before opening another.","operationId":"create_incident_api_v1_admin_incidents_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/incidents/{incident_id}":{"patch":{"tags":["admin"],"summary":"Update Incident","description":"Post an update (message, impact, status, title). Status `resolved` resolves the incident; it stays on the\nstatus page for 90 days and cannot be reopened.","operationId":"update_incident_api_v1_admin_incidents__incident_id__patch","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","description":"The incident's inc_ id","title":"Incident Id"},"description":"The incident's inc_ id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/api-usage/stats":{"get":{"tags":["admin"],"summary":"Get Api Usage Stats","description":"Requests per day by outcome, with totals and duration percentiles: GET /v1/requests/stats for every user.","operationId":"get_api_usage_stats_api_v1_admin_api_usage_stats_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"description":"Days back, today (UTC) included; the log keeps 30","default":7,"title":"Days"},"description":"Days back, today (UTC) included; the log keeps 30"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/api-usage":{"get":{"tags":["admin"],"summary":"Get Api Usage","description":"Requests by source, and the busiest routes and callers.","operationId":"get_api_usage_api_v1_admin_api_usage_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"description":"Days back, today (UTC) included; the log keeps 30","default":7,"title":"Days"},"description":"Days back, today (UTC) included; the log keeps 30"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared/assets/tasks/index.json":{"get":{"tags":["shared-assets"],"summary":"Get Tasks Index","description":"Get tasks index file.","operationId":"get_tasks_index_shared_assets_tasks_index_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/shared/assets/tasks/{task_file}":{"get":{"tags":["shared-assets"],"summary":"Get Task File","description":"Get a task definition file.","operationId":"get_task_file_shared_assets_tasks__task_file__get","parameters":[{"name":"task_file","in":"path","required":true,"schema":{"type":"string","title":"Task File"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared/assets/robots/{robot_id}/sensors":{"get":{"tags":["shared-assets"],"summary":"Get Robot Sensors","description":"Auto-discover sensors from a robot's MJCF/URDF XML file.\n\nParses the robot's XML (resolving includes) and returns all sensor\ndefinitions including cameras, IMU, joint sensors, and tactile contacts.\n\nSupports both built-in robots (from registry.json) and custom-uploaded\nrobots (from the database).","operationId":"get_robot_sensors_shared_assets_robots__robot_id__sensors_get","parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","title":"Robot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared/assets/{file_path}":{"get":{"tags":["shared-assets"],"summary":"Get Shared Asset","description":"Get any shared asset file (robots, tasks, etc.).","operationId":"get_shared_asset_shared_assets__file_path__get","parameters":[{"name":"file_path","in":"path","required":true,"schema":{"type":"string","title":"File Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/feedback":{"post":{"tags":["feedback"],"summary":"Create Feedback","operationId":"create_feedback_api_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/upload":{"post":{"tags":["uploads"],"summary":"Upload File","description":"Upload a file to a project with full security validation.\n\nSecurity gates applied (in order):\n1. Authentication (via dependency)\n2. Rate limiting (20 uploads/min per user)\n3. Project ownership verification\n4. Filename sanitization\n5. Extension whitelist check\n6. File size limit enforcement\n7. MIME type validation (magic bytes)\n8. Archive bomb protection (for .zip / .tar.gz)\n9. Project storage cap check\n10. Overwrite protection","operationId":"upload_file_api_projects__project_id__upload_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_file_api_projects__project_id__upload_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/datasets/import":{"post":{"tags":["datasets"],"summary":"Import Dataset Endpoint","description":"Import a dataset by pasting a HuggingFace ID, HF URL, or S3 URI.","operationId":"import_dataset_endpoint_api_datasets_import_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetImportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/datasets/catalog":{"get":{"tags":["datasets"],"summary":"List Catalog","description":"Browse the seed dataset catalog (public, no auth required).","operationId":"list_catalog_api_datasets_catalog_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/datasets":{"get":{"tags":["datasets"],"summary":"List Datasets","description":"List the current user's imported datasets.","operationId":"list_datasets_api_datasets_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/datasets/{dataset_id}":{"get":{"tags":["datasets"],"summary":"Get Dataset","description":"Get dataset detail including metadata and preview stats.","operationId":"get_dataset_api_datasets__dataset_id__get","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["datasets"],"summary":"Delete Dataset","description":"Soft-delete a dataset.","operationId":"delete_dataset_api_datasets__dataset_id__delete","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/datasets/{dataset_id}/preview":{"get":{"tags":["datasets"],"summary":"Get Dataset Preview","description":"Fetch dataset preview: sample rows, schema features, and statistics.","operationId":"get_dataset_preview_api_datasets__dataset_id__preview_get","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/datasets/{dataset_id}/vla-info":{"get":{"tags":["datasets"],"summary":"Get Vla Info","description":"Get VLA-specific metadata for a dataset (camera names, action dim, fps, etc.).","operationId":"get_vla_info_api_datasets__dataset_id__vla_info_get","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/datasets/{dataset_id}/validate-vla":{"post":{"tags":["datasets"],"summary":"Validate Vla","description":"Validate whether a dataset is compatible with VLA fine-tuning.","operationId":"validate_vla_api_datasets__dataset_id__validate_vla_post","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/plans":{"get":{"tags":["billing"],"summary":"List Plans","description":"List available subscription plans.","operationId":"list_plans_api_v1_billing_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlanResponse"},"type":"array","title":"Response List Plans Api V1 Billing Plans Get"}}}}}}},"/api/v1/billing/me":{"get":{"tags":["billing"],"summary":"Get Billing Status","description":"Get the current user's billing status: plan, subscription, and token balance.\n\nEvery dashboard load asks, so its reads share one session, and a lazy grant locks the balance (in a transaction\nof its own) only when one is due. The balance is read after the grants, so it shows what they just added.","operationId":"get_billing_status_api_v1_billing_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBillingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/checkout/subscription":{"post":{"tags":["billing"],"summary":"Create Subscription Checkout","description":"Create a Stripe Checkout Session for Pro subscription upgrade.","operationId":"create_subscription_checkout_api_v1_billing_checkout_subscription_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSubscriptionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/checkout/session/reconcile":{"post":{"tags":["billing"],"summary":"Reconcile Checkout Session","description":"Grant what a paid Checkout session bought (Pro, or a top-up's tokens) without waiting for the webhook.\n\nIdempotent — safe to call multiple times. Authorization is enforced by the\nsession metadata's `kite_user_id` matching the current user.","operationId":"reconcile_checkout_session_api_v1_billing_checkout_session_reconcile_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/subscription/cancel":{"post":{"tags":["billing"],"summary":"Cancel Subscription","description":"Schedule the user's Pro subscription to cancel at the end of the current period.","operationId":"cancel_subscription_api_v1_billing_subscription_cancel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/subscription/resume":{"post":{"tags":["billing"],"summary":"Resume Subscription","description":"Undo a scheduled cancellation, so Pro renews again.","operationId":"resume_subscription_api_v1_billing_subscription_resume_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/subscription/switch":{"post":{"tags":["billing"],"summary":"Switch Subscription","description":"Move Pro to the other period (monthly → yearly), charged now less the unused time.","operationId":"switch_subscription_api_v1_billing_subscription_switch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchSubscriptionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/portal":{"post":{"tags":["billing"],"summary":"Create Portal Session","description":"A Stripe Customer Portal link (card and invoices), coming back to ``return_path`` in the app.","operationId":"create_portal_session_api_v1_billing_portal_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/payments":{"get":{"tags":["billing"],"summary":"Get Payments","description":"The card Pro is charged to, and receipts for Pro and top-ups.","operationId":"get_payments_api_v1_billing_payments_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/checkout/top-up":{"post":{"tags":["billing"],"summary":"Create Top Up Checkout","description":"Create a Stripe Checkout Session for token top-up (any authenticated user).","operationId":"create_top_up_checkout_api_v1_billing_checkout_top_up_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopUpRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopUpCheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/tokens/balance":{"get":{"tags":["billing"],"summary":"Get Token Balance","description":"Get the current user's token balance.","operationId":"get_token_balance_api_v1_billing_tokens_balance_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenBalanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/tokens/transactions":{"get":{"tags":["billing"],"summary":"List Token Transactions","description":"List the current user's token transactions, newest first, each with the run it charged or refunded.","operationId":"list_token_transactions_api_v1_billing_tokens_transactions_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenTransactionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/tokens/estimate":{"post":{"tags":["billing"],"summary":"Estimate Operation Cost","description":"Estimate token cost for an operation before executing it.","operationId":"estimate_operation_cost_api_v1_billing_tokens_estimate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostEstimateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostEstimateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/webhooks/stripe":{"post":{"tags":["billing"],"summary":"Stripe Webhook","description":"Handle Stripe webhook events.\n\nNo user authentication — verified via Stripe webhook signature.\nAlways returns 200 (Stripe retries on non-2xx).","operationId":"stripe_webhook_api_v1_billing_webhooks_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/billing/budget":{"get":{"tags":["billing"],"summary":"Get Budget","description":"The budget settings and this month's spend against them.","operationId":"get_budget_api_v1_billing_budget_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["billing"],"summary":"Update Budget","description":"Replace the budget settings; returns them with this month's spend.","operationId":"update_budget_api_v1_billing_budget_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetSettingsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/alerts":{"get":{"tags":["billing"],"summary":"List Usage Alerts","description":"The alerts the dashboard banner shows: this month's, not dismissed, and still true.","operationId":"list_usage_alerts_api_v1_billing_alerts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageAlertList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/alerts/{alert_id}/dismiss":{"post":{"tags":["billing"],"summary":"Dismiss Usage Alert","description":"Hide an alert from the banner.","operationId":"dismiss_usage_alert_api_v1_billing_alerts__alert_id__dismiss_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Alert Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageAlertDismissed"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/generate":{"post":{"tags":["motions"],"summary":"Generate Motion Endpoint","description":"Generate a motion via Kimodo.\n\nIn mock/dev mode, runs generation synchronously and returns the completed\njob with inline frame data. In production, creates an async job.","operationId":"generate_motion_endpoint_api_motions_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionGenerateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/jobs/{job_id}":{"get":{"tags":["motions"],"summary":"Get Generation Job","description":"Get the status of a motion generation job.","operationId":"get_generation_job_api_motions_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionGenerationJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/jobs":{"get":{"tags":["motions"],"summary":"List Generation Jobs","description":"List motion generation jobs for the current user.","operationId":"list_generation_jobs_api_motions_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MotionGenerationJobResponse"},"title":"Response List Generation Jobs Api Motions Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/export-dataset":{"post":{"tags":["motions"],"summary":"Export Motions As Dataset","description":"Bundle all project motions into a single training dataset.\n\nCreates one Dataset record containing references to all motions,\nsuitable for PPO/MuJoCo reward shaping or Pi0.5 fine-tuning.","operationId":"export_motions_as_dataset_api_motions_export_dataset_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionBulkExportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionBulkExportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/{motion_id}":{"patch":{"tags":["motions"],"summary":"Update Motion Endpoint","description":"Update motion metadata (e.g. rename).","operationId":"update_motion_endpoint_api_motions__motion_id__patch","parameters":[{"name":"motion_id","in":"path","required":true,"schema":{"type":"string","title":"Motion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["motions"],"summary":"Get Motion","description":"Get motion metadata by ID.","operationId":"get_motion_api_motions__motion_id__get","parameters":[{"name":"motion_id","in":"path","required":true,"schema":{"type":"string","title":"Motion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["motions"],"summary":"Delete Motion","description":"Delete a motion. Only the owner can delete.","operationId":"delete_motion_api_motions__motion_id__delete","parameters":[{"name":"motion_id","in":"path","required":true,"schema":{"type":"string","title":"Motion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/{motion_id}/data":{"get":{"tags":["motions"],"summary":"Get Motion Data","description":"Get per-frame motion data for playback and training.\n\nReturns joint angles, root transforms, and contact states for each frame.\nIn dev/mock mode, regenerates the motion data on the fly.\nIn production, fetches from GCS.","operationId":"get_motion_data_api_motions__motion_id__data_get","parameters":[{"name":"motion_id","in":"path","required":true,"schema":{"type":"string","title":"Motion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionFrameData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions":{"get":{"tags":["motions"],"summary":"List Motions","description":"List motions for the current user, optionally including public library.","operationId":"list_motions_api_motions_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"robot_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Type"}},{"name":"include_public","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Public"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/{motion_id}/retarget":{"post":{"tags":["motions"],"summary":"Retarget Motion","description":"Retarget a motion to a different robot skeleton.\n\nFor humanoid-to-quadruped: extracts locomotion parameters (velocity, gait phase, turning).\nFor humanoid-to-arm: extracts end-effector trajectories.","operationId":"retarget_motion_api_motions__motion_id__retarget_post","parameters":[{"name":"motion_id","in":"path","required":true,"schema":{"type":"string","title":"Motion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionRetargetRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionGenerationJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/{motion_id}/export":{"post":{"tags":["motions"],"summary":"Export Motion For Training","description":"Export a motion as training demonstration data.\n\nGenerates reward function code, trajectory data, or curriculum config\nthat can be attached to a training job.","operationId":"export_motion_for_training_api_motions__motion_id__export_post","parameters":[{"name":"motion_id","in":"path","required":true,"schema":{"type":"string","title":"Motion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionExportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotionExportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/policies/registry":{"get":{"tags":["policies"],"summary":"List Policies","description":"Return every registered policy with full metadata.","operationId":"list_policies_api_policies_registry_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/policies/compatible/{robot_type}":{"get":{"tags":["policies"],"summary":"List Compatible Policies","description":"Return policies compatible with a specific robot type (arm, humanoid, quadruped).","operationId":"list_compatible_policies_api_policies_compatible__robot_type__get","parameters":[{"name":"robot_type","in":"path","required":true,"schema":{"type":"string","title":"Robot Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/policies/training-methods":{"get":{"tags":["policies"],"summary":"List Training Methods","description":"Return available training methods, optionally filtered by policy compatibility.","operationId":"list_training_methods_api_policies_training_methods_get","parameters":[{"name":"policy_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/policies/{policy_id}":{"get":{"tags":["policies"],"summary":"Get Policy","description":"Return detailed metadata for a single policy.","operationId":"get_policy_api_policies__policy_id__get","parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/policies/{policy_id}/training-methods":{"get":{"tags":["policies"],"summary":"Get Policy Training Methods","description":"Return training methods compatible with a specific policy.","operationId":"get_policy_training_methods_api_policies__policy_id__training_methods_get","parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/policies/validate":{"post":{"tags":["policies"],"summary":"Validate Policy Config","description":"Validate a policy + training method + robot type + hardware tier combination.","operationId":"validate_policy_config_api_policies_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyValidationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyValidationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/requirements":{"get":{"tags":["training-readiness"],"summary":"Get Requirements","description":"Return structured manifest of what's needed to train with a given policy.","operationId":"get_requirements_api_training_requirements_get","parameters":[{"name":"policy_id","in":"query","required":true,"schema":{"type":"string","description":"Policy ID (e.g. pi0, act, ppo)","title":"Policy Id"},"description":"Policy ID (e.g. pi0, act, ppo)"},{"name":"robot_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Robot type or ID","title":"Robot Type"},"description":"Robot type or ID"},{"name":"training_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Training method override","title":"Training Method"},"description":"Training method override"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/readiness":{"post":{"tags":["training-readiness"],"summary":"Check Readiness","description":"Compare project state against training requirements.","operationId":"check_readiness_api_training_readiness_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/recommend":{"get":{"tags":["training-readiness"],"summary":"Recommend Policy","description":"Recommend the best policy/method/hardware for a given robot and intent.","operationId":"recommend_policy_api_training_recommend_get","parameters":[{"name":"robot_type","in":"query","required":true,"schema":{"type":"string","description":"Robot type (arm, humanoid, quadruped) or robot ID","title":"Robot Type"},"description":"Robot type (arm, humanoid, quadruped) or robot ID"},{"name":"task_intent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"What you want to train the robot to do","title":"Task Intent"},"description":"What you want to train the robot to do"},{"name":"has_dataset","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether you have demonstration data","title":"Has Dataset"},"description":"Whether you have demonstration data"},{"name":"budget_usd","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Maximum training budget in USD","title":"Budget Usd"},"description":"Maximum training budget in USD"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/training/configure":{"post":{"tags":["training-readiness"],"summary":"Auto Configure","description":"Auto-generate a training config from project state + policy choice.","operationId":"auto_configure_api_training_configure_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigureRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/objects/prewarm":{"post":{"tags":["objects"],"summary":"Prewarm Sam3D","description":"Best-effort ping to SAM3D /healthz so Cloud Run scales to 1 before the\nuser hits Generate. Never raises — returns what happened so the UI can\ndecide whether to show a 'first generation may take longer' hint.","operationId":"prewarm_sam3d_api_objects_prewarm_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/objects/segment":{"post":{"tags":["objects"],"summary":"Segment Image","description":"Proxy to sam3d_service /segment. Returns a PNG mask.\n\nThe modal calls this every time the user clicks a foreground/background\npoint. The mask is then alpha-composited into the source image on the\nclient before /generate is called.","operationId":"segment_image_api_objects_segment_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_segment_image_api_objects_segment_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/objects/generate":{"post":{"tags":["objects"],"summary":"Generate Object","description":"Start object generation from an image. `pipeline`: \"blaster\" (default) =\nimage-blaster pipeline (auto-isolate by name → Hunyuan3D mesh, no world gen);\n\"sam3d\" = legacy SAM3D.","operationId":"generate_object_api_objects_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_generate_object_api_objects_generate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateObjectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/objects/jobs/{job_id}":{"get":{"tags":["objects"],"summary":"Get Job","operationId":"get_job_api_objects_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectJobOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/objects":{"get":{"tags":["objects"],"summary":"List Objects","description":"List 3D objects available to the caller.\n\nscope:\n  - preloaded: global curated set\n  - project:   a single project_id (caller must have access)\n  - workspace: workspace for that project, excluding the project itself\n  - user:      all non-preloaded objects created by the current user\n  - all:       union of the above applicable slices","operationId":"list_objects_api_objects_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","pattern":"^(all|preloaded|project|workspace|user)$","default":"all","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/objects/{object_id}":{"patch":{"tags":["objects"],"summary":"Update Object","description":"Rename an object. Creator-only; name is the only editable field.","operationId":"update_object_api_objects__object_id__patch","parameters":[{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateObjectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["objects"],"summary":"Delete Object","description":"Delete an object from the library. Creator-only.\n\nPlaced instances in existing project scenes are left alone — the placed\nobject will render as missing until the user removes those instances\nmanually. Matches how worlds handle deletion.","operationId":"delete_object_api_objects__object_id__delete","parameters":[{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/objects/{object_id}/assets/{filename}":{"head":{"tags":["objects"],"summary":"Get Object Asset","description":"Serve an object asset (model.glb, collision.obj, thumbnail.png).\n\nSupports both GET and HEAD so the frontend can poll for asset readiness\nwithout downloading the full file. Matches the shape of\nGET /api/worlds/{id}/assets/{filename} so XML/GLB loaders work without\nauth headers.","operationId":"get_object_asset_api_objects__object_id__assets__filename__head","parameters":[{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["objects"],"summary":"Get Object Asset","description":"Serve an object asset (model.glb, collision.obj, thumbnail.png).\n\nSupports both GET and HEAD so the frontend can poll for asset readiness\nwithout downloading the full file. Matches the shape of\nGET /api/worlds/{id}/assets/{filename} so XML/GLB loaders work without\nauth headers.","operationId":"get_object_asset_api_objects__object_id__assets__filename__head","parameters":[{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/list":{"get":{"tags":["scenes"],"summary":"List Scenes","description":"List saved scenes for a project (newest first) so the UI can restore them.","operationId":"list_scenes_api_scenes_list_get","parameters":[{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SceneSummaryOut"},"title":"Response List Scenes Api Scenes List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/generate":{"post":{"tags":["scenes"],"summary":"Generate Scene","description":"Start image → scene generation (environment splat + independent objects).","operationId":"generate_scene_api_scenes_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_generate_scene_api_scenes_generate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateSceneResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/generate-environment":{"post":{"tags":["scenes"],"summary":"Generate Environment","description":"Start environment generation from a panorama OR an ordinary photo.\n\nBacked by World Labs Developer API v2. A 2:1 equirectangular panorama goes\nstraight to `pano2Meshes`; any other photo is first projected onto an\nequirectangular canvas and completed with `img2Pano`. Either way one\nreconstruction yields the background mesh plus every lifted object,\nreplacing the image-blaster chain. Writes the same scene manifest, so the\nresult is polled through `/api/scenes/{scene_id}/status` like any other scene.","operationId":"generate_environment_api_scenes_generate_environment_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_generate_environment_api_scenes_generate_environment_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/{scene_id}/status":{"get":{"tags":["scenes"],"summary":"Get Scene Status","description":"Return the current scene manifest (status + composed environment/objects).","operationId":"get_scene_status_api_scenes__scene_id__status_get","parameters":[{"name":"scene_id","in":"path","required":true,"schema":{"type":"string","title":"Scene Id"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/{scene_id}/refine":{"post":{"tags":["scenes"],"summary":"Refine Environment","description":"Re-run a fast preview at full quality, reusing its panorama.\n\nThe preview's panorama is already a READY World Labs asset, so this skips\nprojection, upload and panorama completion and goes straight back to\npano2Meshes. Refines in place — the same scene id gains better meshes.","operationId":"refine_environment_api_scenes__scene_id__refine_post","parameters":[{"name":"scene_id","in":"path","required":true,"schema":{"type":"string","title":"Scene Id"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"max_objects","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Objects"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/panoramas":{"post":{"tags":["scenes"],"summary":"Generate Panoramas","description":"Generate candidate panoramas from a text prompt, for the picker UI.\n\nRuns `img2Pano` on a fully transparent canvas — World Labs has no\ntext-to-image endpoint, but a blank partial panorama plus a prompt is the\ndocumented contract's empty case, so this stays entirely within World Labs.","operationId":"generate_panoramas_api_scenes_panoramas_post","parameters":[{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PanoDraftRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PanoDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/panoramas/{draft_id}":{"get":{"tags":["scenes"],"summary":"Get Panorama Draft","description":"Poll a panorama draft; candidates fill in as each one lands.","operationId":"get_panorama_draft_api_scenes_panoramas__draft_id__get","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","title":"Draft Id"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PanoDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/{scene_id}/chat":{"post":{"tags":["scenes"],"summary":"Chat Edit Scene","description":"Apply a natural-language edit to a scene (move/add/remove/scale an object)\nand return the assistant reply plus the updated scene.","operationId":"chat_edit_scene_api_scenes__scene_id__chat_post","parameters":[{"name":"scene_id","in":"path","required":true,"schema":{"type":"string","title":"Scene Id"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneChatRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneChatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/{scene_id}/objects/{object_id}":{"patch":{"tags":["scenes"],"summary":"Set Object Override","description":"Persist a per-object material / physics / transform override edited from\nthe inspector, so tweaks survive a reload.","operationId":"set_object_override_api_scenes__scene_id__objects__object_id__patch","parameters":[{"name":"scene_id","in":"path","required":true,"schema":{"type":"string","title":"Scene Id"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneObjectOverrideRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/{scene_id}/objects/{object_id}/promote":{"post":{"tags":["scenes"],"summary":"Promote Object","description":"Promote a generated scene object into the target project's object library so it\nbecomes a reusable, placeable asset. Idempotent per (scene_id, object_id).","operationId":"promote_object_api_scenes__scene_id__objects__object_id__promote_post","parameters":[{"name":"scene_id","in":"path","required":true,"schema":{"type":"string","title":"Scene Id"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoteObjectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoteObjectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenes/{scene_id}/assets/{filename}":{"head":{"tags":["scenes"],"summary":"Get Scene Asset","description":"Serve a generated object GLB. No auth, so three.js loaders fetch directly.\n\nNew scenes store meshes in GCS — proxy from there (dodges CORS, matches preset\nasset serving). Falls back to the legacy Postgres VFS for older scenes' assets.","operationId":"get_scene_asset_api_scenes__scene_id__assets__filename__head","parameters":[{"name":"scene_id","in":"path","required":true,"schema":{"type":"string","title":"Scene Id"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["scenes"],"summary":"Get Scene Asset","description":"Serve a generated object GLB. No auth, so three.js loaders fetch directly.\n\nNew scenes store meshes in GCS — proxy from there (dodges CORS, matches preset\nasset serving). Falls back to the legacy Postgres VFS for older scenes' assets.","operationId":"get_scene_asset_api_scenes__scene_id__assets__filename__head","parameters":[{"name":"scene_id","in":"path","required":true,"schema":{"type":"string","title":"Scene Id"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"project_id","in":"query","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/custom-robots/upload":{"post":{"tags":["custom-robots"],"summary":"Upload Custom Robot","description":"Upload a ZIP file containing a robot model (MJCF or URDF) with meshes.","operationId":"upload_custom_robot_api_custom_robots_upload_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_custom_robot_api_custom_robots_upload_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRobotUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/custom-robots/":{"get":{"tags":["custom-robots"],"summary":"List Custom Robots","description":"List custom robots visible to the current user.","operationId":"list_custom_robots_api_custom_robots__get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustomRobotOut"},"title":"Response List Custom Robots Api Custom Robots  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/custom-robots/{slug}":{"get":{"tags":["custom-robots"],"summary":"Get Custom Robot","description":"Get custom robot metadata.","operationId":"get_custom_robot_api_custom_robots__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRobotOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["custom-robots"],"summary":"Delete Custom Robot","description":"Delete a custom robot. Only the creator can delete.","operationId":"delete_custom_robot_api_custom_robots__slug__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/custom-robots/{slug}/file":{"get":{"tags":["custom-robots"],"summary":"Get Custom Robot File","description":"Serve the main XML/URDF file with MuJoCo <include> directives resolved.","operationId":"get_custom_robot_file_api_custom_robots__slug__file_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/custom-robots/{slug}/meshes/{asset_path}":{"get":{"tags":["custom-robots"],"summary":"Get Custom Robot Asset","description":"Serve a mesh/texture asset from the custom robot's stored files.","operationId":"get_custom_robot_asset_api_custom_robots__slug__meshes__asset_path__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"asset_path","in":"path","required":true,"schema":{"type":"string","title":"Asset Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/custom-robots/{slug}/assets/{asset_path}":{"get":{"tags":["custom-robots"],"summary":"Get Custom Robot Asset","description":"Serve a mesh/texture asset from the custom robot's stored files.","operationId":"get_custom_robot_asset_api_custom_robots__slug__assets__asset_path__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"asset_path","in":"path","required":true,"schema":{"type":"string","title":"Asset Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/arms":{"get":{"tags":["deploy"],"summary":"Get Arms","operationId":"get_arms_api_v1_deploy_arms_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ArmInfo"},"title":"Response Get Arms Api V1 Deploy Arms Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/cameras":{"get":{"tags":["deploy"],"summary":"Get Cameras","description":"Detect locally-attached cameras the user can pick for a deployment.\n\nProbes via OpenCV which means each candidate index gets opened\nbriefly (~0.5–1s). On macOS we test indices 0..MAX, on Linux we\nwalk /dev/video*. Cached at request time so the deploy modal can\nshow a refresh button.","operationId":"get_cameras_api_v1_deploy_cameras_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/schemas__deploy__CameraInfo"},"title":"Response Get Cameras Api V1 Deploy Cameras Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/preflight":{"post":{"tags":["deploy"],"summary":"Preflight","description":"Run pre-deployment diagnostics on a port + robot_id.\n\nSurfaces USB / power / daisy-chain / calibration issues so the\nfrontend can guide the user before attempting a real deploy.","operationId":"preflight_api_v1_deploy_preflight_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreflightRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreflightReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/calibration/adopt":{"post":{"tags":["deploy"],"summary":"Adopt Calibration","description":"Copy an existing calibration file to a new robot_id.\n\nLets the UI offer \"use my existing calibration\" without forcing the\nuser to re-calibrate when they have a working file under a\ndifferent name.","operationId":"adopt_calibration_api_v1_deploy_calibration_adopt_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdoptCalibrationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/start":{"post":{"tags":["deploy"],"summary":"Start Deploy","operationId":"start_deploy_api_v1_deploy_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/stop":{"post":{"tags":["deploy"],"summary":"Stop Deploy","operationId":"stop_deploy_api_v1_deploy_stop_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/status":{"get":{"tags":["deploy"],"summary":"Get Status","operationId":"get_status_api_v1_deploy_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/observe":{"post":{"tags":["deploy"],"summary":"Start Observe","description":"Preview mode: connect to robot and stream observations without a policy.","operationId":"start_observe_api_v1_deploy_observe_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObserveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/observe/stop":{"post":{"tags":["deploy"],"summary":"Stop Observe","operationId":"stop_observe_api_v1_deploy_observe_stop_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/record/start":{"post":{"tags":["deploy"],"summary":"Start Recording","operationId":"start_recording_api_v1_deploy_record_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordingStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/record/stop":{"post":{"tags":["deploy"],"summary":"Stop Recording","operationId":"stop_recording_api_v1_deploy_record_stop_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeSaved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deploy/record/status":{"get":{"tags":["deploy"],"summary":"Get Recording Status","operationId":"get_recording_status_api_v1_deploy_record_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordingStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/projects/{project_id}/deployments":{"get":{"tags":["deploy"],"summary":"List Project Deployments","operationId":"list_project_deployments_api_v1_projects__project_id__deployments_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deployment"},"title":"Response List Project Deployments Api V1 Projects  Project Id  Deployments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["deploy"],"summary":"Create Project Deployment","operationId":"create_project_deployment_api_v1_projects__project_id__deployments_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deployment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deployments/{deployment_id}":{"delete":{"tags":["deploy"],"summary":"Delete Deployment","operationId":"delete_deployment_api_v1_deployments__deployment_id__delete","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deployments/{deployment_id}/start":{"post":{"tags":["deploy"],"summary":"Start Saved Deployment","operationId":"start_saved_deployment_api_v1_deployments__deployment_id__start_post","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartDeploymentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/ports":{"get":{"tags":["capture"],"summary":"Get Ports","description":"List USB serial ports — same enumeration as /api/v1/deploy/arms.","operationId":"get_ports_api_v1_capture_ports_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ArmInfo"},"title":"Response Get Ports Api V1 Capture Ports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/cameras":{"get":{"tags":["capture"],"summary":"Get Cameras","operationId":"get_cameras_api_v1_capture_cameras_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/schemas__capture__CameraInfo"},"title":"Response Get Cameras Api V1 Capture Cameras Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/sessions":{"post":{"tags":["capture"],"summary":"Start Session","operationId":"start_session_api_v1_capture_sessions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartCaptureRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureSessionStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["capture"],"summary":"Stop Session","operationId":"stop_session_api_v1_capture_sessions_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/sessions/begin":{"post":{"tags":["capture"],"summary":"Begin Session","description":"Promote the session from aligning → running.\n\nBy default refuses if any joint is misaligned beyond the safety\nthreshold. Pass force=true after the user has acknowledged the\nwarning in the UI — useful when calibration ranges differ between\nleader and follower so the alignment metric is misleading.","operationId":"begin_session_api_v1_capture_sessions_begin_post","parameters":[{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureSessionStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/sessions/status":{"get":{"tags":["capture"],"summary":"Session Status","operationId":"session_status_api_v1_capture_sessions_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureSessionStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/sessions/episodes/start":{"post":{"tags":["capture"],"summary":"Episode Start","operationId":"episode_start_api_v1_capture_sessions_episodes_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeStartedStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/sessions/episodes/stop":{"post":{"tags":["capture"],"summary":"Episode Stop","operationId":"episode_stop_api_v1_capture_sessions_episodes_stop_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeStoppedStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/sessions/episodes/discard_last":{"post":{"tags":["capture"],"summary":"Episode Discard Last","operationId":"episode_discard_last_api_v1_capture_sessions_episodes_discard_last_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureSessionStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/setup":{"post":{"tags":["capture"],"summary":"Setup Motors Start","description":"Open the FeetechMotorsBus and prepare to walk the user through\nassigning IDs to each motor in turn.","operationId":"setup_motors_start_api_v1_capture_setup_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartMotorSetupRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotorSetupStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["capture"],"summary":"Setup Motors Cancel","operationId":"setup_motors_cancel_api_v1_capture_setup_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/setup/step":{"post":{"tags":["capture"],"summary":"Setup Motors Step","description":"Run the next setup_motor step. The user MUST have only the\nmatching motor connected to the controller board before calling.","operationId":"setup_motors_step_api_v1_capture_setup_step_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotorSetupStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/setup/status":{"get":{"tags":["capture"],"summary":"Setup Motors Status","operationId":"setup_motors_status_api_v1_capture_setup_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotorSetupStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/arm/status":{"get":{"tags":["capture"],"summary":"Arm Status","description":"Probe one arm: are motors set up + does a calibration file exist?\n\nUsed by the UI to show green checkmarks on the setup buttons.","operationId":"arm_status_api_v1_capture_arm_status_get","parameters":[{"name":"port","in":"query","required":true,"schema":{"type":"string","title":"Port"}},{"name":"kind","in":"query","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"robot_id","in":"query","required":true,"schema":{"type":"string","title":"Robot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArmReadinessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calibrate":{"post":{"tags":["capture"],"summary":"Calibrate Start","operationId":"calibrate_start_api_v1_capture_calibrate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartCalibrationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["capture"],"summary":"Calibrate Cancel","operationId":"calibrate_cancel_api_v1_capture_calibrate_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calibrate/confirm-center":{"post":{"tags":["capture"],"summary":"Calibrate Confirm Center","operationId":"calibrate_confirm_center_api_v1_capture_calibrate_confirm_center_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calibrate/save":{"post":{"tags":["capture"],"summary":"Calibrate Save","operationId":"calibrate_save_api_v1_capture_calibrate_save_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calibrate/status":{"get":{"tags":["capture"],"summary":"Calibrate Status","operationId":"calibrate_status_api_v1_capture_calibrate_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/sessions/finish":{"post":{"tags":["capture"],"summary":"Finish Session","operationId":"finish_session_api_v1_capture_sessions_finish_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinishCaptureRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapturedDataset"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/api-keys":{"post":{"tags":["api-keys"],"summary":"Create Api Key","description":"Create a new API key. The raw key is returned only in this response.","operationId":"create_api_key_api_api_keys_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["api-keys"],"summary":"List Api Keys","description":"List the user's unrevoked keys (expired ones included), with the rate limit a new key gets.","operationId":"list_api_keys_api_api_keys_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/api-keys/{api_key_id}":{"patch":{"tags":["api-keys"],"summary":"Update Api Key","description":"Rename a key, change its scopes, or change when it expires. Takes effect on the key's next request.","operationId":"update_api_key_api_api_keys__api_key_id__patch","parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateApiKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["api-keys"],"summary":"Revoke Api Key","description":"Revoke an API key.","operationId":"revoke_api_key_api_api_keys__api_key_id__delete","parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulation/sessions":{"post":{"tags":["simulation"],"summary":"Create Session","description":"Create a new interactive simulation session from a project's scene description.","operationId":"create_session_api_simulation_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulation/sessions/{session_id}":{"get":{"tags":["simulation"],"summary":"Get Session","description":"Get current status of a simulation session.","operationId":"get_session_api_simulation_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulation/sessions/{session_id}/play":{"post":{"tags":["simulation"],"summary":"Play Session","description":"Start or resume the simulation.","operationId":"play_session_api_simulation_sessions__session_id__play_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulation/sessions/{session_id}/pause":{"post":{"tags":["simulation"],"summary":"Pause Session","description":"Pause the simulation.","operationId":"pause_session_api_simulation_sessions__session_id__pause_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulation/sessions/{session_id}/stop":{"post":{"tags":["simulation"],"summary":"Stop Session","description":"Stop and clean up the simulation session.","operationId":"stop_session_api_simulation_sessions__session_id__stop_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulation/sessions/{session_id}/step":{"post":{"tags":["simulation"],"summary":"Step Session","description":"Execute a single physics step (frame-by-frame debugging).","operationId":"step_session_api_simulation_sessions__session_id__step_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulation/sessions/{session_id}/input":{"post":{"tags":["simulation"],"summary":"Send Input","description":"Send user input (forces, positions, robot commands) to the simulation.","operationId":"send_input_api_simulation_sessions__session_id__input_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InputMessage"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/import":{"post":{"tags":["augment"],"summary":"Start Import","operationId":"start_import_api_augment_import_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartAugmentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Import Api Augment Import Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/sessions":{"get":{"tags":["augment"],"summary":"List Sessions","description":"The user's augmentation sessions (newest first) for the history table.","operationId":"list_sessions_api_augment_sessions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Sessions Api Augment Sessions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}":{"get":{"tags":["augment"],"summary":"Get Session","operationId":"get_session_api_augment__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Session Api Augment  Session Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["augment"],"summary":"Discard","operationId":"discard_api_augment__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Discard Api Augment  Session Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/status":{"get":{"tags":["augment"],"summary":"Get Status","operationId":"get_status_api_augment__session_id__status_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Status Api Augment  Session Id  Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/cost-estimate":{"get":{"tags":["augment"],"summary":"Cost Estimate","description":"Authoritative pre-generate cost estimate — same function as the charge, so the UI\nnumber matches the ledger. ``count`` = the Refine step's current row count.","operationId":"cost_estimate_api_augment__session_id__cost_estimate_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"count","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Cost Estimate Api Augment  Session Id  Cost Estimate Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/approve-source":{"post":{"tags":["augment"],"summary":"Approve Source","operationId":"approve_source_api_augment__session_id__approve_source_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Approve Source Api Augment  Session Id  Approve Source Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/retry":{"post":{"tags":["augment"],"summary":"Retry Failed","description":"Re-drive the phase a FAILED session died in (the wizard's Retry button).","operationId":"retry_failed_api_augment__session_id__retry_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Retry Failed Api Augment  Session Id  Retry Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/prompt-variations":{"post":{"tags":["augment"],"summary":"Prompt Variations","description":"Generate N LLM-based variations of the session's instruction (one per\nrequested video). Powers the Refine prompts step. Read-only: does NOT\nmutate the session — the user edits the returned variations client-side\nand posts the final list back to /generate.","operationId":"prompt_variations_api_augment__session_id__prompt_variations_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Prompt Variations Api Augment  Session Id  Prompt Variations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/generate":{"post":{"tags":["augment"],"summary":"Generate","operationId":"generate_api_augment__session_id__generate_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/GenerateAugmentRequest"},{"type":"null"}],"title":"Req"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Api Augment  Session Id  Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/episodes/{episode_index}/approve":{"post":{"tags":["augment"],"summary":"Approve Episode","operationId":"approve_episode_api_augment__session_id__episodes__episode_index__approve_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"episode_index","in":"path","required":true,"schema":{"type":"integer","title":"Episode Index"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Approve Episode Api Augment  Session Id  Episodes  Episode Index  Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/episodes/{episode_index}/reject":{"post":{"tags":["augment"],"summary":"Reject Episode","operationId":"reject_episode_api_augment__session_id__episodes__episode_index__reject_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"episode_index","in":"path","required":true,"schema":{"type":"integer","title":"Episode Index"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reject Episode Api Augment  Session Id  Episodes  Episode Index  Reject Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/episodes/{episode_index}/cameras/{camera}/regenerate":{"post":{"tags":["augment"],"summary":"Regenerate Camera","description":"Re-generate one camera clip of a generated episode with an improvement note (Omni only).","operationId":"regenerate_camera_api_augment__session_id__episodes__episode_index__cameras__camera__regenerate_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"episode_index","in":"path","required":true,"schema":{"type":"integer","title":"Episode Index"}},{"name":"camera","in":"path","required":true,"schema":{"type":"string","title":"Camera"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateCameraRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Regenerate Camera Api Augment  Session Id  Episodes  Episode Index  Cameras  Camera  Regenerate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/episodes/{episode_index}/cameras/{camera}/video":{"get":{"tags":["augment"],"summary":"Episode Camera Video","description":"Stream one camera clip (generated by default, or the source when ``source=1``) as an mp4 so\nthe review UI can play it in a real <video>. Encoded on demand from the in-memory session.","operationId":"episode_camera_video_api_augment__session_id__episodes__episode_index__cameras__camera__video_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"episode_index","in":"path","required":true,"schema":{"type":"integer","title":"Episode Index"}},{"name":"camera","in":"path","required":true,"schema":{"type":"string","title":"Camera"}},{"name":"source","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Source"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment/{session_id}/push":{"post":{"tags":["augment"],"summary":"Push","operationId":"push_api_augment__session_id__push_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushAugmentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Push Api Augment  Session Id  Push Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/catalog/policies":{"get":{"tags":["lerobot-training"],"summary":"List Policies","description":"Every LeRobot policy type the installed lerobot can train.","operationId":"list_policies_api_lerobot_catalog_policies_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PolicyCatalogEntry"},"title":"Response List Policies Api Lerobot Catalog Policies Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/catalog/robots":{"get":{"tags":["lerobot-training"],"summary":"List Robots","description":"LeRobot robot tags (compatibility/label only).","operationId":"list_robots_api_lerobot_catalog_robots_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RobotCatalogEntry"},"title":"Response List Robots Api Lerobot Catalog Robots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/datasets/inspect":{"post":{"tags":["lerobot-training"],"summary":"Inspect Dataset","description":"Read a LeRobot dataset's metadata: camera keys, action/state dim, fps, etc.","operationId":"inspect_dataset_api_lerobot_datasets_inspect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetInspectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetInspectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/runs":{"post":{"tags":["lerobot-training"],"summary":"Create Runs","description":"Launch one Vertex GPU job per selected model (a run group). Each run gets its /v1 id here too, so the API,\nJobs and Home list it and its end sends the account's webhooks.","operationId":"create_runs_api_lerobot_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeRobotRunCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunGroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["lerobot-training"],"summary":"List Runs","description":"List the current user's standalone LeRobot runs (most recent first).","operationId":"list_runs_api_lerobot_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RunOut"},"title":"Response List Runs Api Lerobot Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/groups":{"get":{"tags":["lerobot-training"],"summary":"List Groups","description":"One summary row per launch — drives the /training-run table.","operationId":"list_groups_api_lerobot_groups_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunGroupListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/policies":{"get":{"tags":["lerobot-training"],"summary":"List Trained Policies","description":"List the user's reusable trained policies (across all runs).\n\nBacked by the ``trained_policies`` table so eval/deploy/other surfaces can\nreference a trained checkpoint without going through its training run.","operationId":"list_trained_policies_api_lerobot_policies_get","parameters":[{"name":"latest_only","in":"query","required":false,"schema":{"type":"boolean","description":"Only the latest checkpoint per job","default":false,"title":"Latest Only"},"description":"Only the latest checkpoint per job"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainedPolicyListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/groups/{group_id}/policies":{"get":{"tags":["lerobot-training"],"summary":"List Group Trained Policies","description":"Trained policies produced by the runs in one launch (group).","operationId":"list_group_trained_policies_api_lerobot_groups__group_id__policies_get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","description":"Run group id","title":"Group Id"},"description":"Run group id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainedPolicyListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/runs/{group_id}":{"get":{"tags":["lerobot-training"],"summary":"Get Run Group","description":"Status (+ checkpoints + live progress) of every run in a group.","operationId":"get_run_group_api_lerobot_runs__group_id__get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","description":"Run group id","title":"Group Id"},"description":"Run group id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunGroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["lerobot-training"],"summary":"Delete Run Group","description":"Delete an entire training run (every parallel model in the launch).","operationId":"delete_run_group_api_lerobot_runs__group_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","description":"Run group id","title":"Group Id"},"description":"Run group id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/runs/job/{job_id}":{"get":{"tags":["lerobot-training"],"summary":"Get Run","description":"Fresh status (+ checkpoints + live progress) for a single run.","operationId":"get_run_api_lerobot_runs_job__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job id","title":"Job Id"},"description":"Training job id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["lerobot-training"],"summary":"Delete Run","description":"Delete a single run (cancels it first if still running).","operationId":"delete_run_api_lerobot_runs_job__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job id","title":"Job Id"},"description":"Training job id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/runs/job/{job_id}/stop":{"post":{"tags":["lerobot-training"],"summary":"Stop Run","description":"Cancel a running standalone run.","operationId":"stop_run_api_lerobot_runs_job__job_id__stop_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job id","title":"Job Id"},"description":"Training job id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/runs/job/{job_id}/retry":{"post":{"tags":["lerobot-training"],"summary":"Retry Run","description":"Re-submit a failed/cancelled run as a fresh Vertex job (same config).\n\nA fresh hold, as at launch. GPU access is gated by\ntoken balance below, not subscription tier.","operationId":"retry_run_api_lerobot_runs_job__job_id__retry_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job id","title":"Job Id"},"description":"Training job id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/runs/job/{job_id}/push-to-hub":{"post":{"tags":["lerobot-training"],"summary":"Repush To Hub","description":"Re-push a finished run's latest checkpoint to the HF Hub (no GPU).\n\nUse when the automatic post-training push failed (HF outage, token expired).\nStreams the already-saved checkpoint from GCS to the Hub — never retrains.\n\nThe transfer is blocking and memory-heavy (it stages a multi-GB checkpoint in a\ntemp dir, which is RAM-backed tmpfs on Cloud Run, then uploads it). Run it OFF the\nevent loop so it can't starve the single uvicorn worker. The frontend points this\ncall at the 32Gi kite-augment service — the 2Gi main API OOMs on pi0-class\ncheckpoints, which surfaced as a bare 502 'Bad Gateway' (container killed).","operationId":"repush_to_hub_api_lerobot_runs_job__job_id__push_to_hub_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job id","title":"Job Id"},"description":"Training job id"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/runs/job/{job_id}/checkpoints/{step}/download":{"get":{"tags":["lerobot-training"],"summary":"Download Checkpoint","description":"Download a trained checkpoint as a ZIP of its ``pretrained_model/`` dir.\n\nStreams straight from GCS. Auth via the normal ``Authorization`` header or a\n``?token=`` query param so a plain ``<a href>`` download works.","operationId":"download_checkpoint_api_lerobot_runs_job__job_id__checkpoints__step__download_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job id","title":"Job Id"},"description":"Training job id"},{"name":"step","in":"path","required":true,"schema":{"type":"integer","description":"Checkpoint step","title":"Step"},"description":"Checkpoint step"},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Auth token (for direct browser downloads)","title":"Token"},"description":"Auth token (for direct browser downloads)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lerobot/runs/job/{job_id}/eval/{path}":{"get":{"tags":["lerobot-training"],"summary":"Stream Eval Video","description":"Stream an eval rollout video so the dashboard can play it inline.\n\nAuth via header or ``?token=`` (so a bare ``<video src>`` works).","operationId":"stream_eval_video_api_lerobot_runs_job__job_id__eval__path__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","description":"Training job id","title":"Job Id"},"description":"Training job id"},{"name":"path","in":"path","required":true,"schema":{"type":"string","description":"Relative eval artifact path","title":"Path"},"description":"Relative eval artifact path"},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Auth token (for <video src>)","title":"Token"},"description":"Auth token (for <video src>)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/eval/runs":{"post":{"tags":["eval"],"summary":"Create Eval Run","description":"Launch an evaluation run. Returns {eval_run_id}.","operationId":"create_eval_run_api_eval_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvalRunCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["eval"],"summary":"List Eval Runs","operationId":"list_eval_runs_api_eval_runs_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/eval/catalog":{"get":{"tags":["eval"],"summary":"List Eval Catalog","description":"List the built-in eval environments (benchmark tasks) a policy can be\ntested against without a project.","operationId":"list_eval_catalog_api_eval_catalog_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/eval/catalog/{entry_id}":{"get":{"tags":["eval"],"summary":"Get Eval Catalog Entry","description":"Full metadata (incl. task_config) for one catalog environment.","operationId":"get_eval_catalog_entry_api_eval_catalog__entry_id__get","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/eval/runs/{eval_run_id}":{"get":{"tags":["eval"],"summary":"Get Eval Run","description":"Run record with a freshly-aggregated summary (live success rate).","operationId":"get_eval_run_api_eval_runs__eval_run_id__get","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["eval"],"summary":"Delete Eval Run","description":"Delete an evaluation run: stops any still-running containers, then removes\nthe run and its episode rows. GCS artifacts are left in place.","operationId":"delete_eval_run_api_eval_runs__eval_run_id__delete","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/eval/runs/{eval_run_id}/vlm-judge":{"post":{"tags":["eval"],"summary":"Run Vlm Judge","description":"Manually (re-)run the VLM-judge post-pass for a finished run, then return\nthe refreshed summary. A no-op for runs whose success_determination=physics.","operationId":"run_vlm_judge_api_eval_runs__eval_run_id__vlm_judge_post","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/eval/runs/{eval_run_id}/episodes":{"get":{"tags":["eval"],"summary":"List Eval Episodes","operationId":"list_eval_episodes_api_eval_runs__eval_run_id__episodes_get","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/eval/runs/{eval_run_id}/stop":{"post":{"tags":["eval"],"summary":"Stop Eval Run","operationId":"stop_eval_run_api_eval_runs__eval_run_id__stop_post","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/eval/runs/{eval_run_id}/episodes/{episode_index}/artifact":{"get":{"tags":["eval"],"summary":"Get Episode Artifact","description":"Stream an episode artifact (video/rrd/trajectory) from GCS via the API\nso the browser doesn't need GCS credentials.","operationId":"get_episode_artifact_api_eval_runs__eval_run_id__episodes__episode_index__artifact_get","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"episode_index","in":"path","required":true,"schema":{"type":"integer","title":"Episode Index"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(video|rrd|trajectory)$","default":"video","title":"Kind"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/twinforge/recipes":{"get":{"tags":["twinforge"],"summary":"List Recipes","description":"The three recreation approaches, with what each wins and loses on.","operationId":"list_recipes_api_twinforge_recipes_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Recipes Api Twinforge Recipes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/twinforge/examples":{"get":{"tags":["twinforge"],"summary":"List Forge Examples","description":"Curated recipe/dataset pairings. Any of them runs under any recipe.","operationId":"list_forge_examples_api_twinforge_examples_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Forge Examples Api Twinforge Examples Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/twinforge/runs":{"post":{"tags":["twinforge"],"summary":"Start Forge Run","operationId":"start_forge_run_api_twinforge_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartForgeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Forge Run Api Twinforge Runs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["twinforge"],"summary":"List Forge Runs","operationId":"list_forge_runs_api_twinforge_runs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Forge Runs Api Twinforge Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/twinforge/runs/example":{"post":{"tags":["twinforge"],"summary":"Start Example Run","operationId":"start_example_run_api_twinforge_runs_example_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartExampleRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Example Run Api Twinforge Runs Example Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/twinforge/runs/{session_id}":{"get":{"tags":["twinforge"],"summary":"Get Forge Run","operationId":"get_forge_run_api_twinforge_runs__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Forge Run Api Twinforge Runs  Session Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["twinforge"],"summary":"Delete Forge Run","operationId":"delete_forge_run_api_twinforge_runs__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/twinforge/runs/{session_id}/status":{"get":{"tags":["twinforge"],"summary":"Get Forge Status","description":"Lightweight poll — no scene graph, no scorecard, no previews.","operationId":"get_forge_status_api_twinforge_runs__session_id__status_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Forge Status Api Twinforge Runs  Session Id  Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/twinforge/runs/{session_id}/artifacts/{name}":{"get":{"tags":["twinforge"],"summary":"Get Forge Artifact","operationId":"get_forge_artifact_api_twinforge_runs__session_id__artifacts__name__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vla-experiments":{"post":{"tags":["vla_experiments"],"summary":"Create Experiment","description":"Launch an approach-comparison experiment. Returns the run record.","operationId":"create_experiment_api_vla_experiments_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VlaExperimentCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["vla_experiments"],"summary":"List Experiments","operationId":"list_experiments_api_vla_experiments_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vla-experiments/{experiment_id}":{"get":{"tags":["vla_experiments"],"summary":"Get Experiment","operationId":"get_experiment_api_vla_experiments__experiment_id__get","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["vla_experiments"],"summary":"Delete Experiment","operationId":"delete_experiment_api_vla_experiments__experiment_id__delete","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vla-experiments/{experiment_id}/episodes/video":{"get":{"tags":["vla_experiments"],"summary":"Episode Video","description":"Stream one episode's reconstructed MP4 for the results inspector (see episode_video.py).","operationId":"episode_video_api_vla_experiments__experiment_id__episodes_video_get","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"episode_id","in":"query","required":true,"schema":{"type":"string","title":"Episode Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vla-experiments/{experiment_id}/label-overrides":{"post":{"tags":["vla_experiments"],"summary":"Set Label Override","description":"Set/clear a human ground-truth override for one episode. The correction is a\nproperty of the DATASET's ground truth (the demos are identical across models), so it\nis applied to EVERY model's run of that dataset — keeping accuracy/precision/F1 on the\nsame ground truth so pro-vs-flash stays a fair comparison.","operationId":"set_label_override_api_vla_experiments__experiment_id__label_overrides_post","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelOverrideBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-eval/runs":{"post":{"tags":["sim-eval"],"summary":"Create Sim Eval Run","description":"Launch an MJWarp eval (fans out across GPU replicas). Returns {eval_run_id}.","operationId":"create_sim_eval_run_api_sim_eval_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimEvalCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["sim-eval"],"summary":"List Sim Eval Runs","description":"This user's sim_eval runs (GCS-backed, newest first).","operationId":"list_sim_eval_runs_api_sim_eval_runs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-eval/runs/{run_id}":{"get":{"tags":["sim-eval"],"summary":"Get Sim Eval Run","description":"Run record + a freshly-aggregated dashboard summary (with Wilson CI).","operationId":"get_sim_eval_run_api_sim_eval_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/partner-signup":{"post":{"tags":["evaluations"],"summary":"Partner Signup","operationId":"partner_signup_api_evaluations_partner_signup_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSignupCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSignupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/partner-signup/public":{"post":{"tags":["evaluations"],"summary":"Partner Signup Public","description":"Unauthenticated twin of the above, for the marketing site's form.\n\nNo auth by design — a marketing lead form has no session. The marketing\nservice proxies this server-side and screens obvious bot traffic first, so\nthis stays a plain notify with the same Slack message as the in-app form.","operationId":"partner_signup_public_api_evaluations_partner_signup_public_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSignupCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSignupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/catalog":{"get":{"tags":["evaluations"],"summary":"Get Catalog","operationId":"get_catalog_api_evaluations_catalog_get","parameters":[{"name":"robot","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/estimate":{"post":{"tags":["evaluations"],"summary":"Estimate Suite","operationId":"estimate_suite_api_evaluations_estimate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuiteCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/runs":{"post":{"tags":["evaluations"],"summary":"Create Suite Run","operationId":"create_suite_run_api_evaluations_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuiteCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/runs/{eval_run_id}/refine-reasons":{"post":{"tags":["evaluations"],"summary":"Refine Reasons","description":"(Re)run the VLM failure-reason refinement over this run's failed episodes (idempotent per episode).","operationId":"refine_reasons_api_evaluations_runs__eval_run_id__refine_reasons_post","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/runs/{eval_run_id}/report":{"get":{"tags":["evaluations"],"summary":"Get Suite Report","description":"Overall + per-scenario success %, failure histogram, edge cases (objects/scenarios below the mean).","operationId":"get_suite_report_api_evaluations_runs__eval_run_id__report_get","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/runs/{eval_run_id}/live":{"get":{"tags":["evaluations"],"summary":"Get Live Frame","description":"Newest viewport frame from a running rollout (worker uploads live/r<replica>.jpg every few\nseconds — see isaac_eval_service/kite_live_frames.py). 404 until the first frame lands.","operationId":"get_live_frame_api_evaluations_runs__eval_run_id__live_get","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"replica","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Replica"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations/runs/{eval_run_id}/live/hls/{rdir}/{name}":{"get":{"tags":["evaluations"],"summary":"Get Live Hls","description":"HLS live video of a running rollout (worker ships 2 s segments + a sliding playlist — see\nisaac_eval_service/live_stream.py). The replica lives in the PATH (`r0`), not a query param:\nthe playlist references segments by relative name, so they must resolve under the same prefix.\nThe playlist is never cacheable; segments are immutable.","operationId":"get_live_hls_api_evaluations_runs__eval_run_id__live_hls__rdir___name__get","parameters":[{"name":"eval_run_id","in":"path","required":true,"schema":{"type":"string","title":"Eval Run Id"}},{"name":"rdir","in":"path","required":true,"schema":{"type":"string","title":"Rdir"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/prewarm":{"post":{"tags":["sim-live"],"summary":"Prewarm","description":"Start loading a policy on its cloud GPU service NOW (fire-and-forget) so the\nfirst action after Play is warm. Light policies run in-process → nothing to\nwarm. Poll ``/prewarm/status`` for readiness.","operationId":"prewarm_api_sim_live_prewarm_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrewarmRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Prewarm Api Sim Live Prewarm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/prewarm/status":{"get":{"tags":["sim-live"],"summary":"Prewarm Status","description":"Is ``policy_ref`` warm yet? Lets the UI flip 'Warming up…' → 'Ready'.","operationId":"prewarm_status_api_sim_live_prewarm_status_get","parameters":[{"name":"policy_ref","in":"query","required":true,"schema":{"type":"string","title":"Policy Ref"}},{"name":"policy_ref_alt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Ref Alt"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Prewarm Status Api Sim Live Prewarm Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/policy-obs":{"get":{"tags":["sim-live"],"summary":"Policy Obs","description":"A policy's observation requirements + how they'd map onto the scene's robot\ncameras — so the UI can show 'top → wrist (fallback)' before Play.","operationId":"policy_obs_api_sim_live_policy_obs_get","parameters":[{"name":"policy_ref","in":"query","required":true,"schema":{"type":"string","title":"Policy Ref"}},{"name":"policy_ref_alt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Ref Alt"}},{"name":"inventory_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inventory Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Policy Obs Api Sim Live Policy Obs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/sessions":{"post":{"tags":["sim-live"],"summary":"Create Live Session","description":"Build a single MJWarp world + policy and return a session to stream.","operationId":"create_live_session_api_sim_live_sessions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLiveSession"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/sessions/{session_id}/start":{"post":{"tags":["sim-live"],"summary":"Start Live Session","description":"Begin (or resume) streaming for a created session — the headless equivalent\nof the WS ``play`` message, so CLI/MCP clients can drive a live policy without\na socket. The loop runs as a background task; this returns immediately.","operationId":"start_live_session_api_sim_live_sessions__session_id__start_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/sessions/{session_id}":{"get":{"tags":["sim-live"],"summary":"Get Live Session","operationId":"get_live_session_api_sim_live_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/sessions/{session_id}/policy-view":{"get":{"tags":["sim-live"],"summary":"Policy View","description":"The driving policy's LATEST observation — the exact motor-position state vector\n+ rendered camera frames (JPEG base64) it's being fed each inference. Powers the\n\"what the robot sees\" panel so the sim→real observation gap is visible. Returns\n``{ok:false}`` when no lerobot policy is driving (yet). Encoded lazily off the loop.","operationId":"policy_view_api_sim_live_sessions__session_id__policy_view_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Policy View Api Sim Live Sessions  Session Id  Policy View Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/sessions/{session_id}/research-recording":{"get":{"tags":["sim-live"],"summary":"Research Recording","description":"The HRI-study teleop policy's captured demonstration (EE + grip trajectory).\nThe /ide-research teach step fetches this after the participant stops recording and\nsends it in the ``teach_complete`` artifact, from which their policy is trained.","operationId":"research_recording_api_sim_live_sessions__session_id__research_recording_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Research Recording Api Sim Live Sessions  Session Id  Research Recording Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-live/sessions/{session_id}/stop":{"post":{"tags":["sim-live"],"summary":"Stop Live Session","operationId":"stop_live_session_api_sim_live_sessions__session_id__stop_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-train/sessions":{"post":{"tags":["sim-train"],"summary":"Create Training Session","description":"Build the env + PPO runner; returns a session to stream (connect the WS to start).","operationId":"create_training_session_api_sim_train_sessions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTrainingSession"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-train/sessions/{session_id}/start":{"post":{"tags":["sim-train"],"summary":"Start Training Session","description":"Begin the PPO run for a created session — the headless equivalent of the WS\n``play`` message, so CLI/MCP clients can drive training without a socket. The\nworker runs in a background thread; this returns immediately. Idempotent.","operationId":"start_training_session_api_sim_train_sessions__session_id__start_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-train/sessions/{session_id}":{"get":{"tags":["sim-train"],"summary":"Get Training Session","operationId":"get_training_session_api_sim_train_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["sim-train"],"summary":"Remove Training Session","description":"Discard the live session (the user dismissed the panel). The saved policy\nstays in the library — use ``DELETE /policies/{id}`` to remove that.","operationId":"remove_training_session_api_sim_train_sessions__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-train/sessions/{session_id}/stop":{"post":{"tags":["sim-train"],"summary":"Stop Training Session","description":"Halt the run but keep the session so its checkpoint stays playable/downloadable.","operationId":"stop_training_session_api_sim_train_sessions__session_id__stop_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-train/sessions/{session_id}/checkpoint":{"get":{"tags":["sim-train"],"summary":"Download Checkpoint","description":"Download the live session's trained policy (``policy.pt``). Falls back to the\nlibrary copy so it works even after the session is discarded.","operationId":"download_checkpoint_api_sim_train_sessions__session_id__checkpoint_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-train/policies":{"get":{"tags":["sim-train"],"summary":"List Policies","description":"The caller's stored policies (newest first), optionally scoped to one project —\neach record carries its task/robot/scene + metrics (iterations, env-steps, reward,\nreward history) for display, plus whether a downloadable checkpoint exists.\n\nBuilt-in sample policies (ready-to-play, shipped with the app) are prepended so\na fresh workspace has something to run without training first.","operationId":"list_policies_api_sim_train_policies_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-train/policies/{policy_id}/checkpoint":{"get":{"tags":["sim-train"],"summary":"Download Policy Checkpoint","description":"Download a stored policy's checkpoint (``policy.pt``).","operationId":"download_policy_checkpoint_api_sim_train_policies__policy_id__checkpoint_get","parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-train/policies/{policy_id}":{"delete":{"tags":["sim-train"],"summary":"Delete Policy","description":"Remove a stored policy from the library (record + checkpoint).","operationId":"delete_policy_api_sim_train_policies__policy_id__delete","parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/compute/jobs/{job_id}":{"get":{"tags":["compute (prototype)"],"summary":"Get Job","operationId":"get_job_api_compute_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/compute/runs/{run_id}":{"get":{"tags":["compute (prototype)"],"summary":"Get Run Job","description":"The newest Job of a run of any kind (a retry would be a newer Job on the same run).","operationId":"get_run_job_api_compute_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/weights":{"get":{"tags":["rl-studio"],"summary":"Weight Registry","description":"Every reward/DR knob a run of this recipe can use — key, default, doc.\nThe Parameters card's \"add\" picker reads this instead of asking users to\nmemorize key names; the same schema is what gives agents safe agency.","operationId":"weight_registry_api_rl_studio_weights_get","parameters":[{"name":"recipe","in":"query","required":false,"schema":{"type":"string","default":"v3","title":"Recipe"}},{"name":"objective","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Objective"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/robots":{"get":{"tags":["rl-studio"],"summary":"List Robots","description":"The robot picker's contents, each with its trainable tasks.","operationId":"list_robots_api_rl_studio_robots_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/plan":{"post":{"tags":["rl-studio"],"summary":"Make Plan","description":"Natural language → a training plan (task, weights, commands, budget) plus\nthe reasoning behind it. Returns a plan; starting the run is a separate call,\nso the user can edit anything first.","operationId":"make_plan_api_rl_studio_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/estimate":{"post":{"tags":["rl-studio"],"summary":"Estimate Run","description":"What starting ``req`` would cost: training minutes, the tokens reserved\nat launch (bounded by the runtime cap), and the caller's balance. Nothing\nis reserved. ``billing`` is false while the studio does not charge.","operationId":"estimate_run_api_rl_studio_runs_estimate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs":{"post":{"tags":["rl-studio"],"summary":"Create Run","description":"Start a run. Cloud dispatches a Vertex GPU job that publishes frames to\nthis run's GCS prefix; local starts an in-process session instead. While\nstudio billing is on, a cloud run first reserves its estimate (402 when the\nbalance is short) and is settled by the minute when it is over.","operationId":"create_run_api_rl_studio_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["rl-studio"],"summary":"List Runs","description":"A page of the caller's runs, newest first, and whether more follow (\"Your runs\" stopped at 50). Read fresh on\nevery call, seconds for hundreds: the owner's own list must show their latest start, stop and rename, which a\nlist kept per instance did not (2026-11-25 review).","operationId":"list_runs_api_rl_studio_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}":{"patch":{"tags":["rl-studio"],"summary":"Rename Run","description":"Rename a run. Follows through to the published card when one exists —\nthe public page is a snapshot, but a snapshot with a stale NAME is just\nconfusing.","operationId":"rename_run_api_rl_studio_runs__run_id__patch","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["rl-studio"],"summary":"Get Run","operationId":"get_run_api_rl_studio_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}/stop":{"post":{"tags":["rl-studio"],"summary":"Stop Run","operationId":"stop_run_api_rl_studio_runs__run_id__stop_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}/export":{"get":{"tags":["rl-studio"],"summary":"Export Deployable","description":"A deployable bundle: ONNX with the obs normalizer baked in + a metadata\nsidecar (obs layout, action scaling, joint order) — the microduck_rl-style\nartifact that runs on a robot without this codebase.","operationId":"export_deployable_api_rl_studio_runs__run_id__export_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}/verify":{"post":{"tags":["rl-studio"],"summary":"Verify Run Endpoint","description":"Measure + render + vision-judge a finished run against its prompt.\n\nHeavy (a CPU rollout + a few rendered frames + one model call, ~1-2 min);\nthe verdict is stored on the run record under ``verify`` and returned.","operationId":"verify_run_endpoint_api_rl_studio_runs__run_id__verify_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}/policy":{"get":{"tags":["rl-studio"],"summary":"Download Policy","description":"Stream the trained ``policy.pt`` to the browser.","operationId":"download_policy_api_rl_studio_runs__run_id__policy_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}/playback":{"post":{"tags":["rl-studio"],"summary":"Start Playback","description":"Run the trained policy in fresh worlds and stream it — \"what did it learn?\"\nas opposed to the training grid's \"is it learning?\". ``theme`` is the viewer's\n(light/dark), and ``w``×``h`` its shape: the scene is rendered to match the page\naround it and to fill the view edge to edge.","operationId":"start_playback_api_rl_studio_runs__run_id__playback_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"worlds","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Worlds"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","default":"","title":"Theme"}},{"name":"w","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"W"}},{"name":"h","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"H"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}/publish":{"post":{"tags":["rl-studio"],"summary":"Publish Run","description":"Share a finished run. Returns at once: ``{\"status\": \"publishing\"}``\nwhile the bundle, thumbnail and clip are made in the background, or\n``{\"status\": \"published\", \"policy\": …}`` when the card already exists —\na new title or summary is then applied without re-rendering anything.\nRepublishing keeps the download count.","operationId":"publish_run_api_rl_studio_runs__run_id__publish_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["rl-studio"],"summary":"Publish State","description":"Where a publish stands — what the page polls after the POST.","operationId":"publish_state_api_rl_studio_runs__run_id__publish_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["rl-studio"],"summary":"Unpublish Run","description":"Hide a policy from the public catalog. Owner only — completed policies\nare public by default, but the owner can toggle one back to private from\nits own page at any time.","operationId":"unpublish_run_api_rl_studio_runs__run_id__publish_delete","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}/preview.mp4":{"get":{"tags":["rl-studio"],"summary":"Run Preview Clip","description":"The owner's result clip, published, hidden or never shared: hiding a\npolicy only delists it, and its own page keeps playing the clip from here.\n``theme`` is the page's: the clip is rendered in each.","operationId":"run_preview_clip_api_rl_studio_runs__run_id__preview_mp4_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","default":"","title":"Theme"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/runs/{run_id}/thumbnail.jpg":{"get":{"tags":["rl-studio"],"summary":"Run Thumbnail","description":"The owner's still from the result clip (its middle frame).","operationId":"run_thumbnail_api_rl_studio_runs__run_id__thumbnail_jpg_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","default":"","title":"Theme"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/community":{"get":{"tags":["rl-studio"],"summary":"List Community","description":"The public catalog. No auth: this is the front door.","operationId":"list_community_api_rl_studio_community_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":60,"title":"Limit"}},{"name":"robot","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/community/{run_id}":{"get":{"tags":["rl-studio"],"summary":"Get Community Policy","description":"One shared policy — the page a link opens.","operationId":"get_community_policy_api_rl_studio_community__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/community/{run_id}/thumbnail":{"get":{"tags":["rl-studio"],"summary":"Community Thumbnail","description":"A frame of the policy running, rendered when it was published, in the\npage's ``theme``.","operationId":"community_thumbnail_api_rl_studio_community__run_id__thumbnail_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","default":"","title":"Theme"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/community/{run_id}/preview.mp4":{"get":{"tags":["rl-studio"],"summary":"Community Preview Clip","description":"A few seconds of the policy running — what the card plays on hover —\nin the page's ``theme``.","operationId":"community_preview_clip_api_rl_studio_community__run_id__preview_mp4_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","default":"","title":"Theme"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/community/{run_id}/reference.mp4":{"get":{"tags":["rl-studio"],"summary":"Community Reference Clip","description":"The source video this policy imitated — 'what it was asked to do'.","operationId":"community_reference_clip_api_rl_studio_community__run_id__reference_mp4_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rl-studio/community/{run_id}/download":{"get":{"tags":["rl-studio"],"summary":"Download Community Policy","description":"The ONNX bundle — sign-in required.\n\nAuth is resolved by hand rather than with ``Depends(get_current_user)``\nbecause the 401 here is a product state, not an error: the page uses it to\nshow \"create an account to download\". The token may also arrive as a query\nparameter, since this URL is opened by a browser navigation.","operationId":"download_community_policy_api_rl_studio_community__run_id__download_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/from-video":{"post":{"tags":["motion-imports"],"summary":"Import From Video","description":"Start a video→motion import. Returns a session to poll.","operationId":"import_from_video_api_motions_from_video_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_from_video_api_motions_from_video_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/from-prompt":{"post":{"tags":["motion-imports"],"summary":"Import From Prompt","description":"Text → generated reference video → the same import pipeline.\n\nFor users with no video of the motion: Veo films a standard clip of a\nperson doing what the prompt describes, then extraction/retargeting run\nexactly as if it had been uploaded.","operationId":"import_from_prompt_api_motions_from_prompt_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/imports/{sid}/video":{"get":{"tags":["motion-imports"],"summary":"Import Video","description":"The generated reference clip, so the UI can show what Veo filmed.\nToken in the query — <video> elements cannot send headers.","operationId":"import_video_api_motions_imports__sid__video_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/imports/{sid}":{"get":{"tags":["motion-imports"],"summary":"Import Status","operationId":"import_status_api_motions_imports__sid__get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/procedural":{"post":{"tags":["motion-imports"],"summary":"Procedural Motion","description":"Text → reference motion without a video: a parametric human walk\n(speed, cadence, step height, turn rate) retargeted to the embodiment.\nThe planner maps prompts to these parameters; the imitation trainer does\nthe rest — the same machinery as the video path, minus the camera.","operationId":"procedural_motion_api_motions_procedural_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/motions/{motion_id}/preview":{"post":{"tags":["motion-imports"],"summary":"Start Preview","description":"Play the reference motion kinematically in the native viewer.","operationId":"start_preview_api_motions__motion_id__preview_post","parameters":[{"name":"motion_id","in":"path","required":true,"schema":{"type":"string","title":"Motion Id"}},{"name":"loops","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Loops"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sim-tasks/kinds":{"get":{"tags":["sim-tasks"],"summary":"List Kinds","description":"Task kinds + a blank starter document per kind.","operationId":"list_kinds_api_sim_tasks_kinds_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Kinds Api Sim Tasks Kinds Get"}}}}}}},"/api/sim-tasks/validate":{"post":{"tags":["sim-tasks"],"summary":"Validate","description":"Validate a task document; return its resolved scorer block or the error.","operationId":"validate_api_sim_tasks_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routers__sim_tasks__ValidateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Api Sim Tasks Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/logs/stream":{"get":{"tags":["logs"],"summary":"Stream Logs","operationId":"stream_logs_api_logs_stream_get","parameters":[{"name":"job_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"run_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":-1,"description":"Resume cursor: last seq received. Use -1 to start from the current tail (live-only) when the past is fetched separately via /history.","default":0,"title":"After"},"description":"Resume cursor: last seq received. Use -1 to start from the current tail (live-only) when the past is fetched separately via /history."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/logs/history":{"get":{"tags":["logs"],"summary":"Logs History","description":"Replay durable history for a cold/reloaded context as structured LogEvents.","operationId":"logs_history_api_logs_history_get","parameters":[{"name":"job_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},{"name":"run_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/config/validate":{"post":{"tags":["sensors"],"summary":"Validate Config","description":"Validate a sensor config and (if a robot is given) dry-run the MJCF compile.\n\nReturns ``observation_dim`` + per-type counts + a list of per-sensor ``errors`` (bad\nmount body, unemittable type, …). 422 only if the config itself is malformed.","operationId":"validate_config_api_sensors_config_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routers__sensors__ValidateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/telemetry":{"get":{"tags":["sensors"],"summary":"Telemetry","description":"Poll-by-cursor snapshot of recent sensor frames — the CLI/MCP path (no stream).","operationId":"telemetry_api_sensors_telemetry_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"since","in":"query","required":false,"schema":{"type":"integer","description":"Cursor: last seq received. 0 = from the start of the ring.","default":0,"title":"Since"},"description":"Cursor: last seq received. 0 = from the start of the ring."},{"name":"max","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":200,"title":"Max"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/frame":{"get":{"tags":["sensors"],"summary":"Frame","description":"Latest raw jpeg for one camera sensor (referenced by URL in SensorFrame.images).","operationId":"frame_api_sensors_frame_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"camera","in":"query","required":true,"schema":{"type":"string","title":"Camera"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/stream":{"get":{"tags":["sensors"],"summary":"Stream","description":"SSE of sensor frames for the browser (the UI consumes this; CLI/MCP use /telemetry).","operationId":"stream_api_sensors_stream_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":-1,"description":"Cursor; -1 = live-only (skip backlog).","default":0,"title":"After"},"description":"Cursor; -1 = live-only (skip backlog)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/recordings":{"post":{"tags":["sensors"],"summary":"Start Recording","description":"Begin recording a session's sensor data to lean files (parquet + mp4).","operationId":"start_recording_api_sensors_recordings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartRecording"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/recordings/{recording_id}":{"get":{"tags":["sensors"],"summary":"Recording Status","operationId":"recording_status_api_sensors_recordings__recording_id__get","parameters":[{"name":"recording_id","in":"path","required":true,"schema":{"type":"string","title":"Recording Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/recordings/{recording_id}/stop":{"post":{"tags":["sensors"],"summary":"Stop Recording","operationId":"stop_recording_api_sensors_recordings__recording_id__stop_post","parameters":[{"name":"recording_id","in":"path","required":true,"schema":{"type":"string","title":"Recording Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/recordings/{recording_id}/artifacts":{"get":{"tags":["sensors"],"summary":"List Artifacts","operationId":"list_artifacts_api_sensors_recordings__recording_id__artifacts_get","parameters":[{"name":"recording_id","in":"path","required":true,"schema":{"type":"string","title":"Recording Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensors/recordings/{recording_id}/artifacts/{artifact_type}/download":{"get":{"tags":["sensors"],"summary":"Download Artifact","description":"Stream a recording artifact: local file if present, else from GCS.","operationId":"download_artifact_api_sensors_recordings__recording_id__artifacts__artifact_type__download_get","parameters":[{"name":"recording_id","in":"path","required":true,"schema":{"type":"string","title":"Recording Id"}},{"name":"artifact_type","in":"path","required":true,"schema":{"type":"string","title":"Artifact Type"}},{"name":"camera","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Camera"}},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/protocol":{"get":{"tags":["research"],"summary":"Get Protocol","description":"The study definition (conditions, phases, tasks) for the frontend shell.","operationId":"get_protocol_api_research_protocol_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/session/start":{"post":{"tags":["research"],"summary":"Start Session","operationId":"start_session_api_research_session_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/session":{"get":{"tags":["research"],"summary":"Get Session","description":"Resume the session for the pid the browser is holding. Falls back to the account\nonly for sessions enrolled before the shared-account flow (see _owned_participant).","operationId":"get_session_api_research_session_get","parameters":[{"name":"X-Research-Pid","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Research-Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/events":{"post":{"tags":["research"],"summary":"Log Events","operationId":"log_events_api_research_events_post","parameters":[{"name":"X-Research-Pid","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Research-Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogEventsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/survey":{"post":{"tags":["research"],"summary":"Submit Survey","operationId":"submit_survey_api_research_survey_post","parameters":[{"name":"X-Research-Pid","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Research-Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurveyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/advance":{"post":{"tags":["research"],"summary":"Advance","operationId":"advance_api_research_advance_post","parameters":[{"name":"X-Research-Pid","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Research-Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/training/complete":{"post":{"tags":["research"],"summary":"Complete Training","description":"Train ONE pending run per call (bounded request work) and return the fresh\nstate; the frontend loops until nothing is left 'training'. A background thread\ndoesn't survive Cloud Run's request-scoped CPU (policies sat in 'training'\nforever), and training everything in one request can time out — one-run-per-call\nis immune to both.","operationId":"complete_training_api_research_training_complete_post","parameters":[{"name":"X-Research-Pid","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Research-Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/deploy":{"post":{"tags":["research"],"summary":"Deploy","description":"Reveal the current review run's ground-truth success (mjhri Scorer over N\nrollouts). Call after the trust + deploy-decision surveys are submitted.","operationId":"deploy_api_research_deploy_post","parameters":[{"name":"X-Research-Pid","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Research-Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/rescore":{"post":{"tags":["research"],"summary":"Rescore","description":"ANALYSIS-TIME re-scoring: replay each already-revealed policy over ``n`` rollouts\nand record the low-variance success rate.\n\nThe participant's reveal scores a SINGLE rollout on purpose — it must match the one\nattempt they watched — which makes ``success_rate`` a coin flip rather than a rate,\nand trust calibration (expected_success vs actual) essentially unestimable. This\nendpoint produces the estimate the analysis needs, without touching what participants\nsaw: only runs whose ``eval_completed`` already exists are re-scored, so it can never\nrun ahead of a participant or leak an outcome.\n\nAdmin-gated and bounded (each rollout is a full MuJoCo episode) — call repeatedly\nwhile ``more`` is true.","operationId":"rescore_api_research_rescore_post","parameters":[{"name":"n","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":2,"description":"rollouts per policy","default":20,"title":"N"},"description":"rollouts per policy"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"policies to score in this call","default":5,"title":"Limit"},"description":"policies to score in this call"},{"name":"pid","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"one participant, or all if omitted","title":"Pid"},"description":"one participant, or all if omitted"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/research/export":{"get":{"tags":["research"],"summary":"Export","operationId":"export_api_research_export_get","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(json|events_csv|summary_csv|surveys_csv|surveys_json|runs_csv|participants_csv|trials_csv|blocks_csv|keystrokes_csv|authoring_csv|all)$","default":"json","title":"Format"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/datasets":{"get":{"tags":["project-datasets"],"summary":"List Project Datasets","description":"List datasets linked to a project.","operationId":"list_project_datasets_api_projects__project_id__datasets_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["project-datasets"],"summary":"Link Dataset To Project","description":"Link a dataset to a project.","operationId":"link_dataset_to_project_api_projects__project_id__datasets_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDatasetLink"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/datasets/{link_id}":{"delete":{"tags":["project-datasets"],"summary":"Unlink Dataset From Project","description":"Unlink a dataset from a project.","operationId":"unlink_dataset_from_project_api_projects__project_id__datasets__link_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/credentials":{"post":{"tags":["credentials"],"summary":"Create Credential","description":"Store encrypted AWS credentials.","operationId":"create_credential_api_credentials_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["credentials"],"summary":"List Credentials","description":"List user's stored credentials (no secrets exposed).","operationId":"list_credentials_api_credentials_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/credentials/{credential_id}":{"delete":{"tags":["credentials"],"summary":"Delete Credential","description":"Remove a stored credential.","operationId":"delete_credential_api_credentials__credential_id__delete","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/objects":{"post":{"tags":["objects"],"summary":"Place Object","description":"Attach an object asset to a project scene.\n\nAppends an entry to project.assets.instances (mode='instance',\ntype='object') and to project.assets.scene.objects, then saves.\nMirrors how the frontend manages other scene assets.","operationId":"place_object_api_projects__project_id__objects_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceObjectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceObjectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/objects/{instance_id}":{"delete":{"tags":["objects"],"summary":"Remove Object","operationId":"remove_object_api_projects__project_id__objects__instance_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/huggingface/validate":{"post":{"tags":["integrations"],"summary":"Hf Validate","operationId":"hf_validate_api_integrations_huggingface_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HfTokenValidateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HfTokenValidateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/huggingface":{"get":{"tags":["integrations"],"summary":"Hf Status","operationId":"hf_status_api_integrations_huggingface_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HfTokenStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["integrations"],"summary":"Hf Disconnect","operationId":"hf_disconnect_api_integrations_huggingface_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Hf Disconnect Api Integrations Huggingface Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys/me":{"get":{"tags":["keys"],"summary":"Get Current Key","description":"Introspect the caller's credentials: which key, which scopes, which user.","operationId":"get_current_key_v1_keys_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The API key, or the signed-in session, making the request","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ApiKeyCaller"},{"$ref":"#/components/schemas/SessionCaller"}],"discriminator":{"propertyName":"object","mapping":{"api_key":"#/components/schemas/ApiKeyCaller","session":"#/components/schemas/SessionCaller"}},"title":"Response 200 Get Current Key V1 Keys Me Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/environments":{"get":{"tags":["environments"],"summary":"List Environments","description":"Your environments, or the Kite library's CC0 panoramas, filtered by kind, source, status and tags.","operationId":"list_environments_v1_augmentations_environments_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"enum":["user","kite"],"type":"string","description":"`user`: yours; `kite`: the Kite library","default":"user","title":"Owner"},"description":"`user`: yours; `kite`: the Kite library"},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["panorama","world"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"enum":["library","photo","prompt","upload"],"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["processing","ready","failed"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Category"}},{"name":"lighting","in":"query","required":false,"schema":{"anyOf":[{"enum":["daylight","artificial"],"type":"string"},{"type":"null"}],"title":"Lighting"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The previous page's `next_cursor`","title":"After"},"description":"The previous page's `next_cursor`"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Environments, newest first","content":{"application/json":{"schema":{"type":"object","title":"Response List Environments V1 Augmentations Environments Get","$ref":"#/components/schemas/EnvironmentList"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["environments"],"summary":"Create Environment","operationId":"create_environment_v1_augmentations_environments_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api__v1__schemas__environments__EnvironmentCreate"}}}},"responses":{"202":{"description":"The environment: ready for a library entry or a panorama, processing for a photo or a prompt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Environment"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/environments/{env_id}":{"get":{"tags":["environments"],"summary":"Get Environment","operationId":"get_environment_v1_augmentations_environments__env_id__get","parameters":[{"name":"env_id","in":"path","required":true,"schema":{"type":"string","title":"Env Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The environment","content":{"application/json":{"schema":{"type":"object","title":"Response Get Environment V1 Augmentations Environments  Env Id  Get","$ref":"#/components/schemas/Environment"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["environments"],"summary":"Delete Environment","operationId":"delete_environment_v1_augmentations_environments__env_id__delete","parameters":[{"name":"env_id","in":"path","required":true,"schema":{"type":"string","title":"Env Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Deleted, with its files","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Environment V1 Augmentations Environments  Env Id  Delete","$ref":"#/components/schemas/EnvironmentDeleted"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/environments/{env_id}/panorama":{"get":{"tags":["environments"],"summary":"Get Panorama","description":"The environment's equirectangular panorama as a 2:1 JPEG.","operationId":"get_panorama_v1_augmentations_environments__env_id__panorama_get","parameters":[{"name":"env_id","in":"path","required":true,"schema":{"type":"string","title":"Env Id"}},{"name":"width","in":"query","required":false,"schema":{"type":"integer","description":"One of 1024, 2048, 4096, 8192; never upscaled","default":4096,"title":"Width"},"description":"One of 1024, 2048, 4096, 8192; never upscaled"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The JPEG, streamed (when no signed URL is available)","content":{"image/jpeg":{}}},"302":{"description":"To a signed storage URL for the JPEG"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/estimate":{"post":{"tags":["augmentations"],"summary":"Estimate","description":"Token cost estimate, billed per second of video per camera. Video augmentation bills up to\n30 s of each episode; relighting and the background and world engines bill every episode at full\nlength (relighting only on the cameras it changes; a relight chained after background or world\nadds its own rate). Actual runs bill the real clip durations, so this is the price of the stated\nassumptions.","operationId":"estimate_v1_augmentations_estimate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AugmentationEstimate"}}}},"responses":{"200":{"description":"What the run would cost","content":{"application/json":{"schema":{"type":"object","title":"Response Estimate V1 Augmentations Estimate Post","$ref":"#/components/schemas/AugmentationEstimateResult"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations":{"post":{"tags":["augmentations"],"summary":"Create Augmentation","operationId":"create_augmentation_v1_augmentations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AugmentationCreate"}}}},"responses":{"202":{"description":"The augmentation, processing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Augmentation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Payment Required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Too Many Requests"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["augmentations"],"summary":"List Augmentations","description":"List your augmentations, from the API and the Augment page, newest first.","operationId":"list_augmentations_v1_augmentations_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The previous page's `next_cursor`","title":"After"},"description":"The previous page's `next_cursor`"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Your augmentations, newest first","content":{"application/json":{"schema":{"type":"object","title":"Response List Augmentations V1 Augmentations Get","$ref":"#/components/schemas/AugmentationList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/{aug_id}":{"get":{"tags":["augmentations"],"summary":"Get Augmentation","operationId":"get_augmentation_v1_augmentations__aug_id__get","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The augmentation, with download links once a `download` output has succeeded","content":{"application/json":{"schema":{"type":"object","title":"Response Get Augmentation V1 Augmentations  Aug Id  Get","$ref":"#/components/schemas/Augmentation"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/{aug_id}/cancel":{"post":{"tags":["augmentations"],"summary":"Cancel Augmentation","operationId":"cancel_augmentation_v1_augmentations__aug_id__cancel_post","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The augmentation, canceled","content":{"application/json":{"schema":{"type":"object","title":"Response Cancel Augmentation V1 Augmentations  Aug Id  Cancel Post","$ref":"#/components/schemas/Augmentation"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/{aug_id}/approve":{"post":{"tags":["augmentations"],"summary":"Approve Augmentation","description":"**Beta.** Approve a background / world run whose preview passed (`awaiting_approval`): its episodes are\ncharged and start. Not enough tokens, or the account's monthly budget hard limit reached, is a 402 and the run\nkeeps waiting, so it can be approved after a top-up.","operationId":"approve_augmentation_v1_augmentations__aug_id__approve_post","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The augmentation, running every episode","content":{"application/json":{"schema":{"type":"object","title":"Response Approve Augmentation V1 Augmentations  Aug Id  Approve Post","$ref":"#/components/schemas/Augmentation"}}}},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Payment Required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Too Many Requests"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-stability-level":"alpha"}},"/v1/augmentations/{aug_id}/preview/{camera}":{"get":{"tags":["augmentations"],"summary":"Get Preview Video","description":"**Beta.** A background / world run's preview on one camera (mp4: the middle window of the episode it\npreviewed), to judge before approving. Only a preview that passed its gates is served.","operationId":"get_preview_video_v1_augmentations__aug_id__preview__camera__get","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"camera","in":"path","required":true,"schema":{"type":"string","title":"Camera"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The clip, streamed (when no signed URL is available)","content":{"video/mp4":{}}},"302":{"description":"To a signed storage URL for the clip"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-stability-level":"alpha"}},"/v1/augmentations/{aug_id}/episodes":{"get":{"tags":["augmentations"],"summary":"List Episodes","operationId":"list_episodes_v1_augmentations__aug_id__episodes_get","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The episodes, by index: a video augmentation's generated ones, or once a relight published as a download succeeds, its dataset's","content":{"application/json":{"schema":{"type":"object","title":"Response List Episodes V1 Augmentations  Aug Id  Episodes Get","$ref":"#/components/schemas/AugmentationEpisodeList"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/{aug_id}/episodes/{index}":{"get":{"tags":["augmentations"],"summary":"Get Episode","operationId":"get_episode_v1_augmentations__aug_id__episodes__index__get","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"index","in":"path","required":true,"schema":{"type":"integer","title":"Index"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The episode, with its clips","content":{"application/json":{"schema":{"type":"object","title":"Response Get Episode V1 Augmentations  Aug Id  Episodes  Index  Get","$ref":"#/components/schemas/AugmentationEpisodeDetail"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/{aug_id}/episodes/{index}/videos/{camera}":{"get":{"tags":["augmentations"],"summary":"Get Episode Video","description":"One generated camera clip (mp4): 302 to a signed URL, or stream it through the API\nwhen signing is unavailable.","operationId":"get_episode_video_v1_augmentations__aug_id__episodes__index__videos__camera__get","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"index","in":"path","required":true,"schema":{"type":"integer","title":"Index"}},{"name":"camera","in":"path","required":true,"schema":{"type":"string","title":"Camera"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The clip, streamed (when no signed URL is available)","content":{"video/mp4":{}}},"302":{"description":"To a signed storage URL for the clip"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/{aug_id}/episodes/{index}/videos/{camera}/source":{"get":{"tags":["augmentations"],"summary":"Get Episode Source Video","description":"The same camera's clip of the source episode this one was generated from (mp4), as the run read it: frame\nfor frame the length of the generated clip, for a before and after. 302 to a signed URL, or streamed.","operationId":"get_episode_source_video_v1_augmentations__aug_id__episodes__index__videos__camera__source_get","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"index","in":"path","required":true,"schema":{"type":"integer","title":"Index"}},{"name":"camera","in":"path","required":true,"schema":{"type":"string","title":"Camera"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The clip, streamed (when no signed URL is available)","content":{"video/mp4":{}}},"302":{"description":"To a signed storage URL for the clip"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/augmentations/{aug_id}/files/{file_path}":{"get":{"tags":["augmentations"],"summary":"Download Output File","description":"Download one file of a download-output dataset, streamed through the API.\nThe fallback for `output.files[].url` when a direct download link isn't available;\nalso a stable download route that always takes your API key.","operationId":"download_output_file_v1_augmentations__aug_id__files__file_path__get","parameters":[{"name":"aug_id","in":"path","required":true,"schema":{"type":"string","title":"Aug Id"}},{"name":"file_path","in":"path","required":true,"schema":{"type":"string","title":"File Path"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The file, streamed; its Content-Type follows the file extension","content":{"application/octet-stream":{}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training_runs/estimate":{"post":{"tags":["training_runs"],"summary":"Estimate","description":"A quote: what training runs will cost and how long until their policies are ready, before you create them.\n\nSend the body you would create with. Each run's train time comes from runs of its policy, GPU and batch size\nthat finished before (start-up plus seconds per step, measured), at p50 and p90; a combination nobody has trained\nborrows from the nearest one, with `confidence` \"low\". Each run on a GPU tier has a fixed price: its p50 train time\nat your rate. Pass the quote's `id` as `quote_id` to create within 15 minutes and each run is charged exactly that\nwhen it succeeds, however long it trains; a canceled run pays the minutes it trained, never more; a run that fails,\nor whose GPU job never starts, is not charged. CPU tiers are free. Fields create does not take are refused.","operationId":"estimate_v1_training_runs_estimate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingRunEstimate"}}}},"responses":{"200":{"description":"The estimate","content":{"application/json":{"schema":{"type":"object","title":"Response Estimate V1 Training Runs Estimate Post","$ref":"#/components/schemas/TrainingRunCostEstimate"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training_runs":{"post":{"tags":["training_runs"],"summary":"Create Training Runs","description":"Launch one run per policy. Returns a list of resources, one per policy.\n\nEverything is validated across the whole batch before anything launches, so a\nrequest either starts all of its runs or none of them.","operationId":"create_training_runs_v1_training_runs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingRunCreate"}}}},"responses":{"202":{"description":"One run per policy, in the order given: `processing`, or `failed` with `submission_failed` when its GPU job could not start","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingRunList"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Payment Required"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["training_runs"],"summary":"List Training Runs","description":"List your training runs, newest first: from the API, the Training page, and project training from the IDE,\nthe CLI and the MCP. `metadata[key]=value` (up to 10) lists only the runs created with those labels, e.g. one end\nuser's: `?metadata[end_user]=u_123`.","operationId":"list_training_runs_v1_training_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The previous page's `next_cursor`","title":"After"},"description":"The previous page's `next_cursor`"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}},{"name":"metadata","in":"query","required":false,"style":"deepObject","explode":true,"description":"Only the runs whose `metadata` has every one of these values: `metadata[end_user]=u_123`. Up to 10.","schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"Newest first","content":{"application/json":{"schema":{"type":"object","title":"Response List Training Runs V1 Training Runs Get","$ref":"#/components/schemas/TrainingRunList"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training_runs/{run_id}":{"get":{"tags":["training_runs"],"summary":"Get Training Run","description":"Status, live progress, metrics, and output for one run.","operationId":"get_training_run_v1_training_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The run, read live","content":{"application/json":{"schema":{"type":"object","title":"Response Get Training Run V1 Training Runs  Run Id  Get","$ref":"#/components/schemas/TrainingRun"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training_runs/{run_id}/logs":{"get":{"tags":["training_runs"],"summary":"Get Training Run Logs","description":"The tail of a run's training log: what the trainer printed, oldest first.\n\nReadable while the run trains and after its GPU is gone. Lines the training\ninfrastructure writes about itself (provisioning notices) are left out.","operationId":"get_training_run_logs_v1_training_runs__run_id__logs_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"tail","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Tail"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The log's last lines","content":{"application/json":{"schema":{"type":"object","title":"Response Get Training Run Logs V1 Training Runs  Run Id  Logs Get","$ref":"#/components/schemas/TrainingRunLogs"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training_runs/{run_id}/checkpoints":{"get":{"tags":["training_runs"],"summary":"List Checkpoints","description":"Every checkpoint this run has saved, oldest first.\n\nPaginated on `step` rather than a ULID cursor — steps are the natural, stable\norder here, and a run with `save_freq=1` can have thousands.","operationId":"list_checkpoints_v1_training_runs__run_id__checkpoints_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Oldest first","content":{"application/json":{"schema":{"type":"object","title":"Response List Checkpoints V1 Training Runs  Run Id  Checkpoints Get","$ref":"#/components/schemas/TrainingCheckpointList-Input"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training_runs/{run_id}/checkpoints/{step}/download":{"get":{"tags":["training_runs"],"summary":"Download Checkpoint","description":"Download one checkpoint as a ZIP of its `pretrained_model/` directory.\n\nA 302 to a signed URL straight from storage (`curl -fLOJ`; your key stays with this API), or streamed through\nthis API when signing is unavailable. A checkpoint never changes once saved, so its ZIP is made on the first\ndownload, which waits for it, and kept. The archive unpacks to a standard LeRobot checkpoint.","operationId":"download_checkpoint_v1_training_runs__run_id__checkpoints__step__download_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"step","in":"path","required":true,"schema":{"type":"integer","title":"Step"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The checkpoint's `pretrained_model/` directory as a ZIP, streamed (when no signed URL is available)","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"302":{"description":"To a signed storage URL for the ZIP"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training_runs/{run_id}/cancel":{"post":{"tags":["training_runs"],"summary":"Cancel Training Run","description":"Cancel a run and its GPU job. Terminal runs are a 409.","operationId":"cancel_training_run_v1_training_runs__run_id__cancel_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The run, `canceled`","content":{"application/json":{"schema":{"type":"object","title":"Response Cancel Training Run V1 Training Runs  Run Id  Cancel Post","$ref":"#/components/schemas/TrainingRun"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training_policies":{"get":{"tags":["catalog"],"summary":"List Training Policies","description":"Policy types you can train, and the smallest GPU tier each one needs.","operationId":"list_training_policies_v1_training_policies_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Every policy type","content":{"application/json":{"schema":{"type":"object","title":"Response List Training Policies V1 Training Policies Get","$ref":"#/components/schemas/TrainingPolicyList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/hardware_tiers":{"get":{"tags":["catalog"],"summary":"List Hardware Tiers","description":"GPU tiers you can train on, with the token rate each one bills at.\n\nTiers that are present but switched off are returned with ``available: false``\nrather than hidden, so a client can tell \"not a tier\" from \"not right now\".","operationId":"list_hardware_tiers_v1_hardware_tiers_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Every tier, including those switched off","content":{"application/json":{"schema":{"type":"object","title":"Response List Hardware Tiers V1 Hardware Tiers Get","$ref":"#/components/schemas/HardwareTierList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/datasets/inspect":{"post":{"tags":["catalog"],"summary":"Inspect Dataset","description":"Read a LeRobot dataset's metadata without starting a run.\n\nUse it to check a dataset is trainable — and to get its camera keys, which are\nwhat ``cameras.rename`` maps from — before spending any tokens.","operationId":"inspect_dataset_v1_datasets_inspect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetInspect"}}}},"responses":{"200":{"description":"The dataset's metadata","content":{"application/json":{"schema":{"type":"object","title":"Response Inspect Dataset V1 Datasets Inspect Post","$ref":"#/components/schemas/DatasetInspection"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/objects":{"post":{"tags":["assets"],"summary":"Create Object","description":"Register a rigid pick-up object (USD, or GLB/glTF/OBJ converted on the worker). Validation runs on a GPU.","operationId":"create_object_v1_objects_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["assets"],"summary":"List Objects","operationId":"list_objects_v1_objects_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"pending|validating|valid|invalid|error","title":"Status"},"description":"pending|validating|valid|invalid|error"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/objects/{asset_id}":{"get":{"tags":["assets"],"summary":"Get Object","operationId":"get_object_v1_objects__asset_id__get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["assets"],"summary":"Delete Object","operationId":"delete_object_v1_objects__asset_id__delete","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/objects/{asset_id}/validate":{"post":{"tags":["assets"],"summary":"Validate Object","description":"Start (after an upload) or re-run validation.","operationId":"validate_object_v1_objects__asset_id__validate_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/environments":{"post":{"tags":["assets"],"summary":"Create Environment","description":"Register a background scene (USD). Usable in tasks that expose a background slot.","operationId":"create_environment_v1_environments_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api__v1__routers__assets__EnvironmentCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["assets"],"summary":"List Environments","operationId":"list_environments_v1_environments_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/environments/{asset_id}":{"get":{"tags":["assets"],"summary":"Get Environment","operationId":"get_environment_v1_environments__asset_id__get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["assets"],"summary":"Delete Environment","operationId":"delete_environment_v1_environments__asset_id__delete","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/environments/{asset_id}/validate":{"post":{"tags":["assets"],"summary":"Validate Environment","operationId":"validate_environment_v1_environments__asset_id__validate_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/validate":{"post":{"tags":["twins"],"summary":"Validate Twin","description":"Everything a create checks, for free, without creating anything: the dataset resolves and has video,\nwhich camera will seed the room, and how long a twin typically takes.\n\nErrors name what to fix, with the field in `param` (`source.uri` for an S3 dataset): `dataset_not_found`,\n`dataset_gated`, `dataset_private` (an S3 bucket or object that is not public: it is never read with\ncredentials), `dataset_has_no_video`, `camera_not_found` (`details.cameras` lists the real ones),\n`no_suitable_camera`, and, with a `robot`, `robot_unsupported` and `robot_mismatch` (`details.robots` lists the\nones that fit).","operationId":"validate_twin_v1_twins_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinValidate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinValidation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins":{"post":{"tags":["twins"],"summary":"Create Twin","description":"Build a twin from one episode of a LeRobot dataset, on Hugging Face or in a public S3 bucket, and the robot in\nit (`source`, `robot`).\n\nA twin costs 25,000 tokens, charged here (402 `insufficient_tokens` when the balance is short) and refunded in\nfull if the build ends, failed or canceled, before authoring began (in ingest, environment, decompose or label). The dataset is checked first (the same\nchecks as /v1/twins/validate), so a twin that cannot work is refused here, for free. One twin builds at a time\nper account: another create while one is queued, processing or canceling is a 429\n`concurrency_limit_exceeded`, charged nothing. Returns 202 with a\n`queued` twin; a twin takes a few hours. Poll GET /v1/twins/{id}, or subscribe to twin.completed /\ntwin.failed / twin.canceled. Send an `Idempotency-Key` to make retries safe: a retry with the same key and body\nreturns the same twin, even while the first request is still in flight.","operationId":"create_twin_v1_twins_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinCreate"}}}},"responses":{"202":{"description":"The twin, queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Twin"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Payment Required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Too Many Requests"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["twins"],"summary":"List Twins","description":"Your twins, newest first, with the last status seen (GET one twin for live progress and its download).","operationId":"list_twins_v1_twins_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The previous page's `next_cursor`","title":"After"},"description":"The previous page's `next_cursor`"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}":{"get":{"tags":["twins"],"summary":"Get Twin","description":"Live status, progress, each finished stage's measurement, and, once `succeeded`, `download`: a signed\nlink to the whole scene as one .tar.gz (`curl -fL \"$url\" -o twin.tar.gz && tar xzf twin.tar.gz` gives\n`<twin id>/scene.xml` and `assets/`). Its file list is GET /v1/twins/{id}/files.","operationId":"get_twin_v1_twins__twin_id__get","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Twin"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/files":{"get":{"tags":["twins"],"summary":"List Twin Files","description":"Every file in a succeeded twin's archive, by path, with its size and sha256. Paginated: pass the last\n`path` as `after`. A twin that has not succeeded is a 409 `twin_not_ready`.","operationId":"list_twin_files_v1_twins__twin_id__files_get","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinFileList"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/files/{path}":{"get":{"tags":["twins"],"summary":"Get Twin File","description":"One file of a succeeded twin, by its `path` from GET /files: `scene.xml`, a mesh, a texture or the room's\nsplat. What a viewer reads piece by piece instead of the whole archive. Files never change once built. Text\n(meshes, the scene) comes gzipped to a client that accepts it: a twin's meshes are hundreds of MB of OBJ, and\n`preview=true` makes each about 1 MB. scene.xml carries your edits (PUT …/edits) unless `as_built=true`.","operationId":"get_twin_file_v1_twins__twin_id__files__path__get","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"preview","in":"query","required":false,"schema":{"type":"boolean","description":"For an OBJ mesh of 4 MB or more: a light version for display, 30,000 triangles with its colours kept. The file itself, and the archive, keep every triangle","default":false,"title":"Preview"},"description":"For an OBJ mesh of 4 MB or more: a light version for display, 30,000 triangles with its colours kept. The file itself, and the archive, keep every triangle"},{"name":"as_built","in":"query","required":false,"schema":{"type":"boolean","description":"For scene.xml: the scene as TwinForge built it, without your edits","default":false,"title":"As Built"},"description":"For scene.xml: the scene as TwinForge built it, without your edits"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The file, streamed; its Content-Type follows the extension","content":{"application/octet-stream":{}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/edits":{"put":{"tags":["twins"],"summary":"Put Twin Edits","description":"Edit a succeeded twin's scene: move, turn, resize, re-weigh or remove its items, an item being an object or a\npiece of furniture by its body's name in scene.xml. `items` replaces every edit made before, and `{}` puts the scene\nback as built. Free, and kept on the twin: scene.xml from GET …/files carries the edits, as does the scene an\nevaluation of the twin runs on; `as_built=true` and the archive are the scene as built. The robot, the room, a name\nnot in the scene, or an edit the item can't take (removing a body something else names, weighing one whose mass\ncomes from its density) is a 400 naming it. A twin still building takes notes instead.","operationId":"put_twin_edits_v1_twins__twin_id__edits_put","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinEditsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinEdits"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/rounds/{round}/files":{"get":{"tags":["twins"],"summary":"List Twin Round Files","description":"What GET …/rounds/{round}/files/{path} serves for a judged round, with sizes: `real_twin.mp4`, `preview.jpg`,\nand for a kept round its scene under `scene/`. A viewer reads the sizes to load heavy meshes light and to find the\nroom's splat. 404 for a round that has not been judged.","operationId":"list_twin_round_files_v1_twins__twin_id__rounds__round__files_get","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"round","in":"path","required":true,"schema":{"type":"integer","title":"Round"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinRoundFileList"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/rounds/{round}/files/{path}":{"get":{"tags":["twins"],"summary":"Get Twin Round File","description":"One file of a judged round (`rounds[].round`), while the twin builds or after: `real_twin.mp4`, the twin\nreplayed beside the episode's video, and `preview.jpg`, one frame of the twin camera; and for a round with\n`kept: true`, its scene under `scene/` (`scene/scene.xml`, `scene/assets/…`), laid out as the download is. Text\ncomes gzipped to a client that accepts it. 404 for a round or file that does not exist.","operationId":"get_twin_round_file_v1_twins__twin_id__rounds__round__files__path__get","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"round","in":"path","required":true,"schema":{"type":"integer","title":"Round"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The file, streamed; its Content-Type follows the extension","content":{"application/octet-stream":{}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/archive":{"get":{"tags":["twins"],"summary":"Get Twin Archive","description":"The finished scene as one .tar.gz: a 302 to a signed URL straight from storage, or streamed through this\nAPI when signing is unavailable. `curl -fL -H \"Authorization: Bearer $KITE_API_KEY\" .../archive -o twin.tar.gz`","operationId":"get_twin_archive_v1_twins__twin_id__archive_get","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The archive, streamed (when no signed URL is available)","content":{"application/gzip":{}}},"302":{"description":"To a signed storage URL for the archive"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/cancel":{"post":{"tags":["twins"],"summary":"Cancel Twin","description":"Stop a queued or processing twin. It is `canceling` until the build has actually stopped (seconds), then\n`canceled`, and twin.canceled is sent. The stages it finished stay cached for a later resume.","operationId":"cancel_twin_v1_twins__twin_id__cancel_post","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Twin"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/resume":{"post":{"tags":["twins"],"summary":"Resume Twin","description":"Re-queue a failed or canceled twin. Every stage it finished is cached, so only what did not finish runs\nagain. Free while the twin is paid for; a twin that was refunded (it ended before authoring) is charged 25,000\ntokens again, or 402 `insufficient_tokens`. A resumed twin takes a build slot as a create does: with the account's\ntwins all building it is a 429 `concurrency_limit_exceeded`, charged nothing. A twin still building is a 409\n`already_running`, a succeeded one a 409 `not_resumable`; neither costs anything. twin.resumed is sent once the\ntwin is queued again.\n\n`from_round` goes back to a kept round (`rounds[].kept`, else 400 `round_not_kept`): a failed or canceled twin\nresumes from that round's snapshot, and a queued or processing one starts its next round from it once the round\nbeing built finishes, free, keeping its build slot (202 with the twin; the next twin.round_completed shows the\nresult).","operationId":"resume_twin_v1_twins__twin_id__resume_post","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TwinResume"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"description":"The twin, queued again (or, going back on a building twin, as it is)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Twin"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Payment Required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Too Many Requests"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/notes":{"post":{"tags":["twins"],"summary":"Add Twin Note","description":"Leave a note for the agents building the twin, about one thing in the scene (`on`: a layer or a body name from\nthe twin's scene, as the 3D viewer reports it) or the whole twin. Every agent step includes it until it is deleted\nor the twin ends; it reads `queued` until one has, then `read` with `read_in_round`. Whether the agent did what it\nasks shows in the next round's scores and issues. Free. 409 `twin_not_building` once the twin has ended, 409\n`too_many_notes` past 20 active notes.","operationId":"add_twin_note_v1_twins__twin_id__notes_post","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinNoteCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinNote"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/notes/{note_id}":{"delete":{"tags":["twins"],"summary":"Delete Twin Note","description":"Take a note out of what the agents read. A note already read stays in that round's record.","operationId":"delete_twin_note_v1_twins__twin_id__notes__note_id__delete","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinNoteDeleted"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/twins/{twin_id}/answers":{"post":{"tags":["twins"],"summary":"Answer Twin Question","description":"Answer the twin's open question (`question.id`) with one of its `options` or your own words. Returns the note\nthe answer becomes, which the agents read at their next step. A question never holds the build up: until it is\nanswered, or if it never is, the agent carries on with its `default`. Free. 409 `question_closed` when it is no\nlonger open (answered, replaced by a newer one, or the twin ended).","operationId":"answer_twin_question_v1_twins__twin_id__answers_post","parameters":[{"name":"twin_id","in":"path","required":true,"schema":{"type":"string","title":"Twin Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinAnswer"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwinNote"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/validate":{"post":{"tags":["evaluations"],"summary":"Validate Evaluation","description":"Everything a create checks, for free, without creating anything: the spec parses and resolves, the files it\nnames are all here (`files_required` lists any that are not), every Python file is one Kite ships\n(`code_not_allowed`), and `kite plan`'s answer: each evaluator's status, the episodes and the estimate.\n\nA spec error keeps the SDK's diagnosis: `param` is its field (`polciy`), `details.kite_code` its code\n(`SPEC.UNKNOWN_FIELD`), `details.remediation` the fix and `details.location` the line (`specs/demo.yaml:5`).\n\nFor a dataset (`dataset`, as a create takes it): `resolved`, the request with every default filled and every\nrevision pinned, and `estimate`: its tokens and hours, by runs, twin and training. Kite reads the dataset and starts\nnothing. A dataset that needs a twin has not been fitted yet, so `resolved` is what the dataset alone settles.","operationId":"validate_evaluation_v1_evaluations_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EvaluationValidate"},{"$ref":"#/components/schemas/EvaluationDatasetCreate"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationValidation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/uploads":{"post":{"tags":["evaluations"],"summary":"Create Evaluation Upload","description":"Send a file too big to carry in a request, up to 1 GiB. Give its SHA-256 and size; unless Kite already has it\n(`uploaded`), PUT the bytes to `upload.url` with `upload.headers`. Then name it in a request's `files` as\n`{\"sha256\": ...}`. A directory goes as a .tar, named `{\"kind\": \"directory\", \"sha256\": <the .tar's>}`. Free.","operationId":"create_evaluation_upload_v1_evaluations_uploads_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationUploadCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationUpload"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations":{"post":{"tags":["evaluations"],"summary":"Create Evaluation","description":"Run an SDK spec on Kite (`spec_yaml`), or evaluate a whole dataset (`dataset`): send exactly one.\n\nA spec is checked first (the same checks as /v1/evaluations/validate), so a spec that cannot run is refused here,\nfor free. A dataset evaluation's request is checked the same way, and an error names its field; the answer has its\n`estimate` and `resolved`. It is free itself, and the runs, twins and training runs it asks for are charged as they\ngo, up to `max_tokens` if it names one. Returns 202 with a `queued` evaluation; poll\nGET /v1/evaluations/{id}, or subscribe to evaluation.succeeded / evaluation.failed / evaluation.canceled, and a\ndataset evaluation's evaluation.step. Send an `Idempotency-Key` to make retries safe: a retry with the same key and\nbody returns the same evaluation, even while the first request is still in flight.","operationId":"create_evaluation_v1_evaluations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EvaluationCreate"},{"$ref":"#/components/schemas/EvaluationDatasetCreate"}],"title":"Body"}}}},"responses":{"202":{"description":"The run, or the dataset evaluation, queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Evaluation-Input"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Payment Required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Too Many Requests"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["evaluations"],"summary":"List Evaluations","description":"Your evaluations, newest first, with the last status seen (GET one run for live progress and its download).\nA dataset evaluation's runs are not among them: list those with `?parent=`.","operationId":"list_evaluations_v1_evaluations_get","parameters":[{"name":"parent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A dataset evaluation's id: list its runs instead","title":"Parent"},"description":"A dataset evaluation's id: list its runs instead"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The previous page's `next_cursor`","title":"After"},"description":"The previous page's `next_cursor`"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/{run_id}":{"get":{"tags":["evaluations"],"summary":"Get Evaluation","description":"Live status, the episodes done, and once `succeeded` the result (the manifest hash, which a local run of the\nsame spec, files and Kite version shares; the evaluators' metrics) and `download`: the archive's path on this\nAPI, which redirects to a fresh signed link to the run directory as one .tar.gz. It extracts to `<id>/` and passes\n`kite verify`.","operationId":"get_evaluation_v1_evaluations__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Evaluation-Output"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/{run_id}/report":{"get":{"tags":["evaluations"],"summary":"Get Evaluation Report","description":"The run's scorecard (`scorecard.json`, as the SDK writes it): every evaluator's value, interval and count. A\ndataset evaluation's is its page, `report.html`, once it has ended.","operationId":"get_evaluation_report_v1_evaluations__run_id__report_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationReport"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/{run_id}/files":{"get":{"tags":["evaluations"],"summary":"List Evaluation Files","description":"Every file of a succeeded run's directory, by path, with its size and sha256. Paginated: pass the last `path`\nas `after`. A dataset evaluation's are what it has written: report.html, result.json, episodes.csv and\narchive.tar.gz, as it ends.","operationId":"list_evaluation_files_v1_evaluations__run_id__files_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationFileList"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/{run_id}/files/{path}":{"get":{"tags":["evaluations"],"summary":"Get Evaluation File","description":"One file of a succeeded run, by its `path` from GET /files: `manifest.json`, `scorecard.json`, an episode's\ntrace or video. A dataset evaluation's are `report.html`, `result.json`, `episodes.csv` and `archive.tar.gz`, once\nit has ended. The bytes are the ones GET /files names by sha256, at every Kite-Version.","operationId":"get_evaluation_file_v1_evaluations__run_id__files__path__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The file, streamed","content":{"application/octet-stream":{}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/{run_id}/archive":{"get":{"tags":["evaluations"],"summary":"Get Evaluation Archive","description":"The run directory as one .tar.gz: a 302 to a signed URL straight from storage, or streamed through this API\nwhen signing is unavailable. It extracts to `<id>/`: run `kite verify <id>` on it. A dataset evaluation's holds its\nresult, report, episodes and clips, once it has ended, streamed through this API.","operationId":"get_evaluation_archive_v1_evaluations__run_id__archive_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The archive, streamed (when no signed URL is available)","content":{"application/gzip":{}}},"302":{"description":"To a signed storage URL for the archive"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/{run_id}/logs":{"get":{"tags":["evaluations"],"summary":"Get Evaluation Logs","description":"The tail of what the SDK printed while it ran, oldest first: readable while the run builds and after. A dataset\nevaluation's is its job's, each step and each run; its runs have their own.","operationId":"get_evaluation_logs_v1_evaluations__run_id__logs_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"tail","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":200,"title":"Tail"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationLogs"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/{run_id}/cancel":{"post":{"tags":["evaluations"],"summary":"Cancel Evaluation","description":"Stop a queued or processing run. It is `canceling` until its job has stopped, then `canceled`, and\nevaluation.canceled is sent. A dataset evaluation's job is stopped, and it is `canceling` until the runs, twins and\ntraining runs it asked for have stopped too.","operationId":"cancel_evaluation_v1_evaluations__run_id__cancel_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Evaluation-Output"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/evaluations/{run_id}/resume":{"post":{"tags":["evaluations"],"summary":"Resume Evaluation","description":"Run a failed or canceled run again, from its request; it reserves its cap again (a 402 when the balance cannot\ncover it). Any other run is a 409 `not_resumable`; that, and a resume the service refuses, cost nothing. A dataset\nevaluation goes on from what it finished, its finished runs kept, held to the same `max_tokens`. evaluation.resumed\nis sent once the run is queued again.","operationId":"resume_evaluation_v1_evaluations__run_id__resume_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"202":{"description":"The run, queued again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Evaluation-Input"}}}},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Payment Required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Gateway"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/catalog":{"get":{"tags":["rl_runs"],"summary":"Get Catalog","description":"Robots (with their verified command bands and measured throughput), objectives with every parameter's\ndefault and bounds, hardware tiers with your rate on each, and the dated engines.","operationId":"get_catalog_v1_rl_runs_catalog_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlCatalog"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/plan":{"post":{"tags":["rl_runs"],"summary":"Plan Run","description":"A task spec from a plain-English description, with the reasoning behind it. Changes nothing: pass the\nreturned `task` and `budget` to POST /v1/rl_runs (after POST /v1/rl_runs/validate, ideally).","operationId":"plan_run_v1_rl_runs_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlPlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlPlan"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/validate":{"post":{"tags":["rl_runs"],"summary":"Validate Run","description":"Everything a create checks, plus a dry run, for free and in seconds: the spec is compiled and three canned\npolicies are rolled through it on a CPU — zero action, random actions, and, for a robot that has one, a public\nwalk that passes the report's checks — reporting what each reward term pays each of them. Warnings name rewards that pay for the wrong thing\n(e.g. `idle_policy_scores_high`: standing still earns most of the tracking reward) with a `patch` that fixes\nit.","operationId":"validate_run_v1_rl_runs_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlRunCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlValidation"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/estimate":{"post":{"tags":["rl_runs"],"summary":"Estimate Run","description":"A quote for the create body: the price per run and in total, fixed (a run that succeeds is charged exactly\nit, whatever GPU it trains on and however long it takes), and p50/p90 minutes to wait for a machine, train,\npackage and have a ready policy, from this robot's recent runs and the queue now. Pass its `id` as `quote_id` to\nPOST /v1/rl_runs within 15 minutes and each run is charged exactly `price_per_run`.","operationId":"estimate_run_v1_rl_runs_estimate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlRunCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlEstimate"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs":{"post":{"tags":["rl_runs"],"summary":"Create Run","description":"Train a policy. Only `robot` and `task.objective` are required; everything else has a verified default.\n\nReturns 202 with one run per seed (sharing a `group_id`). A run trains, then packages its outputs: the policy\nas ONNX and a checkpoint, the MuJoCo scene with a script that runs the policy in it, clips, and a report with a\nverdict. Poll GET /v1/rl_runs/{id} (its `eta` says when it should be ready) or subscribe to rl_run.started /\nrl_run.packaging / rl_run.completed / rl_run.failed / rl_run.canceled. A run past your runs in progress is\naccepted and waits for a slot (`phase` `waiting_for_slot`), launched oldest first as yours finish.\nEach run's price is reserved now: its quote (`quote_id`, from POST /v1/rl_runs/estimate), or the body quoted\nnow. A run that succeeds is charged exactly it; see `tokens`. Send an `Idempotency-Key` to make retries safe.","operationId":"create_run_v1_rl_runs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlRunCreate"}}}},"responses":{"202":{"description":"One run per seed, queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlRunList-Input"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Payment Required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Too Many Requests"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["rl_runs"],"summary":"List Runs","description":"Your RL runs, newest first, with the last status seen (GET one run for live progress): those made through\nthe API and those made in RL Studio. `metadata[key]=value` lists only the API runs created with that label\n(RL Studio runs have none), e.g. one end user's runs.","operationId":"list_runs_v1_rl_runs_get","parameters":[{"name":"group_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Only the runs one create started","title":"Group Id"},"description":"Only the runs one create started"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Only runs in this status: queued, processing, canceling, succeeded, failed, canceled","title":"Status"},"description":"Only runs in this status: queued, processing, canceling, succeeded, failed, canceled"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The previous page's `next_cursor`","title":"After"},"description":"The previous page's `next_cursor`"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}},{"name":"metadata","in":"query","required":false,"style":"deepObject","explode":true,"description":"Only the runs whose `metadata` has every one of these values: `metadata[end_user]=u_123`. Up to 10.","schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlRunList-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}":{"get":{"tags":["rl_runs"],"summary":"Get Run","description":"Live status and metrics; once packaged, the verdict and where the outputs are (`output`).","operationId":"get_run_v1_rl_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlRun"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}/metrics":{"get":{"tags":["rl_runs"],"summary":"Get Metrics","description":"The training curve, every 5 iterations: mean reward per step, the same by reward term, episode length and\nthroughput. A run made in RL Studio has one too: its trainer writes the same history.","operationId":"get_metrics_v1_rl_runs__run_id__metrics_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlMetricList"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}/checkpoints":{"get":{"tags":["rl_runs"],"summary":"List Checkpoints","description":"Iterations the run saved (about every tenth of its budget, and the last). Any of them can seed a fork or a\ncontinue (`from.checkpoint`).","operationId":"list_checkpoints_v1_rl_runs__run_id__checkpoints_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlCheckpointList"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}/checkpoints/{iteration}/download":{"get":{"tags":["rl_runs"],"summary":"Download Checkpoint","description":"One saved iteration: `onnx` (the default: the deployable policy, raw observation in, action out) or `pt`\n(the rsl_rl checkpoint). A 302 to a signed URL straight from storage, or streamed through this API when signing\nis unavailable. A packaged run's ONNX files are made as it is packaged; any other is made on its first download,\nthen kept.","operationId":"download_checkpoint_v1_rl_runs__run_id__checkpoints__iteration__download_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"iteration","in":"path","required":true,"schema":{"type":"integer","title":"Iteration"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(pt|onnx)$","default":"onnx","title":"Format"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The file, streamed (when no signed URL is available)","content":{"application/octet-stream":{}}},"302":{"description":"To a signed storage URL for the file"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}/report":{"get":{"tags":["rl_runs"],"summary":"Get Report","description":"The verdict and how it was reached: each check with its value and limit, the metrics (24 worlds × 12 s,\ntraining noise on), the judge's read of the clip, and which checkpoint was chosen over which.","operationId":"get_report_v1_rl_runs__run_id__report_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlReport"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}/files":{"get":{"tags":["rl_runs"],"summary":"List Files","description":"Every file in the bundle, by path, with its size and sha256. Paginated: pass the last `path` as `after`.","operationId":"list_files_v1_rl_runs__run_id__files_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlFileList"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}/files/{path}":{"get":{"tags":["rl_runs"],"summary":"Get File","description":"One file of the bundle, e.g. `policy/policy.onnx`, `media/video.mp4` or `mujoco/scene.xml`: the bytes GET /files\nnames by sha256, at every Kite-Version. A run made in RL Studio has only its clip here, `media/video.mp4`, and\nthe still from it, `media/thumbnail.jpg`, once it has ended with a policy.","operationId":"get_file_v1_rl_runs__run_id__files__path__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The file","content":{"application/octet-stream":{}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}/archive":{"get":{"tags":["rl_runs"],"summary":"Get Archive","description":"The whole bundle as one zip, `kiteml_<run id>.zip`, unpacking to `kiteml_<run id>/`: a 302 to a signed URL\nstraight from storage, or streamed through this API when signing is unavailable.\n`curl -fLOJ -H \"Authorization: Bearer $KITE_API_KEY\" .../archive`","operationId":"get_archive_v1_rl_runs__run_id__archive_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The bundle as one zip, streamed (when no signed URL is available)","content":{"application/zip":{}}},"302":{"description":"To a signed storage URL for the archive"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rl_runs/{run_id}/cancel":{"post":{"tags":["rl_runs"],"summary":"Cancel Run","description":"Stop a run. One that has started training keeps the policy it has so far: it shows `canceling` while that\npolicy is packaged like a finished run's, then ends `canceled` with its outputs, charged for the minutes it\ntrained. One that never started, or left nothing to package, is refunded in full.","operationId":"cancel_run_v1_rl_runs__run_id__cancel_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlRun"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/operations/{op_id}":{"get":{"tags":["operations"],"summary":"Get Operation","operationId":"get_operation_v1_operations__op_id__get","parameters":[{"name":"op_id","in":"path","required":true,"schema":{"type":"string","title":"Op Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The operation","content":{"application/json":{"schema":{"type":"object","title":"Response Get Operation V1 Operations  Op Id  Get","$ref":"#/components/schemas/Operation"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook_endpoints":{"post":{"tags":["webhooks"],"summary":"Create Webhook Endpoint","operationId":"create_webhook_endpoint_v1_webhook_endpoints_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreate"}}}},"responses":{"201":{"description":"The endpoint, with its signing secret (shown only this once)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointWithSecret"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["webhooks"],"summary":"List Webhook Endpoints","operationId":"list_webhook_endpoints_v1_webhook_endpoints_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Your webhook endpoints","content":{"application/json":{"schema":{"type":"object","title":"Response List Webhook Endpoints V1 Webhook Endpoints Get","$ref":"#/components/schemas/WebhookEndpointList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook_endpoints/{endpoint_id}":{"delete":{"tags":["webhooks"],"summary":"Delete Webhook Endpoint","operationId":"delete_webhook_endpoint_v1_webhook_endpoints__endpoint_id__delete","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The endpoint, deleted","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Webhook Endpoint V1 Webhook Endpoints  Endpoint Id  Delete","$ref":"#/components/schemas/WebhookEndpointDeleted"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["webhooks"],"summary":"Update Webhook Endpoint","description":"Change the events an endpoint receives, or switch it off and on again. A disabled endpoint keeps its URL,\nsecret and delivery log.","operationId":"update_webhook_endpoint_v1_webhook_endpoints__endpoint_id__patch","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook_endpoints/{endpoint_id}/test":{"post":{"tags":["webhooks"],"summary":"Test Webhook Endpoint","description":"Send a signed `webhook_endpoint.test` event to this endpoint now, whatever events it receives, and get back\nwhat it answered and how long it took. Its `data` is the endpoint. The send is in the endpoint's deliveries and\nis not retried automatically. It works on a disabled endpoint too, so you can check your receiver before you\nswitch it back on.","operationId":"test_webhook_endpoint_v1_webhook_endpoints__endpoint_id__test_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestDelivery"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook_endpoints/{endpoint_id}/deliveries":{"get":{"tags":["webhooks"],"summary":"List Webhook Deliveries","description":"The endpoint's deliveries, newest event first: one per event sent to it, with its latest attempt.","operationId":"list_webhook_deliveries_v1_webhook_endpoints__endpoint_id__deliveries_get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryList"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}/retry":{"post":{"tags":["webhooks"],"summary":"Retry Webhook Delivery","description":"Send a delivery again: a failed or delivered one, or a pending one now instead of after its backoff. It\nkeeps its attempt count, so if the retry fails it resumes its retry schedule (a delivery that has used all 6\nattempts fails again). `409 delivery_pending` when it is already going out; `409 endpoint_disabled` when the\nendpoint is off.","operationId":"retry_webhook_delivery_v1_webhook_endpoints__endpoint_id__deliveries__delivery_id__retry_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"202":{"description":"The delivery, queued: it goes out within about 15 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDelivery"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/events":{"get":{"tags":["webhooks"],"summary":"List Events","description":"The durable event log (newest first) — the polling fallback for webhooks.","operationId":"list_events_v1_events_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Only this type, or `<resource>.*` for one resource's events","title":"Type"},"description":"Only this type, or `<resource>.*` for one resource's events"},{"name":"resource_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Only events about this resource, e.g. an `rlr_` id","title":"Resource Id"},"description":"Only events about this resource, e.g. an `rlr_` id"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The previous page's `next_cursor`","title":"After"},"description":"The previous page's `next_cursor`"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Your events, newest first","content":{"application/json":{"schema":{"type":"object","title":"Response List Events V1 Events Get","$ref":"#/components/schemas/EventList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/event_types":{"get":{"tags":["webhooks"],"summary":"List Event Types","description":"Every event type a webhook endpoint can receive: the values `enabled_events` accepts (each also as\n`<resource>.*`).","operationId":"list_event_types_v1_event_types_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypeList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage":{"get":{"tags":["usage"],"summary":"Get Usage","description":"Per-day token usage (default: the last 30 days), per resource family, API key, source or metadata label.\n`metadata[key]=value` counts only the runs created with that label, e.g. what one end user spent.","operationId":"get_usage_v1_usage_get","parameters":[{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"}},{"name":"group_by","in":"query","required":false,"schema":{"type":"string","description":"Group each day's tokens by resource family (`resource`), by the API key that started the runs (`api_key`), by where they were started (`source`), or by one of the runs' `metadata` labels (`metadata.<key>`, e.g. `metadata.end_user`)","default":"resource","title":"Group By"},"description":"Group each day's tokens by resource family (`resource`), by the API key that started the runs (`api_key`), by where they were started (`source`), or by one of the runs' `metadata` labels (`metadata.<key>`, e.g. `metadata.end_user`)"},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Only the runs this API key started","title":"Api Key Id"},"description":"Only the runs this API key started"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"enum":["api","cli","mcp","sdk","dashboard","unknown"],"type":"string"},{"type":"null"}],"description":"Only the runs started from this surface: the API, CLI, MCP server, Python SDK or the console. `unknown` is the work whose surface was never recorded (before October 2026, and worlds and motions), so the sources add up to the whole account","title":"Source"},"description":"Only the runs started from this surface: the API, CLI, MCP server, Python SDK or the console. `unknown` is the work whose surface was never recorded (before October 2026, and worlds and motions), so the sources add up to the whole account"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}},{"name":"metadata","in":"query","required":false,"style":"deepObject","explode":true,"description":"Only the runs whose `metadata` has every one of these values: `metadata[end_user]=u_123`. Up to 10.","schema":{"type":"object","additionalProperties":{"type":"string"}}}],"responses":{"200":{"description":"Token usage in the range","content":{"application/json":{"schema":{"type":"object","title":"Response Get Usage V1 Usage Get","$ref":"#/components/schemas/Usage"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage/keys":{"get":{"tags":["usage"],"summary":"Get Key Usage","description":"Per API key: the tokens its runs used and how many runs it started over the last `days` days. With the\ndefault 30, the range is the same as GET /v1/usage's default.","operationId":"get_key_usage_v1_usage_keys_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":366,"minimum":1,"description":"How many days back from today (UTC) the range starts","default":30,"title":"Days"},"description":"How many days back from today (UTC) the range starts"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Tokens and runs per API key","content":{"application/json":{"schema":{"type":"object","title":"Response Get Key Usage V1 Usage Keys Get","$ref":"#/components/schemas/KeyUsageReport"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credits":{"get":{"tags":["usage"],"summary":"Get Credits","description":"Current token balance.","operationId":"get_credits_v1_credits_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The token balance","content":{"application/json":{"schema":{"type":"object","title":"Response Get Credits V1 Credits Get","$ref":"#/components/schemas/CreditBalance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/requests":{"get":{"tags":["requests"],"summary":"List Requests","description":"The request log, newest first: each /v1 request of the last 30 days and how it ended.","operationId":"list_requests_v1_requests_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`2xx`, `3xx`, `4xx`, `5xx`, `errors` (4xx and 5xx), or one status code such as `429`","title":"Status"},"description":"`2xx`, `3xx`, `4xx`, `5xx`, `errors` (4xx and 5xx), or one status code such as `429`"},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Only the requests this key made","title":"Api Key Id"},"description":"Only the requests this key made"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`api`, `cli`, `sdk`, `mcp` or `dashboard`, or several separated by commas (`cli,sdk`)","title":"Source"},"description":"`api`, `cli`, `sdk`, `mcp` or `dashboard`, or several separated by commas (`cli,sdk`)"},{"name":"path_prefix","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"Only paths starting with this, e.g. `/v1/augmentations`","title":"Path Prefix"},"description":"Only paths starting with this, e.g. `/v1/augmentations`"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The previous page's `next_cursor`","title":"After"},"description":"The previous page's `next_cursor`"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Your requests, newest first","content":{"application/json":{"schema":{"type":"object","title":"Response List Requests V1 Requests Get","$ref":"#/components/schemas/ApiRequestList"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/requests/stats":{"get":{"tags":["requests"],"summary":"Get Request Stats","description":"How many requests succeeded and failed each day, the success rate, how many came from each source, and the\nmedian and 95th-percentile duration.","operationId":"get_request_stats_v1_requests_stats_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"description":"Days to cover, ending today (UTC)","default":7,"title":"Days"},"description":"Days to cover, ending today (UTC)"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`api`, `cli`, `sdk`, `mcp` or `dashboard`, or several separated by commas (`cli,sdk`)","title":"Source"},"description":"`api`, `cli`, `sdk`, `mcp` or `dashboard`, or several separated by commas (`cli,sdk`)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Requests per day by outcome, with totals","content":{"application/json":{"schema":{"type":"object","title":"Response Get Request Stats V1 Requests Stats Get","$ref":"#/components/schemas/RequestStats"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/requests/{request_id}":{"get":{"tags":["requests"],"summary":"Get Request","description":"One request, by the id in its `X-Request-Id` header or in its error.","operationId":"get_request_v1_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"The request","content":{"application/json":{"schema":{"type":"object","title":"Response Get Request V1 Requests  Request Id  Get","$ref":"#/components/schemas/ApiRequest"}}}},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/status":{"get":{"tags":["status"],"summary":"Get Status","description":"Whether Kite is up, part by part, and any incident Kite has posted. Needs no API key.","operationId":"get_status_v1_status_get","responses":{"200":{"description":"The status now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status","type":"object","title":"Response Get Status V1 Status Get"}}}}},"security":[]}},"/":{"get":{"summary":"Root","description":"Root endpoint.","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health Check","description":"Health check endpoint - fast, non-blocking check.","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/health/db":{"get":{"summary":"Db Health","description":"PostgreSQL connectivity smoke test.\n\nReturns a simple check to verify PostgreSQL connection is working.\nIncludes detailed error information for debugging.","operationId":"db_health_health_db_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/me":{"get":{"summary":"Get Current User Info","description":"Get current authenticated user information (PostgreSQL version).\n\nReturns user details.","operationId":"get_current_user_info_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Impersonation-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Impersonation-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AdminUserBillingResponse":{"properties":{"user_id":{"type":"string","title":"User Id"},"plan":{"$ref":"#/components/schemas/PlanResponse"},"subscription":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionResponse"},{"type":"null"}]},"token_balance":{"type":"integer","title":"Token Balance","default":0},"is_pro":{"type":"boolean","title":"Is Pro","default":false}},"type":"object","required":["user_id","plan"],"title":"AdminUserBillingResponse"},"AdoptCalibrationRequest":{"properties":{"source_id":{"type":"string","minLength":1,"title":"Source Id"},"target_id":{"type":"string","minLength":1,"title":"Target Id"}},"type":"object","required":["source_id","target_id"],"title":"AdoptCalibrationRequest"},"AgentPromptRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"ide_state":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Ide State"},"notebook_cells":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Notebook Cells"},"file_contents":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"File Contents"},"config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Config"}},"type":"object","required":["prompt"],"title":"AgentPromptRequest"},"ApiErrorBody":{"properties":{"type":{"type":"string","title":"Type","description":"invalid_request_error, authentication_error, permission_error, not_found_error, conflict_error, rate_limit_error, or api_error"},"code":{"type":"string","title":"Code","description":"Machine-readable: branch on this, not on the message"},"message":{"type":"string","title":"Message"},"param":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Param","description":"The request field the error is about, when there is one"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id","description":"Also in the X-Request-Id header; quote it to support"},"details":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Details","description":"Extra data for some codes (e.g. the cameras a dataset does have, for camera_not_found)"}},"type":"object","required":["type","code","message"],"title":"ApiErrorBody"},"ApiErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ApiErrorBody"}},"type":"object","required":["error"],"title":"ApiErrorResponse","description":"Every /v1 error has this shape."},"ApiKeyCaller":{"properties":{"object":{"type":"string","enum":["api_key"],"const":"api_key","title":"Object","default":"api_key"},"auth_type":{"type":"string","enum":["api_key"],"const":"api_key","title":"Auth Type","default":"api_key"},"id":{"type":"string","title":"Id","description":"The key's id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"key_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Prefix","description":"The key's first characters (`kite_` + 8), to recognise it by"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes","description":"What the key may do (`resource:read` or `resource:write`; write implies read). Null for a full-access key"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"user":{"$ref":"#/components/schemas/CallerUser"}},"type":"object","required":["id","user"],"title":"ApiKeyCaller","description":"The caller is an API key.","examples":[{"auth_type":"api_key","created_at":"2026-09-27T01:00:00Z","id":"5f0c6e2a-8d7b-4c1e-9a3f-2b6d8e4c1a70","key_prefix":"kite_abcd1234","name":"ci","object":"api_key","scopes":["augmentations:write","usage:read"],"user":{"email":"you@example.com","id":"0b9d2c4e-6f81-4a3b-8c5d-7e9f1a2b3c4d"}}]},"ApiRequest":{"properties":{"id":{"type":"string","title":"Id","description":"`req_` + a time-ordered ULID: the response's `X-Request-Id`, and the `request_id` of its error"},"object":{"type":"string","enum":["request"],"const":"request","title":"Object","default":"request"},"method":{"type":"string","title":"Method"},"path":{"type":"string","title":"Path","description":"Without the query string, which is never stored"},"route":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route","description":"The route the path matched, e.g. `/v1/augmentations/{augmentation_id}`; null when none did"},"status_code":{"type":"integer","title":"Status Code"},"duration_seconds":{"type":"number","title":"Duration Seconds","description":"Until the response started (a download's transfer is not included)"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code","description":"The error's `code`, for a request that failed"},"api_key":{"anyOf":[{"$ref":"#/components/schemas/RequestApiKey"},{"type":"null"}],"description":"The key that made the request; null for a signed-in session"},"source":{"type":"string","title":"Source","description":"`cli`, `sdk` or `mcp` (Kite's own clients, by User-Agent), `api` (any other client using a key), or `dashboard` (a signed-in session)"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent","description":"Up to 256 characters"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","method","path","status_code","duration_seconds","source","created_at"],"title":"ApiRequest","description":"One request to /v1.","examples":[{"api_key":{"id":"5f0c6e2a-8d7b-4c1e-9a3f-2b6d8e4c1a70","key_prefix":"kite_abcd1234","name":"ci"},"created_at":"2026-09-29T14:02:11.482Z","duration_seconds":0.184,"error_code":"insufficient_tokens","id":"req_01K6BZ4X9RQ2V7M3T8W5Y1N0PC","method":"POST","object":"request","path":"/v1/augmentations","route":"/v1/augmentations","source":"cli","status_code":402,"user_agent":"kite-cli/0.9.0"}]},"ApiRequestList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/ApiRequest"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"ApiRequestList"},"ApprovalRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"decisions":{"items":{},"type":"array","title":"Decisions"}},"type":"object","required":["session_id","decisions"],"title":"ApprovalRequest"},"ArmInfo":{"properties":{"port":{"type":"string","title":"Port"},"description":{"type":"string","title":"Description","default":""},"manufacturer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manufacturer"},"vid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vid"},"pid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pid"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number"},"likely_so101":{"type":"boolean","title":"Likely So101","default":false}},"type":"object","required":["port"],"title":"ArmInfo"},"ArmReadinessResponse":{"properties":{"motor_setup_done":{"type":"boolean","title":"Motor Setup Done"},"motor_setup_checked":{"type":"boolean","title":"Motor Setup Checked"},"motor_setup_detail":{"type":"string","title":"Motor Setup Detail"},"calibration_done":{"type":"boolean","title":"Calibration Done"},"calibration_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calibration Path"}},"type":"object","required":["motor_setup_done","motor_setup_checked","motor_setup_detail","calibration_done"],"title":"ArmReadinessResponse"},"AugmentSessionAdminPaginatedResponse":{"properties":{"sessions":{"items":{"$ref":"#/components/schemas/AugmentSessionAdminRow"},"type":"array","title":"Sessions"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["sessions","total","page","page_size","total_pages"],"title":"AugmentSessionAdminPaginatedResponse","description":"Paginated admin augment-session list."},"AugmentSessionAdminRow":{"properties":{"session_id":{"type":"string","title":"Session Id"},"user_id":{"type":"string","title":"User Id"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"status":{"type":"string","title":"Status"},"progress":{"type":"number","title":"Progress"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"source_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Repo Id"},"instructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instructions"},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"},"target_phrase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Phrase"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"resume_attempts":{"type":"integer","title":"Resume Attempts","default":0},"unseen_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unseen Status"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"error_detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Detail"},"edit_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edit Prompt"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"per_episode_prompts":{"items":{"type":"string"},"type":"array","title":"Per Episode Prompts","default":[]},"charged_costs":{"items":{"type":"integer"},"type":"array","title":"Charged Costs","default":[]}},"type":"object","required":["session_id","user_id","status","progress"],"title":"AugmentSessionAdminRow","description":"One augmentation session row for the admin table (scalars only, no previews)."},"Augmentation":{"properties":{"id":{"type":"string","title":"Id","description":"`aug_` + a time-ordered ULID"},"object":{"type":"string","enum":["augmentation"],"const":"augmentation","title":"Object","default":"augmentation"},"status":{"type":"string","enum":["processing","succeeded","failed","canceled"],"title":"Status"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress","description":"Of the current phase (import, generate, publish): it starts again from 0 at each"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message","description":"What it is doing now, or the last thing it did"},"error":{"anyOf":[{"$ref":"#/components/schemas/AugmentationError"},{"type":"null"}],"description":"Set when `failed`"},"model":{"type":"string","title":"Model","description":"`auto` until the planner decides, then `relight`, `video`, `background`, `world` or `mixed`"},"pixel_exact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pixel Exact","description":"Whether what the request leaves alone keeps its recorded pixels: true for relight (each pixel recoloured in place) and background or world (the robot, objects and table keep their source pixels); false when generative video made any camera's clips (it redraws every pixel, so the robot and objects can drift or change; each episode's `check` says what was found). Null until planned"},"source":{"$ref":"#/components/schemas/AugmentationSource"},"instructions":{"type":"string","title":"Instructions"},"config":{"$ref":"#/components/schemas/AugmentationConfig"},"environments":{"anyOf":[{"$ref":"#/components/schemas/AugmentationEnvironments"},{"type":"null"}]},"must_keep":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Must Keep"},"plan":{"anyOf":[{"$ref":"#/components/schemas/AugmentationPlan"},{"type":"null"}],"description":"Set once the run is planned: what it does and why"},"awaiting_approval":{"type":"boolean","title":"Awaiting Approval","description":"The preview passed and the run waits for POST /v1/augmentations/{id}/approve","default":false},"gates":{"anyOf":[{"$ref":"#/components/schemas/AugmentationGates"},{"type":"null"}],"description":"Background and world, once the episodes ran"},"output":{"oneOf":[{"$ref":"#/components/schemas/AugmentationHuggingFaceOutput"},{"$ref":"#/components/schemas/AugmentationDownloadOutput"}],"title":"Output","description":"Where the episodes go, as given at create","discriminator":{"propertyName":"type","mapping":{"download":"#/components/schemas/AugmentationDownloadOutput","huggingface":"#/components/schemas/AugmentationHuggingFaceOutput"}}},"tokens":{"$ref":"#/components/schemas/AugmentationTokens"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","status","progress","model","source","instructions","config","output","tokens"],"title":"Augmentation","description":"One augmentation of a Hugging Face LeRobot dataset, keeping its motion: every episode relit, or new episodes\ngenerated by video augmentation.","examples":[{"awaiting_approval":false,"config":{"episode_count":3,"video_check":"standard"},"created_at":"2026-09-27T01:00:00Z","id":"aug_01K62QZ8V4X9C3N7M5T2R8W6HB","instructions":"Make the table dark walnut and the light warm","model":"video","object":"augmentation","output":{"files":[{"bytes":3186,"path":"meta/info.json","url":"https://storage.googleapis.com/kite-augment/augment/meta/info.json?X-Goog-Signature=abc"}],"type":"download"},"pixel_exact":false,"plan":{"changes":[{"description":"make the table dark walnut","kind":"in_front"}],"engine":"video","reason":"The table's material changes, which needs new video.","source_revision":"b28c65d7b892cb8dd4ed61f45158484374330086"},"progress":1.0,"source":{"repo_id":"lerobot/svla_so101_pickplace","type":"huggingface"},"status":"succeeded","status_message":"Output published","tokens":{"charged":32670},"webhook_metadata":{"ref":"run-42"}}]},"AugmentationCameraCheck":{"properties":{"status":{"type":"string","enum":["passed","warned","failed","skipped"],"title":"Status","description":"`warned`: shipped with warnings. `failed`: rejected. `skipped`: the check could not run"},"attempts":{"type":"integer","title":"Attempts","description":"Clips generated and checked for this camera: more than 1 when a rejected clip was generated again","default":1},"problems":{"items":{"$ref":"#/components/schemas/AugmentationCheckProblem"},"type":"array","title":"Problems","description":"What it found, each placed in a frame, the rejecting ones first"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why the check could not run, when `skipped`"}},"type":"object","required":["status","problems"],"title":"AugmentationCameraCheck"},"AugmentationCameraPlan":{"properties":{"engines":{"items":{"type":"string"},"type":"array","title":"Engines","description":"Run in order on this camera: `background`, `world` or `video`, then `relight` when the light changes too; none when it sees nothing behind the work cell and passes through"},"reason":{"type":"string","title":"Reason"},"episodes":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Episodes","description":"Of the selected source episodes, by the rig site each is on: how many this camera can run its scene engine on (`scene`), passes through on because it sees nothing behind the work cell there (`pass_through`), labels from the episode itself (`labelled`, `config.labelling`), or can't run on (`blocked`: the episode is skipped)"}},"type":"object","required":["engines","reason"],"title":"AugmentationCameraPlan"},"AugmentationChange":{"properties":{"description":{"type":"string","title":"Description"},"kind":{"type":"string","enum":["photometric","behind_cell","in_front","dynamic","out_of_scope"],"title":"Kind","description":"`dynamic`: people or something that moves, which only generative video can animate"}},"type":"object","required":["description","kind"],"title":"AugmentationChange"},"AugmentationCheckProblem":{"properties":{"kind":{"type":"string","enum":["robot_changed","gripper_lost","object_missing","object_altered","surface_changed"],"title":"Kind","description":"`robot_changed`: a part of the robot or a gripper missing, reshaped or replaced. `gripper_lost`: a wrist camera's own gripper, which stays in place in its view, gone from the edit (seen in the clip's mean). `object_missing`: an object it handles or that stands in the work area missing, duplicated or swapped for a different one. `object_altered`: such an object redrawn with a different shape, size or colour, or shifted. `surface_changed`: the table or work surface replaced, its tape or marks gone, or the view redrawn, beyond the request"},"severity":{"type":"string","enum":["reject","warning"],"title":"Severity","description":"What it did under the run's `config.video_check`"},"frame":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frame","description":"The episode frame it is seen in; null when seen in the mean of the clip"},"where":{"type":"string","title":"Where"},"what":{"type":"string","title":"What"}},"type":"object","required":["kind","severity","frame","where","what"],"title":"AugmentationCheckProblem"},"AugmentationConfig":{"properties":{"episode_count":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Episode Count","description":"Video augmentation: episodes to generate, from the start of the dataset (at most 50). Relighting covers every episode, and reports the dataset's count here; the background and world engines report the episodes they make (`episodes` x `variants`)","default":3},"variation_prompts":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":500},{"type":"null"}],"title":"Variation Prompts","description":"One prompt per episode; overrides episode_count when provided"},"relight":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/RelightRequest"},"type":"object"},{"type":"null"}],"title":"Relight","description":"Relight parameters per camera (\"top\" or \"observation.images.top\"), or \"*\" for every camera; a camera's own entry overrides \"*\" field by field. With `model` left out or `auto`, selects relighting and skips the planner."},"episodes":{"anyOf":[{"type":"string","enum":["all"],"const":"all"},{"type":"integer","minimum":1.0},{"items":{"type":"integer","minimum":0.0},"type":"array","minItems":1},{"type":"null"}],"title":"Episodes","description":"Background and world: the source episodes to augment, `all`, the first N, or a list of episode indices (in that order, each once) (default: `episode_count` when given or with model `auto`, else `all`). Not capped: a whole dataset runs on the augment workers"},"preview_first":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Preview First","description":"Background and world only; relight and video ignore it. Default true: augment windows at the start, middle and end of one episode per camera first and check their quality gates (a camera that fails moves to the next engine) before charging for the rest. From the console the run then waits for POST /v1/augmentations/{id}/approve; with an API key it goes on by itself once the gates pass"},"variants":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Variants","description":"Background and world: environments per source episode (default 1); each is its own episode, with its own environment"},"allow_video_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Video Fallback","description":"Model `auto`: when no scene engine can do the request on a camera (or a camera fails its preview on all of them), use generative video there instead of failing the run. Video costs many times more and keeps no pixel exactly; never used when the request asks to keep things exactly or names `must_keep` (default false: the run fails before any charge, with the measured reasons and the video price)"},"labelling":{"anyOf":[{"type":"string","enum":["rig","episode","auto"]},{"type":"null"}],"title":"Labelling","description":"Background and world: what the background segmenter learns from. `rig`: the rig profile's sites only; an episode filmed where no profiled site serves a camera (a new room or camera placement) is skipped, not charged. `episode`: such an episode labels that camera itself (a segmenter trained on detections of the episode's own frames and probed on them, which decides the camera), for a surcharge per labelled camera (its GPU time: a fixed part plus one per frame) shown in `plan.estimate.labelling_tokens`. `auto` (default): `episode` when `allow_episode_labelling` is true, else `rig`"},"allow_episode_labelling":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Episode Labelling","description":"With `labelling` `auto`: let episodes the rig profile can't serve label themselves, for the surcharge (default false: they are skipped, and the plan prices this option where the rig profile measured it passing)"},"allow_environment_substitutes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Environment Substitutes","description":"Background and world: when the place the instructions name matches no ready environment (\"a forest\"), use environments matched to the rig's light instead, with a warning (default false: the run fails before any charge with `environment_not_found`)"},"video_check":{"anyOf":[{"type":"string","enum":["standard","strict","off"]},{"type":"null"}],"title":"Video Check","description":"Generative video: what the check of each camera's clip rejects (default `standard`). `standard`: a robot or gripper part changed (`robot_changed`, `gripper_lost`), or an object missing, duplicated or swapped (`object_missing`); an object redrawn or shifted (`object_altered`) and the table, its tape and marks, or the view redrawn beyond the request (`surface_changed`) ship as warnings on the episode's `check`. `strict`: every problem rejects. `off`: nothing rejects; the check still runs and records warnings. A camera whose clip is rejected is generated once more, at Kite's cost, and checked again; an episode with a camera that never passes is `rejected` and refunded"}},"additionalProperties":false,"type":"object","title":"AugmentationConfig"},"AugmentationCreate":{"properties":{"source":{"$ref":"#/components/schemas/AugmentationSource"},"instructions":{"type":"string","maxLength":2000,"minLength":3,"title":"Instructions"},"config":{"$ref":"#/components/schemas/AugmentationConfig"},"output":{"$ref":"#/components/schemas/AugmentationOutput"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"'auto' (default: the planner picks per camera), 'relight' (colour and exposure transform of every episode), 'background' (a panorama behind the work cell; the robot, objects and table keep their pixels), 'world' (a 3D world rendered from each camera's pose, for moving cameras) or 'video' (generative video augmentation)"},"environments":{"anyOf":[{"$ref":"#/components/schemas/AugmentationEnvironments"},{"type":"null"}],"description":"Background and world: what to put behind the work cell (default: 3 matched to the rig)"},"must_keep":{"anyOf":[{"items":{"type":"string","maxLength":200,"minLength":1},"type":"array","maxItems":20},{"type":"null"}],"title":"Must Keep","description":"Things that must keep their recorded pixels, besides the robot and what it handles; one behind the work cell means generative video"},"reference_images":{"anyOf":[{"items":{"$ref":"#/components/schemas/ReferenceImage"},"type":"array","maxItems":6},{"type":"null"}],"title":"Reference Images","description":"Photos of the target look (e.g. from the deployment cameras): at most 5 MB each, 20 MB in total"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata","description":"Opaque metadata echoed on the resource and future webhook events"}},"additionalProperties":false,"type":"object","required":["source","instructions"],"title":"AugmentationCreate"},"AugmentationDownloadOutput":{"properties":{"type":{"type":"string","enum":["download"],"const":"download","title":"Type","default":"download"},"files":{"anyOf":[{"items":{"$ref":"#/components/schemas/AugmentationOutputFile"},"type":"array"},{"type":"null"}],"title":"Files","description":"Only on GET /v1/augmentations/{id} once `succeeded`: every file of the LeRobot dataset. The key is absent everywhere else (lists, create, cancel, webhook events)"}},"type":"object","title":"AugmentationDownloadOutput"},"AugmentationEnvironments":{"properties":{"ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1},{"type":"null"}],"title":"Ids","description":"Environment ids (`aenv_...`) or library ids, used in turn"},"filter":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentFilter"},{"type":"null"}]},"prompt":{"anyOf":[{"type":"string","maxLength":2000,"minLength":3},{"type":"null"}],"title":"Prompt","description":"Make new environments from a description (minutes; not enabled for every account). The run waits for them"},"count":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":1.0},{"type":"null"}],"title":"Count","description":"How many to pick or make (default 3)"}},"additionalProperties":false,"type":"object","title":"AugmentationEnvironments","description":"What the background and world engines put behind the work cell: exactly one of `ids` or `prompt`, or a\n`filter` and/or `count` to pick from your ready environments and the Kite library (fitted to the rig's light)."},"AugmentationEpisode":{"properties":{"object":{"type":"string","enum":["augmentation_episode"],"const":"augmentation_episode","title":"Object","default":"augmentation_episode"},"index":{"type":"integer","title":"Index","description":"The episode's index in the augmented dataset"},"status":{"type":"string","title":"Status","description":"The pipeline's own state for it: `done` once saved; also `pending`, `rejected` (a check failed: it never ships and is refunded; see `error`)"},"source_episode_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Episode Index","description":"The source episode it was made from (generated sources repeat when you ask for more episodes than the dataset has)"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"pixel_exact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pixel Exact","description":"False for generative video, which redraws every pixel; null when not recorded (see the run's `pixel_exact`)"},"check":{"anyOf":[{"$ref":"#/components/schemas/AugmentationEpisodeCheck"},{"type":"null"}],"description":"Generative video: what the check found"}},"type":"object","required":["index","status"],"title":"AugmentationEpisode","description":"One episode: a video augmentation's generated one, or one of a relit dataset."},"AugmentationEpisodeCheck":{"properties":{"status":{"type":"string","enum":["passed","warned","failed","skipped"],"title":"Status","description":"The worst camera's. A `failed` episode is `rejected`: it never ships and is refunded. A `skipped` one shipped unchecked, a `warned` one with warnings"},"cameras":{"additionalProperties":{"$ref":"#/components/schemas/AugmentationCameraCheck"},"type":"object","title":"Cameras","description":"By short camera name, e.g. `cam_high`"}},"type":"object","required":["status","cameras"],"title":"AugmentationEpisodeCheck","description":"Generative video: each camera's clip compared with its source by a vision model, told the request."},"AugmentationEpisodeCount":{"properties":{"reason":{"type":"string","title":"Reason"},"episodes":{"type":"integer","title":"Episodes"}},"type":"object","required":["reason","episodes"],"title":"AugmentationEpisodeCount"},"AugmentationEpisodeDetail":{"properties":{"object":{"type":"string","enum":["augmentation_episode"],"const":"augmentation_episode","title":"Object","default":"augmentation_episode"},"index":{"type":"integer","title":"Index","description":"The episode's index in the augmented dataset"},"status":{"type":"string","title":"Status","description":"The pipeline's own state for it: `done` once saved; also `pending`, `rejected` (a check failed: it never ships and is refunded; see `error`)"},"source_episode_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Episode Index","description":"The source episode it was made from (generated sources repeat when you ask for more episodes than the dataset has)"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"pixel_exact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pixel Exact","description":"False for generative video, which redraws every pixel; null when not recorded (see the run's `pixel_exact`)"},"check":{"anyOf":[{"$ref":"#/components/schemas/AugmentationEpisodeCheck"},{"type":"null"}],"description":"Generative video: what the check found"},"videos":{"items":{"$ref":"#/components/schemas/AugmentationEpisodeVideo"},"type":"array","title":"Videos","description":"Empty until the episode's clips are saved"}},"type":"object","required":["index","status","videos"],"title":"AugmentationEpisodeDetail","description":"One episode, with a clip per camera.","examples":[{"check":{"cameras":{"cam_high":{"attempts":1,"problems":[{"frame":51,"kind":"surface_changed","severity":"warning","what":"the orange tape marking the place target is gone","where":"left side of table"}],"status":"warned"}},"status":"warned"},"index":0,"object":"augmentation_episode","pixel_exact":false,"source_episode_index":0,"status":"done","videos":[{"camera":"cam_high","source_url":"/v1/augmentations/aug_01K62QZ8V4X9C3N7M5T2R8W6HB/episodes/0/videos/cam_high/source","url":"/v1/augmentations/aug_01K62QZ8V4X9C3N7M5T2R8W6HB/episodes/0/videos/cam_high"}]}]},"AugmentationEpisodeList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/AugmentationEpisode"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `after` for the next page (it is an `index`)"}},"type":"object","required":["data","has_more"],"title":"AugmentationEpisodeList"},"AugmentationEpisodeVideo":{"properties":{"camera":{"type":"string","title":"Camera","description":"The short camera name, e.g. `cam_high`"},"url":{"type":"string","title":"Url","description":"This API's path for the mp4; GET it with your Authorization header. A relit episode's is the dataset's video file holding it (a signed link, or this API's path for the file), from `from_timestamp` to `to_timestamp`"},"from_timestamp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"From Timestamp","description":"Where the episode starts in `url`, in seconds. Null when `url` is the episode's own clip"},"to_timestamp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"To Timestamp","description":"Where it ends in `url`, in seconds"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url","description":"The same camera's clip of the source episode, frame for frame as the run read it: the before to `url`'s after. A relit episode's is the source dataset's video file, from `source_from_timestamp` to `source_to_timestamp`. Null when the run kept no source clip"},"source_from_timestamp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Source From Timestamp","description":"Where the source episode starts in `source_url`, in seconds"},"source_to_timestamp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Source To Timestamp","description":"Where it ends in `source_url`, in seconds"}},"type":"object","required":["camera","url"],"title":"AugmentationEpisodeVideo"},"AugmentationError":{"properties":{"code":{"type":"string","title":"Code","description":"`system`, `generation`, `capacity`, `insufficient_tokens`, `dataset_unavailable`, `incompatible_dataset`, `hf_unauthorized`, `model_not_feasible`, `out_of_scope`, `environment_not_ready`, `environment_not_found`, `parameter_invalid`, `gates_failed`, or `pipeline_failed` when the run recorded no code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"What went wrong and what to do; safe to show a user"}},"type":"object","required":["code"],"title":"AugmentationError"},"AugmentationEstimate":{"properties":{"episode_count":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Episode Count"},"seconds_per_episode":{"type":"number","maximum":3600.0,"exclusiveMinimum":0.0,"title":"Seconds Per Episode","default":30.0},"cameras_per_episode":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Cameras Per Episode","default":1},"model":{"type":"string","enum":["video","relight","background","world"],"title":"Model","default":"video"},"with_relight":{"type":"boolean","title":"With Relight","description":"Background and world: a relight chained after them on every camera","default":false}},"additionalProperties":false,"type":"object","required":["episode_count"],"title":"AugmentationEstimate"},"AugmentationEstimateResult":{"properties":{"object":{"type":"string","enum":["augmentation_estimate"],"const":"augmentation_estimate","title":"Object","default":"augmentation_estimate"},"tokens":{"type":"integer","title":"Tokens","description":"`tokens_per_episode` × `episode_count`"},"tokens_per_episode":{"type":"integer","title":"Tokens Per Episode","description":"Billed per second of clip, per camera"},"assumptions":{"$ref":"#/components/schemas/AugmentationEstimate","description":"The request, with its defaults filled in"}},"type":"object","required":["tokens","tokens_per_episode","assumptions"],"title":"AugmentationEstimateResult","examples":[{"assumptions":{"cameras_per_episode":1,"episode_count":3,"model":"video","seconds_per_episode":30.0,"with_relight":false},"object":"augmentation_estimate","tokens":32670,"tokens_per_episode":10890},{"assumptions":{"cameras_per_episode":3,"episode_count":61,"model":"relight","seconds_per_episode":26.6,"with_relight":false},"object":"augmentation_estimate","tokens":9760,"tokens_per_episode":160},{"assumptions":{"cameras_per_episode":3,"episode_count":61,"model":"world","seconds_per_episode":26.6,"with_relight":true},"object":"augmentation_estimate","tokens":204472,"tokens_per_episode":3352}]},"AugmentationFeasibility":{"properties":{"selected":{"type":"integer","title":"Selected","description":"Source episodes selected by `config.episodes`"},"runnable":{"type":"integer","title":"Runnable","description":"Those every camera can run on; only these are charged and run"},"skipped":{"items":{"$ref":"#/components/schemas/AugmentationEpisodeCount"},"type":"array","title":"Skipped","description":"Why the others are skipped, most common first"}},"type":"object","required":["selected","runnable","skipped"],"title":"AugmentationFeasibility"},"AugmentationGateFailure":{"properties":{"episode_index":{"type":"integer","title":"Episode Index"},"camera":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Camera"},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons"}},"type":"object","required":["episode_index","reasons"],"title":"AugmentationGateFailure"},"AugmentationGates":{"properties":{"passed":{"type":"integer","title":"Passed","description":"Episodes that passed every gate and shipped"},"warned":{"type":"integer","title":"Warned","description":"Generative video: of those, episodes that shipped with a warning from the check (see each episode's `check`)","default":0},"failed":{"type":"integer","title":"Failed","description":"Episodes that failed a gate or could not run; refunded"},"failures":{"items":{"$ref":"#/components/schemas/AugmentationGateFailure"},"type":"array","title":"Failures","description":"The first 20 gate failures"}},"type":"object","required":["passed","failed","failures"],"title":"AugmentationGates","description":"Background, world and generative video: every episode is checked before it ships, and one that fails never\ndoes (video: the episode's `check`)."},"AugmentationHuggingFaceOutput":{"properties":{"type":{"type":"string","enum":["huggingface"],"const":"huggingface","title":"Type","default":"huggingface"},"repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repo Id","description":"The Hugging Face dataset the episodes are pushed to"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Once `succeeded`: the pushed dataset on huggingface.co"}},"type":"object","title":"AugmentationHuggingFaceOutput"},"AugmentationList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/Augmentation"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"AugmentationList"},"AugmentationOutput":{"properties":{"type":{"type":"string","enum":["huggingface","download"],"title":"Type","default":"download"},"repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repo Id","description":"Target HF dataset repo (required for type=huggingface)"},"private":{"type":"boolean","title":"Private","default":true}},"additionalProperties":false,"type":"object","title":"AugmentationOutput"},"AugmentationOutputFile":{"properties":{"path":{"type":"string","title":"Path","description":"Relative to the dataset root, e.g. `meta/info.json`"},"bytes":{"type":"integer","title":"Bytes"},"url":{"type":"string","title":"Url","description":"A signed storage link (no credentials; valid for an hour), or this API's own `/v1/augmentations/{id}/files/{path}` when signing is unavailable, which needs your Authorization header"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url","description":"For a relight's videos: the same file of the source dataset on Hugging Face, at the commit the run read, with the same timestamps (the before to `url`'s after). Null for every other file"}},"type":"object","required":["path","bytes","url"],"title":"AugmentationOutputFile"},"AugmentationPlan":{"properties":{"engine":{"type":"string","enum":["relight","video","background","world","mixed"],"title":"Engine","description":"`relight`: colour and exposure of every episode, motion untouched. `video`: generative video augmentation. `background` / `world`: a new place behind the work cell (`mixed` when cameras differ, see `cameras`)"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why, in a sentence"},"relight":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/RelightParams"},"type":"object"},{"type":"null"}],"title":"Relight","description":"For `relight`: parameters per camera, or `*` for every camera; a camera's own entry overrides `*` field by field. Cameras left out are copied unchanged"},"video_instruction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Instruction","description":"For `video` chosen from reference photos: the edit derived from them"},"source_revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Revision","description":"For `relight` and the scene engines: the commit of the source dataset the run reads from start to finish"},"cameras":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AugmentationCameraPlan"},"type":"object"},{"type":"null"}],"title":"Cameras","description":"Background and world: each camera's engines and why"},"changes":{"anyOf":[{"items":{"$ref":"#/components/schemas/AugmentationChange"},"type":"array"},{"type":"null"}],"title":"Changes","description":"What the request changes, as classified"},"must_keep":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Must Keep"},"environments":{"anyOf":[{"items":{"$ref":"#/components/schemas/AugmentationPlanEnvironment"},"type":"array"},{"type":"null"}],"title":"Environments","description":"Used in turn, one per episode and variant"},"rig_profile":{"anyOf":[{"$ref":"#/components/schemas/AugmentationRigProfile"},{"type":"null"}]},"estimate":{"anyOf":[{"$ref":"#/components/schemas/AugmentationPlanEstimate"},{"type":"null"}],"description":"What the episodes will cost, charged when they start"},"preview":{"anyOf":[{"$ref":"#/components/schemas/AugmentationPreview"},{"type":"null"}],"description":"With `config.preview_first`: one episode per camera, in windows"},"feasibility":{"anyOf":[{"$ref":"#/components/schemas/AugmentationFeasibility"},{"type":"null"}]},"labelling":{"anyOf":[{"type":"string","enum":["rig","episode"]},{"type":"null"}],"title":"Labelling","description":"Background and world: `episode` when episodes the rig profile can't serve label themselves (`config.labelling`), else `rig`"},"warnings":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Warnings","description":"What the plan could not do as asked (an option left unused, episodes skipped, a change not made)"}},"type":"object","required":["engine"],"title":"AugmentationPlan"},"AugmentationPlanEnvironment":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"yaw_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Yaw Deg","description":"How far the panorama is turned, so its daylight falls where the rig's light comes from"}},"type":"object","required":["id"],"title":"AugmentationPlanEnvironment"},"AugmentationPlanEstimate":{"properties":{"tokens":{"type":"integer","title":"Tokens"},"episodes":{"type":"integer","title":"Episodes","description":"Episodes it makes: source episodes x environment variants"},"labelling_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Labelling Tokens","description":"Of `tokens`, the surcharge for episodes that label cameras themselves (`config.labelling`)"}},"type":"object","required":["tokens","episodes"],"title":"AugmentationPlanEstimate"},"AugmentationPreview":{"properties":{"episode_index":{"type":"integer","title":"Episode Index"},"passed":{"type":"boolean","title":"Passed","description":"Every camera passed (some perhaps on a fallback engine)"},"cameras":{"additionalProperties":{"$ref":"#/components/schemas/AugmentationPreviewCamera"},"type":"object","title":"Cameras"}},"type":"object","required":["episode_index","passed","cameras"],"title":"AugmentationPreview"},"AugmentationPreviewCamera":{"properties":{"engines_used":{"items":{"type":"string"},"type":"array","title":"Engines Used"},"passed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Passed","description":"null when not previewed (video, or passing through)"},"episode_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode Index","description":"The source episode previewed on this camera"},"windows":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Windows","description":"Each previewed window: `start` frame, `frames`, `passed`, `metrics`"},"gates":{"type":"object","title":"Gates","description":"The quality gates' `metrics` (the visual judge's as `judge`: `passed`, `failed` or `skipped`) and `failures`"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url","description":"This API's path for the preview clip"}},"type":"object","required":["engines_used","gates"],"title":"AugmentationPreviewCamera"},"AugmentationRigCamera":{"properties":{"motion":{"type":"string","enum":["static","moving"],"title":"Motion"},"located":{"type":"boolean","title":"Located","description":"Its lens and pose were measured, not guessed"},"segmenter":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Segmenter","description":"The rig's background segmenter passed its probe here; null when not recorded"},"travel_m":{"type":"number","title":"Travel M","description":"How far it moves over episode 0, from the robot's kinematics"}},"type":"object","required":["motion","located","travel_m"],"title":"AugmentationRigCamera"},"AugmentationRigProfile":{"properties":{"key":{"type":"string","title":"Key","description":"The rig's profile, reused by later runs on the same rig"},"robot_model":{"type":"string","title":"Robot Model"},"cameras":{"additionalProperties":{"$ref":"#/components/schemas/AugmentationRigCamera"},"type":"object","title":"Cameras"}},"type":"object","required":["key","robot_model","cameras"],"title":"AugmentationRigProfile"},"AugmentationSource":{"properties":{"type":{"type":"string","enum":["huggingface","s3"],"title":"Type","default":"huggingface"},"repo_id":{"type":"string","maxLength":500,"minLength":3,"title":"Repo Id","description":"The LeRobot dataset: a HuggingFace dataset id ('lerobot/pusht') or its huggingface.co/datasets/ URL, or an S3 link to its folder in a public bucket ('s3://my-bucket/touch_cup/' or its https://….amazonaws.com URL). Any form is stored as 'owner/name' or 's3://bucket/folder'; `type` follows from it"}},"additionalProperties":false,"type":"object","required":["repo_id"],"title":"AugmentationSource"},"AugmentationTokens":{"properties":{"charged":{"type":"integer","title":"Charged","description":"Charged up front when the work starts. Video augmentation refunds the episodes it never generates or that fail its check, and a relight that fails is refunded in full, when the run ends (see GET /v1/usage); refunds are not subtracted here"}},"type":"object","required":["charged"],"title":"AugmentationTokens"},"Body_generate_environment_api_scenes_generate_environment_post":{"properties":{"project_id":{"type":"string","title":"Project Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"max_objects":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Objects"},"splat_quality":{"type":"string","title":"Splat Quality","default":"full"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"},"input_mode":{"type":"string","title":"Input Mode","default":"auto"},"angles":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Angles"},"pano_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pano Asset Id"},"image":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Image"},"extra_images":{"items":{"type":"string","format":"binary"},"type":"array","title":"Extra Images"}},"type":"object","required":["project_id"],"title":"Body_generate_environment_api_scenes_generate_environment_post"},"Body_generate_object_api_objects_generate_post":{"properties":{"project_id":{"type":"string","title":"Project Id"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"pipeline":{"type":"string","title":"Pipeline","default":"blaster"},"image":{"type":"string","format":"binary","title":"Image"}},"type":"object","required":["project_id","image"],"title":"Body_generate_object_api_objects_generate_post"},"Body_generate_scene_api_scenes_generate_post":{"properties":{"project_id":{"type":"string","title":"Project Id"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"image":{"type":"string","format":"binary","title":"Image"}},"type":"object","required":["project_id","image"],"title":"Body_generate_scene_api_scenes_generate_post"},"Body_generate_world_api_worlds_generate_post":{"properties":{"project_id":{"type":"string","title":"Project Id"},"prompt":{"type":"string","title":"Prompt"},"input_type":{"type":"string","title":"Input Type","default":"image"},"model":{"anyOf":[{"$ref":"#/components/schemas/WorldGenerationModel"},{"type":"null"}],"default":"marble-1.1"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"image_file":{"type":"string","format":"binary","title":"Image File"},"image_files":{"anyOf":[{"items":{"type":"string","format":"binary"},"type":"array"},{"type":"null"}],"title":"Image Files"},"video_file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Video File"},"image_directions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Directions"},"reconstruct_images":{"type":"boolean","title":"Reconstruct Images","default":false}},"type":"object","required":["project_id","prompt","image_file"],"title":"Body_generate_world_api_worlds_generate_post"},"Body_import_from_video_api_motions_from_video_post":{"properties":{"robot_id":{"type":"string","title":"Robot Id"},"name":{"type":"string","title":"Name","default":""},"video":{"type":"string","format":"binary","title":"Video"}},"type":"object","required":["robot_id","video"],"title":"Body_import_from_video_api_motions_from_video_post"},"Body_segment_image_api_objects_segment_post":{"properties":{"image":{"type":"string","format":"binary","title":"Image"},"points":{"type":"string","title":"Points"},"labels":{"type":"string","title":"Labels"}},"type":"object","required":["image","points","labels"],"title":"Body_segment_image_api_objects_segment_post"},"Body_upload_custom_robot_api_custom_robots_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"robot_type":{"type":"string","title":"Robot Type","default":"custom"},"visibility":{"type":"string","title":"Visibility","default":"private"}},"type":"object","required":["file","name"],"title":"Body_upload_custom_robot_api_custom_robots_upload_post"},"Body_upload_file_api_projects__project_id__upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"target_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Path","description":"Target directory path (e.g. /src)"},"overwrite":{"type":"boolean","title":"Overwrite","description":"Allow overwriting existing files","default":false}},"type":"object","required":["file"],"title":"Body_upload_file_api_projects__project_id__upload_post"},"BudgetResponse":{"properties":{"monthly_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Tokens"},"alert_thresholds":{"items":{"type":"integer"},"type":"array","title":"Alert Thresholds"},"hard_limit":{"type":"boolean","title":"Hard Limit"},"low_balance_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Low Balance Tokens"},"period":{"type":"string","title":"Period","description":"YYYY-MM, UTC"},"spent":{"type":"integer","title":"Spent","description":"Net tokens this month: consumed minus refunded, as on the Usage page"},"resets_at":{"type":"string","title":"Resets At","description":"RFC 3339: the first of next month, 00:00 UTC"}},"type":"object","required":["alert_thresholds","hard_limit","period","spent","resets_at"],"title":"BudgetResponse","description":"The settings, and where this month stands."},"BudgetSettingsRequest":{"properties":{"monthly_tokens":{"anyOf":[{"type":"integer","maximum":1000000000.0,"minimum":1.0},{"type":"null"}],"title":"Monthly Tokens","description":"null: no budget"},"alert_thresholds":{"items":{"type":"integer"},"type":"array","maxItems":10,"title":"Alert Thresholds","description":"Percents of the budget that each raise one alert a month"},"hard_limit":{"type":"boolean","title":"Hard Limit","description":"Refuse new /v1 runs once the month's spend reaches the budget","default":false},"low_balance_tokens":{"anyOf":[{"type":"integer","maximum":1000000000.0,"minimum":1.0},{"type":"null"}],"title":"Low Balance Tokens","description":"null: no low-balance alert"}},"type":"object","title":"BudgetSettingsRequest","description":"All of the budget settings: PUT replaces them."},"CalibrationStatus":{"properties":{"state":{"type":"string","title":"State"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"port":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Port"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"robot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Id"},"motor_names":{"items":{"type":"string"},"type":"array","title":"Motor Names"},"positions":{"additionalProperties":{"type":"integer"},"type":"object","title":"Positions"},"mins":{"additionalProperties":{"type":"integer"},"type":"object","title":"Mins"},"maxes":{"additionalProperties":{"type":"integer"},"type":"object","title":"Maxes"},"full_turn_motor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Turn Motor"},"calibration_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calibration Path"}},"type":"object","required":["state"],"title":"CalibrationStatus"},"CallerUser":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"}},"type":"object","required":["id","email"],"title":"CallerUser"},"CameraSelection":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","minLength":1,"title":"Name"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"fps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fps"}},"type":"object","required":["id","name"],"title":"CameraSelection","description":"A user's pick from the detected cameras list. `name` is what\nthe policy will see in the observation dict — usually matches the\nname expected by the policy's training data (e.g. \"phone\", \"front\",\n\"camera1\"). `id` is the device identifier returned by listCameras."},"CameraSpec":{"properties":{"id":{"type":"string","minLength":1,"title":"Id"},"name":{"type":"string","minLength":1,"title":"Name"},"width":{"anyOf":[{"type":"integer","maximum":4096.0,"minimum":64.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","maximum":4096.0,"minimum":64.0},{"type":"null"}],"title":"Height"},"fps":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":1.0},{"type":"null"}],"title":"Fps"}},"type":"object","required":["id","name"],"title":"CameraSpec","description":"A camera the user has selected for recording.\n\n`id` is the device handle returned by /capture/cameras (int index or\n/dev path). `name` is the dataset key — it becomes\n`observation.images.<name>` in the saved episode."},"CameraToggle":{"properties":{"dataset_key":{"type":"string","title":"Dataset Key","description":"Dataset camera feature key, e.g. observation.images.top"},"include":{"type":"boolean","title":"Include","default":true},"remap_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remap To","description":"Policy image slot to rename this camera to (omit to keep as-is)"}},"type":"object","required":["dataset_key"],"title":"CameraToggle"},"CancelSubscriptionResponse":{"properties":{"canceled_at":{"type":"string","title":"Canceled At"},"current_period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period End"}},"type":"object","required":["canceled_at"],"title":"CancelSubscriptionResponse"},"CaptureSessionStatus":{"properties":{"state":{"type":"string","title":"State"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"session_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Dir"},"fps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fps"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"pair_count":{"type":"integer","title":"Pair Count","default":0},"pairs":{"items":{"$ref":"#/components/schemas/PairInfo"},"type":"array","title":"Pairs"},"leader_port":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Leader Port"},"leader_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Leader Id"},"follower_port":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Follower Port"},"follower_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Follower Id"},"cameras":{"items":{"type":"string"},"type":"array","title":"Cameras"},"recording":{"type":"boolean","title":"Recording","default":false},"recorded_frames":{"type":"integer","title":"Recorded Frames","default":0},"episodes_recorded":{"type":"integer","title":"Episodes Recorded","default":0},"align_threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Align Threshold"}},"type":"object","required":["state"],"title":"CaptureSessionStatus"},"CapturedDataset":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"num_episodes":{"type":"integer","title":"Num Episodes"},"num_steps":{"type":"integer","title":"Num Steps"},"linked_project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linked Project Id"},"gcs_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Uri"},"upload_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upload State"},"upload_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upload Error"},"upload_skipped_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upload Skipped Reason"}},"type":"object","required":["dataset_id","name","path","num_episodes","num_steps"],"title":"CapturedDataset"},"CheckoutSessionResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["checkout_url","session_id"],"title":"CheckoutSessionResponse"},"CheckoutSubscriptionRequest":{"properties":{"billing_period":{"type":"string","pattern":"^(monthly|yearly)$","title":"Billing Period","default":"monthly"}},"type":"object","title":"CheckoutSubscriptionRequest"},"CheckpointOut":{"properties":{"step":{"type":"integer","title":"Step"},"uri":{"type":"string","title":"Uri"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["step","uri"],"title":"CheckpointOut"},"CodeExecutionRequest":{"properties":{"code":{"type":"string","title":"Code"},"language":{"type":"string","title":"Language","default":"python"},"timeout":{"type":"integer","title":"Timeout","default":30},"environment":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Environment"}},"type":"object","required":["code"],"title":"CodeExecutionRequest","description":"Request to execute code on robot."},"CodeExecutionResult":{"properties":{"success":{"type":"boolean","title":"Success"},"output":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"execution_time":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Execution Time"}},"type":"object","required":["success"],"title":"CodeExecutionResult","description":"Result of code execution."},"ColliderDescriptor":{"properties":{"id":{"type":"string","title":"Id","description":"Unique collider identifier"},"type":{"type":"string","enum":["mesh","plane","box","sphere","capsule"],"title":"Type","description":"Collider geometry type"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Path to mesh file (GLB/OBJ) for mesh colliders"},"position":{"items":{"type":"number"},"type":"array","maxItems":3,"minItems":3,"title":"Position","description":"Position [x, y, z] in meters","default":[0,0,0]},"rotation":{"items":{"type":"number"},"type":"array","maxItems":4,"minItems":4,"title":"Rotation","description":"Rotation quaternion [x, y, z, w]","default":[0,0,0,1]},"scale":{"items":{"type":"number"},"type":"array","maxItems":3,"minItems":3,"title":"Scale","description":"Scale [x, y, z]","default":[1,1,1]},"body_type":{"type":"string","enum":["static","dynamic","kinematic"],"title":"Body Type","description":"Physics body type","default":"static"},"mass":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Mass","description":"Mass in kg (None = auto from density)"},"friction":{"type":"number","minimum":0.0,"title":"Friction","description":"Surface friction coefficient","default":1.0},"restitution":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Restitution","description":"Bounciness (0-1)","default":0.0},"visible":{"type":"boolean","title":"Visible","description":"Whether collider mesh is visible in viewport","default":false}},"type":"object","required":["id","type"],"title":"ColliderDescriptor","description":"A physics collider shape in the scene."},"ConfigureRequest":{"properties":{"project_id":{"type":"string","title":"Project Id"},"policy_id":{"type":"string","title":"Policy Id"},"training_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Method"},"hardware_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Tier"},"task_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Description"},"overrides":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Overrides"}},"type":"object","required":["project_id","policy_id"],"title":"ConfigureRequest"},"CostEstimateRequest":{"properties":{"operation":{"type":"string","pattern":"^(training|world_generation|augment)$","title":"Operation"},"hardware_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Tier"},"estimated_hours":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.1},{"type":"null"}],"title":"Estimated Hours"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"episode_count":{"anyOf":[{"type":"integer","maximum":500.0,"minimum":1.0},{"type":"null"}],"title":"Episode Count"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"seconds_per_episode":{"anyOf":[{"type":"number","maximum":600.0,"minimum":0.0},{"type":"null"}],"title":"Seconds Per Episode"},"cameras":{"anyOf":[{"type":"integer","maximum":16.0,"minimum":1.0},{"type":"null"}],"title":"Cameras"}},"type":"object","required":["operation"],"title":"CostEstimateRequest","description":"Request to estimate token cost for an operation."},"CostEstimateResponse":{"properties":{"tokens_required":{"type":"integer","title":"Tokens Required"},"current_balance":{"type":"integer","title":"Current Balance"},"sufficient":{"type":"boolean","title":"Sufficient"},"operation":{"type":"string","title":"Operation"},"breakdown":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Breakdown"}},"type":"object","required":["tokens_required","current_balance","sufficient","operation"],"title":"CostEstimateResponse","description":"Token cost estimation response."},"CreateApiKeyRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["name"],"title":"CreateApiKeyRequest"},"CreateConversationRequest":{"properties":{"project_id":{"type":"string","title":"Project Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"type":"object","required":["project_id"],"title":"CreateConversationRequest"},"CreateLiveSession":{"properties":{"scene_xml":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene Xml"},"scene_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene Path"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"inventory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inventory Id"},"policy_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Ref"},"policy_ref_alt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Ref Alt"},"rl_checkpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rl Checkpoint"},"rl_task":{"anyOf":[{"type":"string"},{"type":"object"},{"type":"null"}],"title":"Rl Task"},"task_instruction":{"type":"string","title":"Task Instruction","default":""},"device":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device"},"backend":{"type":"string","title":"Backend","default":"mjwarp"},"placed_objects":{"items":{"type":"object"},"type":"array","title":"Placed Objects","default":[]},"environment":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Environment"},"world_floor_offset":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"World Floor Offset"},"robot_pose":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Robot Pose"},"stream_hz":{"type":"integer","title":"Stream Hz","default":30},"control_hz":{"type":"integer","title":"Control Hz","default":15},"include_geoms":{"type":"boolean","title":"Include Geoms","default":true},"sensor_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sensor Config"},"sensor_hz":{"type":"integer","title":"Sensor Hz","default":10},"chunk_horizon":{"type":"integer","title":"Chunk Horizon","default":32},"camera_overrides":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Camera Overrides"}},"type":"object","title":"CreateLiveSession"},"CreateRunRequest":{"properties":{"robot":{"type":"string","title":"Robot"},"prompt":{"type":"string","title":"Prompt","default":""},"task":{"type":"string","title":"Task"},"title":{"type":"string","title":"Title","default":""},"weights":{"additionalProperties":{"type":"number"},"type":"object","title":"Weights","default":{}},"command_ranges":{"anyOf":[{"additionalProperties":{"items":{"type":"number"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Command Ranges"},"n_envs":{"type":"integer","title":"N Envs","default":2048},"iterations":{"type":"integer","title":"Iterations","default":600},"compute":{"type":"string","title":"Compute","default":"cloud"},"recipe":{"type":"string","title":"Recipe","default":"v2"},"motion_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Motion Id"},"remix_of":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remix Of"},"objects":{"items":{"type":"object"},"type":"array","title":"Objects","default":[]},"objective":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Objective"},"plan":{"type":"object","title":"Plan","default":{}}},"type":"object","required":["robot","task"],"title":"CreateRunRequest"},"CreateSessionRequest":{"properties":{"project_id":{"type":"string","title":"Project Id"},"scene_description":{"$ref":"#/components/schemas/SceneDescription"},"project_files":{"type":"object","title":"Project Files","default":{}},"placed_objects":{"items":{},"type":"array","title":"Placed Objects","default":[]},"inventory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inventory Id"},"world_floor_offset":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"World Floor Offset"},"policy_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Source"},"training_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Job Id"},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id"},"gcs_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Uri"},"task":{"type":"string","title":"Task","default":""}},"type":"object","required":["project_id","scene_description"],"title":"CreateSessionRequest"},"CreateTrainingSession":{"properties":{"inventory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inventory Id"},"task":{"anyOf":[{"type":"string"},{"type":"object"}],"title":"Task","default":""},"placed_objects":{"items":{"type":"object"},"type":"array","title":"Placed Objects","default":[]},"environment":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Environment"},"world_floor_offset":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"World Floor Offset"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"n_envs":{"type":"integer","maximum":4096.0,"minimum":1.0,"title":"N Envs","default":64},"backend":{"type":"string","title":"Backend","default":"mjwarp"},"device":{"type":"string","title":"Device","default":"cpu"},"max_iterations":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Max Iterations","default":300},"stream_hz":{"type":"integer","maximum":60.0,"minimum":1.0,"title":"Stream Hz","default":20}},"type":"object","title":"CreateTrainingSession"},"CredentialCreateRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","description":"Friendly name for this credential"},"provider":{"type":"string","title":"Provider","description":"Credential provider (aws)","default":"aws"},"aws_access_key_id":{"type":"string","minLength":1,"title":"Aws Access Key Id","description":"AWS Access Key ID"},"aws_secret_access_key":{"type":"string","minLength":1,"title":"Aws Secret Access Key","description":"AWS Secret Access Key"},"aws_region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aws Region","description":"AWS region","default":"us-east-1"}},"type":"object","required":["name","aws_access_key_id","aws_secret_access_key"],"title":"CredentialCreateRequest","description":"Store AWS credentials (encrypted at rest)."},"CredentialOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"provider":{"type":"string","title":"Provider"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","name","provider"],"title":"CredentialOut","description":"Credential response (no secrets exposed)."},"CreditBalance":{"properties":{"object":{"type":"string","enum":["credits"],"const":"credits","title":"Object","default":"credits"},"tokens":{"type":"integer","title":"Tokens","description":"The token balance now"}},"type":"object","required":["tokens"],"title":"CreditBalance","examples":[{"object":"credits","tokens":120000}]},"CustomRobotOut":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"robot_type":{"type":"string","title":"Robot Type","default":"custom"},"format":{"type":"string","title":"Format","default":"xml"},"dof":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dof"},"status":{"type":"string","title":"Status"},"visibility":{"type":"string","title":"Visibility","default":"private"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"total_size":{"type":"integer","title":"Total Size","default":0},"file_count":{"type":"integer","title":"File Count","default":0},"main_xml":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Xml"},"mesh_files":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Mesh Files"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","slug","name","status"],"title":"CustomRobotOut"},"CustomRobotUploadResponse":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings","default":[]},"message":{"type":"string","title":"Message","default":"Robot uploaded successfully"}},"type":"object","required":["id","slug","name","status"],"title":"CustomRobotUploadResponse"},"CustomTask":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category"},"mjlabTask":{"type":"string","title":"Mjlabtask"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["id","name","category","mjlabTask"],"title":"CustomTask","description":"Custom task schema."},"CustomWorld":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["id","name","description"],"title":"CustomWorld","description":"Custom world schema."},"DatasetImportRequest":{"properties":{"input":{"type":"string","maxLength":2000,"minLength":1,"title":"Input","description":"HuggingFace repo ID, HF URL, or s3:// URI"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"Optionally link to a project immediately"},"credentials_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credentials Id","description":"Credential ID for S3 access"}},"type":"object","required":["input"],"title":"DatasetImportRequest","description":"Import a dataset from any source — auto-detected from the input string."},"DatasetInspect":{"properties":{"uri":{"type":"string","maxLength":500,"minLength":3,"title":"Uri","description":"LeRobot dataset: a HuggingFace repo id ('lerobot/pusht'), its huggingface.co/datasets/ URL, or an S3 link (s3://bucket/folder/ or its https://….amazonaws.com URL)"}},"additionalProperties":false,"type":"object","required":["uri"],"title":"DatasetInspect"},"DatasetInspectRequest":{"properties":{"dataset_uri":{"type":"string","title":"Dataset Uri","description":"HuggingFace repo id (<owner>/<name>) or URL, or an S3 link"}},"type":"object","required":["dataset_uri"],"title":"DatasetInspectRequest"},"DatasetInspectResponse":{"properties":{"dataset_uri":{"type":"string","title":"Dataset Uri","description":"The dataset as runs read it: owner/name or s3://bucket/folder/"},"vla_compatible":{"type":"boolean","title":"Vla Compatible"},"camera_keys":{"items":{"type":"string"},"type":"array","title":"Camera Keys"},"action_dim":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Dim"},"state_dim":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"State Dim"},"fps":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fps"},"robot_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Type"},"num_episodes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Episodes"},"total_frames":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Frames"},"format":{"type":"string","title":"Format","default":"lerobot"},"issues":{"items":{"type":"string"},"type":"array","title":"Issues"}},"type":"object","required":["dataset_uri","vla_compatible"],"title":"DatasetInspectResponse"},"DatasetInspection":{"properties":{"object":{"type":"string","enum":["dataset_inspection"],"const":"dataset_inspection","title":"Object"},"uri":{"type":"string","title":"Uri"},"format":{"type":"string","title":"Format","description":"`lerobot`"},"trainable":{"type":"boolean","title":"Trainable","description":"It has at least one camera and an `action` feature"},"camera_keys":{"items":{"type":"string"},"type":"array","title":"Camera Keys","description":"What `cameras.rename` maps from"},"action_dim":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Dim"},"state_dim":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"State Dim","description":"Null when the dataset has no `observation.state`"},"fps":{"type":"number","title":"Fps"},"robot_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Type"},"num_episodes":{"type":"integer","title":"Num Episodes"},"total_frames":{"type":"integer","title":"Total Frames"},"issues":{"items":{"type":"string"},"type":"array","title":"Issues","description":"Why it is not trainable, in words; empty when it is"}},"type":"object","required":["object","uri","format","trainable","camera_keys","action_dim","state_dim","fps","robot_type","num_episodes","total_frames","issues"],"title":"DatasetInspection","description":"A LeRobot dataset's metadata, read without starting a run.","examples":[{"action_dim":6,"camera_keys":["observation.images.front","observation.images.wrist"],"format":"lerobot","fps":30.0,"issues":[],"num_episodes":50,"object":"dataset_inspection","robot_type":"so101_follower","state_dim":6,"total_frames":13200,"trainable":true,"uri":"your-hf-user/so101-pick-cube"}]},"DatasetListOut":{"properties":{"datasets":{"items":{"$ref":"#/components/schemas/DatasetOut"},"type":"array","title":"Datasets"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["datasets","total"],"title":"DatasetListOut","description":"List of datasets."},"DatasetOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"source":{"type":"string","title":"Source"},"format":{"type":"string","title":"Format"},"status":{"type":"string","title":"Status"},"is_catalog":{"type":"boolean","title":"Is Catalog","default":false},"is_public":{"type":"boolean","title":"Is Public","default":false},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"num_episodes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Episodes"},"num_steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Steps"},"source_uri":{"type":"string","title":"Source Uri"},"source_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Source Config"},"credentials_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credentials Id"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"preview":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Preview"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","source","format","status","source_uri"],"title":"DatasetOut","description":"Dataset response."},"DemoAgentPromptRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"ide_state":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Ide State"},"notebook_cells":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Notebook Cells"},"file_contents":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"File Contents"},"config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Config"}},"type":"object","required":["prompt"],"title":"DemoAgentPromptRequest"},"DeployRequest":{"properties":{"port":{"type":"string","title":"Port","description":"Serial port path, e.g. /dev/tty.usbmodem..."},"robot_id":{"type":"string","title":"Robot Id","description":"Calibration key — must match the id used with `lerobot-calibrate`","default":"kite_so101"},"task":{"type":"string","minLength":1,"title":"Task","description":"Language goal for the policy"},"fps":{"type":"integer","maximum":60.0,"minimum":1.0,"title":"Fps","default":30},"cameras":{"items":{"$ref":"#/components/schemas/CameraSelection"},"type":"array","title":"Cameras","description":"Optional list of cameras to attach. The `name` of each is what the policy will see in observation.images.<name>. When empty, the deployment runs without cameras."},"mode":{"anyOf":[{"type":"string","pattern":"^(native|browser_driven)$"},{"type":"null"}],"title":"Mode","description":"native = backend opens the bus + cameras and runs the inference loop locally. Default. Only works when the backend is on the same machine as the robot.\nbrowser_driven = the browser owns the bus + cameras via WebSerial and getUserMedia and pushes observations to /deploy/ingest/ws; the backend just loads the policy and serves inference. Used when `port` is a `usb:<vid>:<pid>#<idx>` identifier from the WebSerial picker.","default":"native"},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id"},"local_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Local Path"},"training_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Job Id"},"gcs_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Uri","description":"Direct GCS URI to a checkpoint directory (gs://bucket/path/). Used to deploy a specific intermediate checkpoint rather than the latest from a training job."}},"type":"object","required":["port","task"],"title":"DeployRequest"},"DeployStatus":{"properties":{"state":{"type":"string","title":"State"},"progress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Progress"},"deployment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deployment Id"},"port":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Port"},"robot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Id"},"policy_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Source"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"fps_target":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fps Target"},"fps_measured":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fps Measured"},"infer_ms_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Infer Ms Avg"},"last_action":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Last Action"},"last_obs_joints":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Last Obs Joints"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"device":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device"}},"type":"object","required":["state"],"title":"DeployStatus"},"Deployment":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"user_id":{"type":"string","title":"User Id"},"name":{"type":"string","title":"Name"},"task":{"type":"string","title":"Task"},"policy_source":{"type":"string","enum":["hf_repo","training_job","local_path","gcs_uri"],"title":"Policy Source"},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id"},"training_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Job Id"},"local_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Local Path"},"gcs_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Uri"},"robot_id":{"type":"string","title":"Robot Id"},"fps":{"type":"integer","title":"Fps"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","project_id","user_id","name","task","policy_source","robot_id","fps"],"title":"Deployment"},"DeploymentCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"task":{"type":"string","minLength":1,"title":"Task"},"policy_source":{"type":"string","enum":["hf_repo","training_job","local_path","gcs_uri"],"title":"Policy Source"},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id"},"training_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Job Id"},"local_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Local Path"},"gcs_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Uri"},"robot_id":{"type":"string","title":"Robot Id","default":"kite_so101"},"fps":{"type":"integer","maximum":60.0,"minimum":1.0,"title":"Fps","default":30}},"type":"object","required":["name","task","policy_source"],"title":"DeploymentCreate"},"Environment":{"properties":{"object":{"type":"string","enum":["environment"],"const":"environment","title":"Object","default":"environment"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["panorama","world"],"title":"Kind"},"source":{"type":"string","enum":["library","photo","prompt","upload"],"title":"Source"},"owner":{"type":"string","enum":["kite","user"],"title":"Owner","description":"`kite` for the library, `user` for yours"},"status":{"type":"string","enum":["processing","ready","failed"],"title":"Status"},"library_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Library Id","description":"The library panorama it is, or was added from"},"panorama_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Panorama Url","description":"The equirectangular panorama: GET it for a JPEG (`?width=`, default 4096)"},"world":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentWorld"},{"type":"null"}],"description":"Set for `kind: world` once ready"},"tags":{"$ref":"#/components/schemas/EnvironmentTags"},"license":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License","description":"`CC0-1.0` for the library"},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution"},"error":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentError"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","name","kind","source","owner","status","tags"],"title":"Environment"},"EnvironmentDeleted":{"properties":{"object":{"type":"string","enum":["environment"],"const":"environment","title":"Object","default":"environment"},"id":{"type":"string","title":"Id"},"deleted":{"type":"boolean","enum":[true],"const":true,"title":"Deleted","default":true}},"type":"object","required":["id"],"title":"EnvironmentDeleted"},"EnvironmentError":{"properties":{"code":{"type":"string","title":"Code","description":"`generation_failed` or `interrupted`; create the environment again"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","message"],"title":"EnvironmentError"},"EnvironmentFilter":{"properties":{"category":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Category","description":"workshop, warehouse, hangar, garage, office, factory, lab, hall, or your own"},"lighting":{"anyOf":[{"type":"string","enum":["daylight","artificial"]},{"type":"null"}],"title":"Lighting"}},"additionalProperties":false,"type":"object","title":"EnvironmentFilter"},"EnvironmentList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/Environment"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"EnvironmentList"},"EnvironmentPhoto":{"properties":{"data":{"type":"string","title":"Data","description":"Base64-encoded JPEG, PNG or WebP photo of the place, up to 33.5 megapixels (a data: URL prefix is accepted). Kite completes the rest of the room around it"},"hfov_deg":{"anyOf":[{"type":"number","maximum":140.0,"minimum":20.0},{"type":"null"}],"title":"Hfov Deg","description":"The photo's horizontal field of view in degrees; read from its EXIF when omitted. Panoramas only: a world takes the photo as it is"}},"additionalProperties":false,"type":"object","required":["data"],"title":"EnvironmentPhoto"},"EnvironmentTags":{"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"lighting":{"anyOf":[{"type":"string","enum":["daylight","artificial"]},{"type":"null"}],"title":"Lighting","description":"As the caller gave it, else measured: `daylight` when the brightest light comes through the walls (windows), else `artificial`"},"blue_red":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Blue Red","description":"White balance: mean blue over mean red near the horizon"},"brightness":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Brightness","description":"Mean luma near the horizon, 0 to 1"},"daylight_yaw_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Daylight Yaw Deg","description":"Longitude of the brightest horizon direction; 0 is the panorama's centre, positive to the right"},"scenery_depth_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scenery Depth M","description":"Distance to the walls, in metres: as the caller gave it, measured on a world, else estimated from the category"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"}},"type":"object","title":"EnvironmentTags","description":"Measured on the panorama when it is added, plus what the caller said about the place."},"EnvironmentWorld":{"properties":{"metric_scale":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Metric Scale","description":"World units to metres"},"collider":{"type":"boolean","title":"Collider","description":"Whether the world has a collision mesh"}},"type":"object","required":["collider"],"title":"EnvironmentWorld"},"EpisodeSaved":{"properties":{"path":{"type":"string","title":"Path"},"frames":{"type":"integer","title":"Frames"}},"type":"object","required":["path","frames"],"title":"EpisodeSaved"},"EpisodeStartedStatus":{"properties":{"recording":{"type":"boolean","title":"Recording","default":true},"started_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Started At"}},"type":"object","title":"EpisodeStartedStatus"},"EpisodeStoppedStatus":{"properties":{"episodes_recorded":{"type":"integer","title":"Episodes Recorded"},"last_episode_frames":{"type":"integer","title":"Last Episode Frames"}},"type":"object","required":["episodes_recorded","last_episode_frames"],"title":"EpisodeStoppedStatus"},"EvalInfo":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"metrics":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metrics"},"videos":{"items":{"type":"string"},"type":"array","title":"Videos"}},"type":"object","title":"EvalInfo"},"EvalRunCreate":{"properties":{"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"catalog_entry_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Entry Id"},"n_episodes":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"N Episodes","default":10},"policy_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Source"},"training_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Job Id"},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id"},"policy_kind":{"type":"string","title":"Policy Kind","default":"vla"},"algorithm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Algorithm"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"seed_base":{"type":"integer","title":"Seed Base","default":0},"hardware_tier":{"type":"string","title":"Hardware Tier","default":"gcp_gpu_a100"},"record_video":{"type":"boolean","title":"Record Video","default":true},"record_rerun":{"type":"boolean","title":"Record Rerun","default":true},"max_steps":{"type":"integer","maximum":20000.0,"minimum":1.0,"title":"Max Steps","default":600},"camera":{"type":"string","title":"Camera","default":"wrist"},"policy_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Label"},"scene_override":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Scene Override"},"scale_strategy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scale Strategy"},"engine":{"type":"string","title":"Engine","default":"mjx"},"variation_config":{"anyOf":[{"$ref":"#/components/schemas/VariationConfig"},{"type":"null"}]},"scene_demo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene Demo"},"render_sample":{"anyOf":[{},{"type":"null"}],"title":"Render Sample"},"success_determination":{"type":"string","title":"Success Determination","default":"physics"},"vlm_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vlm Provider"},"vlm_approach":{"type":"string","title":"Vlm Approach","default":"keyframes"}},"type":"object","title":"EvalRunCreate"},"Evaluation-Input":{"properties":{"id":{"type":"string","title":"Id","description":"`eval_` + a time-ordered ULID (`srun_` for one made before 2026-10-18)"},"object":{"type":"string","enum":["evaluation"],"const":"evaluation","title":"Object","default":"evaluation"},"kind":{"type":"string","enum":["spec","dataset"],"title":"Kind","description":"`spec`: one run of a spec. `dataset`: a whole dataset evaluated, its runs listed under `?parent=`","default":"spec"},"parent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent","description":"The dataset evaluation this run is one cell of"},"dataset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset","description":"A dataset evaluation's dataset, as requested"},"status":{"type":"string","enum":["queued","processing","canceling","succeeded","failed","canceled"],"title":"Status"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase","description":"materializing, planning, fetching, running, verifying or packaging; a dataset evaluation's planning, evaluating or analysing"},"step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step","description":"A dataset evaluation's finer step inside `phase`, as its job names it: `reading`, `scene`, `training` and so on. Each is sent as evaluation.step"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"episodes":{"anyOf":[{"$ref":"#/components/schemas/EvaluationEpisodes"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/EvaluationError"},{"type":"null"}]},"spec":{"type":"object","title":"Spec","description":"`path` and `name`"},"kite_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kite Version"},"options":{"type":"object","title":"Options"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"result":{"anyOf":[{"$ref":"#/components/schemas/EvaluationResult"},{"type":"object"},{"type":"null"}],"title":"Result","description":"A spec's run: its hash and metrics. A dataset evaluation: contract 07's result, per cell the successes, episodes, rate and 95% interval, filled as cells end; then the comparisons, assumptions, cost, provenance and `files`"},"download":{"anyOf":[{"$ref":"#/components/schemas/EvaluationDownload"},{"type":"null"}]},"tokens":{"$ref":"#/components/schemas/EvaluationTokens"},"tokens_breakdown":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/EvaluationTokens"},"type":"object"},{"type":"null"}],"title":"Tokens Breakdown","description":"A dataset evaluation's `tokens` by `runs`, `twins` and `training_runs`"},"estimate":{"anyOf":[{"$ref":"#/components/schemas/EvaluationEstimate"},{"type":"null"}],"description":"A dataset evaluation's, from when it was created"},"resolved":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Resolved","description":"A dataset evaluation's request with every default filled and every revision pinned: the same call, repeatable exactly. Its job's once planned; before then, what the dataset alone settles"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"links":{"additionalProperties":{"type":"string"},"type":"object","title":"Links"}},"type":"object","required":["id","status","progress","tokens"],"title":"Evaluation","description":"One run of an SDK spec, or a whole dataset evaluated."},"Evaluation-Output":{"properties":{"id":{"type":"string","title":"Id","description":"`eval_` + a time-ordered ULID (`srun_` for one made before 2026-10-18)"},"object":{"type":"string","enum":["evaluation"],"const":"evaluation","title":"Object","default":"evaluation"},"kind":{"type":"string","enum":["spec","dataset"],"title":"Kind","description":"`spec`: one run of a spec. `dataset`: a whole dataset evaluated, its runs listed under `?parent=`","default":"spec"},"parent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent","description":"The dataset evaluation this run is one cell of"},"dataset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset","description":"A dataset evaluation's dataset, as requested"},"status":{"type":"string","enum":["queued","processing","canceling","succeeded","failed","canceled"],"title":"Status"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase","description":"materializing, planning, fetching, running, verifying or packaging; a dataset evaluation's planning, evaluating or analysing"},"step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step","description":"A dataset evaluation's finer step inside `phase`, as its job names it: `reading`, `scene`, `training` and so on. Each is sent as evaluation.step"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"episodes":{"anyOf":[{"$ref":"#/components/schemas/EvaluationEpisodes"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/EvaluationError"},{"type":"null"}]},"spec":{"type":"object","title":"Spec","description":"`path` and `name`"},"kite_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kite Version"},"options":{"type":"object","title":"Options"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"result":{"anyOf":[{"$ref":"#/components/schemas/EvaluationResult"},{"type":"object"},{"type":"null"}],"title":"Result","description":"A spec's run: its hash and metrics. A dataset evaluation: contract 07's result, per cell the successes, episodes, rate and 95% interval, filled as cells end; then the comparisons, assumptions, cost, provenance and `files`"},"download":{"anyOf":[{"$ref":"#/components/schemas/EvaluationDownload"},{"type":"null"}]},"tokens":{"$ref":"#/components/schemas/EvaluationTokens"},"tokens_breakdown":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/EvaluationTokens"},"type":"object"},{"type":"null"}],"title":"Tokens Breakdown","description":"A dataset evaluation's `tokens` by `runs`, `twins` and `training_runs`"},"estimate":{"anyOf":[{"$ref":"#/components/schemas/EvaluationEstimate"},{"type":"null"}],"description":"A dataset evaluation's, from when it was created"},"resolved":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Resolved","description":"A dataset evaluation's request with every default filled and every revision pinned: the same call, repeatable exactly. Its job's once planned; before then, what the dataset alone settles"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"links":{"additionalProperties":{"type":"string"},"type":"object","title":"Links"}},"type":"object","required":["id","status","progress","tokens"],"title":"Evaluation","description":"One run of an SDK spec, or a whole dataset evaluated."},"EvaluationCreate":{"properties":{"spec_yaml":{"type":"string","maxLength":2000000,"minLength":1,"title":"Spec Yaml","description":"The spec file's text, as written"},"spec_path":{"type":"string","maxLength":500,"title":"Spec Path","description":"Its path in your workspace: what errors cite","default":"spec.yaml"},"files":{"additionalProperties":{"$ref":"#/components/schemas/EvaluationInputFile"},"type":"object","title":"Files","description":"Each path the spec names, as it names it"},"overrides":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Overrides","description":"`FIELD=VALUE`, as `kite --set`"},"kite_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Kite Version","description":"The Kite release to run; default the latest"},"simulator":{"anyOf":[{"type":"string","enum":["mujoco","isaac"]},{"type":"null"}],"title":"Simulator","description":"The simulator the episodes run in: `mujoco` (the default: the spec's world as written) or `isaac`, the same scene in Isaac Sim 6.2 (PhysX physics, RTX rendering) on an L4. `isaac` runs specs whose `world.kind` is `sonic` (a G1 under SONIC)"},"options":{"$ref":"#/components/schemas/EvaluationOptions"},"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata","description":"Opaque metadata echoed on the resource and its webhook events"},"parent":{"anyOf":[{"type":"string","pattern":"^eval_[0-9A-HJKMNP-TV-Z]{26}$"},{"type":"null"}],"title":"Parent","description":"The dataset evaluation, one of yours, this run is one cell of: it is listed under `?parent=`, not in your evaluations"}},"additionalProperties":false,"type":"object","required":["spec_yaml"],"title":"EvaluationCreate","description":"Run a spec. `spec_yaml` and the files it names are required; everything else has a default.","examples":[{"files":{"../evals":{"kind":"directory","shipped":"evals"}},"spec_path":"specs/smoke.yaml","spec_yaml":"kite_spec_version: \"2\"\nname: smoke\npolicy: {kind: scripted_pick, ref: scripted_pick}\n..."}]},"EvaluationDatasetCreate":{"properties":{"dataset":{"type":"string","maxLength":500,"minLength":1,"title":"Dataset","description":"`hf://owner/name[@revision]`, `s3://bucket/prefix`, `gs://bucket/prefix`, or an uploaded `ds_…` id"},"policies":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Policies","description":"Each once: `hf://owner/name[@revision]` or `trn_<id>[@step]`. Default: an ACT baseline is trained"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task","description":"Default: the dataset's own tasks, every one"},"conditions":{"anyOf":[{"type":"string"},{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Conditions","description":"`standard` (the default: normal, dim_light, warm_light, camera_moved, distractors, wider_starts), or a list of condition blocks with distinct ids"},"episodes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episodes","description":"Per cell, 1 to 1,000. Default 50"},"answers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Answers","description":"What the dataset could not settle, by dotted key (`object_size.duck`)"},"compare_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Compare To","description":"An earlier evaluation's `eval_…` id, to compare with"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens","description":"The most it may spend, counting what its runs still hold. Default: no limit; `estimate` says what to expect"},"webhook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook","description":"An `https://` URL"}},"additionalProperties":false,"type":"object","required":["dataset"],"title":"EvaluationDatasetCreate","description":"Evaluate a whole dataset: Kite plans the cells (each policy on each task under each condition), runs them and\nanalyses the results. Only `dataset` is required. The request is checked by the evaluation service (contract 07),\nand an error names its field.","examples":[{"dataset":"hf://lerobot/aloha_sim_transfer_cube_human","episodes":20,"policies":["hf://lerobot/act_aloha_sim_transfer_cube_human@ba73b2766f1371cdc133ca4efb97eb090d744625"]}]},"EvaluationDownload":{"properties":{"url":{"type":"string","title":"Url","description":"This API's archive path, which redirects to a fresh signed link (send your key: `requires_auth`). Before Kite-Version 2026-10-12, the signed link itself (no credentials; valid until `expires_at`) when one could be made"},"requires_auth":{"type":"boolean","title":"Requires Auth"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"filename":{"type":"string","title":"Filename","description":"`<id>.tar.gz`; it extracts to `<id>/`, the SDK's run directory"},"bytes":{"type":"integer","title":"Bytes"},"sha256":{"type":"string","title":"Sha256"}},"type":"object","required":["url","requires_auth","filename","bytes","sha256"],"title":"EvaluationDownload"},"EvaluationEpisodes":{"properties":{"done":{"type":"integer","title":"Done"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["done","total"],"title":"EvaluationEpisodes"},"EvaluationError":{"properties":{"code":{"type":"string","title":"Code","description":"What failed, e.g. `spec_invalid`, `policy_failed`, `verification_failed`, `interrupted`"},"message":{"type":"string","title":"Message"},"param":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Param","description":"The spec field it is about (the SDK's field path)"},"details":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Details","description":"`kite_code`, `remediation`, `location`"},"resumable":{"type":"boolean","title":"Resumable","description":"POST /v1/evaluations/{id}/resume runs it again"}},"type":"object","required":["code","message","resumable"],"title":"EvaluationError"},"EvaluationEstimate":{"properties":{"tokens":{"type":"integer","title":"Tokens","description":"What the whole evaluation is expected to cost, its runs, twin and training"},"hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hours","description":"How long it is expected to take"},"runs":{"type":"integer","title":"Runs","description":"The runs it plans: policies by tasks by conditions"},"episodes":{"type":"integer","title":"Episodes","description":"Those runs' episodes in all"},"breakdown":{"additionalProperties":{"type":"integer"},"type":"object","title":"Breakdown","description":"The tokens by what they are for: `runs`, `twin`, `training`"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens","description":"The request's limit, if it named one"}},"type":"object","required":["tokens","runs","episodes","breakdown"],"title":"EvaluationEstimate"},"EvaluationFile":{"properties":{"object":{"type":"string","enum":["evaluation_file"],"const":"evaluation_file","title":"Object","default":"evaluation_file"},"path":{"type":"string","title":"Path","description":"Relative to `<id>/` inside the archive"},"bytes":{"type":"integer","title":"Bytes"},"sha256":{"type":"string","title":"Sha256"}},"type":"object","required":["path","bytes","sha256"],"title":"EvaluationFile"},"EvaluationFileList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/EvaluationFile"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `after` for the next page (it is a `path`)"}},"type":"object","required":["data","has_more"],"title":"EvaluationFileList"},"EvaluationHfFile":{"properties":{"repo":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,95}/[A-Za-z0-9][A-Za-z0-9._-]{0,95}$","title":"Repo","description":"`OWNER/NAME`"},"revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision","description":"A full commit hash: a branch or a tag moves"},"path":{"type":"string","maxLength":500,"minLength":1,"title":"Path","description":"The file's path in the repository"},"repo_type":{"type":"string","enum":["model","dataset"],"title":"Repo Type","default":"model"}},"additionalProperties":false,"type":"object","required":["repo","revision","path"],"title":"EvaluationHfFile","description":"One file of a public Hugging Face repository at a commit: Kite checks it exists and pins its sha256 when the\nrun is created, and the run's job downloads it."},"EvaluationInputFile":{"properties":{"kind":{"type":"string","enum":["file","directory"],"title":"Kind","default":"file"},"shipped":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Shipped","description":"A path Kite ships, e.g. `evals` or `profiles/orin-agx-64gb.estimated.yaml`"},"sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Sha256","description":"Its hash: alone, a file you uploaded (a directory as a .tar, the hash of the .tar) or a file or directory Kite ships; with content, a check"},"text":{"anyOf":[{"type":"string","maxLength":2000000},{"type":"null"}],"title":"Text","description":"A text file's content"},"base64":{"anyOf":[{"type":"string","maxLength":20000000},{"type":"null"}],"title":"Base64","description":"A file's bytes, or a directory as a .tar"},"hf":{"anyOf":[{"$ref":"#/components/schemas/EvaluationHfFile"},{"type":"string"},{"type":"null"}],"title":"Hf","description":"A file of a public Hugging Face repository, at a commit; or the file's URL (`https://huggingface.co/OWNER/NAME/blob/REVISION/PATH`, `…/resolve/…` too), whose branch or tag Kite pins to the commit it is at when the run is created"},"s3":{"anyOf":[{"$ref":"#/components/schemas/EvaluationS3File"},{"type":"string"},{"type":"null"}],"title":"S3","description":"An object in a public S3 bucket: `{bucket, key}`, or its link (`s3://BUCKET/KEY`, `https://BUCKET.s3.amazonaws.com/KEY`), pinned to the object it is when the run is created"},"training_run":{"anyOf":[{"type":"string","pattern":"^trn_[0-9A-HJKMNP-TV-Z]{26}$"},{"type":"null"}],"title":"Training Run","description":"A checkpoint of one of your training runs, `trn_…`: the path is its `pretrained_model/` folder (a directory). Kite pins each file when the run is created, and the run reads it from Kite's storage: nothing is published"},"step":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Step","description":"With `training_run`, the checkpoint's step; default its latest"},"twin":{"anyOf":[{"type":"string","pattern":"^twin_[0-9A-HJKMNP-TV-Z]{26}$"},{"type":"null"}],"title":"Twin","description":"One of your twins, `twin_…`, once succeeded: the path is the folder its archive unpacks to (`scene.xml`, `assets/`), a directory. Kite pins each file when the run is created, and the run reads it from Kite's storage"}},"additionalProperties":false,"type":"object","title":"EvaluationInputFile","description":"Where the bytes of one path the spec names come from. Exactly one of `shipped`, `text`, `base64`, `hf`, `s3`,\n`training_run`, `twin`, or a `sha256`: one you uploaded (POST /v1/evaluations/uploads), or one the catalog lists."},"EvaluationList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/Evaluation-Output"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"EvaluationList"},"EvaluationLogs":{"properties":{"object":{"type":"string","enum":["evaluation_logs"],"const":"evaluation_logs","title":"Object","default":"evaluation_logs"},"id":{"type":"string","title":"Id"},"lines":{"items":{"type":"string"},"type":"array","title":"Lines","description":"What the SDK printed, or a dataset evaluation's job, oldest first"}},"type":"object","required":["id","lines"],"title":"EvaluationLogs"},"EvaluationMetric":{"properties":{"id":{"type":"string","title":"Id","description":"The evaluator's id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"interval":{"anyOf":[{"items":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"array"},{"type":"null"}],"title":"Interval","description":"Its 95% interval, [low, high]"},"n":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N"}},"type":"object","required":["id"],"title":"EvaluationMetric"},"EvaluationOptions":{"properties":{"verify_determinism":{"type":"boolean","title":"Verify Determinism","description":"Re-run episode 0 and refuse a differing hash","default":false},"no_eval":{"type":"boolean","title":"No Eval","description":"Skip the evaluators (no scorecard)","default":false},"max_minutes":{"anyOf":[{"type":"integer","maximum":720.0,"minimum":1.0},{"type":"null"}],"title":"Max Minutes","description":"The run's cap: what it reserves, at its tier's rate, and the most it can be charged (default 60 on CPU, 120 on GPU)"}},"additionalProperties":false,"type":"object","title":"EvaluationOptions"},"EvaluationReport":{"properties":{"object":{"type":"string","enum":["evaluation_report"],"const":"evaluation_report","title":"Object","default":"evaluation_report"},"id":{"type":"string","title":"Id"},"scorecard":{"type":"object","title":"Scorecard","description":"`scorecard.json` as the SDK writes it: every evaluator's value, interval and count, with the run's provenance"}},"type":"object","required":["id","scorecard"],"title":"EvaluationReport"},"EvaluationResult":{"properties":{"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id","description":"The SDK's run id: the manifest hash's first 12 characters"},"manifest_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Hash","description":"What identifies the run: the same spec, files and versions give the same hash, locally too"},"run_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Hash"},"determinism_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Determinism Verified"},"verified":{"type":"boolean","title":"Verified","description":"`kite verify` passed on the run before it was reported"},"metrics":{"items":{"$ref":"#/components/schemas/EvaluationMetric"},"type":"array","title":"Metrics"}},"type":"object","required":["verified"],"title":"EvaluationResult"},"EvaluationS3File":{"properties":{"bucket":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$","title":"Bucket","description":"The bucket (a name without dots)"},"key":{"type":"string","maxLength":1024,"minLength":1,"title":"Key","description":"The object's key"}},"additionalProperties":false,"type":"object","required":["bucket","key"],"title":"EvaluationS3File","description":"One object in a public S3 bucket: Kite checks it and pins its ETag (and its sha256 when S3 keeps one) when the\nrun is created, and the run's job downloads it, refusing it if it has changed since."},"EvaluationTokens":{"properties":{"charged":{"type":"integer","title":"Charged","description":"A dataset evaluation is itself free: this is what its runs, twins and training runs were charged or hold"},"refunded":{"type":"integer","title":"Refunded"}},"type":"object","required":["charged","refunded"],"title":"EvaluationTokens"},"EvaluationUpload":{"properties":{"object":{"type":"string","enum":["evaluation_upload"],"const":"evaluation_upload","title":"Object","default":"evaluation_upload"},"sha256":{"type":"string","title":"Sha256"},"bytes":{"type":"integer","title":"Bytes"},"uploaded":{"type":"boolean","title":"Uploaded","description":"Kite already has it: send nothing, and name it by `sha256` in `files`"},"upload":{"anyOf":[{"$ref":"#/components/schemas/EvaluationUploadTarget"},{"type":"null"}],"description":"Where to send it, when `uploaded` is false"}},"type":"object","required":["sha256","bytes","uploaded"],"title":"EvaluationUpload"},"EvaluationUploadCreate":{"properties":{"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Sha256","description":"The SHA-256 of the bytes you will send"},"bytes":{"type":"integer","maximum":1073741824.0,"minimum":1.0,"title":"Bytes","description":"Its exact size, up to 1 GiB"}},"additionalProperties":false,"type":"object","required":["sha256","bytes"],"title":"EvaluationUploadCreate","description":"Ask to upload one file by its hash. A directory goes as a .tar, and `sha256` is the hash of the .tar."},"EvaluationUploadTarget":{"properties":{"url":{"type":"string","title":"Url","description":"A signed URL: PUT the bytes here, directly to storage, without your key"},"method":{"type":"string","enum":["PUT"],"const":"PUT","title":"Method","default":"PUT"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers","description":"Send these with the PUT, or it is refused"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["url","headers","expires_at"],"title":"EvaluationUploadTarget"},"EvaluationValidate":{"properties":{"spec_yaml":{"type":"string","maxLength":2000000,"minLength":1,"title":"Spec Yaml","description":"The spec file's text, as written"},"spec_path":{"type":"string","maxLength":500,"title":"Spec Path","description":"Its path in your workspace: what errors cite","default":"spec.yaml"},"files":{"additionalProperties":{"$ref":"#/components/schemas/EvaluationInputFile"},"type":"object","title":"Files","description":"Each path the spec names, as it names it"},"overrides":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Overrides","description":"`FIELD=VALUE`, as `kite --set`"},"kite_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Kite Version","description":"The Kite release to run; default the latest"},"simulator":{"anyOf":[{"type":"string","enum":["mujoco","isaac"]},{"type":"null"}],"title":"Simulator","description":"The simulator the episodes run in: `mujoco` (the default: the spec's world as written) or `isaac`, the same scene in Isaac Sim 6.2 (PhysX physics, RTX rendering) on an L4. `isaac` runs specs whose `world.kind` is `sonic` (a G1 under SONIC)"}},"additionalProperties":false,"type":"object","required":["spec_yaml"],"title":"EvaluationValidate","description":"The checks a create runs (`kite plan`), without creating anything or spending anything.","examples":[{"files":{"../evals":{"kind":"directory","shipped":"evals"}},"spec_path":"specs/smoke.yaml","spec_yaml":"kite_spec_version: \"2\"\nname: smoke\npolicy: {kind: scripted_pick, ref: scripted_pick}\n..."}]},"EvaluationValidation":{"properties":{"object":{"type":"string","enum":["evaluation_validation"],"const":"evaluation_validation","title":"Object","default":"evaluation_validation"},"ok":{"type":"boolean","title":"Ok"},"kite_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kite Version"},"plan":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Plan","description":"A spec: `kite plan`'s answer: the resolved spec, each evaluator's status, the episodes and the estimate"},"price":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Price","description":"A spec: what a run of it reserves: its tier, the tier's tokens per hour, the cap in minutes and the tokens reserved (0 while billing is off)"},"resolved":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Resolved","description":"A dataset: the request with every default filled and every revision pinned, as far as the dataset settles"},"estimate":{"anyOf":[{"$ref":"#/components/schemas/EvaluationEstimate"},{"type":"null"}],"description":"A dataset: what it is expected to cost and take"}},"type":"object","required":["ok"],"title":"EvaluationValidation"},"Event":{"properties":{"id":{"type":"string","title":"Id","description":"`evt_` + a time-ordered ULID"},"object":{"type":"string","enum":["event"],"const":"event","title":"Object","default":"event"},"type":{"type":"string","title":"Type","description":"`<resource>.completed`, `.failed`, or `.canceled`, for `augmentation`, `training_run`, `twin`, and `rl_run`; `.succeeded`, `.failed`, or `.canceled` for `evaluation`; `.resumed` for `twin` and `evaluation`; `.round_completed` and `.question` for `twin`, `.step` for `evaluation`, `.started` and `.packaging` for `rl_run`, while they run. GET /v1/event_types lists them"},"resource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Id","description":"The id of the resource it is about"},"data":{"type":"object","title":"Data","description":"The resource when it happened, as GET on it returns it (an augmentation's without `output.files`)"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","type","data"],"title":"Event","description":"One event from the durable log. A webhook delivery POSTs the same object, without `resource_id`. A test\nsend POSTs a `webhook_endpoint.test` event, whose `data` is the endpoint; it is not in this log.","examples":[{"created_at":"2026-09-27T02:00:00Z","data":{"id":"aug_01K62QZ8V4X9C3N7M5T2R8W6HB","object":"augmentation","status":"succeeded"},"id":"evt_01K62QZ8V4X9C3N7M5T2R8W6HB","object":"event","resource_id":"aug_01K62QZ8V4X9C3N7M5T2R8W6HB","type":"augmentation.completed"}]},"EventIn":{"properties":{"event_type":{"type":"string","title":"Event Type"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase"},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Condition"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"},"payload":{"type":"object","title":"Payload"},"client_ts":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Client Ts"}},"type":"object","required":["event_type"],"title":"EventIn"},"EventList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/Event"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"EventList"},"EventType":{"properties":{"object":{"type":"string","enum":["event_type"],"const":"event_type","title":"Object","default":"event_type"},"type":{"type":"string","title":"Type","description":"`<resource>.<outcome>`, e.g. `augmentation.completed`"}},"type":"object","required":["type"],"title":"EventType"},"EventTypeList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/EventType"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More","description":"Always false"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"EventTypeList"},"FeedbackCreate":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":1,"title":"Message"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot","description":"Base64-encoded screenshot (data URI)"}},"type":"object","required":["message"],"title":"FeedbackCreate"},"FeedbackOut":{"properties":{"id":{"type":"string","title":"Id"},"message":{"type":"string","title":"Message"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"has_screenshot":{"type":"boolean","title":"Has Screenshot","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","message","created_at"],"title":"FeedbackOut"},"FileContentRequest":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"FileContentRequest","description":"Schema for file content request."},"FileContentResponse":{"properties":{"path":{"type":"string","title":"Path"},"content":{"type":"string","title":"Content"}},"type":"object","required":["path","content"],"title":"FileContentResponse","description":"Schema for file content response."},"FileDeploymentPreset":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"arguments":{"items":{"type":"string"},"type":"array","title":"Arguments"}},"type":"object","required":["name","description","arguments"],"title":"FileDeploymentPreset","description":"Preset for file deployment arguments."},"FileDeploymentRequest":{"properties":{"file_content":{"type":"string","title":"File Content"},"preset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preset Name"},"custom_arguments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Custom Arguments"},"timeout":{"type":"integer","title":"Timeout","default":300}},"type":"object","required":["file_content"],"title":"FileDeploymentRequest","description":"Request to deploy and execute a Python file."},"FileDeploymentResponse":{"properties":{"deployment_id":{"type":"string","title":"Deployment Id"},"status":{"type":"string","title":"Status"},"output_stream_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Stream Url"}},"type":"object","required":["deployment_id","status"],"title":"FileDeploymentResponse","description":"Response from file deployment request."},"FileTreeNode-Input":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"path":{"type":"string","title":"Path"},"children":{"anyOf":[{"items":{"$ref":"#/components/schemas/FileTreeNode-Input"},"type":"array"},{"type":"null"}],"title":"Children"}},"type":"object","required":["name","type","path"],"title":"FileTreeNode","description":"File tree node schema."},"FileTreeNode-Output":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"path":{"type":"string","title":"Path"},"children":{"anyOf":[{"items":{"$ref":"#/components/schemas/FileTreeNode-Output"},"type":"array"},{"type":"null"}],"title":"Children"}},"type":"object","required":["name","type","path"],"title":"FileTreeNode","description":"File tree node schema."},"FileUploadResponse":{"properties":{"path":{"type":"string","title":"Path"},"filename":{"type":"string","title":"Filename"},"size":{"type":"integer","title":"Size"},"category":{"type":"string","title":"Category"},"message":{"type":"string","title":"Message"}},"type":"object","required":["path","filename","size","category","message"],"title":"FileUploadResponse","description":"Response returned after a successful file upload."},"FinishCaptureRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Dataset name. Defaults to capture_<timestamp>."},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"If set, also link the resulting dataset to this project."}},"type":"object","title":"FinishCaptureRequest"},"GenerateAugmentRequest":{"properties":{"perEpisodePrompts":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":500},{"type":"null"}],"title":"Perepisodeprompts","description":"One prompt per episode; pads with session.instructions if shorter."}},"type":"object","title":"GenerateAugmentRequest","description":"Optional per-episode prompt overrides for the generate phase.\n\nWhen provided, each entry replaces ``session.instructions`` for that episode.\nThe list is clamped server-side to ``session.augment_count``; missing entries\nfall back to ``session.instructions``."},"GenerateEnvironmentResponse":{"properties":{"scene_id":{"type":"string","title":"Scene Id"},"status":{"type":"string","title":"Status"},"project_id":{"type":"string","title":"Project Id"},"created_at":{"type":"string","title":"Created At"},"input_mode":{"type":"string","title":"Input Mode"}},"type":"object","required":["scene_id","status","project_id","created_at","input_mode"],"title":"GenerateEnvironmentResponse"},"GenerateObjectResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"project_id":{"type":"string","title":"Project Id"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["job_id","status","project_id","created_at"],"title":"GenerateObjectResponse"},"GenerateSceneResponse":{"properties":{"scene_id":{"type":"string","title":"Scene Id"},"status":{"type":"string","title":"Status"},"project_id":{"type":"string","title":"Project Id"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["scene_id","status","project_id","created_at"],"title":"GenerateSceneResponse"},"GroundPlane":{"properties":{"enabled":{"type":"boolean","title":"Enabled","description":"Whether ground plane is active","default":true},"size":{"items":{"type":"number"},"type":"array","maxItems":2,"minItems":2,"title":"Size","description":"Ground plane size [width, depth] in meters","default":[50,50]},"position":{"items":{"type":"number"},"type":"array","maxItems":3,"minItems":3,"title":"Position","description":"Ground plane position [x, y, z]","default":[0,0,0]},"friction":{"type":"number","minimum":0.0,"title":"Friction","description":"Ground friction coefficient","default":1.0},"visible":{"type":"boolean","title":"Visible","description":"Whether ground is visually rendered","default":true},"receive_shadows":{"type":"boolean","title":"Receive Shadows","description":"Whether ground receives shadows","default":true}},"type":"object","title":"GroundPlane","description":"Ground plane configuration for physics and shadows."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HardwareTier":{"properties":{"object":{"type":"string","enum":["hardware_tier"],"const":"hardware_tier","title":"Object"},"id":{"type":"string","title":"Id","description":"Pass it as `hardware_tier` to POST /v1/training_runs"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"gpu_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gpu Type","description":"Null on a CPU tier"},"gpu_count":{"type":"integer","title":"Gpu Count"},"cpu":{"type":"string","title":"Cpu","description":"vCPUs of the machine a run trains on, e.g. `8`"},"memory":{"type":"string","title":"Memory","description":"Memory of that machine, e.g. `30Gi`"},"available":{"type":"boolean","title":"Available","description":"False for a tier that exists but is switched off for now"},"tokens_per_hour":{"type":"integer","title":"Tokens Per Hour","description":"What an hour on it costs, in tokens"}},"type":"object","required":["object","id","name","description","gpu_type","gpu_count","cpu","memory","available","tokens_per_hour"],"title":"HardwareTier","description":"A tier a training run can use."},"HardwareTierList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object"},"data":{"items":{"$ref":"#/components/schemas/HardwareTier"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More","description":"Always false: the catalog is one page"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Always null"}},"type":"object","required":["object","data","has_more","next_cursor"],"title":"HardwareTierList"},"HealthResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["status","message"],"title":"HealthResponse"},"HfTokenStatusResponse":{"properties":{"connected":{"type":"boolean","title":"Connected"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"valid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Valid"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["connected"],"title":"HfTokenStatusResponse"},"HfTokenValidateRequest":{"properties":{"token":{"type":"string","maxLength":500,"minLength":8,"title":"Token"}},"type":"object","required":["token"],"title":"HfTokenValidateRequest","description":"Validate + store a HuggingFace write token (Settings → Integrations)."},"HfTokenValidateResponse":{"properties":{"valid":{"type":"boolean","title":"Valid"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["valid"],"title":"HfTokenValidateResponse"},"IdeAgentRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"ide_state":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Ide State"},"file_contents":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"File Contents"},"config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Config"},"mentions":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Mentions"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot"},"history":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"History"}},"type":"object","required":["prompt"],"title":"IdeAgentRequest"},"ImpersonationTokenResponse":{"properties":{"token":{"type":"string","title":"Token"},"expires_at":{"type":"string","title":"Expires At"},"target_user_id":{"type":"string","title":"Target User Id"},"target_user_email":{"type":"string","title":"Target User Email"},"admin_user_id":{"type":"string","title":"Admin User Id"},"admin_user_email":{"type":"string","title":"Admin User Email"}},"type":"object","required":["token","expires_at","target_user_id","target_user_email","admin_user_id","admin_user_email"],"title":"ImpersonationTokenResponse","description":"Impersonation token response schema."},"IncidentCreateRequest":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"message":{"type":"string","maxLength":5000,"minLength":1,"title":"Message","description":"What's affected and what to do"},"impact":{"type":"string","enum":["degraded","outage"],"title":"Impact"},"status":{"type":"string","enum":["investigating","identified","monitoring"],"title":"Status","default":"investigating"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At","description":"When it began, if earlier than now"}},"type":"object","required":["title","message","impact"],"title":"IncidentCreateRequest","description":"Open an incident on the status page."},"IncidentUpdateRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"message":{"anyOf":[{"type":"string","maxLength":5000,"minLength":1},{"type":"null"}],"title":"Message"},"impact":{"anyOf":[{"type":"string","enum":["degraded","outage"]},{"type":"null"}],"title":"Impact"},"status":{"anyOf":[{"type":"string","enum":["investigating","identified","monitoring","resolved"]},{"type":"null"}],"title":"Status"}},"type":"object","title":"IncidentUpdateRequest","description":"Post an update to an incident. Status `resolved` resolves it."},"InputMessage":{"properties":{"type":{"type":"string","title":"Type"},"body_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Id"},"position":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Position"},"force":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Force"},"point":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Point"},"velocity":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Velocity"},"angular":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Angular"},"action":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Action"},"gravity":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Gravity"},"reset_velocity":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reset Velocity","default":true}},"type":"object","required":["type"],"title":"InputMessage"},"KeyUsage":{"properties":{"api_key_id":{"type":"string","title":"Api Key Id","description":"The key's id: `id` in GET /v1/keys/me, `api_key_id` in GET /v1/usage?group_by=api_key"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix","description":"The key's first characters (`kite_` + 8), to recognise it by"},"revoked":{"type":"boolean","title":"Revoked","description":"A revoked key is listed only when it has usage or runs in the range"},"tokens_consumed":{"type":"integer","title":"Tokens Consumed","description":"Tokens the runs this key started consumed in the range"},"tokens_refunded":{"type":"integer","title":"Tokens Refunded"},"tokens_net":{"type":"integer","title":"Tokens Net","description":"`tokens_consumed` − `tokens_refunded`"},"runs":{"type":"integer","title":"Runs","description":"Runs this key started in the range"},"last_run_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Run At","description":"When this key last started a run in the range; null if it started none"}},"type":"object","required":["api_key_id","name","key_prefix","revoked","tokens_consumed","tokens_refunded","tokens_net","runs","last_run_at"],"title":"KeyUsage","description":"One API key's usage in the range."},"KeyUsageReport":{"properties":{"object":{"type":"string","enum":["key_usage"],"const":"key_usage","title":"Object","default":"key_usage"},"start":{"type":"string","title":"Start","description":"YYYY-MM-DD, inclusive"},"end":{"type":"string","title":"End","description":"YYYY-MM-DD, inclusive"},"data":{"items":{"$ref":"#/components/schemas/KeyUsage"},"type":"array","title":"Data","description":"Every active key, and each revoked key with usage or runs in the range; most tokens first"}},"type":"object","required":["start","end","data"],"title":"KeyUsageReport","description":"Tokens and runs per API key.","examples":[{"data":[{"api_key_id":"5f0c6e2a-8d7b-4c1e-9a3f-2b6d8e4c1a70","key_prefix":"kite_abcd1234","last_run_at":"2026-09-28T14:02:11.482913Z","name":"ci","revoked":false,"runs":4,"tokens_consumed":32670,"tokens_net":21780,"tokens_refunded":10890}],"end":"2026-09-29","object":"key_usage","start":"2026-08-30"}]},"LabelOverrideBody":{"properties":{"episode_id":{"type":"string","title":"Episode Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"}},"type":"object","required":["episode_id"],"title":"LabelOverrideBody"},"LeRobotRunCreate":{"properties":{"dataset_uri":{"type":"string","title":"Dataset Uri","description":"HuggingFace repo id (<owner>/<name>) or URL, or an S3 link"},"models":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Models","description":"LeRobot --policy.type values to train (one Vertex job each)"},"robot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot","description":"LeRobot robot tag (compatibility/label only)"},"hardware_tier":{"type":"string","title":"Hardware Tier","default":"gcp_gpu_t4"},"steps":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Steps"},"batch_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Batch Size"},"save_freq":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Save Freq"},"cameras":{"items":{"$ref":"#/components/schemas/CameraToggle"},"type":"array","title":"Cameras"},"eval_enabled":{"type":"boolean","title":"Eval Enabled","description":"Run eval rollouts (only fires for datasets with an installed sim env)","default":false},"push_to_hub":{"type":"boolean","title":"Push To Hub","default":false},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id","description":"Target HF repo id (suffixed per model when training several)"}},"type":"object","required":["dataset_uri","models"],"title":"LeRobotRunCreate"},"LightDescriptor":{"properties":{"id":{"type":"string","title":"Id","description":"Unique light identifier"},"type":{"type":"string","enum":["directional","dome","point","spot"],"title":"Type","description":"Light type","default":"directional"},"position":{"items":{"type":"number"},"type":"array","maxItems":3,"minItems":3,"title":"Position","description":"Light position [x, y, z] in meters","default":[0,0,3]},"direction":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":3,"minItems":3},{"type":"null"}],"title":"Direction","description":"Light direction vector (for directional/spot)","default":[0,0,-1]},"color":{"items":{"type":"number"},"type":"array","maxItems":3,"minItems":3,"title":"Color","description":"Light color RGB [0-1]","default":[1.0,1.0,1.0]},"intensity":{"type":"number","minimum":0.0,"title":"Intensity","description":"Light intensity multiplier","default":1.0},"cast_shadows":{"type":"boolean","title":"Cast Shadows","description":"Whether this light casts shadows","default":true},"enabled":{"type":"boolean","title":"Enabled","description":"Whether this light is active","default":true}},"type":"object","required":["id"],"title":"LightDescriptor","description":"A single light source in the scene."},"LiveSessionResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"state":{"type":"string","title":"State"},"sim_time":{"type":"number","title":"Sim Time"},"step_count":{"type":"integer","title":"Step Count"},"backend_name":{"type":"string","title":"Backend Name","default":""}},"type":"object","required":["session_id","state","sim_time","step_count"],"title":"LiveSessionResponse"},"LogEventsRequest":{"properties":{"events":{"items":{"$ref":"#/components/schemas/EventIn"},"type":"array","title":"Events"}},"type":"object","required":["events"],"title":"LogEventsRequest"},"LossPoint":{"properties":{"step":{"type":"integer","title":"Step"},"loss":{"type":"number","title":"Loss"}},"type":"object","required":["step","loss"],"title":"LossPoint"},"MeResponse":{"properties":{"user":{"$ref":"#/components/schemas/UserOut"},"org":{"anyOf":[{"$ref":"#/components/schemas/OrgOut"},{"type":"null"}]}},"type":"object","required":["user"],"title":"MeResponse","description":"Response schema for GET /me endpoint."},"Minutes":{"properties":{"p50":{"type":"number","title":"P50","description":"Half of runs take at most this"},"p90":{"type":"number","title":"P90","description":"Nine in ten take at most this"}},"type":"object","required":["p50","p90"],"title":"Minutes"},"MotionBulkExportRequest":{"properties":{"project_id":{"type":"string","title":"Project Id","description":"Project whose motions to bundle"},"motion_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Motion Ids","description":"Explicit motion IDs to include. If omitted, all project motions are included."},"export_type":{"type":"string","title":"Export Type","default":"reward_reference"},"motion_reward_weight":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Motion Reward Weight","default":0.5},"warm_start":{"type":"boolean","title":"Warm Start","default":true},"dataset_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Dataset Name"}},"type":"object","required":["project_id"],"title":"MotionBulkExportRequest","description":"Request to bundle all project motions into a single training dataset."},"MotionBulkExportResponse":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"motion_ids":{"items":{"type":"string"},"type":"array","title":"Motion Ids"},"export_type":{"type":"string","title":"Export Type"},"training_config_patch":{"type":"object","title":"Training Config Patch"}},"type":"object","required":["dataset_id","motion_ids","export_type","training_config_patch"],"title":"MotionBulkExportResponse","description":"Result of bulk motion export as a single dataset."},"MotionConstraint":{"properties":{"type":{"type":"string","title":"Type","description":"Constraint type: full_body_keyframe, end_effector, waypoint_2d, path_2d, foot_contact"},"frame":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frame","description":"Target frame index (for sparse keyframe constraints)"},"frame_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frame Start","description":"Start frame (for dense/range constraints)"},"frame_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frame End","description":"End frame (for dense/range constraints)"},"joint_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Joint Name","description":"Target joint name (for end-effector constraints)"},"position":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Position","description":"Target position [x, y, z] in world space"},"rotation":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Rotation","description":"Target rotation (6D representation or quaternion)"},"path_points":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Path Points","description":"2D path points [[x, z], ...] for path constraints"},"contact_state":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}],"title":"Contact State","description":"Foot contact flags: {left_heel, left_toe, right_heel, right_toe}"}},"type":"object","required":["type"],"title":"MotionConstraint","description":"A kinematic constraint for motion generation."},"MotionExportRequest":{"properties":{"export_type":{"type":"string","title":"Export Type","description":"Export type: reward_reference, trajectory, curriculum","default":"reward_reference"},"motion_reward_weight":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Motion Reward Weight","description":"Weight of motion tracking reward vs task reward","default":0.5},"warm_start":{"type":"boolean","title":"Warm Start","description":"Initialize RL episodes from reference poses","default":true}},"type":"object","title":"MotionExportRequest","description":"Request to export a motion as training demonstration data."},"MotionExportResponse":{"properties":{"motion_id":{"type":"string","title":"Motion Id"},"export_type":{"type":"string","title":"Export Type"},"reward_function_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reward Function Code"},"trajectory_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trajectory Url"},"curriculum_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Curriculum Config"},"training_config_patch":{"type":"object","title":"Training Config Patch","description":"Fields to merge into TrainingConfig (motion_references, motion_reward_weight, etc.)"}},"type":"object","required":["motion_id","export_type"],"title":"MotionExportResponse","description":"Result of exporting a motion for training."},"MotionFrameData":{"properties":{"fps":{"type":"integer","title":"Fps"},"frame_count":{"type":"integer","title":"Frame Count"},"robot_type":{"type":"string","title":"Robot Type"},"joint_names":{"items":{"type":"string"},"type":"array","title":"Joint Names"},"frames":{"items":{"type":"object"},"type":"array","title":"Frames"}},"type":"object","required":["fps","frame_count","robot_type","joint_names","frames"],"title":"MotionFrameData","description":"Per-frame motion data for playback and training."},"MotionGenerateRequest":{"properties":{"prompt":{"type":"string","maxLength":5000,"minLength":1,"title":"Prompt","description":"Text description of the desired motion"},"robot_type":{"type":"string","title":"Robot Type","description":"Target robot skeleton: soma, unitree_g1, unitree_go2, trs_so_arm100","default":"unitree_g1"},"duration_seconds":{"type":"number","maximum":10.0,"minimum":1.0,"title":"Duration Seconds","description":"Motion duration in seconds (1-10)","default":5.0},"constraints":{"anyOf":[{"items":{"$ref":"#/components/schemas/MotionConstraint"},"type":"array"},{"type":"null"}],"title":"Constraints","description":"Kinematic constraints (keyframes, waypoints, etc.)"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed","description":"Random seed for reproducible generation"},"guidance_text":{"type":"number","maximum":10.0,"minimum":0.0,"title":"Guidance Text","description":"Classifier-free guidance weight for text conditioning","default":2.0},"guidance_constraints":{"type":"number","maximum":10.0,"minimum":0.0,"title":"Guidance Constraints","description":"Classifier-free guidance weight for constraint conditioning","default":2.0},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"Project to associate the motion with"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Optional name for the motion"}},"type":"object","required":["prompt"],"title":"MotionGenerateRequest","description":"Request to generate a new motion via Kimodo."},"MotionGenerationJobResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"motion_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Motion Id"},"status":{"type":"string","title":"Status"},"prompt":{"type":"string","title":"Prompt"},"constraints":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Constraints"},"robot_type":{"type":"string","title":"Robot Type"},"config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Config"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"cost_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cost Credits"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","user_id","status","prompt","robot_type","created_at"],"title":"MotionGenerationJobResponse","description":"Motion generation job status response."},"MotionListResponse":{"properties":{"motions":{"items":{"$ref":"#/components/schemas/MotionResponse"},"type":"array","title":"Motions"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["motions","total"],"title":"MotionListResponse","description":"List of motions response."},"MotionResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"name":{"type":"string","title":"Name"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"constraints":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Constraints"},"robot_type":{"type":"string","title":"Robot Type"},"duration_seconds":{"type":"number","title":"Duration Seconds"},"fps":{"type":"integer","title":"Fps"},"frame_count":{"type":"integer","title":"Frame Count"},"motion_data_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Motion Data Url"},"generation_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Generation Params"},"source":{"type":"string","title":"Source"},"parent_motion_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Motion Id"},"is_public":{"type":"boolean","title":"Is Public","default":false},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","user_id","name","robot_type","duration_seconds","fps","frame_count","source","created_at","updated_at"],"title":"MotionResponse","description":"Motion metadata response."},"MotionRetargetRequest":{"properties":{"target_robot_type":{"type":"string","title":"Target Robot Type","description":"Target robot type to retarget to"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"Project to associate the retargeted motion with"}},"type":"object","required":["target_robot_type"],"title":"MotionRetargetRequest","description":"Request to retarget a motion to a different robot."},"MotionUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"}},"type":"object","title":"MotionUpdateRequest","description":"Request to update motion metadata (e.g. rename)."},"MotorSetupStatus":{"properties":{"state":{"type":"string","title":"State"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"port":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Port"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"motor_order":{"items":{"type":"string"},"type":"array","title":"Motor Order"},"current_index":{"type":"integer","title":"Current Index","default":0},"next_motor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Motor"},"completed":{"items":{"type":"string"},"type":"array","title":"Completed"},"total_motors":{"type":"integer","title":"Total Motors","default":0}},"type":"object","required":["state"],"title":"MotorSetupStatus"},"NotebookCell":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"content":{"type":"string","title":"Content"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"output":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output"},"isAgentGenerated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isagentgenerated"},"isPending":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ispending"},"isNewCell":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isnewcell"},"originalContent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Originalcontent"}},"type":"object","required":["id","type","content"],"title":"NotebookCell","description":"Notebook cell schema."},"NotebookState":{"properties":{"cells":{"items":{"$ref":"#/components/schemas/NotebookCell"},"type":"array","title":"Cells","default":[]},"activeTab":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Activetab"}},"type":"object","title":"NotebookState","description":"Notebook state schema."},"ObjectCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"usd_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usd Uri","description":"gs:// or https:// URL of a .usd/.usda/.usdc/.usdz"},"glb_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Glb Uri","description":"gs:// or https:// URL of a .glb/.gltf/.obj (converted to USD on the worker)"},"upload":{"anyOf":[{"$ref":"#/components/schemas/UploadSpec"},{"type":"null"}],"description":"ask for a signed PUT URL instead of passing a URI"},"scale":{"anyOf":[{},{"type":"null"}],"title":"Scale","description":"uniform number or [sx, sy, sz]"},"mass_kg":{"anyOf":[{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Mass Kg"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"up_axis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Up Axis","description":"'Y' or 'Z' — how the geometry is authored (default: as the file declares)"},"rotate_deg":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Rotate Deg","description":"extra [rx, ry, rz] rotation in degrees"}},"additionalProperties":false,"type":"object","title":"ObjectCreate"},"ObjectJobOut":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"progress":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Progress"},"object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["id","status"],"title":"ObjectJobOut"},"ObjectTransform":{"properties":{"position":{"items":{"type":"number"},"type":"array","title":"Position","default":[0,0,0]},"rotation":{"items":{"type":"number"},"type":"array","title":"Rotation","default":[0,0,0]},"scale":{"items":{"type":"number"},"type":"array","title":"Scale","default":[1,1,1]}},"type":"object","title":"ObjectTransform","description":"Per-part transform (position, rotation, scale) keyed by partKey (modelId::path)."},"ObserveRequest":{"properties":{"port":{"type":"string","title":"Port","description":"Serial port path"},"robot_id":{"type":"string","title":"Robot Id","description":"Calibration key for the robot","default":"kite_so101"},"fps":{"type":"integer","maximum":60.0,"minimum":1.0,"title":"Fps","default":30}},"type":"object","required":["port"],"title":"ObserveRequest","description":"Start preview mode: connect to robot and stream without a policy."},"Operation":{"properties":{"id":{"type":"string","title":"Id","description":"The resource's id: `aug_…`, `trn_…`, `rlr_…`, `twin_…`, or `eval_…`"},"object":{"type":"string","enum":["operation"],"const":"operation","title":"Object","default":"operation"},"resource":{"type":"string","title":"Resource","description":"`augmentation`, `training_run`, `rl_run`, `twin`, or `evaluation`"},"status":{"type":"string","title":"Status","description":"The resource's status: `processing`, `succeeded`, `failed`, or `canceled`; RL runs, twins and evaluations also report `queued` and `canceling`"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress"},"done":{"type":"boolean","title":"Done","description":"`status` is final: `succeeded`, `failed`, or `canceled`"},"error":{"anyOf":[{"$ref":"#/components/schemas/OperationError"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"result_url":{"type":"string","title":"Result Url","description":"GET it for the whole resource, e.g. `/v1/augmentations/{id}`"}},"type":"object","required":["id","resource","status","progress","done","result_url"],"title":"Operation","description":"Any long-running resource, polled the same way: its status, progress, and whether it is done.","examples":[{"created_at":"2026-09-27T01:00:00Z","done":false,"id":"aug_01K62QZ8V4X9C3N7M5T2R8W6HB","object":"operation","progress":0.4,"resource":"augmentation","result_url":"/v1/augmentations/aug_01K62QZ8V4X9C3N7M5T2R8W6HB","status":"processing"},{"created_at":"2026-09-27T02:00:00Z","done":true,"id":"eval_01K62R4M8T3V9C2N7X5W6Y8Z0B","object":"operation","progress":1.0,"resource":"evaluation","result_url":"/v1/evaluations/eval_01K62R4M8T3V9C2N7X5W6Y8Z0B","status":"succeeded"}]},"OperationError":{"properties":{"code":{"type":"string","title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"additionalProperties":true,"type":"object","required":["code"],"title":"OperationError","description":"The resource's own `error` (as on `result_url`): `code` and `message`; a twin's adds `stage`, `resumable`."},"OrgOut":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"OrgOut","description":"Organization response schema (placeholder for now)."},"PairInfo":{"properties":{"name":{"type":"string","title":"Name"},"leader_port":{"type":"string","title":"Leader Port"},"leader_id":{"type":"string","title":"Leader Id"},"follower_port":{"type":"string","title":"Follower Port"},"follower_id":{"type":"string","title":"Follower Id"},"cameras":{"items":{"type":"string"},"type":"array","title":"Cameras"}},"type":"object","required":["name","leader_port","leader_id","follower_port","follower_id"],"title":"PairInfo"},"PairSpec":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Stable identifier — used as a dataset key prefix when there are multiple pairs"},"leader_port":{"type":"string","minLength":1,"title":"Leader Port"},"leader_id":{"type":"string","minLength":1,"title":"Leader Id"},"follower_port":{"type":"string","minLength":1,"title":"Follower Port"},"follower_id":{"type":"string","minLength":1,"title":"Follower Id"},"cameras":{"items":{"$ref":"#/components/schemas/CameraSpec"},"type":"array","title":"Cameras"}},"type":"object","required":["name","leader_port","leader_id","follower_port","follower_id"],"title":"PairSpec","description":"One leader + follower + cameras tuple in a capture session."},"PanoCandidateOut":{"properties":{"index":{"type":"integer","title":"Index"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["index","status"],"title":"PanoCandidateOut"},"PanoDraftOut":{"properties":{"draft_id":{"type":"string","title":"Draft Id"},"status":{"type":"string","title":"Status"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"eta_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Eta Seconds"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"candidates":{"items":{"$ref":"#/components/schemas/PanoCandidateOut"},"type":"array","title":"Candidates","default":[]}},"type":"object","required":["draft_id","status"],"title":"PanoDraftOut"},"PanoDraftRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"count":{"type":"integer","title":"Count","default":4},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"}},"type":"object","required":["prompt"],"title":"PanoDraftRequest"},"PartnerSignupCreate":{"properties":{"first_name":{"type":"string","maxLength":100,"minLength":1,"title":"First Name"},"last_name":{"type":"string","maxLength":100,"minLength":1,"title":"Last Name"},"company":{"type":"string","maxLength":200,"minLength":1,"title":"Company"},"job_title":{"type":"string","maxLength":200,"minLength":1,"title":"Job Title"},"work_email":{"type":"string","maxLength":254,"minLength":3,"title":"Work Email"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"budget":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Budget"},"use_case":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Use Case"}},"type":"object","required":["first_name","last_name","company","job_title","work_email"],"title":"PartnerSignupCreate","description":"A design-partner-programme application submitted from /evaluations."},"PartnerSignupOut":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true}},"type":"object","title":"PartnerSignupOut"},"PaymentListPaginatedResponse":{"properties":{"payments":{"items":{"$ref":"#/components/schemas/PaymentListResponse"},"type":"array","title":"Payments"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["payments","total","page","page_size","total_pages"],"title":"PaymentListPaginatedResponse","description":"Paginated payment list response."},"PaymentListResponse":{"properties":{"id":{"type":"string","title":"Id"},"payer_type":{"type":"string","title":"Payer Type"},"payer_id":{"type":"string","title":"Payer Id"},"payment_type":{"type":"string","title":"Payment Type"},"amount_cents":{"type":"integer","title":"Amount Cents"},"currency":{"type":"string","title":"Currency"},"status":{"type":"string","title":"Status"},"stripe_payment_intent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Payment Intent Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","payer_type","payer_id","payment_type","amount_cents","currency","status"],"title":"PaymentListResponse","description":"Payment transaction list item response schema."},"PaymentMethodResponse":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"last4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last4"},"exp_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exp Month"},"exp_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exp Year"}},"type":"object","title":"PaymentMethodResponse"},"PaymentsResponse":{"properties":{"payment_method":{"anyOf":[{"$ref":"#/components/schemas/PaymentMethodResponse"},{"type":"null"}]},"receipts":{"items":{"$ref":"#/components/schemas/ReceiptResponse"},"type":"array","title":"Receipts"}},"type":"object","required":["receipts"],"title":"PaymentsResponse"},"PhysicsSettings":{"properties":{"gravity":{"items":{"type":"number"},"type":"array","maxItems":3,"minItems":3,"title":"Gravity","description":"Gravity vector [x, y, z] in m/s^2","default":[0,0,-9.81]},"timestep":{"type":"number","exclusiveMinimum":0.0,"title":"Timestep","description":"Physics timestep in seconds","default":0.002},"solver_iterations":{"type":"integer","exclusiveMinimum":0.0,"title":"Solver Iterations","description":"Solver iterations per step","default":100},"enabled":{"type":"boolean","title":"Enabled","description":"Whether physics simulation is active","default":true}},"type":"object","title":"PhysicsSettings","description":"Global physics simulation settings."},"PlaceObjectRequest":{"properties":{"object_id":{"type":"string","title":"Object Id"},"position":{"items":{"type":"number"},"type":"array","title":"Position"},"rotation":{"items":{"type":"number"},"type":"array","title":"Rotation","default":[0.0,0.0,0.0]},"scale":{"items":{"type":"number"},"type":"array","title":"Scale","default":[1.0,1.0,1.0]}},"type":"object","required":["object_id","position"],"title":"PlaceObjectRequest"},"PlaceObjectResponse":{"properties":{"instance_id":{"type":"string","title":"Instance Id"}},"type":"object","required":["instance_id"],"title":"PlaceObjectResponse"},"PlanRequest":{"properties":{"robot":{"type":"string","title":"Robot"},"prompt":{"type":"string","maxLength":4000,"title":"Prompt"},"objects":{"items":{"type":"object"},"type":"array","title":"Objects","default":[]}},"type":"object","required":["robot","prompt"],"title":"PlanRequest"},"PlanResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"tier_level":{"type":"integer","title":"Tier Level"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"features":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Features"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["id","name","slug","tier_level","is_active"],"title":"PlanResponse"},"PolicyCatalogEntry":{"properties":{"id":{"type":"string","title":"Id"},"display_name":{"type":"string","title":"Display Name"},"description":{"type":"string","title":"Description","default":""},"lerobot_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lerobot Type"},"pretrained":{"type":"boolean","title":"Pretrained","default":false},"min_vram_gb":{"type":"integer","title":"Min Vram Gb","default":16},"min_hardware_tier":{"type":"string","title":"Min Hardware Tier","default":"gcp_gpu_t4"},"default_steps":{"type":"integer","title":"Default Steps","default":5000},"default_batch_size":{"type":"integer","title":"Default Batch Size","default":8},"compatible_robot_types":{"items":{"type":"string"},"type":"array","title":"Compatible Robot Types"},"available":{"type":"boolean","title":"Available","default":true},"experimental":{"type":"boolean","title":"Experimental","default":false},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["id","display_name"],"title":"PolicyCatalogEntry"},"PolicySpec":{"properties":{"type":{"type":"string","title":"Type","description":"gr00t | replay | zero_action | rsl_rl | <dotted Arena policy class>","default":"gr00t"},"hf_repo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo"},"hf_subdir":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Subdir"},"checkpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkpoint"},"training_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Job Id"},"config_yaml":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Config Yaml"},"embodiment_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Embodiment Tag"},"modality_config":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Modality Config"},"replay_file":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replay File"},"args":{"type":"object","title":"Args"}},"type":"object","title":"PolicySpec"},"PolicyValidationRequest":{"properties":{"policy_id":{"type":"string","title":"Policy Id"},"training_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Method"},"robot_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Type"},"hardware_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Tier"}},"type":"object","required":["policy_id"],"title":"PolicyValidationRequest"},"PolicyValidationResponse":{"properties":{"valid":{"type":"boolean","title":"Valid"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors"}},"type":"object","required":["valid","errors"],"title":"PolicyValidationResponse"},"PortalSessionRequest":{"properties":{"return_path":{"type":"string","maxLength":500,"pattern":"^/([^/\\\\\\s][^\\s]*)?$","title":"Return Path","default":"/"},"flow":{"anyOf":[{"type":"string","enum":["payment_method_update"],"const":"payment_method_update"},{"type":"null"}],"title":"Flow"}},"type":"object","title":"PortalSessionRequest"},"PortalSessionResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"PortalSessionResponse"},"PreflightCheck":{"properties":{"ok":{"type":"boolean","title":"Ok"},"summary":{"type":"string","title":"Summary"},"detail":{"type":"string","title":"Detail"},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw"},"data":{"type":"object","title":"Data"}},"type":"object","required":["ok","summary","detail"],"title":"PreflightCheck"},"PreflightReport":{"properties":{"ready":{"type":"boolean","title":"Ready"},"usb":{"$ref":"#/components/schemas/PreflightCheck"},"motors":{"$ref":"#/components/schemas/PreflightCheck"},"calibration":{"$ref":"#/components/schemas/PreflightCheck"}},"type":"object","required":["ready","usb","motors","calibration"],"title":"PreflightReport"},"PreflightRequest":{"properties":{"port":{"type":"string","minLength":1,"title":"Port"},"robot_id":{"type":"string","minLength":1,"title":"Robot Id","default":"kite_so101"}},"type":"object","required":["port"],"title":"PreflightRequest"},"PrewarmRequest":{"properties":{"policy_ref":{"type":"string","title":"Policy Ref"},"policy_ref_alt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Ref Alt"},"task_instruction":{"type":"string","title":"Task Instruction","default":""}},"type":"object","required":["policy_ref"],"title":"PrewarmRequest"},"Price":{"properties":{"tokens":{"type":"integer","title":"Tokens"},"usd":{"type":"string","title":"Usd","description":"`tokens` in US dollars (1,000 tokens = $1), two decimals"}},"type":"object","required":["tokens","usd"],"title":"Price"},"ProjectAssetInstance":{"properties":{"instanceId":{"type":"string","title":"Instanceid"},"inventoryId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inventoryid"},"customAssetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customassetid"},"objectId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Objectid"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"mode":{"type":"string","title":"Mode","default":"reference"},"filePath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filepath"},"copiedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Copiedat"},"sourceVersion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourceversion"},"config":{"type":"object","title":"Config","default":{}},"position":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Position"},"parameters":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Parameters"}},"type":"object","required":["instanceId","name","type"],"title":"ProjectAssetInstance","description":"An instance of an asset in the project."},"ProjectAssets":{"properties":{"instances":{"items":{"$ref":"#/components/schemas/ProjectAssetInstance"},"type":"array","title":"Instances","default":[]},"custom":{"items":{"$ref":"#/components/schemas/ProjectCustomAsset"},"type":"array","title":"Custom","default":[]},"scene":{"type":"object","title":"Scene"}},"type":"object","title":"ProjectAssets","description":"Project assets - replaces ProjectModels."},"ProjectConfig":{"properties":{"simulator":{"type":"string","title":"Simulator","default":"mujoco"},"infrastructure":{"type":"string","title":"Infrastructure","default":"auto"},"algorithm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Algorithm","default":"PPO"},"foundationModel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Foundationmodel","default":"none"},"hardwareTier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardwaretier"},"taskDescription":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taskdescription"}},"type":"object","title":"ProjectConfig","description":"Project configuration schema."},"ProjectCreate":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"config":{"anyOf":[{"$ref":"#/components/schemas/ProjectConfig"},{"type":"null"}]},"assets":{"anyOf":[{"$ref":"#/components/schemas/ProjectAssets"},{"type":"null"}]},"models":{"anyOf":[{"$ref":"#/components/schemas/ProjectModels"},{"type":"null"}]},"fileTree":{"anyOf":[{"items":{"$ref":"#/components/schemas/FileTreeNode-Input"},"type":"array"},{"type":"null"}],"title":"Filetree","default":[]},"fileContents":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Filecontents","default":{}},"partColors":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Partcolors","default":{}},"partVisibility":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}],"title":"Partvisibility","default":{}},"objectTransforms":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/ObjectTransform"},"type":"object"},{"type":"null"}],"title":"Objecttransforms","default":{}},"sensorConfig":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sensorconfig"},"settings":{"anyOf":[{"$ref":"#/components/schemas/ProjectSettings"},{"type":"null"}]},"notebook":{"anyOf":[{"$ref":"#/components/schemas/NotebookState"},{"type":"null"}]},"customWorlds":{"anyOf":[{"items":{"$ref":"#/components/schemas/CustomWorld"},"type":"array"},{"type":"null"}],"title":"Customworlds","default":[]},"customTasks":{"anyOf":[{"items":{"$ref":"#/components/schemas/CustomTask"},"type":"array"},{"type":"null"}],"title":"Customtasks","default":[]},"uiState":{"anyOf":[{"$ref":"#/components/schemas/UIState"},{"type":"null"}]}},"type":"object","required":["name"],"title":"ProjectCreate","description":"Schema for creating a project."},"ProjectCustomAsset":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"name":{"type":"string","title":"Name"},"filePath":{"type":"string","title":"Filepath"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","default":{}}},"type":"object","required":["id","type","name","filePath"],"title":"ProjectCustomAsset","description":"Custom asset created in project."},"ProjectDatasetLink":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id","description":"Dataset ID to link"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","description":"Role: demonstrations, eval, replay_buffer"},"is_primary":{"type":"boolean","title":"Is Primary","description":"Whether this is the primary dataset","default":false}},"type":"object","required":["dataset_id"],"title":"ProjectDatasetLink","description":"Link a dataset to a project."},"ProjectDetailResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"user_id":{"type":"string","title":"User Id"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"},"deleted":{"type":"boolean","title":"Deleted"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deleted At"},"config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Config"},"assets":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Assets"}},"type":"object","required":["id","name","user_id","deleted"],"title":"ProjectDetailResponse","description":"Project detail response schema."},"ProjectListOut":{"properties":{"id":{"type":"string","title":"Id"},"userId":{"type":"string","title":"Userid"},"workspaceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspaceid"},"name":{"type":"string","title":"Name"},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedat"},"deleted":{"type":"boolean","title":"Deleted","default":false},"deletedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deletedat"},"config":{"$ref":"#/components/schemas/ProjectConfig"},"assets":{"$ref":"#/components/schemas/ProjectAssets"},"models":{"anyOf":[{"$ref":"#/components/schemas/ProjectModels"},{"type":"null"}]},"uiState":{"anyOf":[{"$ref":"#/components/schemas/UIState"},{"type":"null"}]}},"type":"object","required":["id","userId","name","config","assets"],"title":"ProjectListOut","description":"Lightweight schema for project list responses (excludes heavy fields)."},"ProjectListPaginatedResponse":{"properties":{"projects":{"items":{"$ref":"#/components/schemas/ProjectListResponse"},"type":"array","title":"Projects"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["projects","total","page","page_size","total_pages"],"title":"ProjectListPaginatedResponse","description":"Paginated project list response."},"ProjectListResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"user_id":{"type":"string","title":"User Id"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"},"deleted":{"type":"boolean","title":"Deleted"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","name","user_id","deleted"],"title":"ProjectListResponse","description":"Project list item response schema."},"ProjectModels":{"properties":{"robot":{"anyOf":[{"$ref":"#/components/schemas/RobotModel"},{"type":"null"}]},"world":{"anyOf":[{"$ref":"#/components/schemas/WorldModel"},{"type":"null"}]},"task":{"anyOf":[{"$ref":"#/components/schemas/TaskModel"},{"type":"null"}]}},"type":"object","title":"ProjectModels","description":"Project models schema."},"ProjectOut":{"properties":{"id":{"type":"string","title":"Id"},"userId":{"type":"string","title":"Userid"},"workspaceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspaceid"},"name":{"type":"string","title":"Name"},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedat"},"deleted":{"type":"boolean","title":"Deleted","default":false},"deletedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deletedat"},"config":{"$ref":"#/components/schemas/ProjectConfig"},"assets":{"$ref":"#/components/schemas/ProjectAssets"},"models":{"anyOf":[{"$ref":"#/components/schemas/ProjectModels"},{"type":"null"}]},"fileTree":{"items":{"$ref":"#/components/schemas/FileTreeNode-Output"},"type":"array","title":"Filetree"},"fileContents":{"additionalProperties":{"type":"string"},"type":"object","title":"Filecontents"},"partColors":{"additionalProperties":{"type":"string"},"type":"object","title":"Partcolors"},"partVisibility":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Partvisibility"},"objectTransforms":{"additionalProperties":{"$ref":"#/components/schemas/ObjectTransform"},"type":"object","title":"Objecttransforms","default":{}},"sensorConfig":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sensorconfig"},"settings":{"$ref":"#/components/schemas/ProjectSettings"},"notebook":{"$ref":"#/components/schemas/NotebookState"},"customWorlds":{"items":{"$ref":"#/components/schemas/CustomWorld"},"type":"array","title":"Customworlds"},"customTasks":{"items":{"$ref":"#/components/schemas/CustomTask"},"type":"array","title":"Customtasks"},"uiState":{"anyOf":[{"$ref":"#/components/schemas/UIState"},{"type":"null"}]}},"type":"object","required":["id","userId","name","config","assets","fileTree","fileContents","partColors","partVisibility","settings","notebook","customWorlds","customTasks"],"title":"ProjectOut","description":"Schema for project response."},"ProjectSettings":{"properties":{"wandb":{"anyOf":[{"$ref":"#/components/schemas/WandbSettings"},{"type":"null"}]}},"type":"object","title":"ProjectSettings","description":"Project settings schema."},"ProjectSync":{"properties":{"config":{"anyOf":[{"$ref":"#/components/schemas/ProjectConfig"},{"type":"null"}]},"assets":{"anyOf":[{"$ref":"#/components/schemas/ProjectAssets"},{"type":"null"}]},"models":{"anyOf":[{"$ref":"#/components/schemas/ProjectModels"},{"type":"null"}]},"fileTree":{"anyOf":[{"items":{"$ref":"#/components/schemas/FileTreeNode-Input"},"type":"array"},{"type":"null"}],"title":"Filetree"},"fileContents":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Filecontents"},"partColors":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Partcolors"},"partVisibility":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}],"title":"Partvisibility"},"objectTransforms":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/ObjectTransform"},"type":"object"},{"type":"null"}],"title":"Objecttransforms"},"sensorConfig":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sensorconfig"},"settings":{"anyOf":[{"$ref":"#/components/schemas/ProjectSettings"},{"type":"null"}]},"notebook":{"anyOf":[{"$ref":"#/components/schemas/NotebookState"},{"type":"null"}]},"customWorlds":{"anyOf":[{"items":{"$ref":"#/components/schemas/CustomWorld"},"type":"array"},{"type":"null"}],"title":"Customworlds"},"customTasks":{"anyOf":[{"items":{"$ref":"#/components/schemas/CustomTask"},"type":"array"},{"type":"null"}],"title":"Customtasks"},"uiState":{"anyOf":[{"$ref":"#/components/schemas/UIState"},{"type":"null"}]}},"type":"object","title":"ProjectSync","description":"Schema for syncing project state."},"ProjectUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"config":{"anyOf":[{"$ref":"#/components/schemas/ProjectConfig"},{"type":"null"}]},"assets":{"anyOf":[{"$ref":"#/components/schemas/ProjectAssets"},{"type":"null"}]},"models":{"anyOf":[{"$ref":"#/components/schemas/ProjectModels"},{"type":"null"}]},"fileTree":{"anyOf":[{"items":{"$ref":"#/components/schemas/FileTreeNode-Input"},"type":"array"},{"type":"null"}],"title":"Filetree"},"fileContents":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Filecontents"},"partColors":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Partcolors"},"partVisibility":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}],"title":"Partvisibility"},"objectTransforms":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/ObjectTransform"},"type":"object"},{"type":"null"}],"title":"Objecttransforms"},"sensorConfig":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sensorconfig"},"settings":{"anyOf":[{"$ref":"#/components/schemas/ProjectSettings"},{"type":"null"}]},"notebook":{"anyOf":[{"$ref":"#/components/schemas/NotebookState"},{"type":"null"}]},"customWorlds":{"anyOf":[{"items":{"$ref":"#/components/schemas/CustomWorld"},"type":"array"},{"type":"null"}],"title":"Customworlds"},"customTasks":{"anyOf":[{"items":{"$ref":"#/components/schemas/CustomTask"},"type":"array"},{"type":"null"}],"title":"Customtasks"},"uiState":{"anyOf":[{"$ref":"#/components/schemas/UIState"},{"type":"null"}]}},"type":"object","title":"ProjectUpdate","description":"Schema for updating a project."},"PromoteObjectRequest":{"properties":{"project_id":{"type":"string","title":"Project Id"},"scene_project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene Project Id"}},"type":"object","required":["project_id"],"title":"PromoteObjectRequest"},"PromoteObjectResponse":{"properties":{"object_id":{"type":"string","title":"Object Id"},"name":{"type":"string","title":"Name"},"real_size_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Real Size M"}},"type":"object","required":["object_id","name"],"title":"PromoteObjectResponse"},"PublishRequest":{"properties":{"title":{"type":"string","title":"Title","default":""},"summary":{"type":"string","title":"Summary","default":""},"auto":{"type":"boolean","title":"Auto","default":false}},"type":"object","title":"PublishRequest"},"PushAugmentRequest":{"properties":{"repoName":{"type":"string","maxLength":200,"minLength":1,"title":"Reponame","description":"Target repo id, e.g. <user>/pusht-augmented"},"private":{"type":"boolean","title":"Private","description":"Create the dataset repo as private","default":false}},"type":"object","required":["repoName"],"title":"PushAugmentRequest","description":"Push the approved augmented episodes to the user's HuggingFace account."},"ReadinessRequest":{"properties":{"project_id":{"type":"string","title":"Project Id"},"policy_id":{"type":"string","title":"Policy Id"},"training_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Method"},"hardware_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Tier"}},"type":"object","required":["project_id","policy_id"],"title":"ReadinessRequest"},"ReceiptResponse":{"properties":{"date":{"type":"string","title":"Date"},"description":{"type":"string","title":"Description"},"amount_cents":{"type":"integer","title":"Amount Cents"},"currency":{"type":"string","title":"Currency"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["date","description","amount_cents","currency"],"title":"ReceiptResponse"},"ReconcileSessionRequest":{"properties":{"session_id":{"type":"string","maxLength":200,"minLength":1,"title":"Session Id"}},"type":"object","required":["session_id"],"title":"ReconcileSessionRequest"},"ReconcileSessionResponse":{"properties":{"is_pro":{"type":"boolean","title":"Is Pro"},"stripe_subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Subscription Id"},"tokens_added":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tokens Added"}},"type":"object","required":["is_pro"],"title":"ReconcileSessionResponse"},"RecordingStatus":{"properties":{"recording":{"type":"boolean","title":"Recording"},"recorded_frames":{"type":"integer","title":"Recorded Frames","default":0},"started_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Started At"}},"type":"object","required":["recording"],"title":"RecordingStatus"},"ReferenceImage":{"properties":{"camera":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Camera","description":"Camera this image shows; omit to use it for every camera"},"data":{"type":"string","title":"Data","description":"Base64-encoded image (a data: URL prefix is accepted)"},"media_type":{"type":"string","enum":["image/jpeg","image/png","image/webp"],"title":"Media Type","default":"image/jpeg"}},"additionalProperties":false,"type":"object","required":["data"],"title":"ReferenceImage"},"RegenerateCameraRequest":{"properties":{"comment":{"type":"string","maxLength":2000,"title":"Comment","description":"What to improve in this clip (e.g. 'keep the toast in the tray; no lid').","default":""}},"type":"object","title":"RegenerateCameraRequest","description":"Re-generate a single camera clip of a generated episode with a correction note."},"RelightParams":{"properties":{"exposure":{"type":"number","maximum":3.0,"minimum":-5.0,"title":"Exposure","description":"Brightness in stops (-1 = half the light).","default":0.0},"temperature":{"type":"number","maximum":12000.0,"minimum":1500.0,"title":"Temperature","description":"Colour temperature of the simulated light in kelvin. 6500 = unchanged, ~3000 = warm tungsten, ~9000 = cool overcast. Never changes brightness.","default":6500.0},"tint":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Tint","description":"Green (-) to magenta (+) shift.","default":0.0},"contrast":{"type":"number","maximum":2.0,"minimum":0.5,"title":"Contrast","description":"S-curve around mid-grey: >1 deepens shadows and lifts highlights.","default":1.0},"saturation":{"type":"number","maximum":2.0,"minimum":0.0,"title":"Saturation","description":"Colour intensity; 1 = unchanged.","default":1.0}},"type":"object","title":"RelightParams"},"RelightRequest":{"properties":{"exposure":{"type":"number","maximum":3.0,"minimum":-5.0,"title":"Exposure","description":"Brightness in stops (-1 = half the light).","default":0.0},"temperature":{"type":"number","maximum":12000.0,"minimum":1500.0,"title":"Temperature","description":"Colour temperature of the simulated light in kelvin. 6500 = unchanged, ~3000 = warm tungsten, ~9000 = cool overcast. Never changes brightness.","default":6500.0},"tint":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Tint","description":"Green (-) to magenta (+) shift.","default":0.0},"contrast":{"type":"number","maximum":2.0,"minimum":0.5,"title":"Contrast","description":"S-curve around mid-grey: >1 deepens shadows and lifts highlights.","default":1.0},"saturation":{"type":"number","maximum":2.0,"minimum":0.0,"title":"Saturation","description":"Colour intensity; 1 = unchanged.","default":1.0}},"additionalProperties":false,"type":"object","title":"RelightRequest","description":"RelightParams as a request takes them: an unknown field is refused (the planner's own output stays lenient)."},"RenameRequest":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"RenameRequest"},"RequestApiKey":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"key_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Prefix","description":"The key's first characters (`kite_` + 8), to recognise it by"}},"type":"object","required":["id"],"title":"RequestApiKey"},"RequestDay":{"properties":{"date":{"type":"string","title":"Date","description":"YYYY-MM-DD (UTC)"},"requests":{"type":"integer","title":"Requests"},"succeeded":{"type":"integer","title":"Succeeded","description":"Answered with a status below 400"},"client_errors":{"type":"integer","title":"Client Errors","description":"4xx: something to fix in the request, the key or the account"},"server_errors":{"type":"integer","title":"Server Errors","description":"5xx: Kite couldn't complete the request; retry it unchanged"}},"type":"object","required":["date","requests","succeeded","client_errors","server_errors"],"title":"RequestDay"},"RequestSourceCount":{"properties":{"source":{"type":"string","title":"Source","description":"As on a request: `api`, `cli`, `sdk`, `mcp` or `dashboard`"},"requests":{"type":"integer","title":"Requests"}},"type":"object","required":["source","requests"],"title":"RequestSourceCount"},"RequestStats":{"properties":{"object":{"type":"string","enum":["request_stats"],"const":"request_stats","title":"Object","default":"request_stats"},"days":{"type":"integer","title":"Days"},"start":{"type":"string","title":"Start","description":"YYYY-MM-DD, inclusive"},"end":{"type":"string","title":"End","description":"YYYY-MM-DD (today, UTC), inclusive"},"data":{"items":{"$ref":"#/components/schemas/RequestDay"},"type":"array","title":"Data","description":"One row per day, oldest first; days without requests are zeros"},"totals":{"$ref":"#/components/schemas/RequestTotals"},"sources":{"items":{"$ref":"#/components/schemas/RequestSourceCount"},"type":"array","title":"Sources","description":"Requests by source, busiest first; sources without requests are left out"}},"type":"object","required":["days","start","end","data","totals","sources"],"title":"RequestStats","description":"Requests per day by outcome, with totals and the count from each source."},"RequestTotals":{"properties":{"requests":{"type":"integer","title":"Requests"},"succeeded":{"type":"integer","title":"Succeeded"},"client_errors":{"type":"integer","title":"Client Errors"},"server_errors":{"type":"integer","title":"Server Errors"},"success_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Success Rate","description":"`succeeded` / `requests`, from 0 to 1; null with no requests"},"duration_p50_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration P50 Seconds","description":"Median duration; null with no requests"},"duration_p95_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration P95 Seconds","description":"95th-percentile duration; null with no requests"}},"type":"object","required":["requests","succeeded","client_errors","server_errors"],"title":"RequestTotals"},"ResumeSubscriptionResponse":{"properties":{"current_period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period End"}},"type":"object","title":"ResumeSubscriptionResponse"},"RlBudget":{"properties":{"preset":{"anyOf":[{"type":"string","enum":["probe","standard"]},{"type":"null"}],"title":"Preset","description":"`probe`: 300 iterations, a first signal in minutes. `standard` (the default): the iterations this objective was verified with"},"iterations":{"anyOf":[{"type":"integer","maximum":6000.0,"minimum":10.0},{"type":"null"}],"title":"Iterations","description":"Overrides the preset"},"num_envs":{"anyOf":[{"type":"integer","maximum":8192.0,"minimum":16.0},{"type":"null"}],"title":"Num Envs","description":"Parallel worlds (default 2048)"},"max_tokens":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Tokens","description":"Per run: training stops, keeping its policy, once it has used this many tokens"}},"additionalProperties":false,"type":"object","title":"RlBudget"},"RlCatalog":{"properties":{"object":{"type":"string","enum":["rl_catalog"],"const":"rl_catalog","title":"Object","default":"rl_catalog"},"engines":{"items":{"type":"object"},"type":"array","title":"Engines"},"robots":{"items":{"type":"object"},"type":"array","title":"Robots"},"objectives":{"items":{"type":"object"},"type":"array","title":"Objectives","description":"Each objective's parameters: key, default, min, max, group, doc"},"hardware_tiers":{"items":{"$ref":"#/components/schemas/RlHardwareTier"},"type":"array","title":"Hardware Tiers"},"budget_presets":{"type":"object","title":"Budget Presets"}},"type":"object","required":["engines","robots","objectives","hardware_tiers","budget_presets"],"title":"RlCatalog"},"RlCheck":{"properties":{"name":{"type":"string","title":"Name"},"value":{"type":"number","title":"Value"},"limit":{"type":"string","title":"Limit"},"passed":{"type":"boolean","title":"Passed"}},"type":"object","required":["name","value","limit","passed"],"title":"RlCheck"},"RlCheckpoint":{"properties":{"object":{"type":"string","enum":["rl_checkpoint"],"const":"rl_checkpoint","title":"Object","default":"rl_checkpoint"},"iteration":{"type":"integer","title":"Iteration"},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes","description":"Size of the rsl_rl checkpoint (`?format=pt`); the ONNX is smaller"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"download_url":{"type":"string","title":"Download Url","description":"The deployable ONNX policy; add `?format=pt` for the rsl_rl checkpoint"}},"type":"object","required":["iteration","download_url"],"title":"RlCheckpoint"},"RlCheckpointList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/RlCheckpoint"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More","default":false},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data"],"title":"RlCheckpointList"},"RlCommands":{"properties":{"vx":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Vx","description":"Forward speed, m/s"},"vy":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Vy","description":"Sideways speed, m/s"},"yaw":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Yaw","description":"Turn rate, rad/s"}},"additionalProperties":false,"type":"object","title":"RlCommands","description":"Ranges each episode's command is drawn from, [low, high]. Omitted ones keep the robot's verified band."},"RlEstimate":{"properties":{"object":{"type":"string","enum":["rl_estimate"],"const":"rl_estimate","title":"Object","default":"rl_estimate"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"`rlq_…`: pass it as `quote_id` to POST /v1/rl_runs before `expires_at` and each run is charged exactly `price_per_run`"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"basis":{"type":"string","enum":["fixed"],"const":"fixed","title":"Basis","description":"A run that succeeds is charged exactly its price, whatever GPU it trains on and however long it takes; canceled after it saved a policy, its minutes at your rate, never more; failed, nothing","default":"fixed"},"price_per_run":{"$ref":"#/components/schemas/RlPrice"},"price":{"$ref":"#/components/schemas/RlPrice","description":"All runs (one per seed)"},"time_minutes":{"$ref":"#/components/schemas/RlTimeMinutes"},"minutes_per_run":{"type":"number","title":"Minutes Per Run","description":"Training minutes, p50 (`time_minutes.train.p50`)"},"tokens_per_run":{"type":"integer","title":"Tokens Per Run","description":"`price_per_run.tokens`"},"runs":{"type":"integer","title":"Runs"},"tokens":{"type":"integer","title":"Tokens","description":"`price.tokens`: reserved at create"},"capped":{"type":"boolean","title":"Capped","description":"`budget.max_tokens` bounds the price and will stop the run before `iterations`"},"startup_minutes":{"type":"integer","title":"Startup Minutes","description":"`time_minutes.queue.p50`, rounded up: the longer of the median wait of the last 10 runs on this tier that got a machine in the last day and the wait so far of the run queued longest. 5 when no run used the tier that day"}},"type":"object","required":["price_per_run","price","time_minutes","minutes_per_run","tokens_per_run","runs","tokens","capped","startup_minutes"],"title":"RlEstimate","examples":[{"basis":"fixed","capped":false,"expires_at":"2026-11-26T19:15:00Z","id":"rlq_1795720500_400_1_3f6c0a9e2b7d41c58e0f9a2d6b1c7e44","minutes_per_run":11.8,"object":"rl_estimate","price":{"tokens":400,"usd":"0.40"},"price_per_run":{"tokens":400,"usd":"0.40"},"runs":1,"startup_minutes":5,"time_minutes":{"package":{"p50":5.0,"p90":30.0},"queue":{"p50":5.0,"p90":45.0},"ready":{"p50":21.8,"p90":94.0},"train":{"p50":11.8,"p90":19.0}},"tokens":400,"tokens_per_run":400}]},"RlFile":{"properties":{"object":{"type":"string","enum":["rl_file"],"const":"rl_file","title":"Object","default":"rl_file"},"path":{"type":"string","title":"Path"},"bytes":{"type":"integer","title":"Bytes"},"sha256":{"type":"string","title":"Sha256"}},"type":"object","required":["path","bytes","sha256"],"title":"RlFile"},"RlFileList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/RlFile"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `after` for the next page (it is a `path`)"}},"type":"object","required":["data","has_more"],"title":"RlFileList"},"RlFrom":{"properties":{"run":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run","description":"One of your runs (`rlr_…`)"},"policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy","description":"A public policy's id, from kiteml.com/rl-studio"},"mode":{"type":"string","enum":["fork","continue"],"title":"Mode","description":"`fork`: its weights and training schedule, with this run's spec and a fresh optimizer. `continue`: also its optimizer (your runs only)","default":"fork"},"checkpoint":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Checkpoint","description":"A saved iteration of `run` (default: its latest)"}},"additionalProperties":false,"type":"object","title":"RlFrom","description":"Start from another policy instead of from scratch."},"RlHardwareTier":{"properties":{"id":{"type":"string","title":"Id"},"tokens_per_hour":{"type":"integer","title":"Tokens Per Hour","description":"Your rate on it, per GPU-hour"},"tokens_per_minute":{"type":"number","title":"Tokens Per Minute"},"usd_per_hour":{"type":"string","title":"Usd Per Hour","description":"`tokens_per_hour` in US dollars"}},"type":"object","required":["id","tokens_per_hour","tokens_per_minute","usd_per_hour"],"title":"RlHardwareTier"},"RlHuggingFace":{"properties":{"repo_id":{"type":"string","maxLength":200,"title":"Repo Id","description":"Model repo name; the namespace is your connected Hugging Face account"},"private":{"type":"boolean","title":"Private","default":true}},"additionalProperties":false,"type":"object","required":["repo_id"],"title":"RlHuggingFace"},"RlItem":{"properties":{"shape":{"type":"string","enum":["sphere","box","capsule"],"title":"Shape"},"size":{"items":{"type":"number","maximum":0.6,"minimum":0.005},"type":"array","maxItems":3,"minItems":1,"title":"Size","description":"sphere [radius]; box [half x, half y, half z]; capsule [radius, half length]; each 0.005-0.6 m"},"pos":{"items":{"type":"number","maximum":3.0,"minimum":-3.0},"type":"array","maxItems":2,"minItems":2,"title":"Pos","description":"[x, y] on the floor, m from the spawn (within 3 m)"},"mass":{"type":"number","maximum":20.0,"minimum":0.01,"title":"Mass","description":"kg"},"label":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Label"},"color":{"anyOf":[{"items":{"type":"number","maximum":1.0,"minimum":0.0},"type":"array","maxItems":3,"minItems":3},{"type":"null"}],"title":"Color","description":"RGB, 0-1"},"roll_friction":{"anyOf":[{"type":"number","maximum":0.05,"minimum":0.0},{"type":"null"}],"title":"Roll Friction","description":"0 rolls freely; ~0.01 for a ball the robot stands on"},"spin_friction":{"anyOf":[{"type":"number","maximum":0.05,"minimum":0.0},{"type":"null"}],"title":"Spin Friction"}},"additionalProperties":false,"type":"object","required":["shape","size","pos","mass"],"title":"RlItem","description":"A physical item in the training scene: a free body with mass and collision."},"RlMetricList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/RlMetricRow"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More","default":false},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data"],"title":"RlMetricList"},"RlMetricRow":{"properties":{"iteration":{"type":"integer","title":"Iteration"},"mean_reward":{"type":"number","title":"Mean Reward"},"terms":{"additionalProperties":{"type":"number"},"type":"object","title":"Terms"},"episode_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Episode S","description":"Mean length of the last episodes that ended, s"},"steps_per_second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Steps Per Second"},"elapsed":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Elapsed"}},"type":"object","required":["iteration","mean_reward"],"title":"RlMetricRow"},"RlOutputs":{"properties":{"formats":{"items":{"type":"string","enum":["onnx","pt","torchscript"]},"type":"array","title":"Formats"},"videos":{"items":{"$ref":"#/components/schemas/RlVideoRequest"},"type":"array","maxItems":4,"title":"Videos","description":"One clip per command"},"huggingface":{"anyOf":[{"$ref":"#/components/schemas/RlHuggingFace"},{"type":"null"}],"description":"Also upload the bundle to your Hub account"}},"additionalProperties":false,"type":"object","title":"RlOutputs","description":"Extras beyond what every run produces (ONNX, the checkpoint, the scene, one clip, the report)."},"RlPayload":{"properties":{"body":{"type":"string","title":"Body","description":"The body it is fixed to; GET /v1/rl_runs/catalog lists each robot's `bodies`"},"mass":{"type":"number","exclusiveMinimum":0.0,"title":"Mass","description":"kg. A robot's payloads together weigh at most half the robot (its `mass_kg` in the catalog)"},"pos":{"items":{"type":"number","maximum":0.5,"minimum":-0.5},"type":"array","maxItems":3,"minItems":3,"title":"Pos","description":"[x, y, z] of its centre in the body's frame, m (within 0.5 m)"},"size":{"items":{"type":"number","maximum":0.3,"minimum":0.005},"type":"array","maxItems":3,"minItems":3,"title":"Size","description":"[half x, half y, half z] of the box it is modelled as, m; each 0.005-0.3"},"label":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Label"}},"additionalProperties":false,"type":"object","required":["body","mass","pos","size"],"title":"RlPayload","description":"A part fixed rigidly to one of the robot's bodies (a camera, a battery, a computer): a box of this mass and\nsize that moves the robot's mass and centre of mass. It does not collide."},"RlPercentiles":{"properties":{"p50":{"type":"number","title":"P50","description":"Half of runs take less"},"p90":{"type":"number","title":"P90","description":"Nine in ten runs take less"}},"type":"object","required":["p50","p90"],"title":"RlPercentiles"},"RlPlan":{"properties":{"object":{"type":"string","enum":["rl_plan"],"const":"rl_plan","title":"Object","default":"rl_plan"},"robot":{"type":"string","title":"Robot"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"planned_by":{"type":"string","enum":["model","defaults"],"title":"Planned By","description":"`defaults` when the planner was unavailable: the robot's verified defaults"},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"},"feasibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feasibility","description":"`full`, `partial` or `unsupported`"},"feasibility_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feasibility Note"},"task":{"type":"object","title":"Task","description":"Pass as `task` to POST /v1/rl_runs"},"budget":{"type":"object","title":"Budget"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"}},"type":"object","required":["robot","planned_by","task","budget"],"title":"RlPlan"},"RlPlanRequest":{"properties":{"robot":{"type":"string","title":"Robot"},"prompt":{"type":"string","maxLength":4000,"minLength":3,"title":"Prompt","description":"The behavior, in plain words"},"items":{"items":{"$ref":"#/components/schemas/RlItem"},"type":"array","maxItems":8,"title":"Items","description":"Items already in the scene"}},"additionalProperties":false,"type":"object","required":["robot","prompt"],"title":"RlPlanRequest"},"RlPrice":{"properties":{"tokens":{"type":"integer","title":"Tokens"},"usd":{"type":"string","title":"Usd","description":"The tokens in US dollars (1,000 tokens = $1), two decimals"}},"type":"object","required":["tokens","usd"],"title":"RlPrice"},"RlReport":{"properties":{"object":{"type":"string","enum":["rl_report"],"const":"rl_report","title":"Object","default":"rl_report"},"objective":{"type":"string","title":"Objective"},"verdict":{"type":"string","title":"Verdict","description":"`pass` when every check passes; `needs_review` when they pass but the judge disagrees; else `fail`"},"checks":{"items":{"$ref":"#/components/schemas/RlCheck"},"type":"array","title":"Checks"},"metrics":{"type":"object","title":"Metrics","description":"Measured over 24 worlds × 12 s with training noise on"},"judge":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Judge","description":"A vision model's read of the clip against `description`: advice, not the verdict"},"best_checkpoint":{"type":"integer","title":"Best Checkpoint"},"checkpoints_compared":{"items":{"type":"object"},"type":"array","title":"Checkpoints Compared"},"media":{"type":"object","title":"Media"}},"type":"object","required":["objective","verdict","checks","metrics","best_checkpoint","checkpoints_compared","media"],"title":"RlReport","examples":[{"best_checkpoint":500,"checkpoints_compared":[],"checks":[{"limit":"<= 2","name":"falls_per_min","passed":true,"value":0.42},{"limit":">= 0.75","name":"survival","passed":true,"value":0.917},{"limit":"<= 15","name":"pitch_offset_deg","passed":true,"value":3.55},{"limit":">= 0.5","name":"tracking","passed":true,"value":0.648},{"limit":">= 0.2","name":"alternation","passed":true,"value":0.455}],"judge":{"confidence":0.72,"diagnosis":"The frames show the robot translating steadily toward the camera with a level torso and consistent upright posture, with feet swinging past one another rather than shuffling in place, so the forward-walk command is met. Gait quality is mediocre though: alternation is only 0.455 (partially in-phase / irregular swing timing) and lin-vel tracking is 0.648 with a slight yaw drift, so the pace is not perfectly steady or straight.","matches":true,"suggestions":[{"factor":1.4,"weight":"air_time"},{"factor":1.2,"weight":"track_lin"},{"factor":1.2,"weight":"slip"},{"factor":1.15,"weight":"track_yaw"},{"factor":1.1,"weight":"action_rate_final"}]},"media":{"commands":[{"command":{"vx":0.3},"video":"media/video_vx0.3.mp4"}],"sheet":"media/sheet.jpg","thumbnail":"media/thumbnail.jpg","video":"media/video.mp4"},"metrics":{"alternation":0.455,"amp_ratio":0.909,"falls_per_min":0.42,"n":24,"pitch_offset_deg":3.55,"seconds":12.0,"speed_bl":1.348,"stand_h":0.197,"step_amp":0.0315,"step_amp_bl":0.16,"survivors":22,"tracking":0.648,"upright_frac":1.0,"yaw_rate":0.111,"yaw_track":0.945},"object":"rl_report","objective":"velocity","verdict":"pass"}]},"RlRobotVariant":{"properties":{"payloads":{"items":{"$ref":"#/components/schemas/RlPayload"},"type":"array","maxItems":4,"title":"Payloads"}},"additionalProperties":false,"type":"object","title":"RlRobotVariant","description":"What your product changes on the catalog robot."},"RlRollout":{"properties":{"policy":{"type":"string","title":"Policy","description":"`zero_action`, `random`, or `catalog:<policy id>` (a public walk for this robot that passes the report's checks, where one exists)"},"reward_per_step":{"type":"number","title":"Reward Per Step"},"terms":{"additionalProperties":{"type":"number"},"type":"object","title":"Terms"},"falls_per_min":{"type":"number","title":"Falls Per Min"},"nonfinite":{"type":"integer","title":"Nonfinite"}},"type":"object","required":["policy","reward_per_step","terms","falls_per_min","nonfinite"],"title":"RlRollout"},"RlRun":{"properties":{"id":{"type":"string","title":"Id","description":"`rlr_` + a time-ordered ULID"},"object":{"type":"string","enum":["rl_run"],"const":"rl_run","title":"Object","default":"rl_run"},"status":{"type":"string","enum":["queued","processing","canceling","succeeded","failed","canceled"],"title":"Status"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase","description":"Within `queued`/`processing`/`canceling`: `waiting_for_slot` (over your runs in progress: launched when one ends), `queued`, `starting`, `training`, `packaging`"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress"},"robot":{"type":"string","title":"Robot"},"engine":{"type":"string","title":"Engine"},"group_id":{"type":"string","title":"Group Id"},"seed":{"type":"integer","title":"Seed"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"task":{"type":"object","title":"Task","description":"The resolved task: every default filled in"},"budget":{"type":"object","title":"Budget"},"from":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"From"},"outputs":{"type":"object","title":"Outputs"},"hardware_tier":{"type":"string","title":"Hardware Tier"},"visibility":{"type":"string","title":"Visibility"},"metrics":{"$ref":"#/components/schemas/RlRunMetrics"},"report":{"anyOf":[{"$ref":"#/components/schemas/RlRunReportSummary"},{"type":"null"}],"description":"Once packaged"},"output":{"anyOf":[{"$ref":"#/components/schemas/RlRunOutput"},{"type":"null"}],"description":"Once packaged: where the bundle is"},"error":{"anyOf":[{"$ref":"#/components/schemas/RlRunError"},{"type":"null"}]},"tokens":{"$ref":"#/components/schemas/RlRunTokens"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata"},"studio_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Studio Run Id","description":"Set on a run made in RL Studio, which keeps its live view, policy and publishing: open it at app.kiteml.com/rl-studio?run={studio_run_id}. Such a run has its metrics here, but no report, files or checkpoints"},"eta":{"anyOf":[{"$ref":"#/components/schemas/RlRunEta"},{"type":"null"}],"description":"Until the run is over: when it should be ready"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"queued_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Queued At","description":"When it began waiting for a machine: at create, or when a held run got its slot"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At","description":"When the trainer first reported; it compiles the scene, then trains"},"training_started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Started At","description":"When it began training (`rl_run.started`)"},"packaging_started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packaging Started At","description":"When training ended and packaging began (`rl_run.packaging`)"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","status","progress","robot","engine","group_id","seed","task","budget","outputs","hardware_tier","visibility","metrics","tokens"],"title":"RlRun","description":"One policy training in simulation.","examples":[{"budget":{"iterations":500,"max_tokens":400,"num_envs":2048},"completed_at":"2026-09-28T19:59:53.818362Z","created_at":"2026-09-28T19:15:36.753577Z","description":"Walk forward at a steady pace with a level body and alternating feet.","engine":"2026-09-28","from":{"mode":"fork","policy":"4d574ce4c547"},"group_id":"rlg_01M3MQ39HV4YNTWNNY2GHM55VC","hardware_tier":"gcp_gpu_l4","id":"rlr_01M3MQ39HVAEBQ3F64K6JDF9XR","metadata":{"example":"rl_runs/walk.json"},"metrics":{"elapsed_s":411.4,"env_steps":24576000,"iteration":500,"max_iterations":500,"mean_reward":6.39074,"steps_per_second":59745,"terms":{"clearance":0.46359,"feet":0.04187,"head":0.0,"pose":0.81887,"regularizers":-0.545,"slip":-0.00441,"track":3.61929,"upright":1.99652}},"object":"rl_run","output":{"archive_url":"/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/archive","bytes":12294261,"files":43,"files_url":"/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files","policy_url":"/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files/policy/policy.onnx","report_url":"/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/report","sha256":"d085065b6d2bf18d5b0bffd67c8b8ed0834136e446d608fce13834ea2976706f","video_url":"/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files/media/video.mp4"},"outputs":{"formats":["onnx","pt","torchscript"],"videos":[{"command":{"vx":0.3},"seconds":8.0}]},"progress":1.0,"report":{"best_checkpoint":500,"verdict":"pass"},"robot":"open_duck_mini_v2","seed":0,"started_at":"2026-09-28T19:51:13.239324Z","status":"succeeded","status_message":"done: verdict pass","task":{"commands":{"vx":[0.2,0.4],"vy":[-0.05,0.05],"yaw":[-0.2,0.2]},"objective":"velocity","params":{},"scene":{"items":[]}},"title":"Open Duck: steady walk (fine-tuned)","tokens":{"charged":117,"refunded":50,"reserved":167},"visibility":"private"}]},"RlRunCreate":{"properties":{"robot":{"type":"string","title":"Robot","description":"See GET /v1/rl_runs/catalog"},"engine":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Engine","description":"The dated trainer to use (default: the latest, or the parent's for a fork or continue of your run). A run keeps its engine"},"task":{"$ref":"#/components/schemas/RlTask"},"budget":{"$ref":"#/components/schemas/RlBudget"},"seeds":{"anyOf":[{"type":"integer"},{"items":{"type":"integer"},"type":"array"}],"title":"Seeds","description":"A count (1-5) or explicit seeds: one run per seed, sharing a `group_id`; those past your runs in progress wait for a slot","default":1},"from":{"anyOf":[{"$ref":"#/components/schemas/RlFrom"},{"type":"null"}]},"outputs":{"$ref":"#/components/schemas/RlOutputs"},"hardware_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Tier","description":"See GET /v1/rl_runs/catalog (default `gcp_gpu_l4`)"},"visibility":{"type":"string","enum":["private","public"],"title":"Visibility","description":"`public` lists the run in the policy catalog once it finishes with a `pass` verdict","default":"private"},"title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"What the behavior should look like; the report's judge compares the clip against it"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","description":"Your labels, echoed on the run"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata","description":"Echoed on the run and its events"},"quote_id":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^rlq_"},{"type":"null"}],"title":"Quote Id","description":"The `id` POST /v1/rl_runs/estimate returned for this body, within 15 minutes: each run is charged exactly that price. 409 `quote_expired` after, 409 `quote_mismatch` for a body that prices differently (title, description, metadata, webhook_metadata, visibility and outputs may change). Without one, create quotes the body itself"}},"additionalProperties":false,"type":"object","required":["robot","task"],"title":"RlRunCreate","description":"Train a policy. Only `robot` and `task.objective` are required.","examples":[{"budget":{"iterations":500,"max_tokens":400},"description":"Walk forward at a steady pace with a level body and alternating feet.","from":{"policy":"4d574ce4c547"},"hardware_tier":"gcp_gpu_l4","metadata":{"example":"rl_runs/walk.json"},"outputs":{"formats":["onnx","pt","torchscript"],"videos":[{"command":{"vx":0.3},"seconds":8}]},"robot":"open_duck_mini_v2","seeds":1,"task":{"commands":{"vx":[0.2,0.4],"vy":[-0.05,0.05],"yaw":[-0.2,0.2]},"objective":"velocity"},"title":"Open Duck: steady walk (fine-tuned)"}]},"RlRunError":{"properties":{"code":{"type":"string","title":"Code","description":"`submission_failed`, `warm_start_failed`, `training_diverged`, `gpu_capacity_unavailable`, `training_failed`, `packaging_failed`, `system`"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","message"],"title":"RlRunError"},"RlRunEta":{"properties":{"ready_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ready At","description":"When the run should be ready (finished, with its bundle). Null while it waits for a slot: that wait depends on your other runs"},"remaining_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining S","description":"Seconds from now to `ready_at`"},"basis":{"type":"string","enum":["quote","live"],"title":"Basis","description":"`quote`: the quote's medians, before training starts. `live`: this run's own training speed, and packaging"}},"type":"object","required":["basis"],"title":"RlRunEta"},"RlRunList-Input":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/RlRun"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"RlRunList","examples":[{"data":[{"budget":{"iterations":500,"max_tokens":400,"num_envs":2048},"created_at":"2026-09-28T19:15:36.753577Z","description":"Walk forward at a steady pace with a level body and alternating feet.","engine":"2026-09-28","from":{"mode":"fork","policy":"4d574ce4c547"},"group_id":"rlg_01M3MQ39HV4YNTWNNY2GHM55VC","hardware_tier":"gcp_gpu_l4","id":"rlr_01M3MQ39HVAEBQ3F64K6JDF9XR","metadata":{"example":"rl_runs/walk.json"},"metrics":{"terms":{}},"object":"rl_run","outputs":{"formats":["onnx","pt","torchscript"],"videos":[{"command":{"vx":0.3},"seconds":8.0}]},"progress":0.0,"robot":"open_duck_mini_v2","seed":0,"status":"queued","status_message":"waiting for a machine","task":{"commands":{"vx":[0.2,0.4],"vy":[-0.05,0.05],"yaw":[-0.2,0.2]},"objective":"velocity","params":{},"scene":{"items":[]}},"title":"Open Duck: steady walk (fine-tuned)","tokens":{"charged":0,"refunded":0,"reserved":167},"visibility":"private"}],"has_more":false,"object":"list"}]},"RlRunList-Output":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/RlRun"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"RlRunList","examples":[{"data":[{"budget":{"iterations":500,"max_tokens":400,"num_envs":2048},"created_at":"2026-09-28T19:15:36.753577Z","description":"Walk forward at a steady pace with a level body and alternating feet.","engine":"2026-09-28","from":{"mode":"fork","policy":"4d574ce4c547"},"group_id":"rlg_01M3MQ39HV4YNTWNNY2GHM55VC","hardware_tier":"gcp_gpu_l4","id":"rlr_01M3MQ39HVAEBQ3F64K6JDF9XR","metadata":{"example":"rl_runs/walk.json"},"metrics":{"terms":{}},"object":"rl_run","outputs":{"formats":["onnx","pt","torchscript"],"videos":[{"command":{"vx":0.3},"seconds":8.0}]},"progress":0.0,"robot":"open_duck_mini_v2","seed":0,"status":"queued","status_message":"waiting for a machine","task":{"commands":{"vx":[0.2,0.4],"vy":[-0.05,0.05],"yaw":[-0.2,0.2]},"objective":"velocity","params":{},"scene":{"items":[]}},"title":"Open Duck: steady walk (fine-tuned)","tokens":{"charged":0,"refunded":0,"reserved":167},"visibility":"private"}],"has_more":false,"object":"list"}]},"RlRunMetrics":{"properties":{"iteration":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Iteration","description":"Iterations trained so far (this run's own)"},"max_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Iterations"},"env_steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Env Steps"},"mean_reward":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mean Reward","description":"Mean reward per step over the last iterations"},"steps_per_second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Steps Per Second"},"elapsed_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Elapsed S","description":"Training time so far; what is billed"},"terms":{"additionalProperties":{"type":"number"},"type":"object","title":"Terms","description":"Mean reward per step, by term"}},"type":"object","title":"RlRunMetrics"},"RlRunOutput":{"properties":{"policy_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Url","description":"The trained policy, `policy/policy.onnx`. An API path: send your key"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url","description":"The policy on video, `media/video.mp4`; null if no clip was rendered"},"files":{"type":"integer","title":"Files"},"bytes":{"type":"integer","title":"Bytes","description":"Size of the archive"},"sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sha256","description":"Of the archive: check the download against it"},"archive_url":{"type":"string","title":"Archive Url"},"files_url":{"type":"string","title":"Files Url"},"report_url":{"type":"string","title":"Report Url"},"huggingface":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Huggingface"}},"type":"object","required":["files","bytes","archive_url","files_url","report_url"],"title":"RlRunOutput"},"RlRunReportSummary":{"properties":{"verdict":{"type":"string","title":"Verdict","description":"`pass`, `fail` or `needs_review`; the full report is GET /v1/rl_runs/{id}/report"},"best_checkpoint":{"type":"integer","title":"Best Checkpoint"}},"type":"object","required":["verdict","best_checkpoint"],"title":"RlRunReportSummary"},"RlRunTokens":{"properties":{"reserved":{"type":"integer","title":"Reserved","description":"Taken at create: the run's price (its quote, or `budget.max_tokens`)"},"charged":{"type":"integer","title":"Charged","description":"`basis` fixed: the whole price when the run succeeds, whatever GPU it trained on and however long; the minutes it trained at your rate, never more, when you cancel it after it saved a policy. `minutes` (runs created before 2026-11-26): training minutes at the tier's rate, never more than reserved. 0 for a failed run or a cancel with nothing to package"},"refunded":{"type":"integer","title":"Refunded"},"basis":{"type":"string","enum":["fixed","minutes"],"title":"Basis","description":"How the run is charged: `fixed`, its quote (every run created since 2026-11-26)","default":"minutes"}},"type":"object","required":["reserved","charged","refunded"],"title":"RlRunTokens"},"RlScene":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RlItem"},"type":"array","maxItems":8,"title":"Items"}},"additionalProperties":false,"type":"object","title":"RlScene"},"RlTask":{"properties":{"objective":{"type":"string","enum":["velocity","imitation","balance"],"title":"Objective","description":"`velocity`: walk, turn or stand on command. `imitation`: follow a reference motion (`motion`). `balance`: stand on a scene item (`item`)"},"commands":{"anyOf":[{"$ref":"#/components/schemas/RlCommands"},{"type":"null"}],"description":"velocity only"},"motion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Motion","description":"imitation only: the motion id of the clip to imitate"},"item":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Item","description":"balance only: the index of the scene item to stand on"},"scene":{"$ref":"#/components/schemas/RlScene"},"robot":{"anyOf":[{"$ref":"#/components/schemas/RlRobotVariant"},{"type":"null"}],"description":"A variant of the catalog robot: parts fixed to it"},"params":{"additionalProperties":{"type":"number"},"type":"object","title":"Params","description":"Reward and randomization parameters to override; GET /v1/rl_runs/catalog lists every one with its default and bounds"}},"additionalProperties":false,"type":"object","required":["objective"],"title":"RlTask","description":"What to learn."},"RlTimeMinutes":{"properties":{"queue":{"$ref":"#/components/schemas/RlPercentiles","description":"Waiting for a machine, from the runs on this tier now"},"train":{"$ref":"#/components/schemas/RlPercentiles","description":"Training, from this robot's recent runs (warm-up, params and num_envs included)"},"package":{"$ref":"#/components/schemas/RlPercentiles","description":"From a machine to a ready policy, less training: compiling, saving and packaging"},"ready":{"$ref":"#/components/schemas/RlPercentiles","description":"Create to a ready policy: the sum"}},"type":"object","required":["queue","train","package","ready"],"title":"RlTimeMinutes"},"RlValidation":{"properties":{"object":{"type":"string","enum":["rl_validation"],"const":"rl_validation","title":"Object","default":"rl_validation"},"ok":{"type":"boolean","title":"Ok","description":"False when a warning is an error"},"observation_size":{"type":"integer","title":"Observation Size"},"action_size":{"type":"integer","title":"Action Size"},"control_hz":{"type":"number","title":"Control Hz"},"rollouts":{"items":{"$ref":"#/components/schemas/RlRollout"},"type":"array","title":"Rollouts"},"warnings":{"items":{"$ref":"#/components/schemas/RlWarning"},"type":"array","title":"Warnings"},"resolved_params":{"additionalProperties":{"type":"number"},"type":"object","title":"Resolved Params","description":"Every parameter as the run would train with it"},"estimate":{"$ref":"#/components/schemas/RlEstimate"}},"type":"object","required":["ok","observation_size","action_size","control_hz","rollouts","warnings","resolved_params","estimate"],"title":"RlValidation","examples":[{"action_size":14,"control_hz":50.0,"estimate":{"basis":"fixed","capped":false,"minutes_per_run":11.8,"object":"rl_estimate","price":{"tokens":400,"usd":"0.40"},"price_per_run":{"tokens":400,"usd":"0.40"},"runs":1,"startup_minutes":5,"time_minutes":{"package":{"p50":5.0,"p90":30.0},"queue":{"p50":5.0,"p90":45.0},"ready":{"p50":21.8,"p90":94.0},"train":{"p50":11.8,"p90":19.0}},"tokens":400,"tokens_per_run":400},"object":"rl_validation","observation_size":57,"ok":true,"resolved_params":{"action_rate_final":1.0,"air_time":3.0,"clearance":1.0,"head_pose":0.0,"pose":1.0,"sigma_lin":0.1,"track_lin":2.0,"track_yaw":2.0},"rollouts":[{"falls_per_min":0.0,"nonfinite":0,"policy":"zero_action","reward_per_step":5.7444,"terms":{"clearance":0.0003,"feet":-0.0006,"head":0.0,"pose":0.9923,"regularizers":-0.0005,"slip":-0.0,"track":2.7529,"upright":2.0}},{"falls_per_min":33.75,"nonfinite":0,"policy":"random","reward_per_step":3.3678,"terms":{"clearance":0.143,"feet":-0.0066,"head":0.0,"pose":0.8588,"regularizers":-1.0664,"slip":-0.0024,"track":1.6334,"upright":1.808}},{"falls_per_min":0.0,"nonfinite":0,"policy":"catalog:4d574ce4c547","reward_per_step":6.9638,"terms":{"clearance":0.3969,"feet":0.0343,"head":0.0,"pose":0.8585,"regularizers":-0.0768,"slip":-0.0034,"track":3.7559,"upright":1.9984}}],"warnings":[]}]},"RlVideoCommand":{"properties":{"vx":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vx"},"vy":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vy"},"yaw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Yaw"}},"additionalProperties":false,"type":"object","title":"RlVideoCommand","description":"The command a clip holds. An omitted one is held at 0."},"RlVideoRequest":{"properties":{"command":{"$ref":"#/components/schemas/RlVideoCommand","description":"{vx, vy, yaw} to hold for the clip"},"seconds":{"type":"number","maximum":20.0,"minimum":1.0,"title":"Seconds","default":10.0}},"additionalProperties":false,"type":"object","required":["command"],"title":"RlVideoRequest"},"RlWarning":{"properties":{"code":{"type":"string","title":"Code","description":"`idle_policy_scores_high`, `falls_at_rest`, `penalties_dominate`, `nonfinite_reward`"},"severity":{"type":"string","enum":["warning","error"],"title":"Severity"},"message":{"type":"string","title":"Message"},"patch":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Patch","description":"A change to the create body that fixes it"}},"type":"object","required":["code","severity","message"],"title":"RlWarning"},"RobotCatalogEntry":{"properties":{"id":{"type":"string","title":"Id"},"display_name":{"type":"string","title":"Display Name"},"morphology":{"type":"string","title":"Morphology"}},"type":"object","required":["id","display_name","morphology"],"title":"RobotCatalogEntry"},"RobotConnectionRequest":{"properties":{"robot_id":{"type":"string","title":"Robot Id"},"protocol":{"type":"string","title":"Protocol"},"config":{"type":"object","title":"Config"}},"type":"object","required":["robot_id","protocol","config"],"title":"RobotConnectionRequest","description":"Request to connect to a robot."},"RobotConnectionResponse":{"properties":{"connection_id":{"type":"string","title":"Connection Id"},"robot_id":{"type":"string","title":"Robot Id"},"protocol":{"type":"string","title":"Protocol"},"status":{"type":"string","title":"Status"},"capabilities":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Capabilities"}},"type":"object","required":["connection_id","robot_id","protocol","status"],"title":"RobotConnectionResponse","description":"Response from connection attempt."},"RobotInfo":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"protocol":{"type":"string","title":"Protocol"},"status":{"type":"string","title":"Status"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id"},"capabilities":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Capabilities"}},"type":"object","required":["id","name","protocol","status"],"title":"RobotInfo","description":"Robot information for listing."},"RobotModel":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"dof":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dof"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","default":{}},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedat"}},"type":"object","required":["id","name","type"],"title":"RobotModel","description":"Robot model schema."},"RunGroupListOut":{"properties":{"groups":{"items":{"$ref":"#/components/schemas/RunGroupSummary"},"type":"array","title":"Groups"}},"type":"object","title":"RunGroupListOut"},"RunGroupOut":{"properties":{"group_id":{"type":"string","title":"Group Id"},"runs":{"items":{"$ref":"#/components/schemas/RunOut"},"type":"array","title":"Runs"}},"type":"object","required":["group_id"],"title":"RunGroupOut"},"RunGroupSummary":{"properties":{"group_id":{"type":"string","title":"Group Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"dataset_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Uri"},"hardware_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Tier"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"status":{"type":"string","title":"Status"},"n_runs":{"type":"integer","title":"N Runs","default":0},"n_completed":{"type":"integer","title":"N Completed","default":0},"progress":{"type":"number","title":"Progress","default":0.0}},"type":"object","required":["group_id","status"],"title":"RunGroupSummary","description":"One row in the /training-run table — a single launch (1+ parallel models)."},"RunOut":{"properties":{"job_id":{"type":"string","title":"Job Id"},"policy_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Type"},"robot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot"},"status":{"type":"string","title":"Status"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"progress":{"type":"number","title":"Progress","default":0.0},"step":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Step"},"max_steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Steps"},"loss":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Loss"},"hardware_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Tier"},"dataset_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Uri"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id"},"hf_push_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Push Status"},"run_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Group Id"},"checkpoints":{"items":{"$ref":"#/components/schemas/CheckpointOut"},"type":"array","title":"Checkpoints"},"history":{"items":{"$ref":"#/components/schemas/LossPoint"},"type":"array","title":"History"},"eval":{"anyOf":[{"$ref":"#/components/schemas/EvalInfo"},{"type":"null"}]},"trained_policies":{"items":{"$ref":"#/components/schemas/TrainedPolicyOut"},"type":"array","title":"Trained Policies"}},"type":"object","required":["job_id","status"],"title":"RunOut"},"SceneChatRequest":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"SceneChatRequest"},"SceneChatResponse":{"properties":{"reply":{"type":"string","title":"Reply"},"scene":{"$ref":"#/components/schemas/SceneStatusOut"}},"type":"object","required":["reply","scene"],"title":"SceneChatResponse"},"SceneDescription":{"properties":{"version":{"type":"string","title":"Version","description":"Schema version","default":"1.0"},"physics":{"$ref":"#/components/schemas/PhysicsSettings"},"ground_plane":{"$ref":"#/components/schemas/GroundPlane"},"lights":{"items":{"$ref":"#/components/schemas/LightDescriptor"},"type":"array","title":"Lights"},"colliders":{"items":{"$ref":"#/components/schemas/ColliderDescriptor"},"type":"array","title":"Colliders"}},"type":"object","title":"SceneDescription","description":"Complete simulator-agnostic scene description.\n\nThis is the master document stored as /scene/scene.json in each project.\nIt drives physics simulation, lighting, and collider setup regardless\nof which simulator backend is used."},"SceneEnvironmentOut":{"properties":{"name":{"type":"string","title":"Name"},"source":{"type":"string","title":"Source","default":"world"},"world_id":{"type":"string","title":"World Id","default":""},"splat_file":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Splat File"},"collider_file":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Collider File"},"hq_mesh_file":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hq Mesh File"},"ground_plane_offset":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ground Plane Offset"},"metric_scale_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Metric Scale Factor"},"flip_y":{"type":"boolean","title":"Flip Y","default":true}},"type":"object","required":["name"],"title":"SceneEnvironmentOut"},"SceneObjectOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"glb_file":{"type":"string","title":"Glb File"},"physics":{"type":"string","title":"Physics"},"position":{"items":{"type":"number"},"type":"array","title":"Position"},"scale":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scale"},"real_size":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Real Size"},"material":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Material"},"physics_props":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Physics Props"},"transform":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Transform"}},"type":"object","required":["id","name","glb_file","physics","position"],"title":"SceneObjectOut"},"SceneObjectOverrideRequest":{"properties":{"material":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Material"},"physics_props":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Physics Props"},"transform":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Transform"}},"type":"object","title":"SceneObjectOverrideRequest"},"SceneOverride":{"properties":{"robots":{"items":{"type":"string"},"type":"array","title":"Robots","default":[]},"environments":{"items":{"type":"string"},"type":"array","title":"Environments","default":[]},"tasks":{"items":{"type":"string"},"type":"array","title":"Tasks","default":[]},"primaryTask":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primarytask"}},"type":"object","title":"SceneOverride","description":"Live IDE scene snapshot.\n\nWhen provided, overrides the persisted ``project.assets.scene`` for\nthis training run. Lets the IDE train on what the user currently sees\ninstead of whatever the last project sync persisted."},"SceneStatusOut":{"properties":{"scene_id":{"type":"string","title":"Scene Id"},"status":{"type":"string","title":"Status"},"progress":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Progress"},"step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warning"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"environment":{"anyOf":[{"$ref":"#/components/schemas/SceneEnvironmentOut"},{"type":"null"}]},"objects":{"items":{"$ref":"#/components/schemas/SceneObjectOut"},"type":"array","title":"Objects","default":[]},"eta_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Eta Seconds"},"splat_quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Splat Quality"},"can_refine":{"type":"boolean","title":"Can Refine","default":false}},"type":"object","required":["scene_id","status"],"title":"SceneStatusOut"},"SceneSummaryOut":{"properties":{"scene_id":{"type":"string","title":"Scene Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"status":{"type":"string","title":"Status"},"object_count":{"type":"integer","title":"Object Count","default":0},"has_environment":{"type":"boolean","title":"Has Environment","default":false},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"progress":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Progress"},"step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step"},"eta_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Eta Seconds"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"splat_quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Splat Quality"},"can_refine":{"type":"boolean","title":"Can Refine","default":false}},"type":"object","required":["scene_id","status"],"title":"SceneSummaryOut"},"SerialPortInfo":{"properties":{"device":{"type":"string","title":"Device"},"description":{"type":"string","title":"Description"},"manufacturer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manufacturer"},"vid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vid"},"pid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pid"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number"}},"type":"object","required":["device","description"],"title":"SerialPortInfo","description":"Information about a serial port."},"SessionCaller":{"properties":{"object":{"type":"string","enum":["session"],"const":"session","title":"Object","default":"session"},"auth_type":{"type":"string","enum":["session"],"const":"session","title":"Auth Type","default":"session"},"user":{"$ref":"#/components/schemas/CallerUser"}},"type":"object","required":["user"],"title":"SessionCaller","description":"The caller is signed in (the Kite dashboard, or an MCP connector's OAuth token), with full access."},"SessionResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"state":{"type":"string","title":"State"},"sim_time":{"type":"number","title":"Sim Time"},"step_count":{"type":"integer","title":"Step Count"}},"type":"object","required":["session_id","state","sim_time","step_count"],"title":"SessionResponse"},"SimEvalCreate":{"properties":{"scene_xml":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene Xml"},"scene_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene Ref"},"task_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Task Config"},"task":{"anyOf":[{"type":"string"},{"type":"object"},{"type":"null"}],"title":"Task"},"inventory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inventory Id"},"placed_objects":{"items":{"type":"object"},"type":"array","title":"Placed Objects","default":[]},"environment":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Environment"},"world_floor_offset":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"World Floor Offset"},"n_episodes":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"N Episodes","default":100},"policy_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Ref"},"object_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Hint"},"max_steps":{"type":"integer","maximum":20000.0,"minimum":1.0,"title":"Max Steps","default":300},"control_every":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Control Every","default":0},"control_hz":{"anyOf":[{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Control Hz"},"dr":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Dr"},"batch_cap":{"anyOf":[{"type":"integer","maximum":8192.0,"minimum":1.0},{"type":"null"}],"title":"Batch Cap"},"policy_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Label"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},"type":"object","title":"SimEvalCreate"},"StartAugmentRequest":{"properties":{"hfUrl":{"type":"string","maxLength":2000,"minLength":1,"title":"Hfurl","description":"HF dataset URL or repo id, e.g. lerobot/pusht"},"instructions":{"type":"string","maxLength":2000,"minLength":1,"title":"Instructions","description":"Free-form augmentation request"},"count":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Count","description":"How many new augmented videos to generate (effective cap = AUGMENT_MAX_EPISODES)","default":3},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider","description":"Override provider: cosmos_transfer (default) | mock"}},"type":"object","required":["hfUrl","instructions"],"title":"StartAugmentRequest","description":"Begin an augmentation session from a HuggingFace LeRobot dataset."},"StartCalibrationRequest":{"properties":{"port":{"type":"string","minLength":1,"title":"Port"},"kind":{"type":"string","pattern":"^(leader|follower)$","title":"Kind"},"robot_id":{"type":"string","minLength":1,"title":"Robot Id"}},"type":"object","required":["port","kind","robot_id"],"title":"StartCalibrationRequest"},"StartCaptureRequest":{"properties":{"pairs":{"items":{"$ref":"#/components/schemas/PairSpec"},"type":"array","minItems":1,"title":"Pairs"},"fps":{"type":"integer","maximum":60.0,"minimum":1.0,"title":"Fps","default":30},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task","description":"Default language goal applied to every episode in this session"},"mode":{"type":"string","pattern":"^(native|browser_driven)$","title":"Mode","description":"native = backend opens USB+cameras and runs the teleop loop (works only when backend is on the same machine as the robot). browser_driven = the browser owns the bus + cameras and pushes frames over the ingest WebSocket; backend just records. Used by the WebSerial path so cloud-hosted Kite works without a local agent.","default":"native"}},"type":"object","required":["pairs"],"title":"StartCaptureRequest"},"StartDeploymentRequest":{"properties":{"port":{"type":"string","minLength":1,"title":"Port"},"cameras":{"items":{"$ref":"#/components/schemas/CameraSelection"},"type":"array","title":"Cameras","description":"Optional cameras to attach. Picked at start-time rather than stored on the deployment row so the user can swap rigs between sessions without editing the saved config."},"mode":{"anyOf":[{"type":"string","pattern":"^(native|browser_driven)$"},{"type":"null"}],"title":"Mode","description":"native (default) = backend opens the bus + cameras. browser_driven = browser owns the bus + cameras and pushes observations to /deploy/ingest/ws. Used when `port` is a WebSerial identifier (`usb:<vid>:<pid>#<idx>`).","default":"native"}},"type":"object","required":["port"],"title":"StartDeploymentRequest"},"StartExampleRequest":{"properties":{"exampleId":{"type":"string","maxLength":100,"minLength":1,"title":"Exampleid"},"recipe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipe","description":"Override the pairing's own recipe, so one dataset can be compared across all three"},"offline":{"type":"boolean","title":"Offline","description":"Use the example's synthetic fixture instead of pulling from HuggingFace","default":false}},"type":"object","required":["exampleId"],"title":"StartExampleRequest","description":"Run one of the curated dataset pairings, under any recipe."},"StartForgeRequest":{"properties":{"hfUrl":{"type":"string","maxLength":2000,"minLength":1,"title":"Hfurl","description":"HF dataset URL or repo id (e.g. lerobot/pusht), or 'fixture:<name>' to run offline against synthetic evidence"},"recipe":{"type":"string","title":"Recipe","description":"lucida | cousin | author","default":"lucida"},"episodes":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Episodes","description":"Source episodes to read evidence from","default":2},"variants":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Variants","description":"Randomized variants the discrimination axis sweeps","default":6}},"type":"object","required":["hfUrl"],"title":"StartForgeRequest","description":"Recreate a simulation environment from a HuggingFace dataset's episodes."},"StartMotorSetupRequest":{"properties":{"port":{"type":"string","minLength":1,"title":"Port"},"kind":{"type":"string","pattern":"^(leader|follower)$","title":"Kind"}},"type":"object","required":["port","kind"],"title":"StartMotorSetupRequest"},"StartRecording":{"properties":{"session_id":{"type":"string","title":"Session Id"},"cameras":{"items":{"type":"string"},"type":"array","title":"Cameras","default":[]},"fps":{"type":"integer","title":"Fps","default":30}},"type":"object","required":["session_id"],"title":"StartRecording"},"StartRequest":{"properties":{"external_pid":{"type":"string","maxLength":128,"minLength":1,"title":"External Pid","description":"anonymous participant id entered at session start"}},"type":"object","required":["external_pid"],"title":"StartRequest"},"Status":{"properties":{"object":{"type":"string","enum":["status"],"const":"status","title":"Object","default":"status"},"status":{"type":"string","enum":["operational","degraded","outage"],"title":"Status","description":"The worst of the components' statuses and the open incident's impact"},"components":{"items":{"$ref":"#/components/schemas/StatusComponent"},"type":"array","title":"Components"},"incident":{"anyOf":[{"$ref":"#/components/schemas/StatusIncident"},{"type":"null"}],"description":"The open incident; null when there is none"},"recent_incidents":{"items":{"$ref":"#/components/schemas/StatusIncident"},"type":"array","title":"Recent Incidents","description":"Incidents resolved in the last 90 days, newest first"},"updated_at":{"type":"string","title":"Updated At","description":"When the status was measured: at most 30 seconds ago"},"page_url":{"type":"string","title":"Page Url","description":"The status page, for people"}},"type":"object","required":["status","components","recent_incidents","updated_at","page_url"],"title":"Status","description":"Whether Kite is up.","examples":[{"components":[{"id":"api","name":"API","status":"operational"},{"id":"database","name":"Database","status":"operational"},{"id":"webhooks","name":"Webhook delivery","status":"operational"},{"id":"augmentations","name":"Augmentations","status":"operational"},{"id":"training_runs","name":"Training runs","status":"operational"},{"id":"rl_runs","name":"RL runs","status":"operational"},{"id":"evaluations","name":"Evaluations","status":"operational"},{"id":"twins","name":"Twins","status":"operational"}],"incident":{"id":"inc_01K6BQ3X9T2V8M4N6P0R5S7W1Y","impact":"degraded","message":"New augmentations wait up to 20 minutes to start. Runs in progress are not affected. Next update by 15:00 UTC.","started_at":"2026-09-29T13:40:00Z","status":"identified","title":"Augmentations are starting slowly","updated_at":"2026-09-29T14:05:12Z"},"object":"status","page_url":"https://kiteml.com/status","recent_incidents":[],"status":"degraded","updated_at":"2026-09-29T14:06:03Z"}]},"StatusComponent":{"properties":{"id":{"type":"string","title":"Id","description":"`api`, `database`, `webhooks`, `augmentations`, `training_runs`, `rl_runs`, `evaluations` or `twins`; more may be added"},"name":{"type":"string","title":"Name","description":"The component's display name"},"status":{"type":"string","enum":["operational","degraded","outage"],"title":"Status"}},"type":"object","required":["id","name","status"],"title":"StatusComponent"},"StatusIncident":{"properties":{"id":{"type":"string","title":"Id","description":"`inc_` + a time-ordered ULID"},"title":{"type":"string","title":"Title"},"message":{"type":"string","title":"Message","description":"The latest update"},"impact":{"type":"string","enum":["degraded","outage"],"title":"Impact"},"status":{"type":"string","enum":["investigating","identified","monitoring","resolved"],"title":"Status"},"started_at":{"type":"string","title":"Started At"},"updated_at":{"type":"string","title":"Updated At","description":"When the latest update was posted"},"resolved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolved At","description":"Null while the incident is open"}},"type":"object","required":["id","title","message","impact","status","started_at","updated_at"],"title":"StatusIncident","description":"An incident Kite posted: what's affected, and what to do."},"SubscriptionListPaginatedResponse":{"properties":{"subscriptions":{"items":{"$ref":"#/components/schemas/SubscriptionListResponse"},"type":"array","title":"Subscriptions"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["subscriptions","total","page","page_size","total_pages"],"title":"SubscriptionListPaginatedResponse","description":"Paginated subscription list response."},"SubscriptionListResponse":{"properties":{"id":{"type":"string","title":"Id"},"subscriber_type":{"type":"string","title":"Subscriber Type"},"subscriber_id":{"type":"string","title":"Subscriber Id"},"plan_id":{"type":"string","title":"Plan Id"},"plan_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Name"},"status":{"type":"string","title":"Status"},"billing_period":{"type":"string","title":"Billing Period"},"current_period_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period Start"},"current_period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period End"},"canceled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canceled At"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","subscriber_type","subscriber_id","plan_id","status","billing_period"],"title":"SubscriptionListResponse","description":"Subscription list item response schema."},"SubscriptionResponse":{"properties":{"id":{"type":"string","title":"Id"},"plan":{"$ref":"#/components/schemas/PlanResponse"},"status":{"type":"string","title":"Status"},"billing_period":{"type":"string","title":"Billing Period"},"current_period_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period Start"},"current_period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period End"},"canceled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canceled At"}},"type":"object","required":["id","plan","status","billing_period"],"title":"SubscriptionResponse"},"SuiteCreate":{"properties":{"policy":{"$ref":"#/components/schemas/PolicySpec"},"scenario_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Scenario Ids"},"episodes_per_scenario":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Episodes Per Scenario","default":5},"seed":{"type":"integer","title":"Seed","default":0},"axes":{"type":"object","title":"Axes"},"envs_per_chunk":{"type":"integer","maximum":16.0,"minimum":1.0,"title":"Envs Per Chunk","default":8},"max_steps":{"anyOf":[{"type":"integer","maximum":20000.0,"minimum":50.0},{"type":"null"}],"title":"Max Steps"},"record_viewport":{"type":"boolean","title":"Record Viewport","default":true},"record_cameras":{"type":"boolean","title":"Record Cameras","default":true},"policy_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Label"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},"type":"object","required":["policy","scenario_ids"],"title":"SuiteCreate"},"SurveyRequest":{"properties":{"instrument":{"type":"string","title":"Instrument"},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Condition"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase"},"responses":{"type":"object","title":"Responses"}},"type":"object","required":["instrument"],"title":"SurveyRequest"},"SwitchSubscriptionRequest":{"properties":{"billing_period":{"type":"string","pattern":"^(monthly|yearly)$","title":"Billing Period"}},"type":"object","required":["billing_period"],"title":"SwitchSubscriptionRequest"},"SwitchSubscriptionResponse":{"properties":{"billing_period":{"type":"string","title":"Billing Period"},"current_period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period End"}},"type":"object","required":["billing_period"],"title":"SwitchSubscriptionResponse"},"TaskModel":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","default":{}},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedat"}},"type":"object","required":["id","name","category"],"title":"TaskModel","description":"Task model schema."},"TimeMinutes":{"properties":{"queue":{"$ref":"#/components/schemas/Minutes","description":"From create until the GPU job is submitted"},"train":{"$ref":"#/components/schemas/Minutes","description":"From then until the run is `succeeded`: start-up (a GPU, the image, the weights, the dataset), the steps, the last upload"},"ready":{"$ref":"#/components/schemas/Minutes","description":"`queue` + `train`: from create to a ready policy"}},"type":"object","required":["queue","train","ready"],"title":"TimeMinutes"},"TokenBalanceResponse":{"properties":{"balance":{"type":"integer","title":"Balance"},"lifetime_purchased":{"type":"integer","title":"Lifetime Purchased"},"lifetime_consumed":{"type":"integer","title":"Lifetime Consumed"}},"type":"object","required":["balance","lifetime_purchased","lifetime_consumed"],"title":"TokenBalanceResponse"},"TokenTransactionListResponse":{"properties":{"transactions":{"items":{"$ref":"#/components/schemas/TokenTransactionResponse"},"type":"array","title":"Transactions"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["transactions","total"],"title":"TokenTransactionListResponse"},"TokenTransactionResponse":{"properties":{"id":{"type":"string","title":"Id"},"transaction_type":{"type":"string","title":"Transaction Type"},"amount":{"type":"integer","title":"Amount"},"balance_before":{"type":"integer","title":"Balance Before"},"balance_after":{"type":"integer","title":"Balance After"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"resource":{"anyOf":[{"$ref":"#/components/schemas/TransactionResource"},{"type":"null"}]}},"type":"object","required":["id","transaction_type","amount","balance_before","balance_after"],"title":"TokenTransactionResponse"},"TopUpCheckoutResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url"},"session_id":{"type":"string","title":"Session Id"},"tokens_to_receive":{"type":"integer","title":"Tokens To Receive"}},"type":"object","required":["checkout_url","session_id","tokens_to_receive"],"title":"TopUpCheckoutResponse"},"TopUpRequest":{"properties":{"amount_cents":{"type":"integer","maximum":100000.0,"minimum":500.0,"title":"Amount Cents"}},"type":"object","required":["amount_cents"],"title":"TopUpRequest"},"TrainedPolicyListOut":{"properties":{"policies":{"items":{"$ref":"#/components/schemas/TrainedPolicyOut"},"type":"array","title":"Policies"}},"type":"object","title":"TrainedPolicyListOut"},"TrainedPolicyOut":{"properties":{"id":{"type":"string","title":"Id"},"job_id":{"type":"string","title":"Job Id"},"run_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Group Id"},"policy_type":{"type":"string","title":"Policy Type"},"robot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot"},"dataset_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Uri"},"step":{"type":"integer","title":"Step"},"artifact_uri":{"type":"string","title":"Artifact Uri"},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id"},"metrics":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metrics"},"final_loss":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Final Loss"},"is_latest":{"type":"boolean","title":"Is Latest","default":false},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","job_id","policy_type","step","artifact_uri"],"title":"TrainedPolicyOut","description":"A reusable trained checkpoint (row of the trained_policies table)."},"TrainingArtifact":{"properties":{"type":{"type":"string","title":"Type","description":"Artifact type: model, metrics, or video"},"filename":{"type":"string","title":"Filename","description":"Filename of the artifact"},"size_bytes":{"type":"integer","minimum":0.0,"title":"Size Bytes","description":"File size in bytes"}},"type":"object","required":["type","filename","size_bytes"],"title":"TrainingArtifact","description":"A single training artifact available for download."},"TrainingArtifactList":{"properties":{"job_id":{"type":"string","title":"Job Id","description":"Training job ID"},"artifacts":{"items":{"$ref":"#/components/schemas/TrainingArtifact"},"type":"array","title":"Artifacts","description":"Available artifacts"}},"type":"object","required":["job_id"],"title":"TrainingArtifactList","description":"List of training artifacts for a job."},"TrainingCheckpoint-Input":{"properties":{"object":{"type":"string","enum":["training_checkpoint"],"const":"training_checkpoint","title":"Object"},"step":{"type":"integer","title":"Step"},"download_url":{"type":"string","title":"Download Url","description":"This API's path to it as a ZIP of `pretrained_model/` (send your Authorization header)"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"When it was saved; null for older runs"}},"type":"object","required":["object","step","download_url","created_at"],"title":"TrainingCheckpoint","description":"A checkpoint a training run saved.","examples":[{"created_at":"2026-09-27T15:38:40.120394Z","download_url":"/v1/training_runs/trn_01K65Z3N8Q4W2H7R9T6Y1B3C5D/checkpoints/30000/download","object":"training_checkpoint","step":30000}]},"TrainingCheckpoint-Output":{"properties":{"step":{"type":"integer","title":"Step","description":"Training step at which this checkpoint was saved"},"artifact_uri":{"type":"string","title":"Artifact Uri","description":"Full GCS URI to the checkpoint directory (gs://bucket/path/)"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"ISO 8601 timestamp from GCS blob metadata"}},"type":"object","required":["step","artifact_uri"],"title":"TrainingCheckpoint","description":"A single saved checkpoint for a training job."},"TrainingCheckpointList-Input":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object"},"data":{"items":{"$ref":"#/components/schemas/TrainingCheckpoint-Input"},"type":"array","title":"Data","description":"Oldest first"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"The last `step` on this page, as a string: pass it as `after`"}},"type":"object","required":["object","data","has_more","next_cursor"],"title":"TrainingCheckpointList"},"TrainingCheckpointList-Output":{"properties":{"job_id":{"type":"string","title":"Job Id","description":"Training job ID"},"checkpoints":{"items":{"$ref":"#/components/schemas/TrainingCheckpoint-Output"},"type":"array","title":"Checkpoints","description":"Checkpoints ordered by step ascending"}},"type":"object","required":["job_id"],"title":"TrainingCheckpointList","description":"List of saved checkpoints for a training job."},"TrainingConfig":{"properties":{"training_type":{"type":"string","title":"Training Type","description":"Training type: 'rl' for reinforcement learning, 'vla' for VLA fine-tuning","default":"rl"},"vla_config":{"anyOf":[{"$ref":"#/components/schemas/VLATrainingConfig"},{"type":"null"}],"description":"VLA fine-tuning configuration (required when training_type='vla')"},"simulator_type":{"type":"string","title":"Simulator Type","description":"Simulator type (mujoco, pybullet)","default":"mujoco"},"simulator_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Simulator Config","description":"Simulator-specific configuration"},"algorithm":{"type":"string","title":"Algorithm","description":"Training algorithm (PPO, SAC, TD3, etc.)","default":"PPO"},"total_timesteps":{"type":"integer","minimum":1000.0,"title":"Total Timesteps","description":"Total number of timesteps to train","default":1000000},"learning_rate":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Learning Rate","description":"Learning rate (if None, uses algorithm default)"},"dependencies":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Dependencies","description":"Dependency specification for container (e.g., {'mujoco': True, 'stable_baselines3': True})"},"n_steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Steps","description":"Number of steps per update (algorithm-specific)"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size","description":"Batch size (algorithm-specific)"},"hardware_tier":{"type":"string","title":"Hardware Tier","description":"Hardware tier ID (e.g., gcp_gpu_t4, gcp_gpu_a100)","default":"gcp_cpu_basic"},"policy_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Id","description":"Explicit catalog policy id (smolvla, pi0, pi05, act, …). Wins over a stored /config/training.yaml when both disagree — the user's current dropdown choice is the source of truth for THIS run."},"motion_references":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Motion References","description":"List of motion IDs to use as demonstration references for reward shaping"},"motion_reward_weight":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Motion Reward Weight","description":"Weight of motion tracking reward relative to task reward (0.0-1.0)","default":0.5},"motion_warm_start":{"type":"boolean","title":"Motion Warm Start","description":"Initialize RL episodes from reference motion poses","default":true},"motion_curriculum":{"type":"boolean","title":"Motion Curriculum","description":"Auto-curriculum from multi-motion sequences (progressive difficulty)","default":false}},"type":"object","title":"TrainingConfig","description":"Training configuration schema."},"TrainingJobCreate":{"properties":{"project_id":{"type":"string","title":"Project Id","description":"Project ID to train"},"config":{"$ref":"#/components/schemas/TrainingConfig","description":"Training configuration"},"scene":{"anyOf":[{"$ref":"#/components/schemas/SceneOverride"},{"type":"null"}],"description":"Optional override for the active scene assets. When omitted, the backend uses project.assets.scene as persisted."}},"type":"object","required":["project_id","config"],"title":"TrainingJobCreate","description":"Request to create a training job."},"TrainingJobList":{"properties":{"jobs":{"items":{"$ref":"#/components/schemas/TrainingJobStatus"},"type":"array","title":"Jobs","description":"List of training jobs"},"total":{"type":"integer","title":"Total","description":"Total number of jobs"}},"type":"object","required":["jobs","total"],"title":"TrainingJobList","description":"List of training jobs."},"TrainingJobListPaginatedResponse":{"properties":{"training_jobs":{"items":{"$ref":"#/components/schemas/TrainingJobListResponse"},"type":"array","title":"Training Jobs"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["training_jobs","total","page","page_size","total_pages"],"title":"TrainingJobListPaginatedResponse","description":"Paginated training job list response."},"TrainingJobListResponse":{"properties":{"id":{"type":"string","title":"Id"},"job_id":{"type":"string","title":"Job Id"},"user_id":{"type":"string","title":"User Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"progress":{"type":"number","title":"Progress"},"container_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Container Id"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","job_id","user_id","project_id","status","progress"],"title":"TrainingJobListResponse","description":"Training job list item response schema."},"TrainingJobLogs":{"properties":{"job_id":{"type":"string","title":"Job Id","description":"Training job ID"},"logs":{"type":"string","title":"Logs","description":"Container logs"},"tail":{"type":"integer","title":"Tail","description":"Number of log lines retrieved","default":100}},"type":"object","required":["job_id","logs"],"title":"TrainingJobLogs","description":"Training job logs response."},"TrainingJobStatus":{"properties":{"job_id":{"type":"string","title":"Job Id","description":"Unique training job ID"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"Project ID being trained (NULL for standalone LeRobot runs)"},"status":{"type":"string","title":"Status","description":"Job status: pending, running, completed, failed, cancelled"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress","description":"Training progress (0.0 to 1.0)","default":0.0},"container_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Container Id","description":"Docker container ID"},"created_at":{"type":"string","title":"Created At","description":"Job creation timestamp (ISO format)"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At","description":"Job start timestamp (ISO format)"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At","description":"Job completion timestamp (ISO format)"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if job failed"},"metrics":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metrics","description":"Training metrics (reward, loss, etc.)"},"hardware_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hardware Tier","description":"Hardware tier ID used for this job (e.g., gcp_gpu_t4)"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds","description":"Total wall-clock duration in seconds (set on completion)"},"estimated_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Cost","description":"Estimated cost in USD based on hardware tier and duration"},"artifact_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Uri","description":"GCS URI of the trained model checkpoint (set for completed jobs)"},"config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Config","description":"Training configuration (algorithm, policy_id, etc.)"}},"type":"object","required":["job_id","status","created_at"],"title":"TrainingJobStatus","description":"Training job status response."},"TrainingPolicy":{"properties":{"object":{"type":"string","enum":["training_policy"],"const":"training_policy","title":"Object"},"id":{"type":"string","title":"Id","description":"The LeRobot policy type, as `policies` takes it in POST /v1/training_runs"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"available":{"type":"boolean","title":"Available","description":"Trainable now"},"experimental":{"type":"boolean","title":"Experimental"},"min_hardware_tier":{"type":"string","title":"Min Hardware Tier","description":"The smallest tier it trains on (see GET /v1/hardware_tiers)"},"min_vram_gb":{"type":"integer","title":"Min Vram Gb"},"default_steps":{"type":"integer","title":"Default Steps","description":"Used when a create sets no `config.steps`"},"default_batch_size":{"type":"integer","title":"Default Batch Size","description":"Used when a create sets no `config.batch_size`"},"compatible_robot_types":{"items":{"type":"string"},"type":"array","title":"Compatible Robot Types","description":"Robot morphologies, e.g. `arm`, `humanoid`"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["object","id","name","description","available","experimental","min_hardware_tier","min_vram_gb","default_steps","default_batch_size","compatible_robot_types","note"],"title":"TrainingPolicy","description":"A policy type you can train.","examples":[{"available":true,"compatible_robot_types":["arm","humanoid"],"default_batch_size":2,"default_steps":20000,"description":"Physical Intelligence ~4B flow-matching VLA (PaliGemma backbone + action expert).","experimental":false,"id":"pi0","min_hardware_tier":"gcp_gpu_a100","min_vram_gb":40,"name":"pi0","object":"training_policy"}]},"TrainingPolicyList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object"},"data":{"items":{"$ref":"#/components/schemas/TrainingPolicy"},"type":"array","title":"Data","description":"Established policies first, then experimental ones"},"has_more":{"type":"boolean","title":"Has More","description":"Always false: the catalog is one page"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Always null"}},"type":"object","required":["object","data","has_more","next_cursor"],"title":"TrainingPolicyList"},"TrainingRun":{"properties":{"id":{"type":"string","title":"Id","description":"`trn_` + a time-ordered ULID"},"object":{"type":"string","enum":["training_run"],"const":"training_run","title":"Object"},"status":{"type":"string","title":"Status","description":"`processing`, `succeeded`, `failed`, `canceled`; an open set"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase","description":"Finer than `status`, e.g. `provisioning`, `preparing`, `downloading_dataset`, `training`, `completed`, `failed`, `cancelled`. Only GET /v1/training_runs/{id} reads it: null in list, create and cancel responses"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message","description":"`phase` in words, e.g. `Provisioning GPU…`"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress"},"error":{"anyOf":[{"$ref":"#/components/schemas/TrainingRunError"},{"type":"null"}],"description":"Why, when `failed`"},"policy":{"type":"string","title":"Policy","description":"The LeRobot policy type (see GET /v1/training_policies)"},"robot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot","description":"The robot tag from create (a label only)"},"hardware_tier":{"type":"string","title":"Hardware Tier","description":"See GET /v1/hardware_tiers"},"group_id":{"type":"string","title":"Group Id","description":"Shared by the runs one create started, one per policy"},"dataset":{"$ref":"#/components/schemas/TrainingRunResolvedDataset"},"config":{"$ref":"#/components/schemas/TrainingRunResolvedConfig"},"cameras":{"$ref":"#/components/schemas/TrainingRunResolvedCameras"},"metrics":{"$ref":"#/components/schemas/TrainingRunMetrics","description":"Live from the trainer on GET /v1/training_runs/{id}; elsewhere, the last values stored"},"eta":{"$ref":"#/components/schemas/TrainingRunEta"},"eval":{"anyOf":[{"$ref":"#/components/schemas/TrainingRunEval"},{"type":"null"}],"description":"Once the trainer has reported on evaluation (a finished run has); null in list, create and cancel responses"},"output":{"$ref":"#/components/schemas/TrainingRunOutputSummary","description":"What the run has produced"},"tokens":{"$ref":"#/components/schemas/TrainingRunTokens"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","description":"Your labels, from create"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata","description":"Echoed from create"},"created_at":{"type":"string","title":"Created At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At","description":"When the GPU job was submitted"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At","description":"When it became `succeeded`, `failed` or `canceled`"}},"type":"object","required":["id","object","status","phase","status_message","progress","error","policy","robot","hardware_tier","group_id","dataset","config","cameras","metrics","eta","eval","output","tokens","metadata","webhook_metadata","created_at","started_at","completed_at"],"title":"TrainingRun","description":"One policy trained on one GPU.","examples":[{"cameras":{},"completed_at":"2026-09-27T15:41:52.664301Z","config":{"batch_size":8,"eval_enabled":false,"save_freq":1000,"steps":30000},"created_at":"2026-09-27T14:02:11.482913Z","dataset":{"uri":"lerobot/svla_so101_pickplace"},"eta":{"basis":"live","ready_at":"2026-09-27T15:41:52.664301Z","remaining_s":0},"eval":{},"group_id":"5f0c2e9a7b1d4c3e8f6a2b9d0c1e7f35","hardware_tier":"gcp_gpu_t4","id":"trn_01K65Z3N8Q4W2H7R9T6Y1B3C5D","metadata":{"end_user":"u_123"},"metrics":{"elapsed_s":5981,"loss":0.043,"max_steps":30000,"step":30000,"steps_per_second":5.31},"object":"training_run","output":{"checkpoint_count":30,"hf_push_status":"ok","hf_repo_id":"your-hf-user/act-pickplace","hf_url":"https://huggingface.co/your-hf-user/act-pickplace","latest_checkpoint":{"created_at":"2026-09-27T15:38:40.120394Z","download_url":"/v1/training_runs/trn_01K65Z3N8Q4W2H7R9T6Y1B3C5D/checkpoints/30000/download","object":"training_checkpoint","step":30000}},"phase":"completed","policy":"act","progress":1.0,"robot":"so101_follower","started_at":"2026-09-27T14:02:13.107554Z","status":"succeeded","status_message":"Completed","tokens":{"basis":"fixed","charged":1200,"refunded":0},"webhook_metadata":{"ref":"nightly-42"}}]},"TrainingRunCameras":{"properties":{"rename":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Rename","description":"Map dataset camera keys to policy image slots; omit to let Kite map them"}},"additionalProperties":false,"type":"object","title":"TrainingRunCameras"},"TrainingRunConfig":{"properties":{"steps":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Steps","description":"Override the policy's default"},"batch_size":{"anyOf":[{"type":"integer","maximum":1024.0,"minimum":1.0},{"type":"null"}],"title":"Batch Size","description":"Override the policy's default"},"save_freq":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Save Freq","description":"Save a checkpoint every N steps"},"eval_enabled":{"type":"boolean","title":"Eval Enabled","default":false}},"additionalProperties":false,"type":"object","title":"TrainingRunConfig"},"TrainingRunCostEstimate":{"properties":{"object":{"type":"string","enum":["training_run_estimate"],"const":"training_run_estimate","title":"Object"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"The quote (`trq_…`): pass it as `quote_id` to create, with this body, within 15 minutes, and each run is charged exactly its `price`. null without a `dataset`, with `hours`, or with a count of `policies`"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At","description":"When `id` stops being honoured"},"tokens":{"type":"integer","title":"Tokens","description":"`price.tokens`"},"tokens_per_run":{"type":"integer","title":"Tokens Per Run","description":"`tokens` / the number of runs, rounded up (each run's own is in `runs`). A run that fails, or whose GPU job never starts, is not charged. 0 on a CPU tier"},"tokens_held":{"type":"integer","title":"Tokens Held","description":"What creating these runs takes from your balance, and so what it must cover: their fixed prices. A run that fails, or whose GPU job never starts, gets its price back; a canceled one pays the minutes it trained, never more"},"price":{"$ref":"#/components/schemas/Price","description":"The runs' fixed prices together: each run's p50 train time at your rate (or `hours`)"},"price_p90":{"$ref":"#/components/schemas/Price","description":"The runs together at their p90 train times, for reference"},"time_minutes":{"$ref":"#/components/schemas/TimeMinutes","description":"Until every run is ready: runs train side by side, each on its own GPU"},"confidence":{"type":"string","enum":["high","low"],"title":"Confidence","description":"`high`: every run's policy, GPU and batch size have trained often enough for their measured times to be trusted. `low`: some run's are borrowed from similar runs, or from `hours`, and its p90 is wider"},"runs":{"items":{"$ref":"#/components/schemas/TrainingRunEstimateRun"},"type":"array","title":"Runs","description":"One per run, in the order of `policies`"},"assumptions":{"$ref":"#/components/schemas/TrainingRunEstimateAssumptions","description":"The request, with its defaults filled in"}},"type":"object","required":["object","id","expires_at","tokens","tokens_per_run","tokens_held","price","price_p90","time_minutes","confidence","runs","assumptions"],"title":"TrainingRunCostEstimate","description":"What training runs would cost, in tokens and dollars, and how long until their policies are ready.","examples":[{"assumptions":{"hardware_tier":"gcp_gpu_a100","policies":1},"confidence":"high","expires_at":"2026-11-26T19:15:00Z","id":"trq_1795720500_8700_5d1e0c3b9a7f42e18c6b2a0d9f4e7c31","object":"training_run_estimate","price":{"tokens":8700,"usd":"8.70"},"price_p90":{"tokens":9800,"usd":"9.80"},"runs":[{"batch_size":8,"confidence":"high","policy":"act","price":{"tokens":8700,"usd":"8.70"},"price_p90":{"tokens":9800,"usd":"9.80"},"steps":30000,"time_minutes":{"queue":{"p50":0.0,"p90":0.1},"ready":{"p50":86.2,"p90":98.0},"train":{"p50":86.1,"p90":97.9}},"tokens_held":8700}],"time_minutes":{"queue":{"p50":0.0,"p90":0.1},"ready":{"p50":86.2,"p90":98.0},"train":{"p50":86.1,"p90":97.9}},"tokens":8700,"tokens_held":8700,"tokens_per_run":8700}]},"TrainingRunCreate":{"properties":{"dataset":{"$ref":"#/components/schemas/TrainingRunDataset"},"policies":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1,"title":"Policies","description":"LeRobot policy types to train; one run per policy. See GET /v1/training_policies. Note: all runs count against your account's in-flight concurrency limit, so a batch larger than that limit is rejected upfront."},"hardware_tier":{"type":"string","maxLength":64,"title":"Hardware Tier","description":"See GET /v1/hardware_tiers","default":"gcp_gpu_t4"},"robot":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Robot","description":"LeRobot robot tag (label only)"},"config":{"$ref":"#/components/schemas/TrainingRunConfig"},"cameras":{"anyOf":[{"$ref":"#/components/schemas/TrainingRunCameras"},{"type":"null"}]},"output":{"$ref":"#/components/schemas/TrainingRunOutput"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","description":"Your labels (e.g. `{\"end_user\": \"u_123\"}`), echoed on the runs and their events; list one label's runs with `GET /v1/training_runs?metadata[end_user]=u_123`"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata","description":"Opaque metadata echoed on the resource and its webhook events"},"quote_id":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Quote Id","description":"The `id` of a quote from POST /v1/training_runs/estimate for this body, within 15 minutes: each run is then charged exactly its quoted price. Without one, create quotes the body itself"}},"additionalProperties":false,"type":"object","required":["dataset","policies"],"title":"TrainingRunCreate"},"TrainingRunDataset":{"properties":{"uri":{"type":"string","maxLength":500,"minLength":3,"title":"Uri","description":"LeRobot dataset: a HuggingFace repo id ('lerobot/pusht'), its huggingface.co/datasets/ URL, or an S3 link (s3://bucket/folder/ or its https://….amazonaws.com URL)"}},"additionalProperties":false,"type":"object","required":["uri"],"title":"TrainingRunDataset"},"TrainingRunError":{"properties":{"code":{"type":"string","title":"Code","description":"`training_failed`, `submission_failed`, `vertex_state_unobserved`, `service_unavailable`, `gpu_capacity_unavailable`. `submission_failed`: the GPU job never started, so nothing was charged"},"message":{"type":"string","title":"Message","description":"What went wrong, in at most 1,000 characters"}},"type":"object","required":["code","message"],"title":"TrainingRunError"},"TrainingRunEstimate":{"properties":{"dataset":{"anyOf":[{"$ref":"#/components/schemas/TrainingRunDataset"},{"type":"null"}],"description":"As at create; optional here, but a quote `id` needs it. A dataset Kite has trained on before narrows the estimate"},"policies":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1},{"type":"integer","maximum":8.0,"minimum":1.0}],"title":"Policies","description":"The policies to train, as at create (one run each); or, as before 2026-11-26, how many runs, which prices `hours` (default 1) and holds one GPU-hour each","default":1},"hardware_tier":{"type":"string","maxLength":64,"title":"Hardware Tier","description":"See GET /v1/hardware_tiers","default":"gcp_gpu_t4"},"robot":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Robot","description":"LeRobot robot tag (label only)"},"config":{"$ref":"#/components/schemas/TrainingRunConfig"},"cameras":{"anyOf":[{"$ref":"#/components/schemas/TrainingRunCameras"},{"type":"null"}]},"output":{"$ref":"#/components/schemas/TrainingRunOutput"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","description":"Your labels (e.g. `{\"end_user\": \"u_123\"}`), echoed on the runs and their events; list one label's runs with `GET /v1/training_runs?metadata[end_user]=u_123`"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata","description":"Opaque metadata echoed on the resource and its webhook events"},"hours":{"anyOf":[{"type":"number","maximum":72.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Hours","description":"Price each run at this many hours instead of its estimate, as a what-if: no quote `id`"}},"additionalProperties":false,"type":"object","title":"TrainingRunEstimate","description":"The body you would create with, and what it would cost and take."},"TrainingRunEstimateAssumptions":{"properties":{"hardware_tier":{"type":"string","title":"Hardware Tier"},"policies":{"type":"integer","title":"Policies","description":"How many runs"},"hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hours","description":"From the request; null when each run is priced at its estimate"}},"type":"object","required":["hardware_tier","policies","hours"],"title":"TrainingRunEstimateAssumptions"},"TrainingRunEstimateRun":{"properties":{"policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy","description":"null when `policies` was a count"},"steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Steps","description":"`config.steps`, else the policy's default"},"batch_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size","description":"`config.batch_size`, else the policy's default"},"price":{"$ref":"#/components/schemas/Price","description":"Its fixed price: the p50 train time at your rate (or `hours`)"},"price_p90":{"$ref":"#/components/schemas/Price","description":"The p90 train time at your rate, for reference: a fixed price doesn't change with how long the run takes"},"tokens_held":{"type":"integer","title":"Tokens Held","description":"What create takes for this run: its fixed price"},"time_minutes":{"$ref":"#/components/schemas/TimeMinutes"},"confidence":{"type":"string","enum":["high","low"],"title":"Confidence"}},"type":"object","required":["policy","steps","batch_size","price","price_p90","tokens_held","time_minutes","confidence"],"title":"TrainingRunEstimateRun"},"TrainingRunEta":{"properties":{"ready_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ready At","description":"When the run should be `succeeded`; null once it is `failed` or `canceled`, or when it has run past its estimate before training"},"remaining_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining S","description":"Seconds until `ready_at`"},"basis":{"type":"string","enum":["estimate","live"],"title":"Basis","description":"`estimate`: the p50 train time quoted at create (its p90 once that has passed), until the trainer reports a step rate; `live`: the steps left at `metrics.steps_per_second` (saving the last checkpoint takes a minute or two more), or the run's end"}},"type":"object","required":["ready_at","remaining_s","basis"],"title":"TrainingRunEta"},"TrainingRunEval":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"`enabled`, `ok` or `skipped: <reason>`; null when `config.eval_enabled` is false"},"metrics":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Metrics","description":"Rollout results, e.g. `pc_success`, `avg_sum_reward`"}},"type":"object","required":["status","metrics"],"title":"TrainingRunEval"},"TrainingRunList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object"},"data":{"items":{"$ref":"#/components/schemas/TrainingRun"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `after` for the next page (the last run's `id`)"}},"type":"object","required":["object","data","has_more","next_cursor"],"title":"TrainingRunList"},"TrainingRunLogs":{"properties":{"object":{"type":"string","enum":["training_run_logs"],"const":"training_run_logs","title":"Object"},"id":{"type":"string","title":"Id","description":"The training run's id"},"lines":{"items":{"type":"string"},"type":"array","title":"Lines","description":"Oldest first; empty when no log could be read"},"tail":{"type":"integer","title":"Tail","description":"How many lines were asked for, capped at 1,000"}},"type":"object","required":["object","id","lines","tail"],"title":"TrainingRunLogs","description":"The tail of a run's training log.","examples":[{"id":"trn_01K65Z3N8Q4W2H7R9T6Y1B3C5D","lines":["step:29.8K smpl:238K ep:476 epch:9.91 loss:0.044 grdn:3.301 lr:1.0e-05","step:30K smpl:240K ep:480 epch:10.00 loss:0.043 grdn:3.254 lr:1.0e-05"],"object":"training_run_logs","tail":2}]},"TrainingRunMetrics":{"properties":{"step":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Step","description":"The last step the trainer reported"},"max_steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Steps"},"loss":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Loss","description":"The training loss at `step`"},"elapsed_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed S","description":"Seconds since the GPU job was submitted, to now or to the run's end; null before"},"steps_per_second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Steps Per Second","description":"The trainer's average step rate since its first step; null until it has trained half a minute"}},"type":"object","required":["step","max_steps","loss","elapsed_s","steps_per_second"],"title":"TrainingRunMetrics"},"TrainingRunOutput":{"properties":{"push_to_hub":{"type":"boolean","title":"Push To Hub","description":"Push the trained policy to your connected HuggingFace account","default":false},"hf_repo_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Hf Repo Id","description":"Policy name; the namespace is always your connected HF account"}},"additionalProperties":false,"type":"object","title":"TrainingRunOutput"},"TrainingRunOutputSummary":{"properties":{"checkpoint_count":{"type":"integer","title":"Checkpoint Count","description":"Checkpoints saved so far. Only GET /v1/training_runs/{id} reads storage: it is 0 in list, create and cancel responses"},"latest_checkpoint":{"anyOf":[{"$ref":"#/components/schemas/TrainingCheckpoint-Input"},{"type":"null"}],"description":"The newest; all of them are GET /v1/training_runs/{id}/checkpoints"},"hf_repo_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Repo Id","description":"Only when the run pushes to the Hub (`output.push_to_hub` at create): the repo it pushes to"},"hf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Url","description":"Only when pushing: the repo's page"},"hf_push_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Push Status","description":"Only when pushing: null until the push starts, then `pushing (attempt n/5)`, `ok`, `skipped: <reason>` or `failed: <reason>`, e.g. `skipped: no Hugging Face account connected`"}},"type":"object","required":["checkpoint_count","latest_checkpoint"],"title":"TrainingRunOutputSummary"},"TrainingRunResolvedCameras":{"properties":{"rename":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Rename","description":"Dataset camera key → policy image slot, from create; null when Kite maps them"}},"type":"object","required":["rename"],"title":"TrainingRunResolvedCameras"},"TrainingRunResolvedConfig":{"properties":{"steps":{"type":"integer","title":"Steps","description":"`config.steps` from create, else the policy's default"},"batch_size":{"type":"integer","title":"Batch Size","description":"`config.batch_size` from create, else the policy's default"},"save_freq":{"type":"integer","title":"Save Freq","description":"A checkpoint is saved every this many steps"},"eval_enabled":{"type":"boolean","title":"Eval Enabled"}},"type":"object","required":["steps","batch_size","save_freq","eval_enabled"],"title":"TrainingRunResolvedConfig"},"TrainingRunResolvedDataset":{"properties":{"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri","description":"The dataset the run trains on: a HuggingFace repo id, or your own S3 or gs:// link. null for a dataset in Kite's own storage (recorded or uploaded in Kite): its storage path is Kite's, not one you gave"}},"type":"object","required":["uri"],"title":"TrainingRunResolvedDataset"},"TrainingRunTokens":{"properties":{"charged":{"type":"integer","title":"Charged","description":"Taken from your balance when the GPU job started: the run's fixed price (`basis` `fixed`), or for older runs a hold plus any minutes trained beyond it. 0 on a CPU tier, or when the GPU job never started"},"refunded":{"type":"integer","title":"Refunded","description":"Given back when the run ended: for a fixed price, what a cancelled run's minutes didn't use, or all of it for a failed run"},"basis":{"anyOf":[{"type":"string","enum":["fixed","minutes"]},{"type":"null"}],"title":"Basis","description":"`fixed`: charged exactly its quoted price when it succeeds, its minutes (never more) when canceled, nothing when it fails. `minutes`: charged the minutes its GPU ran. null: free, or held one GPU-hour before 2026-10-24"}},"type":"object","required":["charged","refunded","basis"],"title":"TrainingRunTokens"},"TrainingSessionResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"task":{"type":"string","title":"Task"},"state":{"type":"string","title":"State"},"status":{"type":"string","title":"Status"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phase"},"iteration":{"type":"integer","title":"Iteration"},"max_iterations":{"type":"integer","title":"Max Iterations"},"env_steps":{"type":"integer","title":"Env Steps"},"mean_reward":{"type":"number","title":"Mean Reward"},"n_envs":{"type":"integer","title":"N Envs"},"backend_name":{"type":"string","title":"Backend Name"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"checkpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkpoint"}},"type":"object","required":["session_id","task","state","status","iteration","max_iterations","env_steps","mean_reward","n_envs","backend_name"],"title":"TrainingSessionResponse"},"TransactionResource":{"properties":{"kind":{"type":"string","enum":["augmentation","training_run","rl_run","twin","evaluation"],"title":"Kind"},"id":{"type":"string","title":"Id"}},"type":"object","required":["kind","id"],"title":"TransactionResource","description":"The run a ledger row charged or refunded, by its public /v1 id."},"Twin":{"properties":{"id":{"type":"string","title":"Id","description":"`twin_` + a time-ordered ULID"},"object":{"type":"string","enum":["twin"],"const":"twin","title":"Object","default":"twin"},"status":{"type":"string","enum":["queued","processing","canceling","succeeded","failed","canceled"],"title":"Status"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage","description":"The stage running now"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"eta_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Eta Seconds","description":"While queued or processing: time left, from the stages' typical durations"},"error":{"anyOf":[{"$ref":"#/components/schemas/TwinError"},{"type":"null"}]},"source":{"$ref":"#/components/schemas/TwinSource"},"camera":{"anyOf":[{"$ref":"#/components/schemas/TwinCamera"},{"type":"null"}],"description":"What the dataset check resolved"},"config":{"type":"object","title":"Config","description":"The build options given at create"},"stages":{"items":{"$ref":"#/components/schemas/TwinStage"},"type":"array","title":"Stages","description":"Every finished stage, in order"},"download":{"anyOf":[{"$ref":"#/components/schemas/TwinDownload"},{"type":"null"}],"description":"Once `succeeded`: the whole scene as one .tar.gz. Its file list is GET /v1/twins/{id}/files"},"tokens":{"$ref":"#/components/schemas/TwinTokens","description":"What the twin has cost: charged at create, refunded if it built nothing"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"target_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Target Score","description":"The score that ends the build"},"max_rounds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Rounds","description":"The most rounds this build runs"},"round":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Round","description":"The round being built now. Null before the first twin is judged, and once the twin is succeeded, failed or canceled"},"best_round":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Best Round","description":"The round whose twin will be the download"},"next_from_round":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next From Round","description":"A go-back asked for with `from_round` and not yet applied: the next round starts from it (when a stopped twin resumes, if it is stopped)"},"rounds":{"items":{"$ref":"#/components/schemas/TwinRound"},"type":"array","title":"Rounds","description":"Every judged round, oldest first"},"agents":{"items":{"$ref":"#/components/schemas/TwinAgent"},"type":"array","title":"Agents","description":"One per role: what each agent is doing"},"question":{"anyOf":[{"$ref":"#/components/schemas/TwinQuestion"},{"type":"null"}],"description":"The one open question, or null. The build never waits for it: the agent carries on with `default`"},"notes":{"items":{"$ref":"#/components/schemas/TwinNote"},"type":"array","title":"Notes","description":"Notes still active (not deleted, on a twin still building), at most 20"},"edits":{"anyOf":[{"$ref":"#/components/schemas/TwinEdits"},{"type":"null"}],"description":"Your edits to the built scene (PUT /v1/twins/{id}/edits), or null. The scene.xml GET …/files serves carries them; the archive is the scene as built"}},"type":"object","required":["id","status","progress","source","tokens"],"title":"Twin","description":"One digital twin, read live: also its rounds, its agents, an open question and its notes, from the round loop\nthat judges the twin against the episode's video and repairs it (null and empty before that loop starts)."},"TwinAgent":{"properties":{"role":{"type":"string","title":"Role","description":"`objects`, `robot_camera`, `room` or `judge`"},"state":{"type":"string","title":"State","description":"`working` or `idle`"},"doing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doing","description":"What it is doing now, or did last"},"since":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},"type":"object","required":["role","state"],"title":"TwinAgent"},"TwinAnswer":{"properties":{"question":{"type":"string","maxLength":100,"title":"Question","description":"The open question's `id`"},"answer":{"type":"string","maxLength":500,"minLength":1,"title":"Answer","description":"One of its `options`, or your own words"}},"additionalProperties":false,"type":"object","required":["question","answer"],"title":"TwinAnswer","description":"An answer to the twin's open question, which becomes a note the agents read."},"TwinCamera":{"properties":{"scene":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene","description":"The camera that seeds the room"},"wrist":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wrist","description":"The wrist camera used for close-ups, if any"},"available":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Available","description":"Every camera the dataset has"}},"type":"object","title":"TwinCamera"},"TwinCreate":{"properties":{"source":{"$ref":"#/components/schemas/TwinSource"},"robot":{"type":"string","maxLength":40,"title":"Robot","description":"The robot in the episode: so100, so101, koch, aloha, wx250s, wxai_biarm, piper, xarm7, panda, panda_ee_state, g1_dex3 or vega_1p. Its recorded joints drive the twin's robot, so it must take as many values per frame as the dataset records (checked free, at create and at /v1/twins/validate)"},"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name","description":"A short name for the twin"},"task":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Task","description":"Which objects to author: the ones the robot manipulates. Defaults to a general manipulation brief"},"prompt":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Prompt","description":"How to describe the room to the reconstructor"},"camera":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Camera","description":"Substring of the camera that seeds the room (see /v1/twins/validate)"},"wrist_camera":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Wrist Camera"},"ceiling_m":{"type":"number","exclusiveMaximum":10.0,"exclusiveMinimum":1.5,"title":"Ceiling M","description":"Floor-to-ceiling height: the scale anchor","default":2.9},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata","description":"Opaque metadata echoed on the resource and its webhook events"}},"additionalProperties":false,"type":"object","required":["source","robot"],"title":"TwinCreate","description":"Build a digital twin from one episode of a LeRobot dataset, on Hugging Face or in a public S3 bucket. `source`\nand `robot` are required.","examples":[{"robot":"so101","source":{"repo_id":"lerobot/svla_so101_pickplace","type":"huggingface"}}]},"TwinDownload":{"properties":{"url":{"type":"string","title":"Url","description":"This API's archive path, which redirects to a fresh signed link (send your key: `requires_auth`). Before Kite-Version 2026-10-12, the signed link itself (no credentials; valid until `expires_at`) when one could be made"},"requires_auth":{"type":"boolean","title":"Requires Auth","description":"Send your Authorization header to `url` (it is then an API path)"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At","description":"When a signed `url` stops working; GET the twin again for a fresh one"},"filename":{"type":"string","title":"Filename","description":"`<twin id>.tar.gz`"},"bytes":{"type":"integer","title":"Bytes"},"sha256":{"type":"string","title":"Sha256","description":"Check the downloaded file against it"},"scene":{"type":"string","title":"Scene","description":"The scene inside the archive: `<twin id>/scene.xml`"}},"type":"object","required":["url","requires_auth","filename","bytes","sha256","scene"],"title":"TwinDownload"},"TwinEdits":{"properties":{"object":{"type":"string","enum":["twin_edits"],"const":"twin_edits","title":"Object","default":"twin_edits"},"items":{"additionalProperties":{"$ref":"#/components/schemas/TwinItemEdit"},"type":"object","title":"Items","description":"By item, its edits"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"TwinEdits"},"TwinEditsUpdate":{"properties":{"items":{"additionalProperties":{"$ref":"#/components/schemas/TwinItemEdit"},"type":"object","maxProperties":500,"title":"Items","description":"By item: an object or piece of furniture, by its body's name in scene.xml (the 3D viewer's names)"}},"additionalProperties":false,"type":"object","required":["items"],"title":"TwinEditsUpdate","description":"Every edit to a succeeded twin's scene, replacing those made before: `{}` puts it back as built."},"TwinError":{"properties":{"code":{"type":"string","title":"Code","description":"`stage_failed` (a stage's measurement failed its review) or `interrupted` (the build stopped before finishing)"},"message":{"type":"string","title":"Message"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage","description":"The stage it stopped in"},"resumable":{"type":"boolean","title":"Resumable","description":"POST /v1/twins/{id}/resume continues from the stages already done"}},"type":"object","required":["code","message","resumable"],"title":"TwinError"},"TwinEstimate":{"properties":{"duration_s":{"type":"integer","title":"Duration S","description":"What a twin typically takes, from the stage durations measured on the twins built so far"},"tokens":{"type":"integer","title":"Tokens","description":"What a create charges: a twin's flat price, whatever the build takes"}},"type":"object","required":["duration_s","tokens"],"title":"TwinEstimate"},"TwinFile":{"properties":{"object":{"type":"string","enum":["twin_file"],"const":"twin_file","title":"Object","default":"twin_file"},"path":{"type":"string","title":"Path","description":"Relative to `<twin id>/` inside the archive"},"bytes":{"type":"integer","title":"Bytes"},"sha256":{"type":"string","title":"Sha256"}},"type":"object","required":["path","bytes","sha256"],"title":"TwinFile"},"TwinFileList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/TwinFile"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `after` for the next page (it is a `path`)"}},"type":"object","required":["data","has_more"],"title":"TwinFileList"},"TwinIssue":{"properties":{"object":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object","description":"A body in the scene, or `robot`, `gripper`, `scene`"},"what":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"What"},"severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity","description":"`high`, `medium` or `low`"}},"type":"object","title":"TwinIssue"},"TwinItemEdit":{"properties":{"position":{"anyOf":[{"items":{"type":"number","maximum":50.0,"minimum":-50.0},"type":"array","maxItems":3,"minItems":3},{"type":"null"}],"title":"Position","description":"Metres, x y z in the scene's frame (z up)"},"rotation":{"anyOf":[{"items":{"type":"number","maximum":720.0,"minimum":-720.0},"type":"array","maxItems":3,"minItems":3},{"type":"null"}],"title":"Rotation","description":"Degrees: about x, then the turned y, then the turned z"},"scale":{"anyOf":[{"type":"number","maximum":20.0,"minimum":0.05},{"type":"null"}],"title":"Scale","description":"A factor on its size as built, 1 as built. Its mass goes with its volume"},"mass":{"anyOf":[{"type":"number","maximum":10000.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Mass","description":"Kilograms, the whole item"},"friction":{"anyOf":[{"type":"number","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Friction","description":"Sliding friction, on each of its geoms"},"removed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Removed","description":"True: out of the scene"}},"additionalProperties":false,"type":"object","title":"TwinItemEdit","description":"One item's edits (services/real2sim/twin_edits.py): each field its new value, absolute; one left out stays as\nbuilt."},"TwinLayers":{"properties":{"registration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Registration","description":"The robot and the cameras against the real video"},"objects":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Objects"},"table":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Table"},"room":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Room"},"motion":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Motion","description":"Null unless the goal judges motion (the default judges the scene only)"}},"type":"object","title":"TwinLayers","description":"The judge's score for each layer, 0 to 10; null for a layer it did not judge."},"TwinList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/TwinSummary"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"TwinList"},"TwinNote":{"properties":{"id":{"type":"string","title":"Id","description":"`note_` + a time-ordered ULID"},"on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"On","description":"The layer or body it is about; null for the whole twin"},"text":{"type":"string","title":"Text"},"status":{"type":"string","title":"Status","description":"`queued` until an agent's step includes it, then `read`"},"read_in_round":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Read In Round","description":"The round whose agent first read it"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","text","status"],"title":"TwinNote"},"TwinNoteCreate":{"properties":{"text":{"type":"string","maxLength":2000,"minLength":1,"title":"Text","description":"What is wrong, a size, a colour: about the scene"},"on":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"On","description":"What it is about: a layer (registration, objects, table, room, motion) or a body name from the twin's scene, as the 3D viewer reports it. Omit for the whole twin"}},"additionalProperties":false,"type":"object","required":["text"],"title":"TwinNoteCreate","description":"A note for the agents building a twin, read at their next step."},"TwinNoteDeleted":{"properties":{"object":{"type":"string","enum":["note"],"const":"note","title":"Object","default":"note"},"id":{"type":"string","title":"Id"},"deleted":{"type":"boolean","enum":[true],"const":true,"title":"Deleted","default":true}},"type":"object","required":["id"],"title":"TwinNoteDeleted"},"TwinQuestion":{"properties":{"id":{"type":"string","title":"Id","description":"Answer it with POST /v1/twins/{id}/answers"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","description":"The agent asking"},"text":{"type":"string","title":"Text"},"options":{"items":{"type":"string"},"type":"array","title":"Options"},"default":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default","description":"What the agent carries on with until it is answered"},"asked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asked At"}},"type":"object","required":["id","text"],"title":"TwinQuestion"},"TwinResume":{"properties":{"from_round":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"From Round","description":"Start the next round from this round's snapshot: a round with `kept: true`. On a building twin, after the round being built finishes"}},"additionalProperties":false,"type":"object","title":"TwinResume"},"TwinRound":{"properties":{"round":{"type":"integer","title":"Round","description":"0 is the first build, judged before round 1"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score","description":"The judge's score, 0 to 10"},"kept":{"type":"boolean","title":"Kept","description":"It raised the best score, so its snapshot is kept: a `from_round` target, and its scene can be opened (GET /v1/twins/{id}/rounds/{round}/files/scene/…)"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"},"layers":{"$ref":"#/components/schemas/TwinLayers"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary","description":"The judge's verdict in a sentence or two"},"issues":{"items":{"$ref":"#/components/schemas/TwinIssue"},"type":"array","title":"Issues","description":"What the judge found wrong"}},"type":"object","required":["round","kept","layers"],"title":"TwinRound"},"TwinRoundFile":{"properties":{"object":{"type":"string","enum":["twin_file"],"const":"twin_file","title":"Object","default":"twin_file"},"path":{"type":"string","title":"Path","description":"`real_twin.mp4`, `preview.jpg`, or a kept round's `scene/…`"},"bytes":{"type":"integer","title":"Bytes"}},"type":"object","required":["path","bytes"],"title":"TwinRoundFile"},"TwinRoundFileList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/TwinRoundFile"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More","default":false},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data"],"title":"TwinRoundFileList"},"TwinSource":{"properties":{"type":{"type":"string","enum":["huggingface","s3"],"title":"Type","default":"huggingface"},"repo_id":{"anyOf":[{"type":"string","maxLength":500,"minLength":3},{"type":"null"}],"title":"Repo Id","description":"With type huggingface: the dataset id ('lerobot/svla_so101_pickplace') or its huggingface.co URL. An S3 link here is read as type s3"},"uri":{"anyOf":[{"type":"string","maxLength":1024,"minLength":6},{"type":"null"}],"title":"Uri","description":"With type s3: the dataset's folder in a public bucket, 's3://BUCKET/PREFIX' or its https://BUCKET.s3[.region].amazonaws.com/PREFIX URL, stored as 's3://BUCKET/PREFIX'. It is read without credentials: a bucket or object that is not public is dataset_private"}},"additionalProperties":false,"type":"object","title":"TwinSource","description":"Where the episode comes from: a LeRobot dataset on Hugging Face (`repo_id`) or in a public S3 bucket (`uri`)."},"TwinStage":{"properties":{"stage":{"type":"string","title":"Stage","description":"ingest, environment, decompose, label, author, refine, assemble, dynamics, or publish"},"ok":{"type":"boolean","title":"Ok"},"attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attempts"},"seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seconds"},"measurement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Measurement","description":"What the stage measured about its own output"}},"type":"object","required":["stage","ok"],"title":"TwinStage"},"TwinSummary":{"properties":{"id":{"type":"string","title":"Id","description":"`twin_` + a time-ordered ULID"},"object":{"type":"string","enum":["twin"],"const":"twin","title":"Object","default":"twin"},"status":{"type":"string","enum":["queued","processing","canceling","succeeded","failed","canceled"],"title":"Status"},"progress":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Progress"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage","description":"The stage running now"},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"eta_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Eta Seconds","description":"While queued or processing: time left, from the stages' typical durations"},"error":{"anyOf":[{"$ref":"#/components/schemas/TwinError"},{"type":"null"}]},"source":{"$ref":"#/components/schemas/TwinSource"},"camera":{"anyOf":[{"$ref":"#/components/schemas/TwinCamera"},{"type":"null"}],"description":"What the dataset check resolved"},"config":{"type":"object","title":"Config","description":"The build options given at create"},"stages":{"items":{"$ref":"#/components/schemas/TwinStage"},"type":"array","title":"Stages","description":"Every finished stage, in order"},"download":{"anyOf":[{"$ref":"#/components/schemas/TwinDownload"},{"type":"null"}],"description":"Once `succeeded`: the whole scene as one .tar.gz. Its file list is GET /v1/twins/{id}/files"},"tokens":{"$ref":"#/components/schemas/TwinTokens","description":"What the twin has cost: charged at create, refunded if it built nothing"},"webhook_metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Webhook Metadata"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","status","progress","source","tokens"],"title":"TwinSummary","description":"One digital twin, as the list shows it: the last status seen."},"TwinTokens":{"properties":{"charged":{"type":"integer","title":"Charged","description":"Tokens charged so far: 25,000 at create, and 25,000 again for each resume of a twin that had been refunded"},"refunded":{"type":"integer","title":"Refunded","description":"Tokens returned: a build that ends, failed or canceled, before authoring began (in ingest, environment, decompose or label) is refunded in full"}},"type":"object","required":["charged","refunded"],"title":"TwinTokens"},"TwinValidate":{"properties":{"source":{"$ref":"#/components/schemas/TwinSource"},"camera":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Camera"},"wrist_camera":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Wrist Camera"},"robot":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Robot","description":"Check this robot can drive the dataset, as a create does"}},"additionalProperties":false,"type":"object","required":["source"],"title":"TwinValidate","description":"The checks a create runs, without creating anything or spending anything.","examples":[{"source":{"repo_id":"lerobot/svla_so101_pickplace","type":"huggingface"}}]},"TwinValidation":{"properties":{"object":{"type":"string","enum":["twin_validation"],"const":"twin_validation","title":"Object","default":"twin_validation"},"ok":{"type":"boolean","title":"Ok"},"source":{"$ref":"#/components/schemas/TwinSource"},"cameras":{"items":{"type":"string"},"type":"array","title":"Cameras"},"scene_camera":{"type":"string","title":"Scene Camera","description":"The camera a twin would seed the room from"},"wrist_camera":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wrist Camera"},"episodes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episodes"},"fps":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fps"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format","description":"The LeRobot dataset format version"},"estimate":{"$ref":"#/components/schemas/TwinEstimate"}},"type":"object","required":["ok","source","cameras","scene_camera","estimate"],"title":"TwinValidation"},"UIState":{"properties":{"expandedFolders":{"items":{"type":"string"},"type":"array","title":"Expandedfolders","default":[]},"panelVisibility":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}],"title":"Panelvisibility"},"showSensors":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Showsensors"},"sceneThumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenethumbnail"},"sceneDepthMap":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenedepthmap"}},"type":"object","title":"UIState","description":"UI state schema."},"UpdateApiKeyRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","title":"UpdateApiKeyRequest","description":"Only the fields sent change: scopes=null makes the key full-access, expires_at=null means it never expires."},"UpdateConversationRequest":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"UpdateConversationRequest"},"UpdateObjectRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"UpdateObjectRequest"},"UploadSpec":{"properties":{"filename":{"type":"string","maxLength":200,"title":"Filename","description":"bare file name incl. extension (.usd/.usda/.usdc/.usdz/.glb/.gltf/.obj)"},"content_type":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Content Type"},"size_bytes":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Size Bytes"}},"additionalProperties":false,"type":"object","required":["filename"],"title":"UploadSpec"},"Usage":{"properties":{"object":{"type":"string","enum":["usage"],"const":"usage","title":"Object","default":"usage"},"start":{"type":"string","title":"Start","description":"YYYY-MM-DD, inclusive"},"end":{"type":"string","title":"End","description":"YYYY-MM-DD, inclusive"},"data":{"items":{"anyOf":[{"$ref":"#/components/schemas/UsageDay"},{"$ref":"#/components/schemas/UsageDayByKey"},{"$ref":"#/components/schemas/UsageDayBySource"},{"$ref":"#/components/schemas/UsageDayByMetadata"}]},"type":"array","title":"Data","description":"One row per day and group with any usage, oldest first. The group field is `resource`, `api_key_id`, `source` or `metadata`, as `group_by` asks"},"totals":{"$ref":"#/components/schemas/UsageTotals"}},"type":"object","required":["start","end","data","totals"],"title":"Usage","description":"Tokens used per day, grouped by resource family, API key, source or metadata label.","examples":[{"data":[{"date":"2026-09-27","resource":"augmentations","tokens_consumed":32670,"tokens_net":21780,"tokens_refunded":10890}],"end":"2026-09-27","object":"usage","start":"2026-09-01","totals":{"tokens_consumed":32670,"tokens_net":21780,"tokens_refunded":10890}}]},"UsageAlert":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind","description":"usage_threshold | low_balance"},"period":{"type":"string","title":"Period"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"threshold_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Threshold Percent"},"budget":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Budget"},"spent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Spent"},"hard_limit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hard Limit"},"resets_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resets At"},"low_balance":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Low Balance"},"balance":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Balance"}},"type":"object","required":["id","kind","period"],"title":"UsageAlert","description":"An alert for the banner. `usage_threshold` fills the budget fields, `low_balance` the balance ones; the\nfigures are live, not as they were when the alert fired."},"UsageAlertDismissed":{"properties":{"id":{"type":"string","title":"Id"},"dismissed":{"type":"boolean","title":"Dismissed"}},"type":"object","required":["id","dismissed"],"title":"UsageAlertDismissed"},"UsageAlertList":{"properties":{"alerts":{"items":{"$ref":"#/components/schemas/UsageAlert"},"type":"array","title":"Alerts"}},"type":"object","required":["alerts"],"title":"UsageAlertList"},"UsageDay":{"properties":{"date":{"type":"string","title":"Date","description":"YYYY-MM-DD (UTC)"},"resource":{"type":"string","title":"Resource","description":"`augmentations`, `training`, `rl_runs`, `evaluations`, `twins`, `worlds`, or `other`"},"tokens_consumed":{"type":"integer","title":"Tokens Consumed"},"tokens_refunded":{"type":"integer","title":"Tokens Refunded","description":"Returned for failed or unused work. Plan token grants are credits, not usage, and are not counted"},"tokens_net":{"type":"integer","title":"Tokens Net","description":"`tokens_consumed` − `tokens_refunded`"}},"type":"object","required":["date","resource","tokens_consumed","tokens_refunded","tokens_net"],"title":"UsageDay","description":"A day of usage for one resource family (`group_by=resource`, the default)."},"UsageDayByKey":{"properties":{"date":{"type":"string","title":"Date","description":"YYYY-MM-DD (UTC)"},"api_key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key Id","description":"The key that started the runs the tokens paid for. Null for work no API key started through /v1: runs started while signed in to Kite, and runs from before usage was attributed"},"tokens_consumed":{"type":"integer","title":"Tokens Consumed"},"tokens_refunded":{"type":"integer","title":"Tokens Refunded"},"tokens_net":{"type":"integer","title":"Tokens Net"}},"type":"object","required":["date","api_key_id","tokens_consumed","tokens_refunded","tokens_net"],"title":"UsageDayByKey","description":"A day of usage for one API key (`group_by=api_key`)."},"UsageDayByMetadata":{"properties":{"date":{"type":"string","title":"Date","description":"YYYY-MM-DD (UTC)"},"metadata":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Metadata","description":"The label and its value on the runs the tokens paid for: `{\"end_user\": \"u_123\"}`. Null for work whose run has no such label, and for work other than RL and training runs"},"tokens_consumed":{"type":"integer","title":"Tokens Consumed"},"tokens_refunded":{"type":"integer","title":"Tokens Refunded"},"tokens_net":{"type":"integer","title":"Tokens Net"}},"type":"object","required":["date","metadata","tokens_consumed","tokens_refunded","tokens_net"],"title":"UsageDayByMetadata","description":"A day of usage for one value of a metadata label (`group_by=metadata.<key>`)."},"UsageDayBySource":{"properties":{"date":{"type":"string","title":"Date","description":"YYYY-MM-DD (UTC)"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Where the runs were started: `api` (your own code, with a key), `cli`, `mcp`, `sdk`, or `dashboard` (signed in to Kite). Null for work whose surface was never recorded, which `source=unknown` filters to"},"tokens_consumed":{"type":"integer","title":"Tokens Consumed"},"tokens_refunded":{"type":"integer","title":"Tokens Refunded"},"tokens_net":{"type":"integer","title":"Tokens Net"}},"type":"object","required":["date","source","tokens_consumed","tokens_refunded","tokens_net"],"title":"UsageDayBySource","description":"A day of usage for one source (`group_by=source`)."},"UsageTotals":{"properties":{"tokens_consumed":{"type":"integer","title":"Tokens Consumed"},"tokens_refunded":{"type":"integer","title":"Tokens Refunded"},"tokens_net":{"type":"integer","title":"Tokens Net"}},"type":"object","required":["tokens_consumed","tokens_refunded","tokens_net"],"title":"UsageTotals"},"UserBillingResponse":{"properties":{"plan":{"$ref":"#/components/schemas/PlanResponse"},"subscription":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionResponse"},{"type":"null"}]},"token_balance":{"type":"integer","title":"Token Balance","default":0},"is_pro":{"type":"boolean","title":"Is Pro","default":false},"tokens_renewal_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tokens Renewal Date"},"welcome_grant":{"anyOf":[{"$ref":"#/components/schemas/WelcomeGrantResponse"},{"type":"null"}]},"plan_issue":{"anyOf":[{"type":"string","enum":["payment_failed","payment_processing"]},{"type":"null"}],"title":"Plan Issue"}},"type":"object","required":["plan"],"title":"UserBillingResponse","description":"Combined billing status for the current user."},"UserDetailResponse":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"firebase_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firebase Uid"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"last_seen_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen At"},"default_workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Workspace Id"}},"type":"object","required":["id","email"],"title":"UserDetailResponse","description":"User detail response schema."},"UserListPaginatedResponse":{"properties":{"users":{"items":{"$ref":"#/components/schemas/UserListResponse"},"type":"array","title":"Users"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["users","total","page","page_size","total_pages"],"title":"UserListPaginatedResponse","description":"Paginated user list response."},"UserListResponse":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"last_seen_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen At"}},"type":"object","required":["id","email"],"title":"UserListResponse","description":"User list item response schema."},"UserOut":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"last_seen_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen At"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"}},"type":"object","required":["id","email"],"title":"UserOut","description":"User response schema."},"UserPreferences":{"properties":{"theme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme"}},"type":"object","title":"UserPreferences","description":"User preferences response schema."},"UserPreferencesUpdate":{"properties":{"theme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme"}},"type":"object","title":"UserPreferencesUpdate","description":"User preferences update request schema."},"UserUpdateRequest":{"properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"}},"type":"object","title":"UserUpdateRequest","description":"User update request schema."},"VLATrainingConfig":{"properties":{"model_type":{"type":"string","title":"Model Type","description":"VLA model type: pi0.5, openvla_oft, pi0.6","default":"pi0.5"},"base_model_id":{"type":"string","title":"Base Model Id","description":"HuggingFace model ID for the pretrained base model","default":"lerobot/pi0"},"lora_rank":{"type":"integer","title":"Lora Rank","description":"LoRA rank (8/16/32/64/128)","default":32},"lora_alpha":{"type":"number","title":"Lora Alpha","description":"LoRA alpha","default":16.0},"lora_dropout":{"type":"number","title":"Lora Dropout","description":"LoRA dropout","default":0.05},"action_dim":{"type":"integer","title":"Action Dim","description":"Action dimensions","default":7},"action_type":{"type":"string","title":"Action Type","description":"Action type: joint_positions or ee_deltas","default":"joint_positions"},"action_chunk_size":{"type":"integer","title":"Action Chunk Size","description":"Action chunk size (pi0 uses 10-50)","default":1},"max_steps":{"type":"integer","minimum":100.0,"title":"Max Steps","description":"Maximum fine-tuning steps (5k for quick test, 50k+ for production)","default":5000},"learning_rate":{"type":"number","title":"Learning Rate","description":"Learning rate","default":2e-05},"batch_size":{"type":"integer","title":"Batch Size","description":"Batch size","default":4},"gradient_accumulation_steps":{"type":"integer","title":"Gradient Accumulation Steps","description":"Gradient accumulation steps","default":4},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id","description":"Dataset ID for fine-tuning"},"cameras":{"items":{"type":"string"},"type":"array","title":"Cameras","description":"Camera names from dataset","default":["front"]},"task_description":{"type":"string","title":"Task Description","description":"Natural language task instruction for VLA","default":""}},"type":"object","title":"VLATrainingConfig","description":"VLA fine-tuning configuration."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VariationConfig":{"properties":{"object_dx":{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2,"title":"Object Dx","default":[-0.04,0.04]},"object_dy":{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2,"title":"Object Dy","default":[-0.04,0.04]},"object_yaw":{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2,"title":"Object Yaw","default":[0.0,0.0]},"gravity_z_factor":{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2,"title":"Gravity Z Factor","default":[0.97,1.03]}},"type":"object","title":"VariationConfig","description":"Per-sweep domain-randomization ranges. Every episode samples these with\nits own seed, so the N sims stay all-different but the *spread* is the\nuser's to set. Each field is an inclusive ``(min, max)`` range; defaults\nreproduce the historical hardcoded behavior (so omitting this changes\nnothing). ``object_yaw`` defaults to no rotation — opt in to enable it."},"VlaExperimentCreate":{"properties":{"dataset":{"type":"string","title":"Dataset"},"approaches":{"items":{"type":"string"},"type":"array","title":"Approaches"},"providers":{"items":{"type":"string"},"type":"array","title":"Providers"},"negatives":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Negatives"},"n_episodes":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"N Episodes","default":10},"seed":{"type":"integer","title":"Seed","default":0},"keyframes":{"type":"integer","maximum":32.0,"minimum":1.0,"title":"Keyframes","default":4},"video_frames":{"type":"integer","maximum":64.0,"minimum":2.0,"title":"Video Frames","default":16},"ensemble_k":{"type":"integer","maximum":9.0,"minimum":1.0,"title":"Ensemble K","default":3}},"type":"object","required":["dataset"],"title":"VlaExperimentCreate"},"WandbSettings":{"properties":{"apiKey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apikey"},"validated":{"type":"boolean","title":"Validated","default":false},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","title":"WandbSettings","description":"Wandb integration settings schema."},"WebhookDelivery":{"properties":{"id":{"type":"string","title":"Id","description":"`dlv_` + 32 hex characters"},"object":{"type":"string","enum":["webhook_delivery"],"const":"webhook_delivery","title":"Object","default":"webhook_delivery"},"endpoint_id":{"type":"string","title":"Endpoint Id"},"event_id":{"type":"string","title":"Event Id"},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"},"status":{"type":"string","title":"Status","description":"`pending` (queued, or waiting to retry), `delivered` (the endpoint answered 2xx), or `failed` (every attempt failed, or it was not sent)"},"attempts":{"type":"integer","title":"Attempts","description":"POSTs made so far. At most 6: the first, then retries after 1 min, 5 min, 30 min, 2 h and 8 h"},"last_response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Response Status","description":"The HTTP status the endpoint last answered with; null when no answer arrived"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error","description":"Why the last attempt failed when the status does not say: no answer (timeout, TLS, DNS, connection), a redirect, or not sent at all"},"next_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Attempt At","description":"When it goes out next, while `pending`"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","endpoint_id","event_id","status","attempts"],"title":"WebhookDelivery","description":"One event sent to one endpoint: where it stands, and how its latest attempt went.","examples":[{"attempts":2,"created_at":"2026-09-27T02:00:00Z","endpoint_id":"whk_01K62QZ8V4X9C3N7M5T2R8W6HB","event_id":"evt_01K62QZ8V4X9C3N7M5T2R8W6HC","event_type":"augmentation.completed","id":"dlv_9f1c2b7e4a5d4e8f9a0b1c2d3e4f5a6b","last_response_status":503,"next_attempt_at":"2026-09-27T02:06:00Z","object":"webhook_delivery","status":"pending"}]},"WebhookDeliveryList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/WebhookDelivery"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"WebhookDeliveryList"},"WebhookEndpoint":{"properties":{"id":{"type":"string","title":"Id","description":"`whk_` + a time-ordered ULID"},"object":{"type":"string","enum":["webhook_endpoint"],"const":"webhook_endpoint","title":"Object","default":"webhook_endpoint"},"url":{"type":"string","title":"Url"},"enabled_events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enabled Events","description":"The event types it receives; null means all"},"status":{"type":"string","title":"Status","description":"`active` or `disabled`"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"last_delivery":{"anyOf":[{"$ref":"#/components/schemas/WebhookDelivery"},{"type":"null"}],"description":"Its newest delivery; null before the first"}},"type":"object","required":["id","url","status"],"title":"WebhookEndpoint","description":"A registered webhook receiver.","examples":[{"created_at":"2026-09-27T01:00:00Z","enabled_events":["augmentation.*"],"id":"whk_01K62QZ8V4X9C3N7M5T2R8W6HB","last_delivery":{"attempts":2,"created_at":"2026-09-27T02:00:00Z","endpoint_id":"whk_01K62QZ8V4X9C3N7M5T2R8W6HB","event_id":"evt_01K62QZ8V4X9C3N7M5T2R8W6HC","event_type":"augmentation.completed","id":"dlv_9f1c2b7e4a5d4e8f9a0b1c2d3e4f5a6b","last_response_status":503,"next_attempt_at":"2026-09-27T02:06:00Z","object":"webhook_delivery","status":"pending"},"object":"webhook_endpoint","status":"active","url":"https://example.com/kite"}]},"WebhookEndpointCreate":{"properties":{"url":{"type":"string","maxLength":2000,"title":"Url"},"enabled_events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enabled Events","description":"Event types to receive (supports 'augmentation.*'); omit for all"}},"additionalProperties":false,"type":"object","required":["url"],"title":"WebhookEndpointCreate"},"WebhookEndpointDeleted":{"properties":{"id":{"type":"string","title":"Id"},"object":{"type":"string","enum":["webhook_endpoint"],"const":"webhook_endpoint","title":"Object","default":"webhook_endpoint"},"deleted":{"type":"boolean","title":"Deleted","description":"Always true"}},"type":"object","required":["id","deleted"],"title":"WebhookEndpointDeleted"},"WebhookEndpointList":{"properties":{"object":{"type":"string","enum":["list"],"const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/WebhookEndpoint"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More","description":"Always false: an account has at most 10 endpoints"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","has_more"],"title":"WebhookEndpointList"},"WebhookEndpointUpdate":{"properties":{"enabled_events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enabled Events","description":"Replaces the event types it receives (supports 'augmentation.*'); null or [] for all"},"status":{"anyOf":[{"type":"string","enum":["active","disabled"]},{"type":"null"}],"title":"Status","description":"`disabled`: Kite sends it nothing until you set `active` again. Events in between are not sent later (read them from GET /v1/events), and its pending retries fail"}},"additionalProperties":false,"type":"object","title":"WebhookEndpointUpdate","description":"Only the fields you send change."},"WebhookEndpointWithSecret":{"properties":{"id":{"type":"string","title":"Id","description":"`whk_` + a time-ordered ULID"},"object":{"type":"string","enum":["webhook_endpoint"],"const":"webhook_endpoint","title":"Object","default":"webhook_endpoint"},"url":{"type":"string","title":"Url"},"enabled_events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enabled Events","description":"The event types it receives; null means all"},"status":{"type":"string","title":"Status","description":"`active` or `disabled`"},"secret":{"type":"string","title":"Secret","description":"`whsec_…`: verify each delivery's `Kite-Signature` with it"}},"type":"object","required":["id","url","status","secret"],"title":"WebhookEndpointWithSecret","description":"The endpoint just created, with its signing secret: the only time the secret is returned."},"WebhookTestDelivery":{"properties":{"id":{"type":"string","title":"Id","description":"`dlv_` + 32 hex characters"},"object":{"type":"string","enum":["webhook_delivery"],"const":"webhook_delivery","title":"Object","default":"webhook_delivery"},"endpoint_id":{"type":"string","title":"Endpoint Id"},"event_id":{"type":"string","title":"Event Id"},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"},"status":{"type":"string","title":"Status","description":"`pending` (queued, or waiting to retry), `delivered` (the endpoint answered 2xx), or `failed` (every attempt failed, or it was not sent)"},"attempts":{"type":"integer","title":"Attempts","description":"POSTs made so far. At most 6: the first, then retries after 1 min, 5 min, 30 min, 2 h and 8 h"},"last_response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Response Status","description":"The HTTP status the endpoint last answered with; null when no answer arrived"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error","description":"Why the last attempt failed when the status does not say: no answer (timeout, TLS, DNS, connection), a redirect, or not sent at all"},"next_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Attempt At","description":"When it goes out next, while `pending`"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"latency_ms":{"type":"integer","title":"Latency Ms","description":"Milliseconds from sending the request to the endpoint's answer (or to the failure)"}},"type":"object","required":["id","endpoint_id","event_id","status","attempts","latency_ms"],"title":"WebhookTestDelivery","description":"The test delivery just sent, and how long the endpoint took to answer.","examples":[{"attempts":2,"created_at":"2026-09-27T02:00:00Z","endpoint_id":"whk_01K62QZ8V4X9C3N7M5T2R8W6HB","event_id":"evt_01K62QZ8V4X9C3N7M5T2R8W6HC","event_type":"augmentation.completed","id":"dlv_9f1c2b7e4a5d4e8f9a0b1c2d3e4f5a6b","last_response_status":503,"next_attempt_at":"2026-09-27T02:06:00Z","object":"webhook_delivery","status":"pending"}]},"WelcomeGrantResponse":{"properties":{"amount":{"type":"integer","title":"Amount"},"granted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granted At"}},"type":"object","required":["amount"],"title":"WelcomeGrantResponse","description":"The one-time welcome tokens an account received (see services/billing/grants.py)."},"WorkspaceCreate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"ownerId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ownerid"}},"type":"object","title":"WorkspaceCreate","description":"Schema for creating a workspace."},"WorkspaceMemberCreate":{"properties":{"workspaceId":{"type":"string","title":"Workspaceid"},"userId":{"type":"string","title":"Userid"},"role":{"type":"string","title":"Role","description":"Role: OWNER, ADMIN, MEMBER, or VIEWER"}},"type":"object","required":["workspaceId","userId","role"],"title":"WorkspaceMemberCreate","description":"Schema for creating a workspace member."},"WorkspaceMemberOut":{"properties":{"id":{"type":"string","title":"Id"},"workspaceId":{"type":"string","title":"Workspaceid"},"userId":{"type":"string","title":"Userid"},"role":{"type":"string","title":"Role"},"joinedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Joinedat"},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedat"}},"type":"object","required":["id","workspaceId","userId","role"],"title":"WorkspaceMemberOut","description":"Schema for workspace member response."},"WorkspaceMemberUpdate":{"properties":{"role":{"type":"string","title":"Role","description":"Role: OWNER, ADMIN, MEMBER, or VIEWER"}},"type":"object","required":["role"],"title":"WorkspaceMemberUpdate","description":"Schema for updating a workspace member."},"WorkspaceOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"ownerId":{"type":"string","title":"Ownerid"},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedat"},"memberCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Membercount"}},"type":"object","required":["id","name","ownerId"],"title":"WorkspaceOut","description":"Schema for workspace response."},"WorkspaceUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"WorkspaceUpdate","description":"Schema for updating a workspace."},"WorldGenerationModel":{"type":"string","enum":["marble-1.1-plus","marble-1.1","marble-1.0","marble-1.0-draft"],"title":"WorldGenerationModel","description":"Available world generation models."},"WorldGenerationResponse":{"properties":{"generation_id":{"type":"string","title":"Generation Id","description":"Unique ID for tracking this generation"},"status":{"$ref":"#/components/schemas/WorldGenerationStatus","description":"Current status of generation"},"project_id":{"type":"string","title":"Project Id","description":"Project ID"},"created_at":{"type":"string","title":"Created At","description":"ISO timestamp when generation started"}},"type":"object","required":["generation_id","status","project_id","created_at"],"title":"WorldGenerationResponse","description":"Response after initiating world generation."},"WorldGenerationStatus":{"type":"string","enum":["uploading","pending","processing","completed","failed","cancelled"],"title":"WorldGenerationStatus","description":"World generation status."},"WorldGenerationStatusResponse":{"properties":{"generation_id":{"type":"string","title":"Generation Id","description":"Generation ID"},"status":{"$ref":"#/components/schemas/WorldGenerationStatus","description":"Current status"},"progress":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Progress","description":"Progress from 0.0 to 1.0"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if status is failed"},"estimated_time_remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Time Remaining","description":"Estimated seconds remaining"},"world_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"World Id","description":"World ID if generation completed"}},"type":"object","required":["generation_id","status"],"title":"WorldGenerationStatusResponse","description":"Response for generation status polling."},"WorldModel":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","default":{}},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedat"}},"type":"object","required":["id","name","type"],"title":"WorldModel","description":"World model schema."},"WorldOut":{"properties":{"id":{"type":"string","title":"Id","description":"World ID"},"name":{"type":"string","title":"Name","description":"World name"},"project_id":{"type":"string","title":"Project Id","description":"Project ID"},"model_path":{"type":"string","title":"Model Path","description":"Path to world model files"},"metadata":{"type":"object","title":"Metadata","description":"World metadata"},"created_at":{"type":"string","title":"Created At","description":"ISO timestamp when world was created"},"provider":{"type":"string","title":"Provider","description":"Generation provider used (e.g., 'marble')"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt","description":"Original generation prompt"}},"type":"object","required":["id","name","project_id","model_path","created_at","provider"],"title":"WorldOut","description":"World metadata response."},"api__v1__routers__assets__EnvironmentCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"usd_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usd Uri"},"glb_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Glb Uri"},"upload":{"anyOf":[{"$ref":"#/components/schemas/UploadSpec"},{"type":"null"}]},"object_min_z":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Object Min Z","description":"z (m) below which a dropped object counts as fallen; default -0.2"},"spawn_zones":{"items":{"type":"object"},"type":"array","title":"Spawn Zones","description":"[{name?, x, y, z?, radius?}] where objects may be placed"},"initial_pose":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Initial Pose","description":"{position_xyz:[x,y,z], rotation_xyzw?:[x,y,z,w]}"},"up_axis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Up Axis","description":"'Y' or 'Z' — how the geometry is authored"},"rotate_deg":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Rotate Deg","description":"extra [rx, ry, rz] rotation in degrees"}},"additionalProperties":false,"type":"object","title":"EnvironmentCreate"},"api__v1__schemas__environments__EnvironmentCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Name"},"kind":{"type":"string","enum":["panorama","world"],"title":"Kind","description":"`world` makes a 3D world with parallax, from a photo or a prompt","default":"panorama"},"library_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Library Id","description":"A library environment's `library_id`"},"photo":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentPhoto"},{"type":"null"}]},"prompt":{"anyOf":[{"type":"string","maxLength":2000,"minLength":3},{"type":"null"}],"title":"Prompt"},"panorama":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Panorama","description":"Base64-encoded 2:1 equirectangular JPEG or PNG, from 4096 x 2048 to 8192 x 4096"},"category":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Category","description":"What kind of place it is (workshop, warehouse, lab, ...): matching filters on it"},"scenery_depth_m":{"anyOf":[{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Scenery Depth M","description":"Roughly how far the walls are from the work cell, in metres"},"lighting":{"anyOf":[{"type":"string","enum":["daylight","artificial"]},{"type":"null"}],"title":"Lighting","description":"What lights the place, when you know it better than the measurement (which can take high windows for lamps)"}},"additionalProperties":false,"type":"object","title":"EnvironmentCreate","description":"Add an environment from exactly one of: a library panorama (`library_id`), a photo of your site (`photo`, with\nan optional `prompt` to guide the completion), a description (`prompt` alone), or an equirectangular panorama you\nalready have (`panorama`). Library and panorama environments are ready at once; photos and prompts take minutes\n(`status` is `processing` until then).","examples":[{"library_id":"aircraft_workshop_01"},{"category":"factory","prompt":"A bright electronics assembly line with windows along one wall"}]},"routers__sensors__ValidateBody":{"properties":{"sensor_config":{"type":"object","title":"Sensor Config"},"inventory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inventory Id"},"robot_xml":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Xml"}},"type":"object","required":["sensor_config"],"title":"ValidateBody"},"routers__sim_tasks__ValidateBody":{"properties":{"document":{"type":"object","title":"Document"},"instance_to_body":{"additionalProperties":{"type":"string"},"type":"object","title":"Instance To Body","default":{}}},"type":"object","required":["document"],"title":"ValidateBody"},"schemas__capture__CameraInfo":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"default_width":{"type":"integer","title":"Default Width","default":0},"default_height":{"type":"integer","title":"Default Height","default":0},"default_fps":{"type":"number","title":"Default Fps","default":0.0},"thumbnail_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail B64"}},"type":"object","required":["id","label"],"title":"CameraInfo","description":"A camera the server enumerated — shown in the picker."},"schemas__deploy__CameraInfo":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"default_width":{"type":"integer","title":"Default Width","default":0},"default_height":{"type":"integer","title":"Default Height","default":0},"default_fps":{"type":"number","title":"Default Fps","default":0.0},"thumbnail_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail B64"}},"type":"object","required":["id","label"],"title":"CameraInfo","description":"A detected video device that can be attached to a deployment."}}}}