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

<div data-generated>
  ## 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](/api-reference/queries/filterpredictionevents.md): Filters prediction events using optional text, IDs, and ranking criteria.
</div>
