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

# PredictionEventMarketCounts

> The number of a prediction event's markets in each market status. PredictionEventMarketCounts type reference: every field and its type.

## GraphQL

```
type PredictionEventMarketCounts {
  open: Int!
  suspended: Int!
  resolved: Int!
  cancelled: Int!
  pending: Int!
}
```

### Used By

**Returned by**

* [filterPredictionEvents](/api-reference/queries/filterpredictionevents.md): Filters prediction events using optional text, IDs, and ranking criteria.


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