SerenAI

Pay Per Call Agentic Commerce

UpdateOrganizationPrivateModelsPolicyRequest

Properties

PropertyTypeRequiredDescription
allow_claude_agent boolean No
allow_cloud_agent_launch boolean No
allow_codex_agent boolean No
allow_seren_agent boolean No
allow_seren_private_agent boolean No
clear_session_database boolean No
deployment_id string,null No
disable_external_model_providers boolean No
disable_local_agents boolean No
disable_seren_models boolean No
fallback_models array,null No
hide_model_picker boolean No
mode OrganizationPrivateModelsMode Yes
model_id string,null No
ordered_model_ids array,null No
private_output_policy any No
session_database any No
session_database_secret_value string,null No Optional new secret value for the private DB URL referenced by `session_database.url_secret_key`. This is write-only and is not returned by the API.
View JSON Schema
{
  "type": "object",
  "required": [
    "mode"
  ],
  "properties": {
    "allow_claude_agent": {
      "type": "boolean"
    },
    "allow_cloud_agent_launch": {
      "type": "boolean"
    },
    "allow_codex_agent": {
      "type": "boolean"
    },
    "allow_seren_agent": {
      "type": "boolean"
    },
    "allow_seren_private_agent": {
      "type": "boolean"
    },
    "clear_session_database": {
      "type": "boolean"
    },
    "deployment_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "disable_external_model_providers": {
      "type": "boolean"
    },
    "disable_local_agents": {
      "type": "boolean"
    },
    "disable_seren_models": {
      "type": "boolean"
    },
    "fallback_models": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "hide_model_picker": {
      "type": "boolean"
    },
    "mode": {
      "$ref": "#/components/schemas/OrganizationPrivateModelsMode"
    },
    "model_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "ordered_model_ids": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "private_output_policy": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/ManagedAgentPrivateOutputPolicy"
        }
      ]
    },
    "session_database": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/ManagedAgentSessionDatabase"
        }
      ]
    },
    "session_database_secret_value": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional new secret value for the private DB URL referenced by `session_database.url_secret_key`.\n\nThis is write-only and is not returned by the API."
    }
  }
}