Predict.aiDocs
Examples

Examples

Complete, runnable walkthroughs — from your first push to autopilot goals, scenarios, and alerts.

Every example on these pages is a complete story built with the official SDKs — run the blocks top to bottom in a notebook or a script and they work. They start trivial and build up to the platform's most powerful surfaces.

All you need is an API token:

pip install predictai        # Python
npm install @predictai/sdk   # Node

Start here

Go deeper

The samples use Python and Node tabs — pick your language once and every page on the site follows. IDs (ws_…, segment and pipeline UIDs) are placeholders: each example tells you where its inputs come from.

On this page