# Guardrail

Types:

```python
from nemo_platform.types.guardrail import (
    ActionRails,
    ActivatedRail,
    AIDefenseRailConfig,
    AutoAlignOptions,
    AutoAlignRailConfig,
    CacheStatsConfig,
    ChatCompletionAssistantMessageParam,
    ChatCompletionContentPartImageParam,
    ChatCompletionContentPartTextParam,
    ChatCompletionFunctionMessageParam,
    ChatCompletionMessageToolCallParam,
    ChatCompletionSystemMessageParam,
    ChatCompletionToolMessageParam,
    ChatCompletionUserMessageParam,
    ClavataRailConfig,
    ClavataRailOptions,
    ContentSafetyConfig,
    CrowdStrikeAidrRailConfig,
    DialogRails,
    ExecutedAction,
    FactCheckingRailConfig,
    FiddlerGuardrails,
    Function,
    FunctionCall,
    GLiNERDetection,
    GLiNERDetectionOptions,
    GenerationLog,
    GenerationLogOptions,
    GenerationOptions,
    GenerationRailsOptions,
    GenerationStats,
    GuardrailCheckRequest,
    GuardrailCheckResponse,
    GuardrailConfig,
    GuardrailsAIRailConfig,
    GuardrailsAIValidatorConfig,
    GuardrailsData,
    GuardrailsDataParam,
    ImageURl,
    InjectionDetection,
    InputRails,
    Instruction,
    JailbreakDetectionConfig,
    LLMCallInfo,
    LogAdapterConfig,
    MessageTemplate,
    Model,
    ModelCacheConfig,
    ModelParameters,
    MultilingualConfig,
    OutputRails,
    OutputRailsStreamingConfig,
    PangeaRailConfig,
    PangeaRailOptions,
    PatronusEvaluateAPIParams,
    PatronusEvaluateConfig,
    PatronusEvaluateConfigParam,
    PatronusEvaluationSuccessStrategy,
    PatronusRailConfig,
    PatronusRailConfigParam,
    PrivateAIDetection,
    PrivateAIDetectionOptions,
    RailStatus,
    Rails,
    RailsConfig,
    RailsConfigData,
    RailsConfigDataParam,
    RailsConfigParam,
    RailsParam,
    ReasoningConfig,
    RegexDetection,
    RegexDetectionOptions,
    RetrievalRails,
    SensitiveDataDetection,
    SensitiveDataDetectionOptions,
    SingleCallConfig,
    StatusEnum,
    TaskPrompt,
    ToolInputRails,
    ToolOutputRails,
    TracingConfig,
    TrendMicroRailConfig,
    UserMessagesConfig,
)
```

Methods:

- client.guardrail.check(\*, workspace, \*\*params) -> GuardrailCheckResponse

## Configs

Types:

```python
from nemo_platform.types.guardrail import (
    GuardrailConfigFilter,
    GuardrailConfigParam,
    GuardrailConfigUpdate,
    GuardrailConfigsPage,
)
```

Methods:

- client.guardrail.configs.create(\*, workspace, \*\*params) -> GuardrailConfig
- client.guardrail.configs.retrieve(name, \*, workspace) -> GuardrailConfig
- client.guardrail.configs.update(name, \*, workspace, \*\*params) -> GuardrailConfig
- client.guardrail.configs.list(\*, workspace, \*\*params) -> SyncDefaultPagination[GuardrailConfig]
- client.guardrail.configs.delete(name, \*, workspace) -> DeleteResponse
