# SieveCapabilities

The SieveCapabilities type of the TypeScript SDK, which sieve.getCapabilities take or answer.

```ts
type SieveCapabilities = {
  implementation: string
  maxScriptSize: number
  maxScripts: number
  sieve: string[]
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `implementation` | `string` | Sieve engine implementation identifier |
| `maxScriptSize` | `number` | Maximum script size in bytes |
| `maxScripts` | `number` | Maximum allowed scripts per mailbox |
| `sieve` | `string[]` | List of supported Sieve capability extensions |

## Used by

| Method | What it does |
| --- | --- |
| [`sieve.getCapabilities`](/docs/sdks/typescript/sieve/get-capabilities) | Get Sieve engine capabilities and limits |
