# SieveScript

The SieveScript type of the TypeScript SDK, which sieve.listScripts take or answer.

```ts
type SieveScript = {
  active: boolean
  name: string
  updatedAt: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `active` | `boolean` | True if this script is currently active for filtering |
| `name` | `string` | Script name (e.g. 'myscript') |
| `updatedAt` | `number` | Timestamp when script was last updated in epoch seconds |

## Used by

| Method | What it does |
| --- | --- |
| [`sieve.listScripts`](/docs/sdks/typescript/sieve/list-scripts) | List Sieve filter scripts |
