Extend model resources expiry
Keeps a ready model resource from stopping for inactivity for at least the given number of seconds from now. It moves the resource’s expires_at to at least that time, and never earlier. Every operation on the resource’s sessions already keeps it up for inactive_timeout seconds, so use this only to stay up longer without operations, for example while you compute rewards. Fails if the resource is not ready.
Authorizations
Body
Response
Model resource details
Allocated GPU resources that training sessions attach to
Lifecycle status of the model resource
MODEL_RESOURCES_STATUS_PENDING, MODEL_RESOURCES_STATUS_CREATING, MODEL_RESOURCES_STATUS_READY, MODEL_RESOURCES_STATUS_ERROR, MODEL_RESOURCES_STATUS_STOPPED, MODEL_RESOURCES_STATUS_STOPPING "MODEL_RESOURCES_STATUS_READY"
Model-registry model whose weights the resource trains in place of the base model's own, pinned to the revision resolved when the resource was created. Absent when the resource trains the base model's own weights.
"together://ml_A1b2C3d4E5f6G7h8I9j0K@rv_A1b2C3d4E5f6G7h8I9j0K"
The earliest time the resource can stop for inactivity, which also expires its sessions. It is the resource's last activity plus inactive_timeout seconds. Becoming ready, a session start and every operation on any of its sessions count as activity, and the resource does not stop while an operation is running. An extend expiry call can move it later. It never moves earlier. Refreshed about once a minute. Set while the resource is ready.
"2026-01-02T01:00:05Z"