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

# Request Schemas

> Guardian API request body schemas

## TextModerationRequest

Request schema for single text moderation.

### Schema

```json theme={null}
{
  "text": "string"
}
```

### Fields

<ParamField body="text" type="string" required>
  The text to moderate

  **Min length**: 1 character
  **Max length**: 10,000 characters (recommended)
  **Type**: string
</ParamField>

### Example

```json theme={null}
{
  "text": "Your text to moderate here"
}
```

## BatchModerationRequest

Request schema for batch text moderation.

### Schema

```json theme={null}
{
  "texts": ["string"]
}
```

### Fields

<ParamField body="texts" type="array" required>
  Array of texts to moderate

  **Min items**: 1
  **Max items**: 100 (recommended)
  **Item type**: string
</ParamField>

### Example

```json theme={null}
{
  "texts": [
    "First text to moderate",
    "Second text to moderate",
    "Third text to moderate"
  ]
}
```

## See Also

* [Response Schemas](/api-reference/schemas/response) - Response format
* [API Reference](/api-reference/moderate-text) - Endpoint documentation
