changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "ManagementKind": {
+ "description": "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.",
+ "enum": [
+ "tenant",
+ "cluster"
+ ],
+ "type": "string"
+ },
+ "ModelAPIFormat": {
+ "description": "Wire protocol the model endpoint speaks.",
+ "enum": [
+ "openai-responses",
+ "openai-chat-completions",
+ "anthropic-messages"
+ ],
+ "type": "string"
+ },
+ "ModelProviderAPIVariantResponse": {
+ "type": "string"
+ },
+ "ModelProviderAuthKindResponse": {
+ "type": "string"
+ },
+ "ModelProviderConfig": {
+ "properties": {
+ "api_format": {
+ "$ref": "#/$defs/ModelAPIFormat",
+ "description": "Wire protocol Omnara speaks to this provider."
+ },
+ "api_variant": {
+ "$ref": "#/$defs/ModelProviderAPIVariantResponse",
+ "description": "Provider-specific flavor of the API format."
+ },
+ "auth_kind": {
+ "$ref": "#/$defs/ModelProviderAuthKindResponse",
+ "description": "How Omnara sends the credential to the provider."
+ },
+ "auth_options": {
+ "description": "Non-secret authentication settings for this provider config.",
+ "properties": {
+ "header_name": {
+ "description": "Header that carries the API key when auth_kind is api_key_header.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "region": {
+ "description": "AWS region to sign for when auth_kind is sigv4.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "service": {
+ "description": "AWS service to sign for when auth_kind is sigv4.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "base_url": {
+ "description": "Provider endpoint base URL.",
+ "type": "string"
+ },
+ "created_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the provider config was created."
+ },
+ "credential_secret_id": {
+ "$ref": "#/$defs/SecretID",
+ "description": "Secret holding the credential Omnara sends to the provider."
+ },
+ "endpoint_path": {
+ "description": "Path under base_url that model requests are sent to.",
+ "type": "string"
+ },
+ "headers": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Extra HTTP headers sent with every request to this provider.",
+ "type": "object"
+ },
+ "id": {
+ "$ref": "#/$defs/ModelProviderConfigID",
+ "description": "Identifies this provider config."
+ },
+ "idle_timeout_ms": {
+ "description": "Longest wait for response headers or more response data; heartbeats count as activity.",
+ "type": "integer"
+ },
+ "management_kind": {
+ "$ref": "#/$defs/ManagementKind",
+ "description": "Whether the organization manages this provider or the Omnara installation provisions and manages it."
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName",
+ "description": "Name agent configs use to reference this provider as model.provider_config."
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID",
+ "description": "Organization that owns this provider config."
+ },
+ "request_timeout_ms": {
+ "description": "Total deadline for one provider attempt, including reasoning and response streaming.",
+ "type": "integer"
+ },
+ "secret_headers": {
+ "additionalProperties": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "description": "Extra HTTP headers whose values come from the referenced secrets.",
+ "type": "object"
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the provider config was last changed."
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "management_kind",
+ "name",
+ "api_format",
+ "api_variant",
+ "base_url",
+ "endpoint_path",
+ "request_timeout_ms",
+ "idle_timeout_ms",
+ "auth_kind",
+ "auth_options",
+ "credential_secret_id",
+ "headers",
+ "secret_headers",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "ModelProviderConfigID": {
+ "pattern": "^mpc_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ResourceName": {
+ "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "SecretID": {
+ "description": "Secret ID (sec_...).",
+ "pattern": "^sec_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "properties": {
+ "data": {
+ "items": {
+ "$ref": "#/$defs/ModelProviderConfig"
+ },
+ "type": "array"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "data",
+ "next_cursor"
+ ],
+ "type": "object"
+}