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

# PredictionEventShape

> Capped event-shape taxonomy. One per event. Reference for the PredictionEventShape enum in the Codex API: every value and where it is accepted.

## GraphQL

```
enum PredictionEventShape {
  SPORTS_MATCH
  SPORTS_SERIES
  SPORTS_CHAMPIONSHIP
  ESPORTS_MATCH
  AWARDS_SHOW
  ELECTION
  PRICE_THRESHOLD
  DATE
  FED_DECISION
  BINARY
  WEATHER
  MULTI_SELECT
  OTHER
}
```

### Used By

**Returned by**

* [eventScopedFilterPredictionMarkets](https://docs.codex.io/api-reference/queries/eventscopedfilterpredictionmarkets.md): Filters prediction markets within a single event and returns structured classification metadata for each market. Use this instead of `filterPredictionMarkets` when you need entrant/segment/ladder details (country codes, period+stat grouping, parsed numeric/date rungs) without re-parsing labels client-side.
* [filterPredictionEvents](https://docs.codex.io/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.