Skip to main content
PATCH
Scale or redeploy a model

Authorizations

Authorization
string
header
required

A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.

Path Parameters

id
string<uuid>
required

The model's ID (not its project ID). Find it with GET /models?name=your-org/your-model.

Body

application/json
release
string

The release to deploy. Required on PUT; optional on PATCH.

Example:

"v1.2.3-gabcdef0"

instances
object[]

The instance plan per region. On PUT it replaces the plan; on PATCH it merges. Omit to leave capacity unchanged.

strategy
enum<string>
default:ROLLING

How the old release stops serving. Matched exactly.

Available options:
ROLLING,
REPLACE_ALL
immediate
boolean
default:false

Close the model's live sessions once the deploy is sent. Requires a release and REPLACE_ALL.

Response

The change was accepted. A capacity-only change omits the weights fields.

release
string
required

The release now deployed.

immediate
boolean
required

Whether this deploy closes live sessions.

weights_carried_from
string

The release whose weights were reused because this release has none.

weights_missing
boolean

true when the release deployed with no weights available. Omitted when false.

revision
object

The production revision this deploy created. Omitted when nothing changed.