Loading...
Loading...
Browses TrueFoundry ML repositories and model registry. Lists repos, models, and artifacts with FQNs for use in other skills.
npx skill4agent add truefoundry/tfy-deploy-skills truefoundry-ml-repos<objective>Routing note: For ambiguous user intents, use the shared clarification templates in references/intent-clarification.md.
statusTFY_BASE_URLTFY_API_KEYTFY_API_SHscripts/tfy-api.shreferences/tfy-api-setup.mdtfy_ml_repos_list()TFY_API_SH=~/.claude/skills/truefoundry-ml-repos/scripts/tfy-api.sh
# List all ML repos
$TFY_API_SH GET /api/ml/v1/ml-reposML Repos:
| Name | ID | FQN |
|---------------|----------|------------------------|
| my-models | mlr-abc | ml-repo:my-models |
| experiment-1 | mlr-def | ml-repo:experiment-1 |tfy_ml_repos_get(id="REPO_ID")# Get ML repo by ID
$TFY_API_SH GET /api/ml/v1/ml-repos/REPO_IDtfy_models_list(ml_repo_id="REPO_ID")# List models (filter by ml_repo_id, name, or fqn)
$TFY_API_SH GET "/api/ml/v1/models?ml_repo_id=REPO_ID"
# Search by name
$TFY_API_SH GET "/api/ml/v1/models?name=my-model"
# Search by FQN
$TFY_API_SH GET "/api/ml/v1/models?fqn=model:my-models:my-model"Models in "my-models":
| Name | ID | FQN | Versions |
|-------------|----------|-------------------------------|----------|
| my-model | mdl-abc | model:my-models:my-model | 3 |
| classifier | mdl-def | model:my-models:classifier | 1 |statuspromptsllm-deployreferences/api-endpoints.mdML repo ID not found. List repos first to find the correct ID.This ML repo has no models yet. Models appear after logging artifacts via the SDK or fine-tuning.Cannot access ML repos. Check your API key permissions.No ML repos found. Create one via the TrueFoundry UI or SDK:
import truefoundry as tfy
client = tfy.TrueFoundryClient()
client.create_ml_repo(name="my-repo")