Manage your assets
Efficiently manage your AI project assets to ensure your data is organized, accessible, and up-to-date.
Update model status via API
You can update your model status toPRODUCTION
, EXPERIMENTAL
, RETIRED
, or STAGING
.
To update a model status using the Vectice API...
import vectice
# Connect to Vectice
connect = vectice.connect(
api_token = 'your-api-key', # Paste your api key
host = 'https://app.vectice.com', # Paste your host
)
# Retrieve your model version using the model version ID
mdv = connect.browse('MDV-XXX')
# Update your model status
mdv.update(status="PRODUCTION")