Promote
Promote to chain environment
Promotes an existing chain deployment to an environment and returns the promoted chain deployment.
POST
cURL
Authorizations
Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.
Body
application/json
Response
200 - application/json
A deployment of a chain.
Unique identifier of the chain deployment
Time the chain deployment was created in ISO 8601 format
Unique identifier of the chain
Environment the chain deployment is deployed in
Chainlets in the chain deployment
Status of the chain deployment
Available options:
BUILDING, DEPLOYING, DEPLOY_FAILED, LOADING_MODEL, ACTIVE, UNHEALTHY, BUILD_FAILED, BUILD_STOPPED, DEACTIVATING, INACTIVE, FAILED, UPDATING, SCALED_TO_ZERO, WAKING_UP Previous
Cancel model promotionCancels an ongoing promotion to an environment and returns the cancellation status.
Next
cURL