Skip to main content
PATCH
Change a model entry's model_id

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

id
string
required

UUIDv7 of the resource.

Body

application/json

PATCH /v1/tenants/me/models/{id} — point an entry at another model.

model_id
string
required

The model to point at.

Response

OK

What a create and a model change both answer with.

One shape for both verbs because both say the same thing — which entry now stands — and the status code is what distinguishes them.

created_at
integer<int64>
required

When it was first stored, in epoch milliseconds.

id
string
required

The entry's identity.

model_id
string
required

The model it configures.

secret_ref
string
required

The vault key name backing it.