Create a project

Open Projects, choose to create one, and fill in the form: Project Name (required), Description, Project Template, the Environment panel and ML Framework. Then press Create Project.

  • Project names are unique across the whole installation. Creating a second project with an existing name returns an error.
  • Templates on the form: custom, classification, regression, clustering, deep-learning.
  • Frameworks: scikit-learn (default), tensorflow, pytorch, xgboost, lightgbm, custom.
  • Visibility is private by default. The other value is public.
curl -X POST http://127.0.0.1:5001/api/v1/projects \
  -H "X-API-Key: <your-key>" -H "Content-Type: application/json" \
  -d '{"name": "churn-model", "description": "Customer churn", "template": "classification", "framework": "scikit-learn"}'

The response is 201 with {"success": true, "data": {...}}. A missing login returns 401 and a duplicate name returns 400.

A new project gets the folders data, models, notebooks and scripts, plus a README.md and scripts/train_example.py. It uses your shared Python environment unless you choose otherwise.

The project page

A project page has four tabs: Visual Pipeline (the workflow editor), Experiments, Models and Project Info.

Statuses

A project status is one of active, archived, initializing or environment_setup. Archive and restore a project from its menu or with the routes below.

List and find projects

GET /api/v1/projects returns only your own projects, as {success, data}.

ParameterValues
statusactive, archived or all
frameworka framework name
industryan industry profile id
searchtext to match
sortname, updated_at or created_at
orderasc or desc

Project routes

All routes below are under /api/v1. They check that you are signed in. Reading one project needs you to be its owner or an administrator, otherwise the answer is 403.

RouteWhat it does
GET /projects/<project_id>Read a project.
PUT /projects/<project_id>Update name, description, framework, template, environment_name, workflow_auto_install_enabled or workflow_environment_mode. The response key is project, not data.
DELETE /projects/<project_id>Delete the project's database records and workflows. The virtual environment is kept. The code does not delete the project folder.
POST /projects/<project_id>/archiveArchive.
POST /projects/<project_id>/restoreRestore an archived project.
GET /projects/<project_id>/statsexperiment_count, completed_count, running_count, failed_count, best_experiment, metric_history, workflow_count, dataset_count.
POST /projects/<project_id>/cloneBody name and description. Copies configuration and the directory. Experiments and workflows are not copied.

Snapshots

A snapshot saves the project's name, description, framework, template and industry settings so you can return to them.

RouteWhat it does
GET /projects/<project_id>/snapshotsList snapshots.
POST /projects/<project_id>/snapshotsCreate one. Optional body field label.
GET /projects/<project_id>/snapshots/<version>Read one.
POST /projects/<project_id>/snapshots/<version>/restoreRestore. The current state is saved as a snapshot first.
GET /projects/<project_id>/snapshots/compare?v1=1&v2=2Returns a changes list.

Project templates

Save a project as a template and start new projects from it.

RouteWhat it does
GET /project-templatesFilters: visibility (all, mine, public), framework, search.
GET /project-templates/<id>Read one.
POST /projects/<project_id>/save-templateBody name, description, visibility, tags. At most 20 tags, each at most 50 characters.
POST /project-templates/<id>/useBody name (required). Returns project_id and name.
PUT or DELETE /project-templates/<id>Edit or remove.

Collaborators and visibility

RouteWhat it does
GET or POST /projects/<project_id>/collaboratorsList, or invite by user name. Role is editor or viewer. Only the owner can invite. The invitation starts as pending.
PUT or DELETE /projects/<project_id>/collaborators/<target_user_id>Change a role or remove a person.
POST /projects/<project_id>/collaborators/acceptThe invited person accepts.
POST /projects/<project_id>/collaborators/declineThe invited person declines.
PUT /projects/<project_id>/visibilitySet private or public. Owner only.
GET /projects/<project_id>/activityActivity log. The limit parameter defaults to 50, maximum 200.

Project environments

Each project can use the shared environment of its owner, its own environment, or a dedicated plugin runtime environment. The workflow_environment_mode field holds one of shared, project or plugin_dedicated.

RouteWhat it does
GET /projects/<project_id>/environmentRead the environment state.
POST /projects/<project_id>/environment/createBody {"mode": "project"} or {"mode": "plugin_dedicated"}.
POST /projects/<project_id>/environment/switchBody {"mode": ...}.
POST /projects/<project_id>/environment/packages/installBody {"package": "name"}.
POST /projects/<project_id>/environment/packages/uninstallBody {"package": "name"}. pip, setuptools and wheel are protected and cannot be uninstalled.

Environment names are project_<id>_env and project_<id>_plugin_runtime_env. A new environment starts with numpy, pandas, matplotlib, seaborn and scikit-learn, plus tensorflow for the tensorflow framework, torch and torchvision for pytorch, xgboost for xgboost, and lightgbm for lightgbm.

Named environments

RouteWhat it does
GET /api/v1/environmentsList environments.
POST /api/v1/environmentsCreate. Name may contain letters, digits, hyphens and underscores, up to 100 characters. Optional packages list.
GET or DELETE /api/v1/environments/<name>Read or delete.
GET or POST /api/v1/environments/<name>/packagesList or install packages.
DELETE /api/v1/environments/<name>/packages/<package>Uninstall a package.