Skip to content

UpdateGuardrailsRequest ​

Example Usage ​

typescript
import { UpdateGuardrailsRequest } from "@meetkai/mka1/models/components";

let value: UpdateGuardrailsRequest = {
  guardrails: [
    {
      mode: "classifier",
      enabled: true,
      config: {
        model: "Colorado",
        prompt: "<value>",
        onError: "fail_closed",
        rejectionMessage:
          "This request is not allowed by your organization's content policy.",
      },
    },
  ],
};

Fields ​

FieldTypeRequiredDescription
guardrailscomponents.GuardrailConfig[]✔️List of guardrails to configure
teamIdstring➖Target team for this policy. Omit or pass null to set the org-wide policy that applies to every team (org admin only). Non-admin callers may only target their own team.