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

# PredictionEventBarsInput

> Input type of `predictionEventBars`.

<div data-generated>
  ## GraphQL

  ```
  input PredictionEventBarsInput {
    eventId: String!
    from: Int!
    to: Int!
    resolution: PredictionEventBarsResolution!
    countback: Int
    removeEmptyBars: Boolean
  }

  enum PredictionEventBarsResolution {
    min1
    min5
    min15
    min30
    hour1
    hour4
    hour12
    day1
    week1
  }
  ```

  ### Used By

  **Used as input by**

  * [predictionEventBars](/api-reference/queries/predictioneventbars.md): Returns bar data for a prediction event.
</div>
