> ## 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`. PredictionEventBarsInput input object reference: every field and its type.

## 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](https://docs.codex.io/api-reference/queries/predictioneventbars.md): Returns bar data for a prediction event.


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