GuardrailsPolicy
Example Usage
typescript
import { GuardrailsPolicy } from "@meetkai/mka1/models/components";
let value: GuardrailsPolicy = {
teamId: "<id>",
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.",
},
},
],
updatedAt: 3973,
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
teamId | string | ✔️ | Team this policy targets; null for the org-wide policy |
guardrails | components.GuardrailConfig[] | ✔️ | N/A |
updatedAt | number | ✔️ | Unix timestamp of when the policy was last updated |