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

# WindowedPredictionMarketMetricsEventOutcomeConditionInput

> Per-window stat thresholds for a PredictionMarketMetricsEvent webhook outcome. All present fields are ANDed.

## GraphQL

```
input WindowedPredictionMarketMetricsEventOutcomeConditionInput {
  price: ComparisonOperatorInput
  priceChange: ComparisonOperatorInput
  volumeUsd: ComparisonOperatorInput
  volumeChange: ComparisonOperatorInput
  trades: ComparisonOperatorInput
  tradesChange: ComparisonOperatorInput
}

input ComparisonOperatorInput {
  gt: String
  gte: String
  lt: String
  lte: String
  eq: String
}
```

### Used By

**Used as input by**

* [createWebhooks](https://docs.codex.io/api-reference/mutations/createwebhooks.md): Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.