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

# v1 to v2 (Enterprise)

> Use this migration guide to understand the similarities and differences between PowerTrack API and. Reference for the Enterprise X API tier covering migrate.

### PowerTrack API migration to X API v2 filtered stream

Use this migration guide to understand the similarities and differences between [PowerTrack API](/x-api/enterprise-gnip-2.0/powertrack-api) and X API v2 [filtered stream](/x-api/posts/filtered-stream), and to help migrate a current PowerTrack API integration to v2 filtered stream.

* **Similarities**
  * Streaming delivery method
  * Integration process
  * Persistent stream connection with separate rules management endpoints
  * Rule syntax
  * Rule operators (with exceptions)
  * Rule matching logic
  * Support for Post edit history and metadata
* **Differences**
  * Rule length
  * Rule volume
  * Endpoint URLs
  * App and Project requirement for access
  * Authentication method
  * Request parameters
  * Usage tracking
  * Multiple streams, redundant conections, backfill and Replay recovery
  * Request parameters and response format
  * Response JSON data structure

#### Similarities

**Streaming delivery method**

Both PowerTrack and X API v2 filtered stream use streaming data delivery, which require the client to establish an open connection to an endpoint and keeping a very long lived HTTP request, and parsing the response incrementally from the server in real time.  Both PowerTrack and X API v2 filtered stream filter publicly available Posts matching rules that exist on the stream in real time, and use keep-alive signals as new line characters (\r\n) to signal the connection is still active. Both PowerTrack and X API v2 filtered stream endpoint connections deliver data in real time and should be read by the connecting client quickly.  

**Integration process**

Integrating with filtered stream is similar to integrating with P
