---
name: videobana-walkthroughs
description: "Explains Videobana walkthroughs: narrated tours of a user's own web app, recorded by doing the task, kept in the account and played on the app's real interface by bana.js for every visitor. Covers the whole lifecycle (record, save, edit steps, optional intro and ending, how visitors follow it (a voice walkthrough, a text-only one, or both with the one that starts first), the voice from the browser's to the premium voice, start by itself when the page loads, test with a preview link, go live, install the script once with the site key and check it is installed, read the usage numbers, make a guide video, share it as an interactive click-through demo), the definition format with every field and limit, the account and public endpoints, and the dashboard. Use it when creating, editing, publishing, installing, debugging or analysing walkthroughs, or when turning one into a guide video."
---

# Walkthroughs

A walkthrough is a narrated tour of the user's own web app, kept in their Videobana account and played on the app's **real interface** by `bana.js` (see the `videobana-live-guides` skill for the player). It is recorded by doing the task once: every click, typed text and key press becomes a step with its words and screenshot. During the tour a step can **do its action for real** (open the menu, fill the field, open the dialog) so the page follows, in any framework. The same steps can become a narrated **guide video**.

## Lifecycle

1. **Record**: with the **Chrome extension** (Videobana Walkthrough Recorder, on the Chrome Web Store: https://chromewebstore.google.com/detail/videobana-walkthrough-rec/jjcjfoegekajckjhpdpchehfokomeibd; its source is `walkthrough-recorder-chrome-extension` in the Videobana repository: the toolbar icon opens the same recorder, takes the screenshots without asking to share the tab, and goes on recording when the app opens another page), or the **Record a guide** bookmarklet (Tools → Walkthroughs → **Set up the bookmark**, which shows its steps and the button to drag to the bookmarks bar), on any page of the app, or **New walkthrough** in Walkthroughs (choose the extension or the bookmark, type the page to start on; it opens there). Press Record, do the task, Stop. Alt + click adds a step without doing it. Under the title, **Details** sets a short description and whether it is watched or tried.
2. **Or build it by hand**: Tools → Walkthroughs → **Build it by hand** (`/tools/new`) makes a walkthrough with no recording: add steps, fill in every field, add screenshots, or **import** the steps from a file.
3. **Save to Videobana**: it opens in the account, as a draft (`status: draft`).
4. **Edit** (Steps tab): every field of every step (words, the element it points at, what it does (Point, Click, Type, Keys), whether it is done for real, where the card sits, its page and screenshot), add, duplicate, reorder and delete steps, and add the optional **intro** and **ending** in one click. **Export steps** saves them as a JSON file and **Import steps** replaces them with the steps of a file (its own, a recorder's `.guide.json`, or a definition from the API).
5. **Voice & playback** (tab): *How visitors follow it*: a **voice walkthrough** (the browser's voice, or the account's standard or premium voice, recorded once from the allowance and played to every visitor), a **text-only walkthrough**, or both (the card then has a button to switch, and *Starts with* says which one comes first); Auto-play or Next; hands-on mode; **start automatically when the page loads**; listed in the Guides button.
6. **Test** on the site with its private preview link (`#bana-tour=<id>&preview=<token>`), which plays it before it is live (the page needs the script tag, or the recorder bookmarklet clicked once).
7. **Make it yours** (Tools → Look & feel): colours, light or dark cards, corners, text size, typeface, the Guides button (words, shape, icon, corner, distance from the edges, phones, the dot) and the words in its panel, tried on a real page while it is set. Saved once for the account; every site has it within a couple of minutes, with no change to its script tag.
8. **Make it live**: every site with the account's script tag shows it at once, in the Guides button and by link.
9. **Install once** (Tools → Add to your site): one short script tag with the site key, for every page (with where to paste it in WordPress, Shopify, Webflow, Wix, Squarespace, Next.js, single-page apps and tag managers, and a message to send to whoever edits the site). Videobana shows each site as *Installed* once the script ran there.
10. **Measure**: starts, how far visitors get, where they stop, completion rate, the pages it starts on.
11. **Guide video** (Share tab → Make the guide video): a narrated screencast made from the screenshots, opened in the editor.
12. **Interactive demo** (Share tab → Interactive demo): the screenshots as a click-through tour anyone can open at `/try/{id}` or that a page embeds (`/embed/try/{id}`, or paste the link anywhere that reads oEmbed): the part each step is about lit up (pressing it goes on, like Next), the step's words on a card beside it, the camera moving in on small areas, arrow keys, and an ending card with Replay and an optional button (`settings.demo.cta`: "Start free trial" and its address). No account or script is needed to view it. Private areas are burned into the pictures it serves, so nothing hidden can be recovered. Not shared, its owner tries it with the preview token. Its opens, how far viewers click and the button presses are on the Overview tab.

## The definition

What the recorder writes and the dashboard edits. Steps: at most 40 on the page, plus the optional intro and ending. Every field:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `description` | `string` | no | What the walkthrough shows, in the help panel (searchable) and the suggested intro. Limits: 1–220 characters. |
| `steps` | `object[]` | yes | The steps in order: at most 40 on the page, plus an optional intro (first) and outro (last). Limits: 1–42 items. |
| `steps[].id` | `string` | yes | The step's own id: 4 to 16 letters or digits, unique in the walkthrough. |
| `steps[].kind` | `enum` | no | `intro` (only the first step) or `outro` (only the last): a card about the walkthrough itself, in the middle of the page, with no element and no action. Leave out for a step on the page. Allowed: `intro`, `outro`. |
| `steps[].target` | `string` | no | The element, as a CSS selector. Leave out for a step about the whole page (its card sits in the middle). Limits: 1–600 characters. |
| `steps[].label` | `string` | no | The element's accessible name when it was recorded: it is found by it (with `tag`) when the selector no longer matches. Limits: 1–120 characters. |
| `steps[].tag` | `string` | no | The element's tag when it was recorded, lowercase (`button`, `a`, `input`). |
| `steps[].path` | `string` | no | The page the step is on (its path, `/settings/team`), for a walkthrough that goes from page to page. Limits: up to 300 characters. |
| `steps[].title` | `string` | no | The title on the step's card. Optional: a step needs a title, a detail (`text`) or a narration (`say`), any one of them. Limits: 1–48 characters. |
| `steps[].text` | `string` | no | A line of detail under the title. Limits: 1–150 characters. |
| `steps[].say` | `string` | no | What the voice says, shown as text on the card. Without it the title (and detail) is said. Limits: 1–500 characters. |
| `steps[].action` | `enum` | no | What happens on the element: `none` (pointed at), `click`, `type` (types `type`, then presses `keys` if any) or `keys`. Default `none`. Allowed: `none`, `click`, `type`, `keys`. |
| `steps[].type` | `string` | no | The text a `type` step types. Limits: 1–60 characters. |
| `steps[].keys` | `string[]` | no | The keys a `keys` step presses together, in order (`["Ctrl", "K"]`); on a `type` step, pressed after typing (`["Enter"]`). Limits: 1–4 items, each 1–10 characters. |
| `steps[].perform` | `boolean` | no | Do the action for real during a `show` tour, so the page follows (a menu opens, a dialog appears). Keep it `false` for what saves, creates, deletes, pays or sends. Default `true`. |
| `steps[].placement` | `enum` | no | Where the card goes beside the element. Default `auto`: the side with the most room. Allowed: `auto`, `top`, `bottom`, `left`, `right`. |
| `steps[].shot` | `object` | no | The step's screenshot and where its element is on it, for the dashboard and the guide video. |
| `steps[].shot.assetId` | `string` | yes | The screenshot: a picture of the account (16 hexadecimal digits). |
| `steps[].shot.focus` | `object` | yes | Where the element is on the screenshot (the whole page for an intro or outro). |
| `steps[].shot.focus.x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `steps[].shot.focus.y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `steps[].shot.focus.width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `steps[].shot.focus.height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `steps[].shot.click` | `object` | no | Where the pointer presses, for a step that clicks or types. |
| `steps[].shot.click.x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `steps[].shot.click.y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `steps[].shot.click.width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `steps[].shot.click.height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `steps[].shot.redact` | `object[]` | no | Private details on the screenshot, hidden in every video made from it. Limits: up to 20 items. |
| `steps[].shot.redact[].x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `steps[].shot.redact[].y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `steps[].shot.redact[].width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `steps[].shot.redact[].height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `steps[].shot.redact[].style` | `enum` | no | `blur` (default) or `cover`, for secrets. Allowed: `blur`, `cover`. |
| `steps[].shot.page` | `string` | no | The name of the page the screenshot shows, in the window's tab of the video. Limits: 1–48 characters. |
| `settings` | `object` | no | How it plays and is heard. |
| `settings.mode` | `enum` | no | `show` (default) plays by itself like a video; `try` waits for the visitor to do each action on the real page. Allowed: `show`, `try`. |
| `settings.advance` | `enum` | no | For the voice walkthrough: `auto` (default) goes on when a step has been said; `manual` waits for Next. Visitors can switch. The text-only walkthrough has its own (`textAdvance`). Allowed: `auto`, `manual`. |
| `settings.textAdvance` | `enum` | no | For the text-only walkthrough: `manual` (default) waits for Next; `auto` goes on by itself once a step has been on screen long enough to read (`textSeconds`, or the time its words take to read). Visitors can switch. Allowed: `auto`, `manual`. |
| `settings.textSeconds` | `integer` | no | Seconds each step of the text-only walkthrough stays when it goes on by itself (2 to 60). Left out: the time its words take to read. Limits: 2–60. |
| `settings.voice` | `object` | no | How the walkthrough is heard: the voice walkthrough. `kind` `none` (default) has no voice, so it plays as text only. |
| `settings.voice.kind` | `enum` | no | `none` (text only, default), `browser` (the visitor's browser voice), or the account's `standard` or `premium` voice, recorded once from its allowance. Allowed: `none`, `browser`, `standard`, `premium`. |
| `settings.voice.voice` | `enum` | no | The standard voice. Allowed: `M1`, `M2`, `M3`, `M4`, `M5`, `F1`, `F2`, `F3`, `F4`, `F5`. |
| `settings.voice.speed` | `number` | no | How fast the standard voice speaks (1 is normal). Limits: 0.5–2. |
| `settings.voice.premium` | `object` | no | The premium voice and how it is directed. |
| `settings.voice.premium.voice` | `enum` | no | One of 30 studio voices (see `GET /api/catalog`). Default `Kore`. Allowed: `Zephyr`, `Puck`, `Charon`, `Kore`, `Fenrir`, `Leda`, `Orus`, `Aoede`, `Callirrhoe`, `Autonoe`, `Enceladus`, `Iapetus`, `Umbriel`, `Algieba`, `Despina`, `Erinome`, `Algenib`, `Rasalgethi`, `Laomedeia`, `Achernar`, `Alnilam`, `Schedar`, `Gacrux`, `Pulcherrima`, `Achird`, `Zubenelgenubi`, `Vindemiatrix`, `Sadachbia`, `Sadaltager`, `Sulafat`. |
| `settings.voice.premium.style` | `string` | no | How the whole video is delivered: emotion, energy, inflection. Short and concrete, e.g. "warm, confident, with a smile in the voice". Scenes can add to it with their own `delivery`. Limits: 1–160 characters. |
| `settings.voice.premium.accent` | `string` | no | A regional accent or dialect as a soft hint, e.g. "British" or "Scottish". The voice keeps its own character; the model follows the hint most of the time. Limits: 1–40 characters. |
| `settings.voice.premium.pace` | `enum` | no | How quickly the voice speaks. Default `natural`. Allowed: `slow`, `natural`, `brisk`. |
| `settings.voice.lang` | `enum` | no | The language of the voice. Allowed: `en`, `ko`, `ja`, `ar`, `bg`, `cs`, `da`, `de`, `el`, `es`, `et`, `fi`, `fr`, `hi`, `hr`, `hu`, `id`, `it`, `lt`, `lv`, `nl`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `sv`, `tr`, `uk`, `vi`, `zh`, `th`, `he`, `ms`, `no`, `ur`, `ps`, `na`. |
| `settings.textOnly` | `boolean` | no | Also offer the text-only walkthrough (no sound, all the text at once, Next to go on) besides the voice one, with a button on the card to switch. Default `true`; `false` keeps a walkthrough with a voice to its voice. Without a voice it is the only way, whatever this says. |
| `settings.startWith` | `enum` | no | Which way starts first when both are offered: `voice` (default) or `text`. A visitor's own choice, once they switch, is remembered and wins. Allowed: `voice`, `text`. |
| `settings.autostart` | `boolean` | no | Start by itself when the page it starts on opens, for visitors who have not finished, closed or skipped it (one who left it half way picks it up where they were). |
| `settings.listed` | `boolean` | no | Listed in the Guides button of the site. |
| `settings.demo` | `object` | no | Sharing it as an interactive demo: its screenshots played as a click-through tour at `/try/{id}` (and `/embed/try/{id}`), with private areas burned in. Left out, it is not shared. |
| `settings.demo.shared` | `boolean` | no | Anyone with the link can play it as an interactive demo (its screenshots, with private areas burned in). Default `false`. |
| `settings.demo.cta` | `object` | no | A button on the demo's ending card. |
| `settings.demo.cta.label` | `string` | yes | The words on the button (`Start free trial`). Limits: 1–28 characters. |
| `settings.demo.cta.url` | `string` | yes | Where it goes; it opens in a new tab. Limits: up to 2000 characters. |

| Value | Allowed |
| --- | --- |
| steps[].kind | `intro`, `outro` (leave out for a step on the page) |
| steps[].action | `none`, `click`, `type`, `keys` |
| settings.mode | `show`, `try` |
| settings.advance | `auto`, `manual` |
| settings.textAdvance | `auto`, `manual` |
| settings.voice.kind | `none`, `browser`, `standard`, `premium` |
| status | `draft`, `live` |

### Rules the platform checks

- A step id is 4 to 16 letters or digits, unique within the walkthrough.
- `kind: "intro"` only on the first step and `kind: "outro"` only on the last; neither has a `target` or an action other than `none`; a walkthrough needs at least one step besides them.
- `target` is a CSS selector (up to 600 characters); `label` and `tag` (the element's accessible name and tag when recorded) find the element when the selector no longer matches.
- `path` is the page a step is on, for walkthroughs that go from page to page: the tour goes to that page before the step (the app's own link first, so single-page apps keep playing). An intro keeps its `path` too, so the walkthrough opens on its start page from anywhere.
- `shot.focus`, `shot.click` and `shot.redact[]` are regions in percent of the screenshot (`x`, `y`, `width`, `height`, 0 to 100). Redactions are hidden in every video made from it (`blur`, or `cover` for secrets).
- `perform` (default `true`) does the action for real during a `show` tour; keep it `false` for what saves, creates, deletes, pays or sends.
- A step needs words: at least one of `title`, `text` (the detail) and `say` (the narration). None of the three is required on its own: a step with only a narration has no heading on its card.
- Narration (`say`) is said and shown as text on the card; without it the title (and detail) is said.

### Example

```json
{
  "description": "How to add a private container registry.",
  "steps": [
    {
      "id": "intro01",
      "kind": "intro",
      "title": "Add a container registry",
      "text": "A quick tour in 4 steps.",
      "say": "Here is how to add a container registry, in four steps."
    },
    {
      "id": "a1b2c3d4",
      "target": "#containers",
      "label": "Containers",
      "tag": "button",
      "title": "Containers",
      "say": "Open the Containers menu.",
      "action": "click",
      "perform": true
    },
    {
      "id": "b2c3d4e5",
      "target": "a[href=\"/latest/registries\"]",
      "label": "Container Registry",
      "tag": "a",
      "title": "Container Registry",
      "say": "Then pick Container Registry.",
      "action": "click",
      "perform": true
    },
    {
      "id": "c3d4e5f6",
      "target": "[data-testid=add-registry]",
      "label": "Add a Registry",
      "tag": "button",
      "title": "Add a Registry",
      "action": "click",
      "perform": true
    },
    {
      "id": "d4e5f6a7",
      "target": "input[name=name]",
      "label": "Name",
      "tag": "input",
      "title": "Name it",
      "say": "Type a name, such as first_registry.",
      "action": "type",
      "type": "first_registry",
      "perform": true
    },
    {
      "id": "e5f6a7b8",
      "target": "dialog button[type=submit]",
      "label": "Add Registry",
      "tag": "button",
      "title": "Add Registry",
      "say": "Press Add Registry, and it is ready.",
      "action": "click",
      "perform": false
    },
    {
      "id": "outro01",
      "kind": "outro",
      "title": "You're all set",
      "text": "Your registry is ready to receive images."
    }
  ],
  "settings": {
    "mode": "show",
    "advance": "auto",
    "voice": {
      "kind": "premium",
      "lang": "en"
    },
    "textOnly": true,
    "startWith": "voice",
    "autostart": false,
    "listed": true
  }
}
```

## Intro and ending

- Optional. The intro opens the tour with a welcome card in the middle of the page: its title and detail, how many steps and about how long, and a **Start** button. The ending closes it: the visitor ends on its words, with Watch again and Close. Neither is counted in the “2 / 5” numbering, in the step count of the dashboard, or in Undo while recording.
- Add them with **Add an intro** / **Add an ending** in the recorder (around the step list) or on the walkthrough's Steps tab (above and below the steps). Their words are written for you from the title and the number of steps; their picture is the whole first (or last) page.
- In the guide video there is **no title card**: the intro is the whole first page with its title and detail on the card beside the window while its narration is said; the ending is the camera going back to the whole last page with the ending's card. Without an ending the video closes on a short line (“And that's it: you're all set.”).

## How visitors follow it

Two ways, set together in **Voice & playback → How visitors follow it** (or in `settings` through the API). At least one is always on.

| Setting | What it does |
| --- | --- |
| `settings.voice.kind` | The **voice walkthrough**: anything but `none` gives it a voice (see below). `none` means there is no voice: the walkthrough is **text only**, whatever `textOnly` says. |
| `settings.textOnly` | `true` (default): also offer the **text-only walkthrough** besides the voice, with a button on the card to switch to it. `false`: a walkthrough with a voice stays voice only. |
| `settings.startWith` | `voice` (default) or `text`: the way it starts in when both are offered. |
| `settings.advance` | `auto` or `manual`: for the voice walkthrough. |
| `settings.textAdvance` | `manual` (default) or `auto`: for the text-only walkthrough. `auto` goes on once a step has been up long enough to read: `settings.textSeconds` (2 to 60), or the time its words take to read. |
| `settings.autostart` | `true`: **starts automatically when the page it starts on loads**, for visitors who have not finished, closed or skipped it; one who left it half way continues where they were. A site can switch every automatic start off with `data-autostart="false"` on the script tag. |

- **Voice**: the narration plays and its text lights up word by word, gray to ink, in step with it; Auto-play goes on by itself, Next waits. Pause stops the voice where it is and Play goes on from the same place.
- **Text only**: no sound and no gradual reveal: all the text shows at once in plain ink. It waits for Next, or with `settings.textAdvance` `auto` goes on by itself once a step has been up long enough to read (its bar fills as the time runs out; Pause holds it).
- When both are offered, the card has a button (**Text only** / **Play with voice**) that switches on the same step. A visitor's own choice is remembered in their browser, for every walkthrough of the site, and wins over `startWith`.
- A standard or premium voice that is not recorded yet (or out of date) plays as text only: the dashboard asks to record it before going live.
- Visitors can **skip** a walkthrough from its card; it does not start by itself again for them, and it counts in the numbers as a visitor who left at that step (`dismiss`). Where a visitor left off is remembered too, so it continues there. The page can listen with `Bana.onSkip` (see the `videobana-live-guides` skill).

## Voice

The voices of the voice walkthrough:

| Kind | What visitors hear | Cost |
| --- | --- | --- |
| `none` | Nothing: there is no voice walkthrough, so the text carries each step (the text-only walkthrough). | Free |
| `browser` | The visitor's browser voice (robotic in many browsers). | Free |
| `standard` | The account's standard voice (`settings.voice.voice`, `speed`), recorded once on Videobana's servers. | From the allowance |
| `premium` | The account's premium voice (`settings.voice.premium`), recorded once. | From the allowance |

- The steps are recorded as one MP3, each step playing its own part; sentences said before cost nothing again.
- Voice status: `ready` (the recording says the steps as they are), `outdated` (words, intro/ending or voice changed since: record again), `missing` (never recorded), `none` (text only or browser voice). While it is not ready, visitors get text only.
- `settings.voice.lang` sets the language; the site never holds a key, it only plays what is live.

## Putting it on a site

One script tag on every page (or the app's layout); every walkthrough made live for that site then appears by itself:

```html
<script src="https://www.bana.video/bana.js" data-key="bk_your_site_key" defer></script>
```

- The Guides button, colours and wording come from the account's **Appearance** (see the `videobana-live-guides` skill); the tag needs no other attribute. Attributes on the tag (`data-launcher`, `data-accent`, `data-theme`…) win over the account's look.
- The site key (`bk_…`) is in Tools → Add to your site (or `GET /api/walkthroughs` → `siteKey`). **Make a new site key** (under Your site key there) replaces it: sites with the old one stop showing walkthroughs until their tag is updated.
- Only this one walkthrough: `<script src="https://www.bana.video/bana.js" data-walkthroughs="<id>" defer></script>` (several ids separated by commas).
- Start one from the app: `<a href="#bana-tour=<id>">Show me how</a>`, `<button data-bana-play="<id>">`, `Bana.start("<id>")`, `<button data-bana-play="page">` (the walkthrough whose start page the visitor is on), or from an email or help article `https://app.example.com/page#bana-tour=<id>` (opens the page with it playing).
- Next.js: `next/script` with `strategy="afterInteractive"` in the root layout; single-page apps: in `index.html` (walkthroughs follow the app from screen to screen); tag managers: a Custom HTML tag fired on all pages.
- **Install check**: when the script loads the walkthroughs of a site with the key (or starts a live one on its own site), Videobana notes the site, at most every 10 minutes, keeping the 30 most recent. A site seen in the last 30 days shows as *Installed*; otherwise *Script not seen yet*. **Check again** refreshes.
- A walkthrough is made for one site (`origin`, from the page it was recorded on) and starts on `startPath`.

## Numbers

- bana.js reports `start`, `step` (each step reached), `complete` and `dismiss` (closed or skipped early, at which step), with the page it started on. Nothing identifies the visitor.
- Only live walkthroughs are counted, and only events from their own site (or with no origin); a step number beyond the walkthrough counts as its last step; page addresses are kept without their query string or hash.
- Counts are kept per day. The dashboard shows starts, completion rate, closed early and where, starts per day, a funnel of how far visitors get (intro and ending included, labelled), and the pages, for 7, 30 or 90 days; the list shows each walkthrough's last 30 days.

## The guide video

- Made from the steps that have a screenshot: `screencast` scenes of at most 10 steps each (a longer walkthrough is split as evenly as possible), the camera gliding to each step's area, the pointer clicking at its click point, typed text and keys shown, private areas hidden. The site's host is shown in the window's bar.
- The intro and ending become the opening and closing cards of the first and last scene (see above); the video opens straight on the app.
- It opens in the video editor for the voice-over, music and export; the walkthrough keeps a link to it (`videoId`).

## Endpoints for the account

Signed-in browser session or an API token (header `Authorization: Bearer <token>`), base `https://www.bana.video`.

| Method | Path | What it does |
| --- | --- | --- |
| GET | `/api/walkthroughs?days=30` | Every walkthrough of the account with its use over 7, 30 or 90 days (its drop-off step and last start too), the use of all of them with the period before for comparison (`overview.previous`) and how each site stands (`overview.sites`), the account's site key, and its look (`appearance`, `saved`). |
| POST | `/api/walkthroughs` | Keeps a walkthrough the recorder made (body: the create request below; screenshots are uploaded first as pictures of the user). Answers 201 with `{ walkthrough }`. |
| GET | `/api/walkthroughs/{id}` | One walkthrough with its definition, preview token, screenshot addresses, voice length and when its site last ran the script (`siteSeenAt`). |
| PUT | `/api/walkthroughs/{id}` | Changes the title, the definition (steps and settings), the page it starts on, the linked guide video, or `status` (`draft` / `live`). |
| POST | `/api/walkthroughs/{id}/duplicate` | Copies it as a new draft (same steps, settings and screenshots; no recorded voice). Answers 201 with `{ walkthrough }`. |
| DELETE | `/api/walkthroughs/{id}` | Deletes it: it stops playing at once and its numbers are removed. Answers 204. |
| POST | `/api/walkthroughs/{id}/voice` | Records its standard or premium voice from the allowance: `{ walkthrough, job }`. While the job runs, follow it at `/api/jobs/{job id}`, then ask again to pick the recording up. A voice that already says the steps as they are is not recorded again. |
| GET | `/api/walkthroughs/{id}/stats?days=30` | Use over the last 7 to 90 days (default 30): starts, completions, completion rate, dismissals, starts per day, the step funnel and the pages. |
| POST | `/api/walkthroughs/key` | Replaces the account's site key: sites with the old one stop loading walkthroughs until their script tag has the new one. |
| GET | `/api/walkthroughs/appearance` | How the account's walkthroughs look on its sites (colours, light or dark, corners, size, typeface, the Guides button and the words in its panel), and whether it chose a look yet: `{ appearance, saved }` (the standard look while `saved` is false). |
| PUT | `/api/walkthroughs/appearance` | Keeps the look (the whole object; see the fields below). A field that is not valid is refused with 400. Sites with the script have it within a couple of minutes (the public list is cached for 60 s by a browser and 30 s by a shared cache). |
| DELETE | `/api/walkthroughs/appearance` | Forgets the chosen look: sites go back to the standard one, and to what their script tags say. |
| GET | `/api/walkthroughs/engage` | The account's in-app kit: `{ engage: { checklist, announcements, assistant, analytics, feedback }, saved }` (see the `videobana-live-guides` skill for every field). |
| PUT | `/api/walkthroughs/engage` | Keeps the kit. A part left out (`checklist`, `announcements`, `assistant`, `analytics`, `feedback`) keeps what is saved; a part that is sent replaces that part. A field that is not valid is refused with 400 (all the problems in `details.problems`). Sites have it within a couple of minutes. |
| GET | `/api/walkthroughs/engage/{collection}` | The account's announcements, surveys or feedback buttons (`{collection}`: `announcements`, `surveys` or `buttons`), each with how it is doing over a period. `POST` makes one, `GET`, `PUT`, `PATCH` and `DELETE` on `/{id}` read, change and delete one, `POST /{id}/duplicate` copies it and `GET /{id}/stats?days=30` gives its numbers per day (see the `videobana-http-api` skill). Each has a page in Tools with its numbers, answers or messages and editor. |
| POST | `/api/walkthroughs/assist` | Tries a question in the Ask box of one of the account's sites: `{ question, site, ai }` → what a visitor would get. |
| PUT | `/api/walkthroughs/{id} with { demo }` | Shares it as an interactive demo, or stops: `{ demo: { shared, cta?: { label, url } } }` (it needs a step with a screenshot). Its page is then `/try/{id}`, its embed `/embed/try/{id}`; its numbers come with the stats, under `demo`. |
| GET | `/api/walkthroughs/wordpress-plugin` | A WordPress plugin (ZIP) with the account's site key: it adds the script to every page and identifies signed-in users by role. |

### Create request (POST /api/walkthroughs)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `title` | `string` | yes | The walkthrough's name. Limits: 1–80 characters. |
| `url` | `string` | yes | The page it was recorded on: its origin is the site it is made for, its path where it starts. Limits: up to 2000 characters. |
| `definition` | `object` | yes | The steps and settings (see the definition above). |
| `definition.description` | `string` | no | What the walkthrough shows, in the help panel (searchable) and the suggested intro. Limits: 1–220 characters. |
| `definition.steps` | `object[]` | yes | The steps in order: at most 40 on the page, plus an optional intro (first) and outro (last). Limits: 1–42 items. |
| `definition.steps[].id` | `string` | yes | The step's own id: 4 to 16 letters or digits, unique in the walkthrough. |
| `definition.steps[].kind` | `enum` | no | `intro` (only the first step) or `outro` (only the last): a card about the walkthrough itself, in the middle of the page, with no element and no action. Leave out for a step on the page. Allowed: `intro`, `outro`. |
| `definition.steps[].target` | `string` | no | The element, as a CSS selector. Leave out for a step about the whole page (its card sits in the middle). Limits: 1–600 characters. |
| `definition.steps[].label` | `string` | no | The element's accessible name when it was recorded: it is found by it (with `tag`) when the selector no longer matches. Limits: 1–120 characters. |
| `definition.steps[].tag` | `string` | no | The element's tag when it was recorded, lowercase (`button`, `a`, `input`). |
| `definition.steps[].path` | `string` | no | The page the step is on (its path, `/settings/team`), for a walkthrough that goes from page to page. Limits: up to 300 characters. |
| `definition.steps[].title` | `string` | no | The title on the step's card. Optional: a step needs a title, a detail (`text`) or a narration (`say`), any one of them. Limits: 1–48 characters. |
| `definition.steps[].text` | `string` | no | A line of detail under the title. Limits: 1–150 characters. |
| `definition.steps[].say` | `string` | no | What the voice says, shown as text on the card. Without it the title (and detail) is said. Limits: 1–500 characters. |
| `definition.steps[].action` | `enum` | no | What happens on the element: `none` (pointed at), `click`, `type` (types `type`, then presses `keys` if any) or `keys`. Default `none`. Allowed: `none`, `click`, `type`, `keys`. |
| `definition.steps[].type` | `string` | no | The text a `type` step types. Limits: 1–60 characters. |
| `definition.steps[].keys` | `string[]` | no | The keys a `keys` step presses together, in order (`["Ctrl", "K"]`); on a `type` step, pressed after typing (`["Enter"]`). Limits: 1–4 items, each 1–10 characters. |
| `definition.steps[].perform` | `boolean` | no | Do the action for real during a `show` tour, so the page follows (a menu opens, a dialog appears). Keep it `false` for what saves, creates, deletes, pays or sends. Default `true`. |
| `definition.steps[].placement` | `enum` | no | Where the card goes beside the element. Default `auto`: the side with the most room. Allowed: `auto`, `top`, `bottom`, `left`, `right`. |
| `definition.steps[].shot` | `object` | no | The step's screenshot and where its element is on it, for the dashboard and the guide video. |
| `definition.steps[].shot.assetId` | `string` | yes | The screenshot: a picture of the account (16 hexadecimal digits). |
| `definition.steps[].shot.focus` | `object` | yes | Where the element is on the screenshot (the whole page for an intro or outro). |
| `definition.steps[].shot.focus.x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `definition.steps[].shot.focus.y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `definition.steps[].shot.focus.width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `definition.steps[].shot.focus.height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `definition.steps[].shot.click` | `object` | no | Where the pointer presses, for a step that clicks or types. |
| `definition.steps[].shot.click.x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `definition.steps[].shot.click.y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `definition.steps[].shot.click.width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `definition.steps[].shot.click.height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `definition.steps[].shot.redact` | `object[]` | no | Private details on the screenshot, hidden in every video made from it. Limits: up to 20 items. |
| `definition.steps[].shot.redact[].x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `definition.steps[].shot.redact[].y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `definition.steps[].shot.redact[].width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `definition.steps[].shot.redact[].height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `definition.steps[].shot.redact[].style` | `enum` | no | `blur` (default) or `cover`, for secrets. Allowed: `blur`, `cover`. |
| `definition.steps[].shot.page` | `string` | no | The name of the page the screenshot shows, in the window's tab of the video. Limits: 1–48 characters. |
| `definition.settings` | `object` | no | How it plays and is heard. |
| `definition.settings.mode` | `enum` | no | `show` (default) plays by itself like a video; `try` waits for the visitor to do each action on the real page. Allowed: `show`, `try`. |
| `definition.settings.advance` | `enum` | no | For the voice walkthrough: `auto` (default) goes on when a step has been said; `manual` waits for Next. Visitors can switch. The text-only walkthrough has its own (`textAdvance`). Allowed: `auto`, `manual`. |
| `definition.settings.textAdvance` | `enum` | no | For the text-only walkthrough: `manual` (default) waits for Next; `auto` goes on by itself once a step has been on screen long enough to read (`textSeconds`, or the time its words take to read). Visitors can switch. Allowed: `auto`, `manual`. |
| `definition.settings.textSeconds` | `integer` | no | Seconds each step of the text-only walkthrough stays when it goes on by itself (2 to 60). Left out: the time its words take to read. Limits: 2–60. |
| `definition.settings.voice` | `object` | no | How the walkthrough is heard: the voice walkthrough. `kind` `none` (default) has no voice, so it plays as text only. |
| `definition.settings.voice.kind` | `enum` | no | `none` (text only, default), `browser` (the visitor's browser voice), or the account's `standard` or `premium` voice, recorded once from its allowance. Allowed: `none`, `browser`, `standard`, `premium`. |
| `definition.settings.voice.voice` | `enum` | no | The standard voice. Allowed: `M1`, `M2`, `M3`, `M4`, `M5`, `F1`, `F2`, `F3`, `F4`, `F5`. |
| `definition.settings.voice.speed` | `number` | no | How fast the standard voice speaks (1 is normal). Limits: 0.5–2. |
| `definition.settings.voice.premium` | `object` | no | The premium voice and how it is directed. |
| `definition.settings.voice.premium.voice` | `enum` | no | One of 30 studio voices (see `GET /api/catalog`). Default `Kore`. Allowed: `Zephyr`, `Puck`, `Charon`, `Kore`, `Fenrir`, `Leda`, `Orus`, `Aoede`, `Callirrhoe`, `Autonoe`, `Enceladus`, `Iapetus`, `Umbriel`, `Algieba`, `Despina`, `Erinome`, `Algenib`, `Rasalgethi`, `Laomedeia`, `Achernar`, `Alnilam`, `Schedar`, `Gacrux`, `Pulcherrima`, `Achird`, `Zubenelgenubi`, `Vindemiatrix`, `Sadachbia`, `Sadaltager`, `Sulafat`. |
| `definition.settings.voice.premium.style` | `string` | no | How the whole video is delivered: emotion, energy, inflection. Short and concrete, e.g. "warm, confident, with a smile in the voice". Scenes can add to it with their own `delivery`. Limits: 1–160 characters. |
| `definition.settings.voice.premium.accent` | `string` | no | A regional accent or dialect as a soft hint, e.g. "British" or "Scottish". The voice keeps its own character; the model follows the hint most of the time. Limits: 1–40 characters. |
| `definition.settings.voice.premium.pace` | `enum` | no | How quickly the voice speaks. Default `natural`. Allowed: `slow`, `natural`, `brisk`. |
| `definition.settings.voice.lang` | `enum` | no | The language of the voice. Allowed: `en`, `ko`, `ja`, `ar`, `bg`, `cs`, `da`, `de`, `el`, `es`, `et`, `fi`, `fr`, `hi`, `hr`, `hu`, `id`, `it`, `lt`, `lv`, `nl`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `sv`, `tr`, `uk`, `vi`, `zh`, `th`, `he`, `ms`, `no`, `ur`, `ps`, `na`. |
| `definition.settings.textOnly` | `boolean` | no | Also offer the text-only walkthrough (no sound, all the text at once, Next to go on) besides the voice one, with a button on the card to switch. Default `true`; `false` keeps a walkthrough with a voice to its voice. Without a voice it is the only way, whatever this says. |
| `definition.settings.startWith` | `enum` | no | Which way starts first when both are offered: `voice` (default) or `text`. A visitor's own choice, once they switch, is remembered and wins. Allowed: `voice`, `text`. |
| `definition.settings.autostart` | `boolean` | no | Start by itself when the page it starts on opens, for visitors who have not finished, closed or skipped it (one who left it half way picks it up where they were). |
| `definition.settings.listed` | `boolean` | no | Listed in the Guides button of the site. |
| `definition.settings.demo` | `object` | no | Sharing it as an interactive demo: its screenshots played as a click-through tour at `/try/{id}` (and `/embed/try/{id}`), with private areas burned in. Left out, it is not shared. |
| `definition.settings.demo.shared` | `boolean` | no | Anyone with the link can play it as an interactive demo (its screenshots, with private areas burned in). Default `false`. |
| `definition.settings.demo.cta` | `object` | no | A button on the demo's ending card. |
| `definition.settings.demo.cta.label` | `string` | yes | The words on the button (`Start free trial`). Limits: 1–28 characters. |
| `definition.settings.demo.cta.url` | `string` | yes | Where it goes; it opens in a new tab. Limits: up to 2000 characters. |
| `videoId` | `string` | no | A video of the account made from it, if any. |

### Update request (PUT /api/walkthroughs/{id})

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `title` | `string` | no | A new name. Limits: 1–80 characters. |
| `status` | `enum` | no | `live` puts it on every site with the script; `draft` takes it off at once. Allowed: `draft`, `live`. |
| `definition` | `object` | no | All the steps and settings (replaced as a whole). |
| `definition.description` | `string` | no | What the walkthrough shows, in the help panel (searchable) and the suggested intro. Limits: 1–220 characters. |
| `definition.steps` | `object[]` | yes | The steps in order: at most 40 on the page, plus an optional intro (first) and outro (last). Limits: 1–42 items. |
| `definition.steps[].id` | `string` | yes | The step's own id: 4 to 16 letters or digits, unique in the walkthrough. |
| `definition.steps[].kind` | `enum` | no | `intro` (only the first step) or `outro` (only the last): a card about the walkthrough itself, in the middle of the page, with no element and no action. Leave out for a step on the page. Allowed: `intro`, `outro`. |
| `definition.steps[].target` | `string` | no | The element, as a CSS selector. Leave out for a step about the whole page (its card sits in the middle). Limits: 1–600 characters. |
| `definition.steps[].label` | `string` | no | The element's accessible name when it was recorded: it is found by it (with `tag`) when the selector no longer matches. Limits: 1–120 characters. |
| `definition.steps[].tag` | `string` | no | The element's tag when it was recorded, lowercase (`button`, `a`, `input`). |
| `definition.steps[].path` | `string` | no | The page the step is on (its path, `/settings/team`), for a walkthrough that goes from page to page. Limits: up to 300 characters. |
| `definition.steps[].title` | `string` | no | The title on the step's card. Optional: a step needs a title, a detail (`text`) or a narration (`say`), any one of them. Limits: 1–48 characters. |
| `definition.steps[].text` | `string` | no | A line of detail under the title. Limits: 1–150 characters. |
| `definition.steps[].say` | `string` | no | What the voice says, shown as text on the card. Without it the title (and detail) is said. Limits: 1–500 characters. |
| `definition.steps[].action` | `enum` | no | What happens on the element: `none` (pointed at), `click`, `type` (types `type`, then presses `keys` if any) or `keys`. Default `none`. Allowed: `none`, `click`, `type`, `keys`. |
| `definition.steps[].type` | `string` | no | The text a `type` step types. Limits: 1–60 characters. |
| `definition.steps[].keys` | `string[]` | no | The keys a `keys` step presses together, in order (`["Ctrl", "K"]`); on a `type` step, pressed after typing (`["Enter"]`). Limits: 1–4 items, each 1–10 characters. |
| `definition.steps[].perform` | `boolean` | no | Do the action for real during a `show` tour, so the page follows (a menu opens, a dialog appears). Keep it `false` for what saves, creates, deletes, pays or sends. Default `true`. |
| `definition.steps[].placement` | `enum` | no | Where the card goes beside the element. Default `auto`: the side with the most room. Allowed: `auto`, `top`, `bottom`, `left`, `right`. |
| `definition.steps[].shot` | `object` | no | The step's screenshot and where its element is on it, for the dashboard and the guide video. |
| `definition.steps[].shot.assetId` | `string` | yes | The screenshot: a picture of the account (16 hexadecimal digits). |
| `definition.steps[].shot.focus` | `object` | yes | Where the element is on the screenshot (the whole page for an intro or outro). |
| `definition.steps[].shot.focus.x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `definition.steps[].shot.focus.y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `definition.steps[].shot.focus.width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `definition.steps[].shot.focus.height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `definition.steps[].shot.click` | `object` | no | Where the pointer presses, for a step that clicks or types. |
| `definition.steps[].shot.click.x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `definition.steps[].shot.click.y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `definition.steps[].shot.click.width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `definition.steps[].shot.click.height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `definition.steps[].shot.redact` | `object[]` | no | Private details on the screenshot, hidden in every video made from it. Limits: up to 20 items. |
| `definition.steps[].shot.redact[].x` | `number` | yes | Left edge, in percent of the screenshot's width. Limits: 0–100. |
| `definition.steps[].shot.redact[].y` | `number` | yes | Top edge, in percent of its height. Limits: 0–100. |
| `definition.steps[].shot.redact[].width` | `number` | yes | Width, in percent. Limits: 0–100. |
| `definition.steps[].shot.redact[].height` | `number` | yes | Height, in percent. Limits: 0–100. |
| `definition.steps[].shot.redact[].style` | `enum` | no | `blur` (default) or `cover`, for secrets. Allowed: `blur`, `cover`. |
| `definition.steps[].shot.page` | `string` | no | The name of the page the screenshot shows, in the window's tab of the video. Limits: 1–48 characters. |
| `definition.settings` | `object` | no | How it plays and is heard. |
| `definition.settings.mode` | `enum` | no | `show` (default) plays by itself like a video; `try` waits for the visitor to do each action on the real page. Allowed: `show`, `try`. |
| `definition.settings.advance` | `enum` | no | For the voice walkthrough: `auto` (default) goes on when a step has been said; `manual` waits for Next. Visitors can switch. The text-only walkthrough has its own (`textAdvance`). Allowed: `auto`, `manual`. |
| `definition.settings.textAdvance` | `enum` | no | For the text-only walkthrough: `manual` (default) waits for Next; `auto` goes on by itself once a step has been on screen long enough to read (`textSeconds`, or the time its words take to read). Visitors can switch. Allowed: `auto`, `manual`. |
| `definition.settings.textSeconds` | `integer` | no | Seconds each step of the text-only walkthrough stays when it goes on by itself (2 to 60). Left out: the time its words take to read. Limits: 2–60. |
| `definition.settings.voice` | `object` | no | How the walkthrough is heard: the voice walkthrough. `kind` `none` (default) has no voice, so it plays as text only. |
| `definition.settings.voice.kind` | `enum` | no | `none` (text only, default), `browser` (the visitor's browser voice), or the account's `standard` or `premium` voice, recorded once from its allowance. Allowed: `none`, `browser`, `standard`, `premium`. |
| `definition.settings.voice.voice` | `enum` | no | The standard voice. Allowed: `M1`, `M2`, `M3`, `M4`, `M5`, `F1`, `F2`, `F3`, `F4`, `F5`. |
| `definition.settings.voice.speed` | `number` | no | How fast the standard voice speaks (1 is normal). Limits: 0.5–2. |
| `definition.settings.voice.premium` | `object` | no | The premium voice and how it is directed. |
| `definition.settings.voice.premium.voice` | `enum` | no | One of 30 studio voices (see `GET /api/catalog`). Default `Kore`. Allowed: `Zephyr`, `Puck`, `Charon`, `Kore`, `Fenrir`, `Leda`, `Orus`, `Aoede`, `Callirrhoe`, `Autonoe`, `Enceladus`, `Iapetus`, `Umbriel`, `Algieba`, `Despina`, `Erinome`, `Algenib`, `Rasalgethi`, `Laomedeia`, `Achernar`, `Alnilam`, `Schedar`, `Gacrux`, `Pulcherrima`, `Achird`, `Zubenelgenubi`, `Vindemiatrix`, `Sadachbia`, `Sadaltager`, `Sulafat`. |
| `definition.settings.voice.premium.style` | `string` | no | How the whole video is delivered: emotion, energy, inflection. Short and concrete, e.g. "warm, confident, with a smile in the voice". Scenes can add to it with their own `delivery`. Limits: 1–160 characters. |
| `definition.settings.voice.premium.accent` | `string` | no | A regional accent or dialect as a soft hint, e.g. "British" or "Scottish". The voice keeps its own character; the model follows the hint most of the time. Limits: 1–40 characters. |
| `definition.settings.voice.premium.pace` | `enum` | no | How quickly the voice speaks. Default `natural`. Allowed: `slow`, `natural`, `brisk`. |
| `definition.settings.voice.lang` | `enum` | no | The language of the voice. Allowed: `en`, `ko`, `ja`, `ar`, `bg`, `cs`, `da`, `de`, `el`, `es`, `et`, `fi`, `fr`, `hi`, `hr`, `hu`, `id`, `it`, `lt`, `lv`, `nl`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `sv`, `tr`, `uk`, `vi`, `zh`, `th`, `he`, `ms`, `no`, `ur`, `ps`, `na`. |
| `definition.settings.textOnly` | `boolean` | no | Also offer the text-only walkthrough (no sound, all the text at once, Next to go on) besides the voice one, with a button on the card to switch. Default `true`; `false` keeps a walkthrough with a voice to its voice. Without a voice it is the only way, whatever this says. |
| `definition.settings.startWith` | `enum` | no | Which way starts first when both are offered: `voice` (default) or `text`. A visitor's own choice, once they switch, is remembered and wins. Allowed: `voice`, `text`. |
| `definition.settings.autostart` | `boolean` | no | Start by itself when the page it starts on opens, for visitors who have not finished, closed or skipped it (one who left it half way picks it up where they were). |
| `definition.settings.listed` | `boolean` | no | Listed in the Guides button of the site. |
| `definition.settings.demo` | `object` | no | Sharing it as an interactive demo: its screenshots played as a click-through tour at `/try/{id}` (and `/embed/try/{id}`), with private areas burned in. Left out, it is not shared. |
| `definition.settings.demo.shared` | `boolean` | no | Anyone with the link can play it as an interactive demo (its screenshots, with private areas burned in). Default `false`. |
| `definition.settings.demo.cta` | `object` | no | A button on the demo's ending card. |
| `definition.settings.demo.cta.label` | `string` | yes | The words on the button (`Start free trial`). Limits: 1–28 characters. |
| `definition.settings.demo.cta.url` | `string` | yes | Where it goes; it opens in a new tab. Limits: up to 2000 characters. |
| `startPath` | `string` | no | The page of the site it starts on (`/latest/`). Limits: 1–300 characters. |
| `videoId` | `string \| null` | no | The guide video made from it, or `null` to forget it. |
| `demo` | `object` | no | Shares it as an interactive demo, or stops (`{ shared, cta }`), without sending the whole definition. |
| `demo.shared` | `boolean` | no | Anyone with the link can play it as an interactive demo (its screenshots, with private areas burned in). Default `false`. |
| `demo.cta` | `object` | no | A button on the demo's ending card. |
| `demo.cta.label` | `string` | yes | The words on the button (`Start free trial`). Limits: 1–28 characters. |
| `demo.cta.url` | `string` | yes | Where it goes; it opens in a new tab. Limits: up to 2000 characters. |

## Public endpoints (what bana.js uses)

No authentication; any origin (CORS). They only ever expose live walkthroughs (or one with its own preview token) and nothing of the account: no screenshots, no ids of other walkthroughs.

| Method | Path | What it does |
| --- | --- | --- |
| GET | `/api/public/walkthroughs?key=<site key>` | What bana.js loads with `data-key`: `{ walkthroughs, appearance, engage }`, every live walkthrough of the account made for the site asking (its `Origin`, or `?origin=` when a server asks), the look the account chose (`null` until chosen) and its in-app kit for that site (the standard kit until it saves its own). Also notes the site as having the script (not with `&via=preview`, the Chrome extension trying them). A browser keeps it 60 s and a shared cache 30 s (only when the address names the site with `origin=`); varies by Origin. |
| GET | `/api/public/demos/{id}?preview=<token>` | A walkthrough shared as an interactive demo, as its player plays it: each step on a screenshot (with the hidden areas burned in, from `/api/public/demos/{id}/shots/{assetId}`), its click point and area, the words and the ending's button. Not shared: only with its preview token. |
| POST | `/api/public/demos/{id}/events` | Counts what a viewer of a shared demo did, once per viewing: `{ kind: view \| start \| step \| done \| cta, step }`; only from this site's own pages, rate-limited. Always answers 204. |
| POST | `/api/public/engage/events` | Counts what a visit did with announcements, surveys and feedback buttons: `{ key, events: [{ kind, item, event }, …] }`, at most 20, sent as text with `sendBeacon`. Only what is live for the site asking is counted. Always answers 204. |
| POST | `/api/public/assist` | The Ask box: `{ key, question, page }` (sent as text) → `{ answer, guide, step, hits, ai, limited?, aiError? }`: the live walkthroughs of the site asking that answer, the step to start at, and with AI answers on a few sentences from the AI (the account's allowance), which also picks a walkthrough when no words match. |
| GET | `/api/public/walkthroughs/{id}?preview=<token>` | One walkthrough to play: live, or with its own preview token for testing before it is live. Asked by its own site (not a preview), it also notes the script as installed there. |
| GET | `/api/public/walkthroughs/{id}/audio?preview=<token>` | The recorded voice (MP3, a redirect to it) while it says the steps as they are. |
| POST | `/api/public/walkthroughs/{id}/events` | Counts what a visitor did: `{ kind, step, page }`, sent as text with `sendBeacon`. Always answers 204. |

### Event body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | `enum` | yes | `start`, `step` (a step was reached), `complete` (the end was reached) or `dismiss` (closed early). Allowed: `start`, `step`, `complete`, `dismiss`. |
| `step` | `integer` | no | The step, from 0 (`-1` when it is about the whole walkthrough). Limits: -1–100. |
| `page` | `string` | no | The page it happened on (kept for `start`, without its query string). Limits: up to 2000 characters. |

### Appearance (PUT /api/walkthroughs/appearance)

| Field | Values |
| --- | --- |
| `accent` | The brand colour: hex, rgb(), hsl(), oklch() or oklab() (default `#8b5cf6`). |
| `accent2` | A second colour for gradients (default `#d946ef`); `null` keeps everything in the one colour. |
| `theme` | `dark`, `light`, `auto` |
| `radius` | `square`, `soft`, `round` |
| `font` | `system`, `site`, `serif`, `mono` |
| `size` | `compact`, `default`, `large` |
| `dim` | `off`, `light`, `medium`, `strong` |
| `pointer` | true or false: the arrow that glides to each element. |
| `hints` | true or false: the pulsing hotspots. |
| `branding` | true or false: “Made with Videobana” in the Guides panel. |
| `heading` | The panel's title, at most 40 characters. |
| `intro` | The line under it, at most 120 characters. |
| `launcher` | `enabled` (true or false), `label` (at most 32), `style` (`pill`, `round`), `icon` (`help`, `compass`, `sparkles`, `book`, `lightbulb`), `side` (`right`, `left`), `bottom` and `edge` (pixels, 8 to 200), `mobile` (shown on phones) and `dot` (the dot for unwatched guides). |

Fields left out take their standard value. Example:

```json
{
  "accent": "#0ea5e9",
  "accent2": null,
  "theme": "auto",
  "radius": "round",
  "size": "large",
  "launcher": {
    "label": "Need help?",
    "style": "round",
    "side": "left",
    "bottom": 88
  }
}
```

## In the dashboard

- **Tools** (`/tools`, the menu entry next to Your Videos): everything the account's script shows on its sites, with a menu on the left in groups by what each page is for. **Home** (default): the steps of setting up that are left (get the recorder, record, make it live, make it look like yours, add it to your site) until they are done or hidden (a new account gets a short introduction with **Get started**, which opens Walkthroughs); **Needs your attention** (a site whose live walkthroughs lack the script, a voice to record, the step visitors leave at, a low completion rate, a forgotten draft, a live walkthrough nobody starts; each with the button that fixes it); **On your site** (how each part stands, in the groups below); **Walkthrough activity** (started, finished and closed early, each compared with the period before: 7, 30 or 90 days, and starts per day); and the most used walkthroughs. **Guide**: *Walkthroughs* (`?tab=walkthroughs`: **How to record a walkthrough**, the two recorders side by side in three steps each (the Chrome extension, with **Add to Chrome**, and the bookmark, with **Set up the bookmark**, a dialog with the button to drag; it can be hidden to one line); search with `/`, filters for live, drafts and needs attention, a site filter, an order, cards or a table, a live switch on each, a menu of quick actions, actions on several at once; **New walkthrough** is a split button: record it on your site, practise on the sample app, build it by hand, import a recorded file, get the Chrome extension, set up the bookmark), *Checklist* (`?tab=checklist`), *Answers & help* (`?tab=help`). **Announce**: *Announcements* (`?tab=announcements`: a list of announcements; **New announcement** asks for the kind, and each opens its own page at `/tools/announcements/<id>` with Overview, Edit and the link that shows it). **Listen**: *Inbox* (`?tab=inbox`: the answers and messages of all surveys and buttons together, to read and triage), *Surveys* (`?tab=surveys`, one page per survey at `/tools/surveys/<id>`: Overview with its results, Responses, Edit), *Feedback button* (`?tab=feedback-button`, up to five buttons, one page each at `/tools/feedback-button/<id>`: Overview, Messages, Edit). **Set up**: *Add to your site* (`?tab=install`: copy the script per platform, check each site, how visitors start a walkthrough, analytics), *Look & feel* (`?tab=appearance`: the look, with a live preview of the Guides button, its panel, a step and the intro card on a light or dark page, on a computer or a phone). The former Recorder page's address (`?tab=recorder`) opens Walkthroughs with the bookmark's steps. Each page starts with its name, how it stands and a sentence on what it is for; changes are saved with a bar that appears at the bottom; rarely needed settings (pages and sites, traits, code) are folded away. `N` starts a new walkthrough. The former `/integrations` address leads to Add to your site, and the former `/walkthroughs` addresses to the same pages under `/tools`.
- A walkthrough's page (`/tools/{id}`): Results (numbers), Steps (with Add an intro / Add an ending), Voice & playback, Share (the interactive demo, a link that plays it, a guide video), Test & install (preview link, whether the script is installed on its site, snippets). A draft opens on its steps, with the three steps that put it live on top; a live one on its results. Its ⋯ menu duplicates it, gives it to another account or deletes it.
- The recorder's hand-over lands on `/import`, which can also take a walkthrough saved as a JSON file.
