Models

Refresh Deployed Model

Hot-swap the latest adapter checkpoint into an already-deployed model.

Calls the train GPU server to find the current adapter checkpoint step, then performs an undeploy + redeploy so the inference server loads the latest weights. The deployed model ID and inference URL remain unchanged.

Raises 400 if:

  • Model is not in DEPLOYED state
  • No adapter checkpoint is available yet (adapter_available == false)
  • Train-time alignment failed with a zeroth checkpoint (status == "failed" AND adapter_available == true)
post/api/v3/models/{model_id}/deployment/refresh

Request

  • Base URL
    https://api.nugen.in
  • Auth
    HTTP bearer

Path parameters

model_idstring required

ID of the model, as listed by GET /models/aligned or GET /models/base

Response

Returns the adapter checkpoint step now live on the inference server.

model_idstring required

Aligned model id whose deployment was refreshed

adapter_checkpoint_stepinteger nullable

Adapter checkpoint step now live on the inference server

adapter_updated_atstring nullable

Timestamp when the train GPU server last wrote this checkpoint

Example response

{
  "model_id": "model_01hx3z9k2m4n5p6q",
  "adapter_checkpoint_step": 3,
  "adapter_updated_at": "2026-07-20 23:52:02 UTC"
}

Changes

No recorded changes to this operation across all 1 revision of this API.