> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateGuardrailResponse

## Example Usage

```typescript theme={null}
import { CreateGuardrailResponse } from "@openrouter/sdk/models";

let value: CreateGuardrailResponse = {
  data: {
    createdAt: "2025-08-24T10:30:00Z",
    id: "550e8400-e29b-41d4-a716-446655440000",
    includeByokInBudgets: false,
    name: "My New Guardrail",
    workspaceId: "0df9e665-d932-5740-b2c7-b52af166bc11",
  },
};
```

## Fields

| Field  | Type                                        | Required             | Description | Example                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------ | ------------------------------------------- | -------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data` | [models.Guardrail](../models/guardrail.mdx) | :heavy\_check\_mark: | N/A         | \{<br />"allowed\_models": null,<br />"allowed\_providers": \[<br />"openai",<br />"anthropic",<br />"google"<br />],<br />"content\_filter\_builtins": \[<br />\{<br />"action": "redact",<br />"label": "\[EMAIL]",<br />"slug": "email"<br />}<br />],<br />"content\_filters": null,<br />"created\_at": "2025-08-24T10:30:00Z",<br />"description": "Guardrail for production environment",<br />"enable\_free\_model\_publication": false,<br />"enable\_free\_model\_training": true,<br />"enable\_paid\_model\_training": true,<br />"enforce\_zdr": null,<br />"enforce\_zdr\_anthropic": true,<br />"enforce\_zdr\_google": false,<br />"enforce\_zdr\_openai": true,<br />"enforce\_zdr\_other": false,<br />"enforce\_zdr\_xai": false,<br />"id": "550e8400-e29b-41d4-a716-446655440000",<br />"ignored\_models": null,<br />"ignored\_providers": null,<br />"include\_byok\_in\_budgets": false,<br />"limit\_usd": 100,<br />"name": "Production Guardrail",<br />"reset\_interval": "monthly",<br />"updated\_at": "2025-08-24T15:45:00Z",<br />"workspace\_id": "0df9e665-d932-5740-b2c7-b52af166bc11"<br />} |
