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

# Operator

## Example Usage

```typescript theme={null}
import { Operator } from "@openrouter/sdk/models/operations";

let value: Operator = {
  name: "eq",
  valueType: "array",
};
```

## Fields

| Field       | Type                                                                | Required             | Description                                             | Example |
| ----------- | ------------------------------------------------------------------- | -------------------- | ------------------------------------------------------- | ------- |
| `name`      | [operations.OperatorName](../../models/operations/operatorname.mdx) | :heavy\_check\_mark: | Operator identifier used in filter definitions          | eq      |
| `valueType` | [operations.ValueType](../../models/operations/valuetype.mdx)       | :heavy\_check\_mark: | Whether the operator expects a single value or an array |         |
