You can launch the dashboard by running:
Launch the Dashboard
Launching a Local Dashboard
You can launch the dashboard by running:
Shell
trackio show
Python
import trackio
trackio.show()
Loading a Specific Project
You can also provide an optional project name as the argument to load a specific project directly:
Shell
trackio show --project "my-project"
Python
import trackio
trackio.show(project="my-project")
Using a Custom Frontend
You can replace the bundled dashboard with your own static frontend directory. The directory only needs an index.html file; your frontend can call the existing Trackio API under /api/*.
The intended workflow is:
- Run
trackio show --frontend ./my-trackio-frontend. - Ask your LLM to edit the files in that directory.
- Keep the browser open while Trackio live reloads the frontend as those files change.
If the directory passed to --frontend does not exist, or exists but is empty, Trackio copies in the starter frontend automatically, prints that it did so, and then serves that directory. The starter is a complete plain-HTML/CSS/JS template: it calls the Trackio API, loads projects and runs, fetches metric values, and draws simple charts that you can replace with your own UI.
The currently available HTTP endpoints are:
POST /api/get_run_mutation_statusPOST /api/upload_db_to_spacePOST /api/bulk_upload_mediaPOST /api/logPOST /api/bulk_logPOST /api/bulk_log_systemPOST /api/bulk_alertPOST /api/get_alertsPOST /api/get_metric_valuesPOST /api/get_runs_for_projectPOST /api/get_metrics_for_runPOST /api/get_all_projectsPOST /api/get_project_summaryPOST /api/get_run_summaryPOST /api/get_system_metrics_for_runPOST /api/get_system_logsPOST /api/get_system_logs_batchPOST /api/get_snapshotPOST /api/get_logsPOST /api/get_logs_batchPOST /api/get_tracesPOST /api/query_projectPOST /api/get_settingsPOST /api/get_project_filesPOST /api/delete_runPOST /api/rename_runPOST /api/force_syncPOST /api/uploadfor multipart file uploads used by media and file-related flows
For reading stored files returned by the API, Trackio also serves GET /file?path=....
Shell
trackio show --frontend ./my-trackio-frontend
Python
import trackio
trackio.show(frontend_dir="./my-trackio-frontend")
If the provided frontend directory is non-empty but invalid, Trackio falls back to the shipped starter template.
Setting a Persistent Default Frontend
If you want the same custom frontend to be used by trackio show, trackio sync, and deploy flows by default, save it in Trackio's persistent config:
trackio config set frontend ./my-trackio-frontend
Reset it with:
trackio config unset frontend
Customizing Plot Colors
You can customize the color palette used for plot lines by providing a color_palette argument. This is useful if you want to match your organization's branding or have specific color preferences.
Shell
trackio show --color-palette "#FF0000,#00FF00,#0000FF"
Python
import trackio
trackio.show(color_palette=["#FF0000", "#00FF00", "#0000FF"])
The colors will be cycled through when displaying multiple runs. You can provide as many or as few colors as you like.
Enabling Remote Access
By default, the dashboard binds to 127.0.0.1 (localhost), which means it can only be accessed from the same machine. To allow remote access from other machines on the network, use the --host option:
Shell
trackio show --host 0.0.0.0
Python
import trackio
trackio.show(host="0.0.0.0")
This is particularly useful when running Trackio on a remote server or in a containerized environment where you need to access the dashboard from a different machine.
Launching a Dashboard in Jupyter Notebooks
You can also launch the dashboard directly within a Jupyter Notebook. Just use the same command as above:
import trackio
trackio.show()
Check the demo notebook.
Source and license
Source: Trackio documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.