> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ListGuardrailsData - Python SDK

> ListGuardrailsData method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

## Fields

| Field               | Type                                                                                                       | Required             | Description                                                 | Example                                                                                                                    |
| ------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `id`                | *str*                                                                                                      | :heavy\_check\_mark: | Unique identifier for the guardrail                         | 550e8400-e29b-41d4-a716-446655440000                                                                                       |
| `name`              | *str*                                                                                                      | :heavy\_check\_mark: | Name of the guardrail                                       | Production Guardrail                                                                                                       |
| `description`       | *OptionalNullable\[str]*                                                                                   | :heavy\_minus\_sign: | Description of the guardrail                                | Guardrail for production environment                                                                                       |
| `limit_usd`         | *OptionalNullable\[float]*                                                                                 | :heavy\_minus\_sign: | Spending limit in USD                                       | 100                                                                                                                        |
| `reset_interval`    | [OptionalNullable\[operations.ListGuardrailsResetInterval\]](../operations/listguardrailsresetinterval.md) | :heavy\_minus\_sign: | Interval at which the limit resets (daily, weekly, monthly) | monthly                                                                                                                    |
| `allowed_providers` | List\[*str*]                                                                                               | :heavy\_minus\_sign: | List of allowed provider IDs                                | \[<br />"openai",<br />"anthropic",<br />"google"<br />]                                                                   |
| `allowed_models`    | List\[*str*]                                                                                               | :heavy\_minus\_sign: | Array of model canonical\_slugs (immutable identifiers)     | \[<br />"openai/gpt-5.2-20251211",<br />"anthropic/claude-4.5-opus-20251124",<br />"deepseek/deepseek-r1-0528:free"<br />] |
| `enforce_zdr`       | *OptionalNullable\[bool]*                                                                                  | :heavy\_minus\_sign: | Whether to enforce zero data retention                      | false                                                                                                                      |
| `created_at`        | *str*                                                                                                      | :heavy\_check\_mark: | ISO 8601 timestamp of when the guardrail was created        | 2025-08-24T10:30:00Z                                                                                                       |
| `updated_at`        | *OptionalNullable\[str]*                                                                                   | :heavy\_minus\_sign: | ISO 8601 timestamp of when the guardrail was last updated   | 2025-08-24T15:45:00Z                                                                                                       |
