> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscription

Defines GraphQL subscriptions available for receiving real-time updates.
Subscriptions allow clients to listen for specific events or data changes as they happen.

## Definition

```graphql theme={null}
object Subscription {
  console: ConsoleMessage
  execution: Execution
  pageError: Error
  request: Request
  response: Response
  screencastFrame: ScreencastFrame
}
```

## Fields

### `console`

[ConsoleMessage](/reference/graphql/objects/console-message)

Subscribes to console messages from the currently active page.
This is useful for debugging and logging.

### `execution`

[Execution](/reference/graphql/objects/execution)

Subscribes to field execution events from the currently active operation. This is useful for debugging and logging.

### `pageError`

[Error](/reference/graphql/objects/error)

Subscribes to page errors from the currently active page.
This is useful for debugging and logging.

### `request`

[Request](/reference/graphql/objects/request)

Subscribes to network requests from the currently active page.
This is useful for debugging and logging.

### `response`

[Response](/reference/graphql/objects/response)

Subscribes to network responses from the currently active page.
This is useful for debugging and logging.

### `screencastFrame`

[ScreencastFrame](/reference/graphql/objects/screencast-frame)

Subscribes to a stream of screencast frames from the currently active page.
Each frame provides an image of the page content and associated metadata.
This is useful for live-streaming or recording page interactions.
