Skip to main content

Variable: GatewayGuardrailDetailSchema

const GatewayGuardrailDetailSchema: ZodObject<{
target: ZodOptional<ZodEnum<["llm", "mcp_tools"]>>;
id: ZodString;
name: ZodString;
slug: ZodString;
organisation_id: ZodString;
status: ZodString;
owner_id: ZodString;
updated_by: ZodNullable<ZodString>;
created_at: ZodString;
last_updated_at: ZodString;
workspace_id: ZodString;
object: ZodString;
} & {
mcp_server_mappings: ZodOptional<ZodArray<ZodType<{
[key: string]: unknown;
id: string;
guardrail_id: string;
mcp_server_id: string;
run_on: string[];
capability_ids?: string[];
}, ZodTypeDef, {
[key: string]: unknown;
id: string;
guardrail_id: string;
mcp_server_id: string;
run_on: string[];
capability_ids?: string[];
}>, "many">>;
checks: ZodArray<ZodObject<{
id: ZodString;
parameters: ZodType<
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: number;
clockTolerance?: number;
maxTokenAge?: string;
algorithms?: ...[];
}
| {
[key: string]: unknown;
models: string[];
}
| {
[key: string]: unknown;
rule: string;
not?: boolean;
}
| {
[key: string]: unknown;
minSentences?: number;
maxSentences?: number;
not?: boolean;
}
| {
[key: string]: unknown;
minWords?: number;
maxWords?: number;
not?: boolean;
}
| {
[key: string]: unknown;
minCharacters?: number;
maxCharacters?: number;
not?: boolean;
}
| {
[key: string]: unknown;
schema: {
[key: string]: unknown;
};
not?: boolean;
}
| {
[key: string]: unknown;
keys: string[];
operator: string;
}
| {
[key: string]: unknown;
words: string[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: boolean;
not?: boolean;
}
| {
[key: string]: unknown;
format: string;
not?: boolean;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: {
[key: ...]: ...;
};
timeout?: number;
failOnError?: boolean;
}
| {
[key: string]: unknown;
suffix: string;
not?: boolean;
}
| {
[key: string]: unknown;
not?: boolean;
}
| {
[key: string]: unknown;
metadataKeys: string[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ...[];
blockedTypes?: ...[];
}
| {
[key: string]: unknown;
prompt_injection_threshold?: number;
toxicity_threshold?: number;
evasion_threshold?: number;
timeout?: number;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: number;
}
| {
[key: string]: unknown;
scanners: string[];
timeout?: number;
}
| {
[key: string]: unknown;
redact?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
profile: string;
timeout?: number;
}
| {
[key: string]: unknown;
categories: string[];
timeout?: number;
}
| {
[key: string]: unknown;
language?: string;
not?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
redact?: boolean;
categories: string[];
timeout?: number;
}
| {
[key: string]: unknown;
categories: string[];
timeout?: number;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
redact?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
prompt_injection?: boolean;
prompt_injection_threshold?: number;
toxic?: boolean;
toxic_threshold?: number;
jail_break?: boolean;
jail_break_threshold?: number;
malicious_url?: boolean;
malicious_url_threshold?: number;
biased?: boolean;
biased_threshold?: number;
harmful?: boolean;
harmful_threshold?: number;
language?: boolean;
language_values?: string;
pii?: boolean;
pii_redact?: boolean;
pii_categories?: ...[];
secrets?: boolean;
secrets_redact?: boolean;
secrets_categories?: ...[];
timeout?: number;
}
| {
[key: string]: unknown;
blocklistNames?: ...[];
apiVersion?: string;
severity?: number;
categories?: ...[];
timeout?: number;
}
| {
[key: string]: unknown;
domain?: string;
apiVersion?: string;
modelVersion?: string;
redact?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: string;
app_user?: string;
}
| {
[key: string]: unknown;
}, ZodTypeDef,
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: number;
clockTolerance?: number;
maxTokenAge?: string;
algorithms?: ...[];
}
| {
[key: string]: unknown;
models: string[];
}
| {
[key: string]: unknown;
rule: string;
not?: boolean;
}
| {
[key: string]: unknown;
minSentences?: number;
maxSentences?: number;
not?: boolean;
}
| {
[key: string]: unknown;
minWords?: number;
maxWords?: number;
not?: boolean;
}
| {
[key: string]: unknown;
minCharacters?: number;
maxCharacters?: number;
not?: boolean;
}
| {
[key: string]: unknown;
schema: {
[key: string]: unknown;
};
not?: boolean;
}
| {
[key: string]: unknown;
keys: string[];
operator: string;
}
| {
[key: string]: unknown;
words: string[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: boolean;
not?: boolean;
}
| {
[key: string]: unknown;
format: string;
not?: boolean;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: {
[key: ...]: ...;
};
timeout?: number;
failOnError?: boolean;
}
| {
[key: string]: unknown;
suffix: string;
not?: boolean;
}
| {
[key: string]: unknown;
not?: boolean;
}
| {
[key: string]: unknown;
metadataKeys: string[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ...[];
blockedTypes?: ...[];
}
| {
[key: string]: unknown;
prompt_injection_threshold?: number;
toxicity_threshold?: number;
evasion_threshold?: number;
timeout?: number;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: number;
}
| {
[key: string]: unknown;
scanners: string[];
timeout?: number;
}
| {
[key: string]: unknown;
redact?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
profile: string;
timeout?: number;
}
| {
[key: string]: unknown;
categories: string[];
timeout?: number;
}
| {
[key: string]: unknown;
language?: string;
not?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
redact?: boolean;
categories: string[];
timeout?: number;
}
| {
[key: string]: unknown;
categories: string[];
timeout?: number;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
redact?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
prompt_injection?: boolean;
prompt_injection_threshold?: number;
toxic?: boolean;
toxic_threshold?: number;
jail_break?: boolean;
jail_break_threshold?: number;
malicious_url?: boolean;
malicious_url_threshold?: number;
biased?: boolean;
biased_threshold?: number;
harmful?: boolean;
harmful_threshold?: number;
language?: boolean;
language_values?: string;
pii?: boolean;
pii_redact?: boolean;
pii_categories?: ...[];
secrets?: boolean;
secrets_redact?: boolean;
secrets_categories?: ...[];
timeout?: number;
}
| {
[key: string]: unknown;
blocklistNames?: ...[];
apiVersion?: string;
severity?: number;
categories?: ...[];
timeout?: number;
}
| {
[key: string]: unknown;
domain?: string;
apiVersion?: string;
modelVersion?: string;
redact?: boolean;
timeout?: number;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: string;
app_user?: string;
}
| {
[key: string]: unknown;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
parameters: ZodType<
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: ... | ...;
clockTolerance?: ... | ...;
maxTokenAge?: ... | ...;
algorithms?: ... | ...;
}
| {
[key: string]: unknown;
models: ...[];
}
| {
[key: string]: unknown;
rule: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minSentences?: ... | ...;
maxSentences?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minWords?: ... | ...;
maxWords?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minCharacters?: ... | ...;
maxCharacters?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
schema: {
[key: ...]: ...;
};
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
keys: ...[];
operator: string;
}
| {
[key: string]: unknown;
words: ...[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: ... | ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
format: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: ... | ...;
timeout?: ... | ...;
failOnError?: ... | ... | ...;
}
| {
[key: string]: unknown;
suffix: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
metadataKeys: ...[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ... | ...;
blockedTypes?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection_threshold?: ... | ...;
toxicity_threshold?: ... | ...;
evasion_threshold?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
scanners: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
language?: ... | ...;
not?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection?: ... | ... | ...;
prompt_injection_threshold?: ... | ...;
toxic?: ... | ... | ...;
toxic_threshold?: ... | ...;
jail_break?: ... | ... | ...;
jail_break_threshold?: ... | ...;
malicious_url?: ... | ... | ...;
malicious_url_threshold?: ... | ...;
biased?: ... | ... | ...;
biased_threshold?: ... | ...;
harmful?: ... | ... | ...;
harmful_threshold?: ... | ...;
language?: ... | ... | ...;
language_values?: ... | ...;
pii?: ... | ... | ...;
pii_redact?: ... | ... | ...;
pii_categories?: ... | ...;
secrets?: ... | ... | ...;
secrets_redact?: ... | ... | ...;
secrets_categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
blocklistNames?: ... | ...;
apiVersion?: ... | ...;
severity?: ... | ...;
categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
domain?: ... | ...;
apiVersion?: ... | ...;
modelVersion?: ... | ...;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: ... | ...;
app_user?: ... | ...;
}
| {
[key: string]: unknown;
}, ZodTypeDef,
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: ... | ...;
clockTolerance?: ... | ...;
maxTokenAge?: ... | ...;
algorithms?: ... | ...;
}
| {
[key: string]: unknown;
models: ...[];
}
| {
[key: string]: unknown;
rule: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minSentences?: ... | ...;
maxSentences?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minWords?: ... | ...;
maxWords?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minCharacters?: ... | ...;
maxCharacters?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
schema: {
[key: ...]: ...;
};
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
keys: ...[];
operator: string;
}
| {
[key: string]: unknown;
words: ...[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: ... | ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
format: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: ... | ...;
timeout?: ... | ...;
failOnError?: ... | ... | ...;
}
| {
[key: string]: unknown;
suffix: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
metadataKeys: ...[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ... | ...;
blockedTypes?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection_threshold?: ... | ...;
toxicity_threshold?: ... | ...;
evasion_threshold?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
scanners: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
language?: ... | ...;
not?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection?: ... | ... | ...;
prompt_injection_threshold?: ... | ...;
toxic?: ... | ... | ...;
toxic_threshold?: ... | ...;
jail_break?: ... | ... | ...;
jail_break_threshold?: ... | ...;
malicious_url?: ... | ... | ...;
malicious_url_threshold?: ... | ...;
biased?: ... | ... | ...;
biased_threshold?: ... | ...;
harmful?: ... | ... | ...;
harmful_threshold?: ... | ...;
language?: ... | ... | ...;
language_values?: ... | ...;
pii?: ... | ... | ...;
pii_redact?: ... | ... | ...;
pii_categories?: ... | ...;
secrets?: ... | ... | ...;
secrets_redact?: ... | ... | ...;
secrets_categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
blocklistNames?: ... | ...;
apiVersion?: ... | ...;
severity?: ... | ...;
categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
domain?: ... | ...;
apiVersion?: ... | ...;
modelVersion?: ... | ...;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: ... | ...;
app_user?: ... | ...;
}
| {
[key: string]: unknown;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
parameters: ZodType<
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: ... | ...;
clockTolerance?: ... | ...;
maxTokenAge?: ... | ...;
algorithms?: ... | ...;
}
| {
[key: string]: unknown;
models: ...[];
}
| {
[key: string]: unknown;
rule: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minSentences?: ... | ...;
maxSentences?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minWords?: ... | ...;
maxWords?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minCharacters?: ... | ...;
maxCharacters?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
schema: {
[key: ...]: ...;
};
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
keys: ...[];
operator: string;
}
| {
[key: string]: unknown;
words: ...[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: ... | ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
format: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: ... | ...;
timeout?: ... | ...;
failOnError?: ... | ... | ...;
}
| {
[key: string]: unknown;
suffix: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
metadataKeys: ...[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ... | ...;
blockedTypes?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection_threshold?: ... | ...;
toxicity_threshold?: ... | ...;
evasion_threshold?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
scanners: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
language?: ... | ...;
not?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection?: ... | ... | ...;
prompt_injection_threshold?: ... | ...;
toxic?: ... | ... | ...;
toxic_threshold?: ... | ...;
jail_break?: ... | ... | ...;
jail_break_threshold?: ... | ...;
malicious_url?: ... | ... | ...;
malicious_url_threshold?: ... | ...;
biased?: ... | ... | ...;
biased_threshold?: ... | ...;
harmful?: ... | ... | ...;
harmful_threshold?: ... | ...;
language?: ... | ... | ...;
language_values?: ... | ...;
pii?: ... | ... | ...;
pii_redact?: ... | ... | ...;
pii_categories?: ... | ...;
secrets?: ... | ... | ...;
secrets_redact?: ... | ... | ...;
secrets_categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
blocklistNames?: ... | ...;
apiVersion?: ... | ...;
severity?: ... | ...;
categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
domain?: ... | ...;
apiVersion?: ... | ...;
modelVersion?: ... | ...;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: ... | ...;
app_user?: ... | ...;
}
| {
[key: string]: unknown;
}, ZodTypeDef,
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: ... | ...;
clockTolerance?: ... | ...;
maxTokenAge?: ... | ...;
algorithms?: ... | ...;
}
| {
[key: string]: unknown;
models: ...[];
}
| {
[key: string]: unknown;
rule: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minSentences?: ... | ...;
maxSentences?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minWords?: ... | ...;
maxWords?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minCharacters?: ... | ...;
maxCharacters?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
schema: {
[key: ...]: ...;
};
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
keys: ...[];
operator: string;
}
| {
[key: string]: unknown;
words: ...[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: ... | ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
format: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: ... | ...;
timeout?: ... | ...;
failOnError?: ... | ... | ...;
}
| {
[key: string]: unknown;
suffix: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
metadataKeys: ...[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ... | ...;
blockedTypes?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection_threshold?: ... | ...;
toxicity_threshold?: ... | ...;
evasion_threshold?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
scanners: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
language?: ... | ...;
not?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection?: ... | ... | ...;
prompt_injection_threshold?: ... | ...;
toxic?: ... | ... | ...;
toxic_threshold?: ... | ...;
jail_break?: ... | ... | ...;
jail_break_threshold?: ... | ...;
malicious_url?: ... | ... | ...;
malicious_url_threshold?: ... | ...;
biased?: ... | ... | ...;
biased_threshold?: ... | ...;
harmful?: ... | ... | ...;
harmful_threshold?: ... | ...;
language?: ... | ... | ...;
language_values?: ... | ...;
pii?: ... | ... | ...;
pii_redact?: ... | ... | ...;
pii_categories?: ... | ...;
secrets?: ... | ... | ...;
secrets_redact?: ... | ... | ...;
secrets_categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
blocklistNames?: ... | ...;
apiVersion?: ... | ...;
severity?: ... | ...;
categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
domain?: ... | ...;
apiVersion?: ... | ...;
modelVersion?: ... | ...;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: ... | ...;
app_user?: ... | ...;
}
| {
[key: string]: unknown;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">>, "many">;
actions: ZodObject<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<{
value: ...;
weight: ...;
metadata: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, ZodTypeAny, "passthrough">>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<{
value: ...;
weight: ...;
metadata: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, ZodTypeAny, "passthrough">>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">>>>;
}, ZodTypeAny, "passthrough">>;
version_id: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
target: ZodOptional<ZodEnum<["llm", "mcp_tools"]>>;
id: ZodString;
name: ZodString;
slug: ZodString;
organisation_id: ZodString;
status: ZodString;
owner_id: ZodString;
updated_by: ZodNullable<ZodString>;
created_at: ZodString;
last_updated_at: ZodString;
workspace_id: ZodString;
object: ZodString;
} & {
mcp_server_mappings: ZodOptional<ZodArray<ZodType<{
[key: string]: unknown;
id: string;
guardrail_id: string;
mcp_server_id: string;
run_on: string[];
capability_ids?: string[];
}, ZodTypeDef, {
[key: string]: unknown;
id: string;
guardrail_id: string;
mcp_server_id: string;
run_on: string[];
capability_ids?: string[];
}>, "many">>;
checks: ZodArray<ZodObject<{
id: ZodString;
parameters: ZodType<
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: ... | ...;
clockTolerance?: ... | ...;
maxTokenAge?: ... | ...;
algorithms?: ... | ...;
}
| {
[key: string]: unknown;
models: ...[];
}
| {
[key: string]: unknown;
rule: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minSentences?: ... | ...;
maxSentences?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minWords?: ... | ...;
maxWords?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minCharacters?: ... | ...;
maxCharacters?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
schema: {
[key: ...]: ...;
};
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
keys: ...[];
operator: string;
}
| {
[key: string]: unknown;
words: ...[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: ... | ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
format: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: ... | ...;
timeout?: ... | ...;
failOnError?: ... | ... | ...;
}
| {
[key: string]: unknown;
suffix: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
metadataKeys: ...[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ... | ...;
blockedTypes?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection_threshold?: ... | ...;
toxicity_threshold?: ... | ...;
evasion_threshold?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
scanners: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
language?: ... | ...;
not?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection?: ... | ... | ...;
prompt_injection_threshold?: ... | ...;
toxic?: ... | ... | ...;
toxic_threshold?: ... | ...;
jail_break?: ... | ... | ...;
jail_break_threshold?: ... | ...;
malicious_url?: ... | ... | ...;
malicious_url_threshold?: ... | ...;
biased?: ... | ... | ...;
biased_threshold?: ... | ...;
harmful?: ... | ... | ...;
harmful_threshold?: ... | ...;
language?: ... | ... | ...;
language_values?: ... | ...;
pii?: ... | ... | ...;
pii_redact?: ... | ... | ...;
pii_categories?: ... | ...;
secrets?: ... | ... | ...;
secrets_redact?: ... | ... | ...;
secrets_categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
blocklistNames?: ... | ...;
apiVersion?: ... | ...;
severity?: ... | ...;
categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
domain?: ... | ...;
apiVersion?: ... | ...;
modelVersion?: ... | ...;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: ... | ...;
app_user?: ... | ...;
}
| {
[key: string]: unknown;
}, ZodTypeDef,
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: ... | ...;
clockTolerance?: ... | ...;
maxTokenAge?: ... | ...;
algorithms?: ... | ...;
}
| {
[key: string]: unknown;
models: ...[];
}
| {
[key: string]: unknown;
rule: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minSentences?: ... | ...;
maxSentences?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minWords?: ... | ...;
maxWords?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minCharacters?: ... | ...;
maxCharacters?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
schema: {
[key: ...]: ...;
};
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
keys: ...[];
operator: string;
}
| {
[key: string]: unknown;
words: ...[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: ... | ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
format: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: ... | ...;
timeout?: ... | ...;
failOnError?: ... | ... | ...;
}
| {
[key: string]: unknown;
suffix: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
metadataKeys: ...[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ... | ...;
blockedTypes?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection_threshold?: ... | ...;
toxicity_threshold?: ... | ...;
evasion_threshold?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
scanners: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
language?: ... | ...;
not?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection?: ... | ... | ...;
prompt_injection_threshold?: ... | ...;
toxic?: ... | ... | ...;
toxic_threshold?: ... | ...;
jail_break?: ... | ... | ...;
jail_break_threshold?: ... | ...;
malicious_url?: ... | ... | ...;
malicious_url_threshold?: ... | ...;
biased?: ... | ... | ...;
biased_threshold?: ... | ...;
harmful?: ... | ... | ...;
harmful_threshold?: ... | ...;
language?: ... | ... | ...;
language_values?: ... | ...;
pii?: ... | ... | ...;
pii_redact?: ... | ... | ...;
pii_categories?: ... | ...;
secrets?: ... | ... | ...;
secrets_redact?: ... | ... | ...;
secrets_categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
blocklistNames?: ... | ...;
apiVersion?: ... | ...;
severity?: ... | ...;
categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
domain?: ... | ...;
apiVersion?: ... | ...;
modelVersion?: ... | ...;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: ... | ...;
app_user?: ... | ...;
}
| {
[key: string]: unknown;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
parameters: ZodType<
| {
[key: ...]: ...;
jwksUri: ...;
headerKey: ...;
cacheMaxAge?: ...;
clockTolerance?: ...;
maxTokenAge?: ...;
algorithms?: ...;
}
| {
[key: ...]: ...;
models: ...;
}
| {
[key: ...]: ...;
rule: ...;
not?: ...;
}
| {
[key: ...]: ...;
minSentences?: ...;
maxSentences?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minWords?: ...;
maxWords?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minCharacters?: ...;
maxCharacters?: ...;
not?: ...;
}
| {
[key: ...]: ...;
schema: ...;
not?: ...;
}
| {
[key: ...]: ...;
keys: ...;
operator: ...;
}
| {
[key: ...]: ...;
words: ...;
operator: ...;
}
| {
[key: ...]: ...;
onlyDNS?: ...;
not?: ...;
}
| {
[key: ...]: ...;
format: ...;
not?: ...;
}
| {
[key: ...]: ...;
webhookURL: ...;
headers?: ...;
timeout?: ...;
failOnError?: ...;
}
| {
[key: ...]: ...;
suffix: ...;
not?: ...;
}
| {
[key: ...]: ...;
not?: ...;
}
| {
[key: ...]: ...;
metadataKeys: ...;
operator: ...;
}
| {
[key: ...]: ...;
allowedTypes?: ...;
blockedTypes?: ...;
}
| {
[key: ...]: ...;
prompt_injection_threshold?: ...;
toxicity_threshold?: ...;
evasion_threshold?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
projectID: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
scanners: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
language?: ...;
not?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
guardrailVersion: ...;
guardrailId: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
prompt_injection?: ...;
prompt_injection_threshold?: ...;
toxic?: ...;
toxic_threshold?: ...;
jail_break?: ...;
jail_break_threshold?: ...;
malicious_url?: ...;
malicious_url_threshold?: ...;
biased?: ...;
biased_threshold?: ...;
harmful?: ...;
harmful_threshold?: ...;
language?: ...;
language_values?: ...;
pii?: ...;
pii_redact?: ...;
pii_categories?: ...;
secrets?: ...;
secrets_redact?: ...;
secrets_categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
blocklistNames?: ...;
apiVersion?: ...;
severity?: ...;
categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
domain?: ...;
apiVersion?: ...;
modelVersion?: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile_name: ...;
ai_model?: ...;
app_user?: ...;
}
| {
[key: ...]: ...;
}, ZodTypeDef,
| {
[key: ...]: ...;
jwksUri: ...;
headerKey: ...;
cacheMaxAge?: ...;
clockTolerance?: ...;
maxTokenAge?: ...;
algorithms?: ...;
}
| {
[key: ...]: ...;
models: ...;
}
| {
[key: ...]: ...;
rule: ...;
not?: ...;
}
| {
[key: ...]: ...;
minSentences?: ...;
maxSentences?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minWords?: ...;
maxWords?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minCharacters?: ...;
maxCharacters?: ...;
not?: ...;
}
| {
[key: ...]: ...;
schema: ...;
not?: ...;
}
| {
[key: ...]: ...;
keys: ...;
operator: ...;
}
| {
[key: ...]: ...;
words: ...;
operator: ...;
}
| {
[key: ...]: ...;
onlyDNS?: ...;
not?: ...;
}
| {
[key: ...]: ...;
format: ...;
not?: ...;
}
| {
[key: ...]: ...;
webhookURL: ...;
headers?: ...;
timeout?: ...;
failOnError?: ...;
}
| {
[key: ...]: ...;
suffix: ...;
not?: ...;
}
| {
[key: ...]: ...;
not?: ...;
}
| {
[key: ...]: ...;
metadataKeys: ...;
operator: ...;
}
| {
[key: ...]: ...;
allowedTypes?: ...;
blockedTypes?: ...;
}
| {
[key: ...]: ...;
prompt_injection_threshold?: ...;
toxicity_threshold?: ...;
evasion_threshold?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
projectID: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
scanners: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
language?: ...;
not?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
guardrailVersion: ...;
guardrailId: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
prompt_injection?: ...;
prompt_injection_threshold?: ...;
toxic?: ...;
toxic_threshold?: ...;
jail_break?: ...;
jail_break_threshold?: ...;
malicious_url?: ...;
malicious_url_threshold?: ...;
biased?: ...;
biased_threshold?: ...;
harmful?: ...;
harmful_threshold?: ...;
language?: ...;
language_values?: ...;
pii?: ...;
pii_redact?: ...;
pii_categories?: ...;
secrets?: ...;
secrets_redact?: ...;
secrets_categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
blocklistNames?: ...;
apiVersion?: ...;
severity?: ...;
categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
domain?: ...;
apiVersion?: ...;
modelVersion?: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile_name: ...;
ai_model?: ...;
app_user?: ...;
}
| {
[key: ...]: ...;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
parameters: ZodType<
| {
[key: ...]: ...;
jwksUri: ...;
headerKey: ...;
cacheMaxAge?: ...;
clockTolerance?: ...;
maxTokenAge?: ...;
algorithms?: ...;
}
| {
[key: ...]: ...;
models: ...;
}
| {
[key: ...]: ...;
rule: ...;
not?: ...;
}
| {
[key: ...]: ...;
minSentences?: ...;
maxSentences?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minWords?: ...;
maxWords?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minCharacters?: ...;
maxCharacters?: ...;
not?: ...;
}
| {
[key: ...]: ...;
schema: ...;
not?: ...;
}
| {
[key: ...]: ...;
keys: ...;
operator: ...;
}
| {
[key: ...]: ...;
words: ...;
operator: ...;
}
| {
[key: ...]: ...;
onlyDNS?: ...;
not?: ...;
}
| {
[key: ...]: ...;
format: ...;
not?: ...;
}
| {
[key: ...]: ...;
webhookURL: ...;
headers?: ...;
timeout?: ...;
failOnError?: ...;
}
| {
[key: ...]: ...;
suffix: ...;
not?: ...;
}
| {
[key: ...]: ...;
not?: ...;
}
| {
[key: ...]: ...;
metadataKeys: ...;
operator: ...;
}
| {
[key: ...]: ...;
allowedTypes?: ...;
blockedTypes?: ...;
}
| {
[key: ...]: ...;
prompt_injection_threshold?: ...;
toxicity_threshold?: ...;
evasion_threshold?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
projectID: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
scanners: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
language?: ...;
not?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
guardrailVersion: ...;
guardrailId: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
prompt_injection?: ...;
prompt_injection_threshold?: ...;
toxic?: ...;
toxic_threshold?: ...;
jail_break?: ...;
jail_break_threshold?: ...;
malicious_url?: ...;
malicious_url_threshold?: ...;
biased?: ...;
biased_threshold?: ...;
harmful?: ...;
harmful_threshold?: ...;
language?: ...;
language_values?: ...;
pii?: ...;
pii_redact?: ...;
pii_categories?: ...;
secrets?: ...;
secrets_redact?: ...;
secrets_categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
blocklistNames?: ...;
apiVersion?: ...;
severity?: ...;
categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
domain?: ...;
apiVersion?: ...;
modelVersion?: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile_name: ...;
ai_model?: ...;
app_user?: ...;
}
| {
[key: ...]: ...;
}, ZodTypeDef,
| {
[key: ...]: ...;
jwksUri: ...;
headerKey: ...;
cacheMaxAge?: ...;
clockTolerance?: ...;
maxTokenAge?: ...;
algorithms?: ...;
}
| {
[key: ...]: ...;
models: ...;
}
| {
[key: ...]: ...;
rule: ...;
not?: ...;
}
| {
[key: ...]: ...;
minSentences?: ...;
maxSentences?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minWords?: ...;
maxWords?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minCharacters?: ...;
maxCharacters?: ...;
not?: ...;
}
| {
[key: ...]: ...;
schema: ...;
not?: ...;
}
| {
[key: ...]: ...;
keys: ...;
operator: ...;
}
| {
[key: ...]: ...;
words: ...;
operator: ...;
}
| {
[key: ...]: ...;
onlyDNS?: ...;
not?: ...;
}
| {
[key: ...]: ...;
format: ...;
not?: ...;
}
| {
[key: ...]: ...;
webhookURL: ...;
headers?: ...;
timeout?: ...;
failOnError?: ...;
}
| {
[key: ...]: ...;
suffix: ...;
not?: ...;
}
| {
[key: ...]: ...;
not?: ...;
}
| {
[key: ...]: ...;
metadataKeys: ...;
operator: ...;
}
| {
[key: ...]: ...;
allowedTypes?: ...;
blockedTypes?: ...;
}
| {
[key: ...]: ...;
prompt_injection_threshold?: ...;
toxicity_threshold?: ...;
evasion_threshold?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
projectID: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
scanners: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
language?: ...;
not?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
guardrailVersion: ...;
guardrailId: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
prompt_injection?: ...;
prompt_injection_threshold?: ...;
toxic?: ...;
toxic_threshold?: ...;
jail_break?: ...;
jail_break_threshold?: ...;
malicious_url?: ...;
malicious_url_threshold?: ...;
biased?: ...;
biased_threshold?: ...;
harmful?: ...;
harmful_threshold?: ...;
language?: ...;
language_values?: ...;
pii?: ...;
pii_redact?: ...;
pii_categories?: ...;
secrets?: ...;
secrets_redact?: ...;
secrets_categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
blocklistNames?: ...;
apiVersion?: ...;
severity?: ...;
categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
domain?: ...;
apiVersion?: ...;
modelVersion?: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile_name: ...;
ai_model?: ...;
app_user?: ...;
}
| {
[key: ...]: ...;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">>, "many">;
actions: ZodObject<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
}, ZodTypeAny, "passthrough">>;
version_id: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
target: ZodOptional<ZodEnum<["llm", "mcp_tools"]>>;
id: ZodString;
name: ZodString;
slug: ZodString;
organisation_id: ZodString;
status: ZodString;
owner_id: ZodString;
updated_by: ZodNullable<ZodString>;
created_at: ZodString;
last_updated_at: ZodString;
workspace_id: ZodString;
object: ZodString;
} & {
mcp_server_mappings: ZodOptional<ZodArray<ZodType<{
[key: string]: unknown;
id: string;
guardrail_id: string;
mcp_server_id: string;
run_on: string[];
capability_ids?: string[];
}, ZodTypeDef, {
[key: string]: unknown;
id: string;
guardrail_id: string;
mcp_server_id: string;
run_on: string[];
capability_ids?: string[];
}>, "many">>;
checks: ZodArray<ZodObject<{
id: ZodString;
parameters: ZodType<
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: ... | ...;
clockTolerance?: ... | ...;
maxTokenAge?: ... | ...;
algorithms?: ... | ...;
}
| {
[key: string]: unknown;
models: ...[];
}
| {
[key: string]: unknown;
rule: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minSentences?: ... | ...;
maxSentences?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minWords?: ... | ...;
maxWords?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minCharacters?: ... | ...;
maxCharacters?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
schema: {
[key: ...]: ...;
};
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
keys: ...[];
operator: string;
}
| {
[key: string]: unknown;
words: ...[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: ... | ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
format: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: ... | ...;
timeout?: ... | ...;
failOnError?: ... | ... | ...;
}
| {
[key: string]: unknown;
suffix: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
metadataKeys: ...[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ... | ...;
blockedTypes?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection_threshold?: ... | ...;
toxicity_threshold?: ... | ...;
evasion_threshold?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
scanners: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
language?: ... | ...;
not?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection?: ... | ... | ...;
prompt_injection_threshold?: ... | ...;
toxic?: ... | ... | ...;
toxic_threshold?: ... | ...;
jail_break?: ... | ... | ...;
jail_break_threshold?: ... | ...;
malicious_url?: ... | ... | ...;
malicious_url_threshold?: ... | ...;
biased?: ... | ... | ...;
biased_threshold?: ... | ...;
harmful?: ... | ... | ...;
harmful_threshold?: ... | ...;
language?: ... | ... | ...;
language_values?: ... | ...;
pii?: ... | ... | ...;
pii_redact?: ... | ... | ...;
pii_categories?: ... | ...;
secrets?: ... | ... | ...;
secrets_redact?: ... | ... | ...;
secrets_categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
blocklistNames?: ... | ...;
apiVersion?: ... | ...;
severity?: ... | ...;
categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
domain?: ... | ...;
apiVersion?: ... | ...;
modelVersion?: ... | ...;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: ... | ...;
app_user?: ... | ...;
}
| {
[key: string]: unknown;
}, ZodTypeDef,
| {
[key: string]: unknown;
jwksUri: string;
headerKey: string;
cacheMaxAge?: ... | ...;
clockTolerance?: ... | ...;
maxTokenAge?: ... | ...;
algorithms?: ... | ...;
}
| {
[key: string]: unknown;
models: ...[];
}
| {
[key: string]: unknown;
rule: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minSentences?: ... | ...;
maxSentences?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minWords?: ... | ...;
maxWords?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
minCharacters?: ... | ...;
maxCharacters?: ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
schema: {
[key: ...]: ...;
};
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
keys: ...[];
operator: string;
}
| {
[key: string]: unknown;
words: ...[];
operator: string;
}
| {
[key: string]: unknown;
onlyDNS?: ... | ... | ...;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
format: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
webhookURL: string;
headers?: ... | ...;
timeout?: ... | ...;
failOnError?: ... | ... | ...;
}
| {
[key: string]: unknown;
suffix: string;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
not?: ... | ... | ...;
}
| {
[key: string]: unknown;
metadataKeys: ...[];
operator: string;
}
| {
[key: string]: unknown;
allowedTypes?: ... | ...;
blockedTypes?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection_threshold?: ... | ...;
toxicity_threshold?: ... | ...;
evasion_threshold?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
projectID: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
scanners: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile: string;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
language?: ... | ...;
not?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
categories: ...[];
timeout?: ... | ...;
}
| {
[key: string]: unknown;
guardrailVersion: string;
guardrailId: string;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
prompt_injection?: ... | ... | ...;
prompt_injection_threshold?: ... | ...;
toxic?: ... | ... | ...;
toxic_threshold?: ... | ...;
jail_break?: ... | ... | ...;
jail_break_threshold?: ... | ...;
malicious_url?: ... | ... | ...;
malicious_url_threshold?: ... | ...;
biased?: ... | ... | ...;
biased_threshold?: ... | ...;
harmful?: ... | ... | ...;
harmful_threshold?: ... | ...;
language?: ... | ... | ...;
language_values?: ... | ...;
pii?: ... | ... | ...;
pii_redact?: ... | ... | ...;
pii_categories?: ... | ...;
secrets?: ... | ... | ...;
secrets_redact?: ... | ... | ...;
secrets_categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
blocklistNames?: ... | ...;
apiVersion?: ... | ...;
severity?: ... | ...;
categories?: ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
domain?: ... | ...;
apiVersion?: ... | ...;
modelVersion?: ... | ...;
redact?: ... | ... | ...;
timeout?: ... | ...;
}
| {
[key: string]: unknown;
profile_name: string;
ai_model?: ... | ...;
app_user?: ... | ...;
}
| {
[key: string]: unknown;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
parameters: ZodType<
| {
[key: ...]: ...;
jwksUri: ...;
headerKey: ...;
cacheMaxAge?: ...;
clockTolerance?: ...;
maxTokenAge?: ...;
algorithms?: ...;
}
| {
[key: ...]: ...;
models: ...;
}
| {
[key: ...]: ...;
rule: ...;
not?: ...;
}
| {
[key: ...]: ...;
minSentences?: ...;
maxSentences?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minWords?: ...;
maxWords?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minCharacters?: ...;
maxCharacters?: ...;
not?: ...;
}
| {
[key: ...]: ...;
schema: ...;
not?: ...;
}
| {
[key: ...]: ...;
keys: ...;
operator: ...;
}
| {
[key: ...]: ...;
words: ...;
operator: ...;
}
| {
[key: ...]: ...;
onlyDNS?: ...;
not?: ...;
}
| {
[key: ...]: ...;
format: ...;
not?: ...;
}
| {
[key: ...]: ...;
webhookURL: ...;
headers?: ...;
timeout?: ...;
failOnError?: ...;
}
| {
[key: ...]: ...;
suffix: ...;
not?: ...;
}
| {
[key: ...]: ...;
not?: ...;
}
| {
[key: ...]: ...;
metadataKeys: ...;
operator: ...;
}
| {
[key: ...]: ...;
allowedTypes?: ...;
blockedTypes?: ...;
}
| {
[key: ...]: ...;
prompt_injection_threshold?: ...;
toxicity_threshold?: ...;
evasion_threshold?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
projectID: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
scanners: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
language?: ...;
not?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
guardrailVersion: ...;
guardrailId: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
prompt_injection?: ...;
prompt_injection_threshold?: ...;
toxic?: ...;
toxic_threshold?: ...;
jail_break?: ...;
jail_break_threshold?: ...;
malicious_url?: ...;
malicious_url_threshold?: ...;
biased?: ...;
biased_threshold?: ...;
harmful?: ...;
harmful_threshold?: ...;
language?: ...;
language_values?: ...;
pii?: ...;
pii_redact?: ...;
pii_categories?: ...;
secrets?: ...;
secrets_redact?: ...;
secrets_categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
blocklistNames?: ...;
apiVersion?: ...;
severity?: ...;
categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
domain?: ...;
apiVersion?: ...;
modelVersion?: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile_name: ...;
ai_model?: ...;
app_user?: ...;
}
| {
[key: ...]: ...;
}, ZodTypeDef,
| {
[key: ...]: ...;
jwksUri: ...;
headerKey: ...;
cacheMaxAge?: ...;
clockTolerance?: ...;
maxTokenAge?: ...;
algorithms?: ...;
}
| {
[key: ...]: ...;
models: ...;
}
| {
[key: ...]: ...;
rule: ...;
not?: ...;
}
| {
[key: ...]: ...;
minSentences?: ...;
maxSentences?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minWords?: ...;
maxWords?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minCharacters?: ...;
maxCharacters?: ...;
not?: ...;
}
| {
[key: ...]: ...;
schema: ...;
not?: ...;
}
| {
[key: ...]: ...;
keys: ...;
operator: ...;
}
| {
[key: ...]: ...;
words: ...;
operator: ...;
}
| {
[key: ...]: ...;
onlyDNS?: ...;
not?: ...;
}
| {
[key: ...]: ...;
format: ...;
not?: ...;
}
| {
[key: ...]: ...;
webhookURL: ...;
headers?: ...;
timeout?: ...;
failOnError?: ...;
}
| {
[key: ...]: ...;
suffix: ...;
not?: ...;
}
| {
[key: ...]: ...;
not?: ...;
}
| {
[key: ...]: ...;
metadataKeys: ...;
operator: ...;
}
| {
[key: ...]: ...;
allowedTypes?: ...;
blockedTypes?: ...;
}
| {
[key: ...]: ...;
prompt_injection_threshold?: ...;
toxicity_threshold?: ...;
evasion_threshold?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
projectID: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
scanners: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
language?: ...;
not?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
guardrailVersion: ...;
guardrailId: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
prompt_injection?: ...;
prompt_injection_threshold?: ...;
toxic?: ...;
toxic_threshold?: ...;
jail_break?: ...;
jail_break_threshold?: ...;
malicious_url?: ...;
malicious_url_threshold?: ...;
biased?: ...;
biased_threshold?: ...;
harmful?: ...;
harmful_threshold?: ...;
language?: ...;
language_values?: ...;
pii?: ...;
pii_redact?: ...;
pii_categories?: ...;
secrets?: ...;
secrets_redact?: ...;
secrets_categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
blocklistNames?: ...;
apiVersion?: ...;
severity?: ...;
categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
domain?: ...;
apiVersion?: ...;
modelVersion?: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile_name: ...;
ai_model?: ...;
app_user?: ...;
}
| {
[key: ...]: ...;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
parameters: ZodType<
| {
[key: ...]: ...;
jwksUri: ...;
headerKey: ...;
cacheMaxAge?: ...;
clockTolerance?: ...;
maxTokenAge?: ...;
algorithms?: ...;
}
| {
[key: ...]: ...;
models: ...;
}
| {
[key: ...]: ...;
rule: ...;
not?: ...;
}
| {
[key: ...]: ...;
minSentences?: ...;
maxSentences?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minWords?: ...;
maxWords?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minCharacters?: ...;
maxCharacters?: ...;
not?: ...;
}
| {
[key: ...]: ...;
schema: ...;
not?: ...;
}
| {
[key: ...]: ...;
keys: ...;
operator: ...;
}
| {
[key: ...]: ...;
words: ...;
operator: ...;
}
| {
[key: ...]: ...;
onlyDNS?: ...;
not?: ...;
}
| {
[key: ...]: ...;
format: ...;
not?: ...;
}
| {
[key: ...]: ...;
webhookURL: ...;
headers?: ...;
timeout?: ...;
failOnError?: ...;
}
| {
[key: ...]: ...;
suffix: ...;
not?: ...;
}
| {
[key: ...]: ...;
not?: ...;
}
| {
[key: ...]: ...;
metadataKeys: ...;
operator: ...;
}
| {
[key: ...]: ...;
allowedTypes?: ...;
blockedTypes?: ...;
}
| {
[key: ...]: ...;
prompt_injection_threshold?: ...;
toxicity_threshold?: ...;
evasion_threshold?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
projectID: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
scanners: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
language?: ...;
not?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
guardrailVersion: ...;
guardrailId: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
prompt_injection?: ...;
prompt_injection_threshold?: ...;
toxic?: ...;
toxic_threshold?: ...;
jail_break?: ...;
jail_break_threshold?: ...;
malicious_url?: ...;
malicious_url_threshold?: ...;
biased?: ...;
biased_threshold?: ...;
harmful?: ...;
harmful_threshold?: ...;
language?: ...;
language_values?: ...;
pii?: ...;
pii_redact?: ...;
pii_categories?: ...;
secrets?: ...;
secrets_redact?: ...;
secrets_categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
blocklistNames?: ...;
apiVersion?: ...;
severity?: ...;
categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
domain?: ...;
apiVersion?: ...;
modelVersion?: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile_name: ...;
ai_model?: ...;
app_user?: ...;
}
| {
[key: ...]: ...;
}, ZodTypeDef,
| {
[key: ...]: ...;
jwksUri: ...;
headerKey: ...;
cacheMaxAge?: ...;
clockTolerance?: ...;
maxTokenAge?: ...;
algorithms?: ...;
}
| {
[key: ...]: ...;
models: ...;
}
| {
[key: ...]: ...;
rule: ...;
not?: ...;
}
| {
[key: ...]: ...;
minSentences?: ...;
maxSentences?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minWords?: ...;
maxWords?: ...;
not?: ...;
}
| {
[key: ...]: ...;
minCharacters?: ...;
maxCharacters?: ...;
not?: ...;
}
| {
[key: ...]: ...;
schema: ...;
not?: ...;
}
| {
[key: ...]: ...;
keys: ...;
operator: ...;
}
| {
[key: ...]: ...;
words: ...;
operator: ...;
}
| {
[key: ...]: ...;
onlyDNS?: ...;
not?: ...;
}
| {
[key: ...]: ...;
format: ...;
not?: ...;
}
| {
[key: ...]: ...;
webhookURL: ...;
headers?: ...;
timeout?: ...;
failOnError?: ...;
}
| {
[key: ...]: ...;
suffix: ...;
not?: ...;
}
| {
[key: ...]: ...;
not?: ...;
}
| {
[key: ...]: ...;
metadataKeys: ...;
operator: ...;
}
| {
[key: ...]: ...;
allowedTypes?: ...;
blockedTypes?: ...;
}
| {
[key: ...]: ...;
prompt_injection_threshold?: ...;
toxicity_threshold?: ...;
evasion_threshold?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
projectID: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
scanners: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
language?: ...;
not?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
categories: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
guardrailVersion: ...;
guardrailId: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
prompt_injection?: ...;
prompt_injection_threshold?: ...;
toxic?: ...;
toxic_threshold?: ...;
jail_break?: ...;
jail_break_threshold?: ...;
malicious_url?: ...;
malicious_url_threshold?: ...;
biased?: ...;
biased_threshold?: ...;
harmful?: ...;
harmful_threshold?: ...;
language?: ...;
language_values?: ...;
pii?: ...;
pii_redact?: ...;
pii_categories?: ...;
secrets?: ...;
secrets_redact?: ...;
secrets_categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
blocklistNames?: ...;
apiVersion?: ...;
severity?: ...;
categories?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
domain?: ...;
apiVersion?: ...;
modelVersion?: ...;
redact?: ...;
timeout?: ...;
}
| {
[key: ...]: ...;
profile_name: ...;
ai_model?: ...;
app_user?: ...;
}
| {
[key: ...]: ...;
}>;
name: ZodOptional<ZodString>;
is_enabled: ZodBoolean;
}, ZodTypeAny, "passthrough">>, "many">;
actions: ZodObject<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ZodObject<..., ..., ..., ..., ...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
feedback: ...;
}, ZodTypeAny, "passthrough">>>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
deny: ZodBoolean;
async: ZodBoolean;
sequential: ZodBoolean;
on_success: ZodOptional<ZodNullable<ZodObject<{
feedback: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
on_fail: ZodOptional<ZodNullable<ZodObject<{
feedback: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>>;
}, ZodTypeAny, "passthrough">>;
version_id: ZodString;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/ai-gateway.ts:705

Guardrail detail (GET /guardrails/{id}) — adds checks, actions, and version_id on top of the list row. Verified live 2026-07-28.