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

# SearchPredictionEvent

> Metadata for a prediction event returned in search results. SearchPredictionEvent type reference: every field and its type.

## GraphQL

```
type SearchPredictionEvent {
  id: String!
  venueEventId: String!
  venueSeriesId: String
  exchangeAddress: String
  networkId: Int
  protocol: PredictionProtocol!
  status: PredictionEventStatus!
  slug: String!
  question: String!
  description: String
  tags: [String!]!
  imageThumbUrl: String
  venueUrl: String!
  createdAt: Int!
  opensAt: Int!
  closesAt: Int
  resolvesAt: Int
  resolvedAt: Int
}

enum PredictionProtocol {
  POLYMARKET
  KALSHI
}

enum PredictionEventStatus {
  OPEN
  SUSPENDED
  RESOLVED
  CANCELLED
  PENDING
}
```

### Used By

**Returned by**

* [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.