Pin predictions to a specific model version
Aug 3, 2025
1 minute read
The predictions endpoint now supports running against a specific version of a model. Pass the version number after the model name using owner/name:version_number. Without it, predictions run against the latest version as before.
1curl https://api.wrift.ai/v1/predictions \2 -H "Authorization: Bearer $WRIFTAI_ACCESS_TOKEN" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "owner/name:3",6 "input": { ... }7 }'8
This is useful when a model you depend on releases a new version that changes behavior. Pinning to a version means your app keeps running against the same model until you decide to upgrade.