Update project model grant
Updates the project’s overrides for the configured model. Omitted fields keep their current values; null clears an override so the project inherits from the configured model. The grant is live policy: agents already using the model re-apply the updated overrides on their next model call, against the configured-model revision each agent pinned at launch. Updates are validated against the configured model’s current revision only, so an update can make an agent pinned to an older, incompatible revision fail its next model call.
Authorizations
An opaque Omnara personal or organization bearer token.
Path Parameters
^org_[a-z2-7]{26}$^proj_[a-z2-7]{26}$^pmog_[a-z2-7]{26}$Body
Update a project model grant's overrides. Omitted fields keep their current values. Null clears an override so the project inherits from the configured model; for arrays, an empty array clears the override.
Project token-window limit. Cannot exceed the configured model's current limit.
x >= 1Project output-token ceiling. Cannot exceed the configured model's ceiling.
x >= 1Project default per-request output-token cap.
x >= 1Default prompt-cache hint for model requests. none means Omnara does not send a cache hint; providers may still apply their own automatic caching. short and long are translated to the closest supported control for the selected API.
none, short, long Project-level tool-use gate. Can disable tools, but cannot enable tools when the configured model does not support them.
Project-level reasoning gate. Can disable reasoning, but cannot enable reasoning when the configured model does not support it.
Project default reasoning effort.
Project subset of configured-model reasoning efforts. If this excludes the inherited default_reasoning_effort, set default_reasoning_effort on the grant too.
Project subset of configured-model input types.
Project subset of configured-model output types.
Response
Route response.