Skip to main content
PUT
Set the model a monitor runs on

Authorizations

Authorization
string
header
required

Send Authorization: Bearer YOUR_API_KEY. The key resolves to a single organization.

Path Parameters

id
string<uuid>
required

Body

application/json

Either the platform model (optionally a tier) or one of the organization's AI provider keys plus that provider's model id.

provider
string
required
Allowed value: "bedrock"
modelTier
enum<string>

Defaults to fast.

Available options:
fast,
balanced,
advanced

Response

The model the monitor now runs on.

monitorId
string<uuid>
required
provider
enum<string>
required

bedrock is the platform model; anything else is the provider of the organization key.

Available options:
bedrock,
openai,
anthropic,
openrouter,
vercel_gateway,
typesafe
model
string
required

The tier for bedrock, otherwise the provider's model id.

aiKeyId
string<uuid> | null
required

The organization key the monitor runs on, or null for the platform model.

version
integer
required

The monitor's version after the change.

versionChanged
boolean
required

true when the provider or model changed, which opens a new version and resets the monitor's alert. Switching to another key of the same provider keeps the version.