What Is Changing
Two things are changing together:- The Repositories APIs now use the
/api/svcprefix instead of/api/ml. - Older
truefoundryandtruefoundry-sdkpackage versions that still call/api/mlare deprecated.
1. Repositories APIs move from /api/ml to /api/svc
The Repositories APIs are the HTTP APIs for:
- Repositories
- Artifacts and artifact versions
- Models and model versions
- Prompts and prompt versions
- Agent skills and agent skill versions
- Data directories
/api/svc. HTTP method, query parameters, and request/response bodies are unchanged. Nested paths (/*) move the same way.
Example:
- On control plane 0.157.x and later,
/api/mlis deprecated. Use/api/svc. - On control plane 0.188.x,
/api/mlis removed. Calls to that prefix fail.
/api/ml/ and change the prefix. If you only use truefoundry or truefoundry-sdk, upgrade the package instead — you do not need to edit URLs by hand.
2. Older truefoundry and truefoundry-sdk versions are deprecated
truefoundry 0.17.x and truefoundry-sdk 0.4.x already call /api/svc.
Older package versions still call /api/ml. Those versions are deprecated:
- On control plane < 0.157.x,
truefoundry< 0.16.0 andtruefoundry-sdk< 0.3.0 are deprecated. - On control plane 0.157.x and later,
truefoundry< 0.17.0 andtruefoundry-sdk< 0.4.0 are deprecated. - On control plane 0.188.x, requests from older
truefoundryversions ( < 0.17.0 ) are rejected.
truefoundry 0.17.x requires Python 3.10 or later. See Minimum Python version raised to 3.10 — truefoundry v0.17.0.v0.17.0 also removes run.log_images() and run.log_plots(). Migrate those calls before upgrading: Deprecation of Images and Plots in Job Runs — v0.156.0.When this becomes a hard break
Requests from outdatedtruefoundry Python packages will be rejected only when your tenant reaches control plane 0.188.x.
You will receive the following error message:
/api/ml fail because that prefix is removed.
SaaS is expected to reach 0.188.x around 15 November 2026. Self-hosted tenants are unaffected until they upgrade to 0.188.x.
Which version should I install?
The package version you need depends on your control plane version. Find it at the top left, below the logo.SaaS: Your control plane is already on latest version. Install
truefoundry>=0.17.0 and truefoundry-sdk>=0.4.0 now.What You Need to Do
- SaaS
- Self-hosted control plane
1
Upgrade Python to 3.10 or later
Required before installing
truefoundry 0.17.x. See Minimum Python version raised to 3.10.2
Upgrade the truefoundry package
3
Upgrade truefoundry-sdk (if you use it)
truefoundry-sdk is published for both Python and TypeScript:4
Repeat everywhere the packages are pinned
Update laptops, CI (
tfy apply and GitHub Actions), requirements.txt / lockfiles, and job or notebook images.5
Update custom HTTP clients
If you call the Repositories APIs from your own code, change
/api/ml to /api/svc. See the table in What Is Changing.Related announcements
- Deprecation of Images and Plots in Job Runs — v0.156.0
- Minimum Python version raised to 3.10 — truefoundry v0.17.0
If you have questions or need help choosing a version, reach out to support@truefoundry.com — we’re happy to assist.