Models

Get configured model

Changed on

Returns one configured model under the model provider config.

get/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models/{configuredModelID}

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

modelProviderConfigID, string required

Model provider config ID (mpc_...).

configuredModelID, string required

Configured model ID (mdl_...).

Response

The configured model.

ConfiguredModel required
id, string required
org_id, string required
model_provider_config_id, string required
management_kind, 'tenant' | 'cluster' required

Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.

name, string required

User-assigned configured model name used by agent YAML as model.name.

current_revision_id, string required
provider_model_slug, string required

Exact provider model slug sent to the provider endpoint by the current revision.

context_window_tokens, integer required

Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.

max_output_tokens, integer nullable required

Known output-token ceiling for this model, or null when unknown.

default_max_output_tokens, integer nullable

Default per-request output-token cap sent to the provider unless an agent config overrides it.

default_cache_retention, 'none' | 'short' | 'long'

Prompt-cache preference for model requests; short when omitted. short applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. long prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like short elsewhere. none sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.

supports_tools, boolean required

Whether this configured model can receive tool definitions and emit tool calls.

supports_reasoning, boolean required

Whether Omnara should use this model's reasoning features.

default_reasoning_effort, string required

Default reasoning effort to send for models/API formats that support effort-style reasoning controls.

supported_reasoning_efforts, string[] required

Reasoning effort values this configured model accepts.

input_modalities, string[] required

Input types this configured model accepts. Omnara recognizes text, image, file, and audio; an empty list leaves capabilities unspecified.

output_modalities, string[] required

Output types this configured model can return.

api_variant_options, ModelAPIVariantOptions required

Extra top-level JSON fields to include in provider requests for this configured model. Use this for provider-specific settings that Omnara does not expose as typed fields, such as OpenRouter provider routing or sampling parameters. Omnara still controls the fields it needs to run the agent correctly, including the model, prompt/messages, streaming, tools, output-token limit, and selected reasoning policy. Provider passthrough values for those fields are ignored. For OpenRouter routing options, see https://openrouter.ai/docs/guides/routing/provider-selection and general request parameters at https://openrouter.ai/docs/api/reference/parameters. Omnara-managed OpenRouter providers accept only sampling, reasoning, and per-model routing options here.

pricing, ModelPricing

Your own prices for this model, when set.

created_at, string date-time required
updated_at, string date-time required
revision_created_at, string date-time required

Changes