What it is
When you onboard with Autoplay, your product’s golden paths are indexed in Autoplay’s managed vector database. A golden path is a curated sequence of steps that represents the ideal journey a user takes to successfully adopt a feature — for example, the optimal path from sign-up to first meaningful action in your product. Your chatbot can query this knowledge base at inference time to retrieve the most relevant adoption guidance for any question a user asks.Why it matters
Real-time session data (delivered via the SDK) tells your chatbot what a user is doing right now. The knowledge base tells it what they should be doing — and how to bridge the gap. Together, they give the chatbot two sources of structured context:| Source | What it contains | How it’s delivered |
|---|---|---|
| Real-time session stream | Live UI actions + session summaries | ActionsPayload / SummaryPayload via SSE or webhook |
| Knowledge base | Golden paths, feature guides, adoption steps | GET /knowledge-base/{product_id}?query=... |
How it fits in the pipeline
Endpoint
Path parameters
Your product identifier — the same one used for the SSE stream and webhook.
Query parameters
The user’s question or the session context snippet to use as the search vector.
The endpoint embeds this text and performs an ANN lookup against your product’s golden paths.
Number of golden path results to return. Higher values give the LLM more context
but consume more tokens.
Authentication
Pass the same Unkey API key used for the SSE stream:Chatbot integration example
Inject the knowledge base results alongside the live session context in your system prompt:Combining with RedisEventBuffer
For the best results, retrieve the user’s recent session activity from your buffer at the same time as fetching golden paths:Golden path management
Golden paths for your product are managed through two surfaces: Autoplay Chrome extension (recommended) Record a golden path directly in your product — no manual writing required. Open the extension, start recording, walk through the ideal user journey in your app, then save. The extension captures each step automatically and adds it to your product’s knowledge base. Autoplay dashboard- Add and edit golden paths manually for each feature or workflow
- Edit step descriptions to match your UI terminology
- Archive paths for deprecated features
- Preview how paths are retrieved for sample queries