Skip to main content

Variable: GatewayGuardrailCreateResponseSchema

const GatewayGuardrailCreateResponseSchema: ZodObject<{
id: ZodString;
version_id: ZodString;
slug: ZodString;
object: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
version_id: ZodString;
slug: ZodString;
object: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
version_id: ZodString;
slug: ZodString;
object: ZodString;
}, ZodTypeAny, "passthrough">>;

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

POST /guardrails response — a 4-field creation receipt, not a GatewayGuardrail or GatewayGuardrailDetail. Verified live 2026-07-28. Same receipt pattern as GatewayConfigCreateResponseSchema.