> ## 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. # CreateGuardrailRequest ## Example Usage ```typescript theme={null} import { CreateGuardrailRequest } from "@openrouter/sdk/models/operations"; let value: CreateGuardrailRequest = { createGuardrailRequest: { name: "My New Guardrail", }, }; ``` ## Fields | Field | Type | Required | Description | Example | | ------------------------ | ------------------------------------------------------------------------ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `httpReferer` | *string* | :heavy\_minus\_sign: | The app identifier should be your app's URL and is used as the primary identifier for rankings.
This is used to track API usage per application.
| | | `appTitle` | *string* | :heavy\_minus\_sign: | The app display name allows you to customize how your app appears in OpenRouter's dashboard.
| | | `appCategories` | *string* | :heavy\_minus\_sign: | Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
| | | `createGuardrailRequest` | [models.CreateGuardrailRequest](../../models/createguardrailrequest.mdx) | :heavy\_check\_mark: | N/A | \{
"allowed\_models": null,
"allowed\_providers": \[
"openai",
"anthropic",
"deepseek"
],
"content\_filter\_builtins": \[
\{
"action": "block",
"slug": "regex-prompt-injection"
}
],
"content\_filters": null,
"description": "A guardrail for limiting API usage",
"enforce\_zdr\_anthropic": true,
"enforce\_zdr\_google": false,
"enforce\_zdr\_openai": true,
"enforce\_zdr\_other": false,
"enforce\_zdr\_xai": false,
"ignored\_models": null,
"ignored\_providers": null,
"limit\_usd": 50,
"name": "My New Guardrail",
"reset\_interval": "monthly"
} |