> ## 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.

# PredictionMarketMetricsEventOutcomeConditionInput

> Per-outcome conditions for a PredictionMarketMetricsEvent webhook.

<div data-generated>
  ## GraphQL

  ```
  input PredictionMarketMetricsEventOutcomeConditionInput {
    min5: WindowedPredictionMarketMetricsEventOutcomeConditionInput
    hour1: WindowedPredictionMarketMetricsEventOutcomeConditionInput
    hour4: WindowedPredictionMarketMetricsEventOutcomeConditionInput
    hour12: WindowedPredictionMarketMetricsEventOutcomeConditionInput
    day1: WindowedPredictionMarketMetricsEventOutcomeConditionInput
    week1: WindowedPredictionMarketMetricsEventOutcomeConditionInput
  }

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

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

  ### Used By

  **Used as input by**

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