The console

The Heystack console opens on Home, which answers "is my app OK?" for the apps in your active organisation: journey health, key numbers, the issues that need your attention and a trend chart. Narrow by app and time, then follow the evidence into Issues, Investigations, Users & sessions, AI & Safety or Explore.

Signing in

Sign in at console.heystack.dev with your email and password, an email link, or your Google or GitHub account. New accounts confirm their email address before the first sign-in, and, once the Terms of Service and the Privacy Notice are published, agree to them when they sign up. While Heystack is invite-only, sign-up accepts addresses that are on the list or that a workspace has invited; anyone else can join the waitlist from heystack.dev.

Heystack is moving sign-in from a hosted provider to its own sign-in service. Your account, workspaces, teammates, tokens and connected coding agents carry over unchanged. When your console shows We've updated sign-in:

  • Use the same email and password, or the same Google or GitHub account. No password (or forgotten it)? Choose Email me a sign-in link instead, or Forgot your password? to set one.
  • You › Profile holds your name, email address, password, connected Google and GitHub accounts, the devices you're signed in on (sign any of them out, or all the others at once) and Delete my account. If you're the only admin of a workspace with other members, make someone else an admin first.
  • The workspace switcher in the sidebar lists your workspaces, switches between them and creates new ones. Switching always lands on Home.
  • Signing out, or signing out a device from your profile, takes effect within two minutes everywhere; being removed from a workspace ends access to it within a minute.
  • When a coding agent connects, you sign in, choose one workspace for it and approve it on a consent screen that names the app and where it returns to. To use another workspace, connect again and choose that one.

Apps

An app is a unit of telemetry in Heystack. Create one per service (or per environment) you want to observe.

  • Create an app from the console, give it a name and pick what it is built with: Next.js, Cloudflare Workers, Node / Express, a browser / web app, iOS, Android, Python or another language (OpenTelemetry), or Other. The Connect page then walks you through setup with the new key filled in, and waits for the app's first data (see below). Admins can change what the app is built with later, on the Connect page or in Settings › App › Overview; the setup steps and checklist follow the change.
  • Rename or delete an app from Settings › App › Overview. Deleting an app removes it and everything stored for it: its keys, alerts, App Care setup, GitHub and Cloudflare connections, security settings, triage, saved views, investigations and recordings. Telemetry already received is not deleted: it stays visible in organisation-wide views and SQL until it expires (within 30 days). If a fix is running on GitHub for the app, the delete is refused until it finishes. Revoke the app's GitHub token on GitHub yourself; deleting the app removes only Heystack's copy.

Telemetry is attributed to an app by its app_id, which is resolved from the ingest key you send with each request — so data always lands under the right app.

The Connect page

The Connect page has three steps, and each one shows its proof:

  1. Your key: the new server key, ready to copy. It is shown once.
  2. Install: step-by-step instructions for what your app is built with, or Copy everything for my agent to hand one block to your coding agent. Advanced Cloudflare Workers material (business context, Durable Objects, the Agents SDK, usage import) sits behind a fold. A web app gets a Browser key and an iOS or Android app gets a Mobile key, created for you. Send a test event gives a one-line curl command that proves your key and Heystack's address work before you change any code; when it arrives the step says Test event received. The test event doesn't count as your app's data.
  3. Verify: waits for your app's first data. Any kind counts as the first signal: requests (traces), logs, browser errors and product events, session replay, crash reports or metrics. Data usually appears within a minute of your app sending it, because Heystack stores incoming data in batches up to 30 seconds apart; the page checks every 5 seconds while it is open, and stops after 15 minutes (Keep checking starts again). When something arrives the page says First signal received, lists what has arrived so far (for example "Received so far: session replay and logs."), links to it in Explore, and offers three next steps: turn on an alert, add a notification channel, and connect a coding agent.

The full setup checklist is in Settings › App › Overview (Finish setup in Settings).

A new key is shown once and is kept only in the browser tab where it was created. If you come back to the Connect page after the key is no longer on the device, an admin can choose Create a new key and show instructions to create a new server key and fill in the instructions in place. Your existing keys keep working; revoke any you no longer use in Settings › App › Connection & keys. Members are asked to have an admin open the page.

Ingest keys

Each app has its own ingest keys. There are four key types:

  • Server keys (sk_live_…) — for backend services (Node, Workers, Next.js server code). Read from an environment variable; never put one in browser code, a NEXT_PUBLIC_ / VITE_ variable, or a client binary.
  • Browser keys (hs_web_…) — public, write-only keys for @heystack/otel/web (session replay, browser errors, bug reports, browser traces). Safe to ship in a client bundle: they are accepted only on the browser telemetry paths and rejected on every read/management API and on dSYM upload. Mint one under Settings › App › Connection & keys via "New browser key".
  • Mobile (iOS) keys (hs_ios_…) — write-only, ingest-only keys safe to ship inside an iOS app binary. Mint one under Settings › App › Connection & keys via "Mobile (iOS) key".
  • Mobile (Android) keys (hs_android_…) — write-only, ingest-only keys safe to supply to an Android release build. Mint one under Settings › App › Connection & keys via "Mobile (Android) key" and keep the raw value in your CI secret store rather than source control.

All four key types authenticate OTLP/HTTP requests with the standard Authorization: Bearer <key> header. Mobile and Browser keys can send telemetry but cannot perform privileged operations such as uploading dSYM symbol maps.

Shipped a server key to a browser? Earlier setup guides told browser apps to use the server key. If a sk_live_… key ever went into a client bundle (a NEXT_PUBLIC_ / VITE_ variable), treat it as exposed: mint a Browser key, switch the client to it, deploy, then revoke the old server key here and mint a fresh one for your server.

The console reminds you. If an app looks like a website (it was created as a browser app, or it records session replays) and has no active Browser key, a notice that your website is using your private server key appears on Home and in Settings › App › Connection & keys. Admins can create the Browser key straight from the notice; members see the same notice and are asked to involve an admin. Not now hides it until you open the console in a new tab, and it goes away for good once the app has an active Browser key. Heystack can't tell which key your site sends data with, so once a Browser key exists, revoking the old server key is up to you.

For Android logs, send OTLP/HTTP requests to https://ingest.heystack.dev/v1/logs with the Android key as the Bearer token. Keep the raw key in your release CI secret store and inject it into the release build; do not commit it. The value is still recoverable from a distributed app, so Heystack treats hs_android_… as a public, ingest-only credential rather than a server secret. See the Android guide for the payload and release-build setup.

To manage keys:

  • Mint a new key under Settings › App › Connection & keys. The full key is shown only once — copy it immediately and store it somewhere safe.
  • Revoke a key from the same place when it's compromised or no longer needed. Revoked keys stop being accepted; active keys keep flowing.

Keys are listed by their prefix so you can tell them apart without exposing the full secret.

Read keys

Ingest keys only ever send data in. To pull data out — for a status page, a health check, or a script — an Admin can mint a read key (hs_read_…) under Settings › Organisation › Coding agents & API. Read keys are read-only, can be org-wide or scoped to a single app, show when they were last used, and can be revoked at any time. See API & read keys for the endpoints they unlock.

Machine access

Everything the console shows is also available to scripts and agents through the read API — logs, traces, health, issues, crashes, and replays — using a read key instead of a login. Reads with a key are capped at a 7-day range and 120 requests a minute, and a key can never change anything in your workspace. The API & read keys page has the endpoint list, the common filters, curl recipes, and how to hand a human a deep link back into the console.

Finding your way around

The console has seven destinations, the same everywhere: Home, Issues, Investigations, Users & sessions, AI & Safety, Explore and Settings.

  • Your app, environment and time range live in the top bar and in the link, so a copied link opens exactly what you were looking at.
  • Home answers "is my app OK?" for the apps in your organisation (see Home below). While the page is visible it checks the shared summary every 30 seconds; the top bar shows "Updated …" and offers Refresh. Product usage and named events live under Users & sessions › Activity; see Product activity for collection and interpretation. Missing identity or security coverage stays unknown.
  • Alerts, ingest keys, the AI safety policy and its runtime keys, privacy and replay settings are per-app settings under Settings › App; journeys, repair permissions and the code repository are under Settings › App Care. See App Care for the repair modes and the precise checks and recovery criteria.
  • Press ⌘K (or Ctrl+K) anywhere to open the command palette. It finds every screen, every settings section (type "alerts" or "members"), your apps, the Explore views, and actions such as switching theme or density and copying a link. Paste a trace ID to open that trace directly.
  • Press ⌘/ (or Ctrl+/) to Ask a question in plain English, or type a question into the command palette (for example "show errors in checkout in the last hour") and pick Ask. For a lookup, Heystack says in a sentence what it searched for and which time window, lists anything it could not apply, and offers Open in Explore. For a question about why something happened, it starts an investigation instead, which only you can see until you share it, and offers Open investigation.
  • Settings → Profile → Show my coding-agent steps is off by default. When on, the optional Heystack timeline hooks for Cursor and Codex, and the heystack-timeline plugin for Claude Code, record which files your agent edits (paths only) and what its commands were for, never file contents, diffs, prompts or command lines. Turning it off deletes the steps already recorded. See Coding-agent timeline.
  • Quick jumps: press g then h (Home), i (Issues), v (Investigations), u (Users & sessions), a (AI & Safety), e (Explore) or s (Settings). They are off while you are typing in a field or have a panel open.

If you used an earlier version of the console, see What changed for where each old screen went.

Home and Issues

Home

Home answers "is my app OK?" from top to bottom:

  • Headline: one sentence on what matters most right now, such as a journey that is down, an issue getting worse, or "everything looks normal". The sentence is a link to its next step: the issues, the matching view in Explore, or setup.
  • First run: with no apps yet, Home shows a welcome with one action, Create your first app. When the app you are looking at (or, with all apps in view, your newest app) has never sent anything, a Finish setting up card leads back to its Connect page, and the attention list says problems show up once data arrives instead of "Nothing needs your attention". An app that sent data before but has none in the chosen range says so and suggests a wider range. When data is arriving but the setup checklist hasn't passed yet, a short note links to it.
  • Journey health: one card per journey, using the same words a status page does: Working, Slower than usual, Failing for some, Down and Unknown. Unknown means we have no recent check, so we don't guess.
  • Key numbers: visitors, failing requests, typical speed, AI spend and risky prompts blocked, each compared with the previous period. Visitors opens Users & sessions, AI spend (priced the same way as on AI & Safety) opens AI & Safety, and risky prompts blocked opens AI & Safety › Safety; the app and time window you are looking at carry over. Failing requests and typical speed open the matching view in Explore. A number that needs a feature you haven't turned on says Not set up instead of showing zero.
  • AI answers: once the app sends AI answers, a tile shows the last 24 hours' answers, how many failed and a status word (Working, Getting worse, Failing for some, or Not enough answers yet). It opens AI & Safety › Health.
  • Needs your attention: the top issues, ranked by how many people they affect and whether they're getting worse.
  • Trend chart: requests and failures over the time range, with your releases marked on it. Under it, each release in the range has a Show the data for release … link to Explore › Traces, filtered to that release and grouped by release.
  • Browser-key notice: when an app is selected and its website may still be using the private server key, Home says so with a link to Connection & keys, where an admin can create a Browser key. The same notice shows there, and Not now hides it for the browser session.
  • Your apps: when you look at all apps at once, a grid shows each app's health, traffic, failure rate, AI spend and open issues.

How fresh the numbers are

Home and Issues share one summary of your data. The top bar shows how old it is ("Updated 3 min ago") and offers Refresh when a newer summary can be made, at most every 2 minutes. When your workspace is close to its usage limits, Heystack may hold back fresh numbers and say Paused to stay within limits. Your data is still collected and safe.

The Issues inbox

Issues brings every kind of problem into one list: errors, failing requests, crashes, failing journeys, alerts, bug reports, AI safety problems, usage drops (a key event such as sign-ups fell well below its usual level for that weekday) and AI answers got worse (the AI failure or flagged rate rose for one model, prompt version, feature or release; see AI health). A usage drop needs a usual level of at least 50 a day; below that Heystack can't tell, so no issue opens.

  • Filter by status (open, resolved, ignored or all), by kind and by severity, by who it's assigned to (anyone, you, or nobody), or search. Sort by most important (the default), newest, oldest or most people affected. Filters and the sort live in the link, so you can share a filtered view.
  • The Assignee column shows who each issue is assigned to. Select issues (if you can triage) lets you tick several and change them together; see Working on issues as a team.
  • When the same problem shows up in more than one place (an error and the request that fails with it), Heystack merges them into one issue and shows each kind it came from.
  • Click an issue to open it in a side panel, or open it as a full page.
  • Kinds you haven't set up yet are listed above the inbox, with a link to set them up.
  • The Issues badge in the menu counts open issues that are getting worse. It's taken from the last shared summary, so it can lag behind the inbox for a few minutes.

An issue, as a story

Each issue reads top to bottom in four parts. Every part has a Show the data link to the underlying records and a folded Technical detail section for developers.

  1. What happened: a plain summary, how many people it affected and how often, when it was first and last seen, and links to examples and replays.
  2. Likely cause: Heystack's best guess, such as the release where the errors first appeared. It is always labelled Suggested, with how confident we are, and never stated as fact. A cause written by AI from your app's data is marked "AI-generated from your app's data — verify before acting".
  3. Fix: for a journey problem, the whole repair path is on this page. With write access you can Investigate (collects evidence and shows what it found, labelled Suggested, plus an AI-generated label when AI wrote it), Prepare a fix (choose a patch, a rollback or a configuration restore, and say what it should do; admins can also limit a patch to specific files) and, while a plan is being prepared, Refresh plan. A plan that is Out of date, didn't finish, ran but wasn't confirmed, or was cancelled offers Prepare a new fix. While a repair is running, Check status reports its latest state, when to check again, and a failed or unconfirmed result in plain words; it is never a statement that it worked. Only workspace admins can approve a repair or start it, and each asks you to confirm first. Before you approve, the confirmation shows exactly what will run: the approach, the target release or configuration key and version, the prepared change (as a link only when it is a safe https address), the pre-checks and the journeys that will be re-checked. When a repair was written by AI, you also see its summary, the files it changes and the full change. Teammates without write access see who can do each step instead of buttons.
  4. Confirm it's fixed: Fix ran and Confirmed fixed are shown separately. A repair that ran is not proof that it worked. Only an App Care recovery check that passes after the latest failure confirms a fix. The Technical detail under it lists the repair runs (what ran) apart from the recovery receipts (what an independent check found afterwards). A run whose independent check did not pass says so; a receipt exists only for a check that passed. Until a receipt shows a pass, the issue says "Fix ran — not confirmed yet", and with nothing to check against it says Unknown. If an issue comes back after it was marked resolved, the page says so.

Crash and bug report issues. Open Technical detail under What happened to see the specifics. For a crash it shows the crash's stack trace (function names, files and lines when you have uploaded a dSYM symbol map; raw addresses, or "No symbolicated frames", when you haven't), how many crashes and devices, and the latest crashes with each one's device model, operating system, release, build and signal, plus links to its trace and session. These details load only when you open the section, in one read. If Heystack is holding back fresh reads to stay within limits, the crash section says so, and an admin can choose Load anyway. For a bug report it reads the report once and shows everything the person wrote, the report's own status (New, Triaged or Resolved, separate from the issue's status), when it was reported, the release and build, the page it was sent from, the errors recorded just before it, and links to the linked trace and the replay. The stack frames scroll in their own box, and a trace or session id that isn't safe to link is shown as text instead. Crash text and what people write in a bug report are shown exactly as received, as plain text, never as formatting or links. The reporter's email address is not fetched or shown on the issue page.

The panel on the right shows who did what (people, Heystack and coding agents), and lets teammates with write access change the status, assign someone, or snooze the issue for 1 hour, 24 hours or 7 days. A merged issue is updated everywhere it came from. If part of it couldn't be updated, the panel tells you which part. Issues from journeys get their status from App Care, so you can't change it here. If you open a link to a problem that has since been merged into a bigger issue, that issue opens with the problem marked You opened this one.

Approving a fix your agent asked for. When your coding agent wants to run a prepared fix, it gives you a link to an approval page (it also shows as Waiting for your approval on the investigation). The page shows what the fix is for, what it does (the action, its settings, the version of your app it applies to), which checks passed and, for a code change, the reviewed files and the changes (a very large change is shown up to its first 256 KB, with a note, but approval stays tied to the whole), followed by your agent's own description, which is labelled as the agent's. Only a signed-in organization admin sees Approve and Decline, and each asks you to confirm first. If the fix changed after the request, Approve is disabled (you can still Decline) and the page asks you to have your agent request approval again. Requests expire after 24 hours.

With the Heystack GitHub App. When a GitHub deploy recorded them, Likely cause shows "Shipped by <login> · pull request #N" under the commit links. Under Fix, Create a GitHub issue files the issue in the app's repository and links it ("Filed on GitHub as issue #N") when the App is installed on that repository; otherwise it opens a prefilled draft, as before. A merged pull request that says Fixes HS-<issue key> is linked as the fix automatically. The issue's affected people show names when the app shows names (admins also see emails).

Continue in your coding agent reuses your open investigation for the issue (or starts one named after it) and opens the hand-off, where you choose Claude Code, Cursor or another agent connected to Heystack to pick it up. See Continue in your coding agent.

AI & Safety

AI & Safety has six tabs: Health, Overview, Models, Conversations, Safety and Releases. It opens on Overview. Like the rest of the console, it follows the app and time range you pick at the top.

Health

Health answers "are my AI answers OK?" from stored counts, so it opens instantly. See AI health for the full guide.

  • A status word: Working, Getting worse, Failing for some, or Not enough answers yet below 30 answers.
  • Key numbers: answers, time to first word, time to full answer, and spend ("We don't have a price for these models yet" for unpriced models).
  • What went wrong: answers that failed, cut short, the AI declined, came back empty, people marked bad, invalid JSON, and user asked again, each with a trend against the previous period. The last two, and the wording part of "declined", need your app to send prompts and answers.
  • A trend chart with Prompt changed, new model and new release markers.
  • By feature / model / prompt version / release. See details opens a breakdown that reads raw history once, when you ask.

Overview

  • Key numbers: AI spend (with what you're on track to spend this month), calls, failure rate, typical slow case, tokens, and agent runs and tool calls when your app uses them.

  • Trend: calls and failed calls over the time range.

  • Cheapest wins: suggestions, never changes. Heystack may point out that a cheaper model from the same family could handle some calls (check quality first), that many calls to a model fail, or that it has no price for a model. Nothing is switched for you.

  • AI safety: how many requests were blocked, how many would have been blocked if your policy were enforced (shown separately and never added to Blocked), how many were flagged or reviewed by a model, the most common reasons, and people whose own messages broke your safety rules several times. If a safety check couldn't finish and a request was stopped anyway, that is counted separately. If AI safety isn't set up, or hasn't checked anything yet, the card says so instead of showing zeros.

  • Spend across providers: spend by provider, model, app, gateway and consumer for the month so far, with a forecast for the month and the budgets that apply. Budgets are alerts; Enforce makes one a soft limit that runs about a minute behind, so for a limit that must never be passed, set a hard cap in your gateway. Budgets and shared spend pools are set under Settings › Organisation › AI budgets.

Calls that went through an AI gateway (LiteLLM, Cloudflare AI Gateway, Vercel AI Gateway) show their gateway and consumer. Agent runs, agent steps and tool calls show as steps, never as extra calls, and a model call that two libraries both reported is counted once.

Heystack measures the cost, speed and failures of AI calls, plus the signals on Health (cut short, declined, empty, people marked bad). It does not score answer quality.

Spend is the billed amount when your provider reports it, an Estimate from public prices otherwise, and No price when Heystack doesn't know the model's price. A model with no price is never counted as $0. When only some of a model's calls report a cost, the others are estimated (Includes estimates), or, if they have no price, the model says Partly reported and its amount is a minimum. Home's AI spend uses the same pricing, so it matches this page: when no model has a price it says No price (never $0), a comparison with the previous period says when that period included estimates, and a cut-short list says At least. When a list is cut short, numbers say At least and the page says the list may be incomplete. If Heystack is holding back fresh numbers to stay within usage limits, you'll see a pause message, and admins can choose Load anyway. If a time range is too large, try a shorter one.

Models

One row per model: provider, calls, failure rate, typical and typical slow case, tokens and cost with its basis. Open a model to see its numbers, its cheapest wins and a link to the conversations that used it. Show technical detail reveals the raw provider and model ids.

Spend by route

On the Overview, Show spend by route adds up your AI cost by the page or route of your app that made the request. It loads only when you ask, because it reads detailed data. Each row shows calls, failures, tokens and cost. Calls with no recorded route are grouped as No route recorded, and a route whose model has no known price shows No price, never $0. When there are too many routes, only the top ones by spend (then tokens) are shown and the page says so, so treat the totals as lower bounds.

Conversations

The Conversations tab lists each request together with the AI calls it made: when, the user, the session, the models used, calls, tokens, cost, failures, and a Recorded text badge when the words were saved. Filter by model, user or session, or show only conversations with failures; filters are kept in the link so you can share a filtered list. Filtering by user or session shows whole conversations, so a conversation's totals still include all of its calls. If there are more than 100, the page says Showing the latest 100 — narrow the time range. Cost uses the amount your provider reported, or an estimate from public prices when it didn't; a note says when a total Includes estimates or when Some calls are not priced, and it shows No price when nothing could be priced (never $0).

Open a conversation to read it. It opens from the list even when it is older than the time range you are viewing: the calls in order, what was sent, what came back, any tools used, and a Technical detail section with step ids. Heystack only has the words if you turn on captureContent in the Heystack SDK (it's off by default); otherwise the page says they weren't recorded. Text longer than 8,000 characters is cut short, and only the first 12 calls that have recorded words include them. The text is shown exactly as recorded, as plain text, and is never turned into links or formatting.

Turns that belong to one conversation (the same conversation id) are grouped into one thread, newest activity first. Needs a look shows only threads with a failure, a cut-short or filtered answer, a signal or a bad rating. Each thread shows its ratings, members and admins can Mark as bad answer (or good) on a step, and Download these conversations saves up to 200 of the listed threads as a JSON Lines file (people only).

Conversations contain what your users and your AI said, so only people in your organisation can open one. Access keys can't. If a range is too large, or Heystack is holding back detailed views to stay within usage limits, the page says so and admins can choose Load anyway.

Safety decisions and policy

The Safety tab shows what your AI safety checks did, and the rules behind it.

  • Summary: Blocked counts only decisions that were enforced. Decisions from a policy that is still in shadow mode appear separately as Would have blocked (not enforced) and are never added to Blocked; decisions where a safety check didn't run or couldn't finish appear as Not checked, and any that stopped a request anyway as Blocked because a safety check couldn't finish. The numbers come from the last hour, 24 hours or 7 days nearest your time range, and the page says which when that differs from the range of the list. Below that: a chart of decisions and blocks over time, each action with its enforced and not-enforced counts side by side, the most common reasons, and people whose own messages broke your safety rules several times (each links to that person). A person is listed only for what they themselves sent, never for documents, tool results or model output. When a list was cut short, numbers say At least and the page says it may be incomplete.
  • Decisions: newest first, with when, the app (when you're looking at every app), the action, the rules that matched, whether it was enforced (Not enforced yet for shadow mode), the user, the session and the request. Ids are shown in full and link to the person, the session and the request. The list follows your exact time range (up to 30 days). Filter by action, rule, profile, user or session; a filter longer than 256 characters is ignored and the page says so; active filters show as chips you can remove, and they are kept in the link so you can share a filtered list. Changing the app clears them, because a user or session belongs to one app. A filter on a rule, user or session looks at each decision's latest result. If there are more than 100, the page says Showing the latest 100. When AI safety isn't set up, the list isn't shown or read; the summary says so and links to setup.
  • A decision: open a row to see what happened (the page also has a Follow up section, described below): the action and whether it was enforced, what was checked and where it came from, the policy version, the model and release, how long the check took, any account action, how many matches from the same person model review counted (only shown when there are some, and including this one), then every check that ran with whether it matched and why. Rules and reasons that Heystack itself records are shown in words. The words in a reason, and every id, are shown exactly as recorded and never as formatting or links. From a decision you can open the request, the user, their other decisions, and the AI conversation. If the decision isn't in the selected time range, the page offers a wider one.
  • Your safety policy: for the chosen app, one sentence per rule, the active version and when it was published, and Edit in Settings. A policy set for the whole organisation is a Minimum for every app: it is combined with each app's own published policy for the same environment (and profile, if it is profile-specific), and for every rule the stricter setting wins; the app's own reviewed exceptions still apply under it. A minimum that isn't watch-only also overrides an app's watch-only mode: the app's policy then reads Enforced, not watch-only. It does not protect an app on its own: if the app has no published policy of its own for that environment and profile, Heystack can't serve one, and the page warns that protection isn't active until it does. Access keys can see that a policy exists but not its rules. A policy counts as published only while Heystack can verify its signature; if it can't, the page says so and asks you to publish it again.

Before you have a policy. The Safety tab also shows What we can see without a policy: six patterns (secrets in content, personal data in content, injection patterns, many calls per person per hour, very large inputs, loops) with counts and one example each, a note when content scanning is off, and the people with the most matches, with their AI cost and, where the app shows names, their names. Below it, the OWASP LLM Top 10 scorecard gives each item's status and evidence; anything Heystack can't tell reads Unknown. See Security.

This was fine / This should have been stopped. On a decision, anyone with write access can give feedback. "This was fine" about a specific match drafts an exception for an admin to review.

Follow up on a decision. At the bottom of a decision, anyone with write access can Track as an issue: pick why (needs investigation, suspected false positive, possible missed protection, review failure) and which check, and the decision becomes an issue in Issues with an Open the issue link. Tracking is not a fix and not a verification, and it does not change your policy. Check what the app reported reads the receipts your app sent for that decision (what it says happened at each boundary). They are the app's own reports, not proof of delivery or playback, and they are read only when you ask.

Decisions are read on demand and never refresh by themselves. If a range is too large, or Heystack is holding back detailed views to stay within usage limits, the page says so, and admins can choose Load anyway.

Releases

AI & Safety › Releases shows, for one release in the environment you picked in the scope bar, what is declared, what your runtimes report and what an operator verified. The page needs an environment: with none selected it shows no state and offers the environments you have declared or published for, plus the ones the scope bar already knows from your traffic, and choosing one sets it in the scope bar. Choose the release from the list of declared releases (a release declared several times appears once); the page is empty until one is declared. Each profile (taken from what the release declares and the policies you have, never a fixed list) gets its own card with a state:

  • No safeguards set up, Safeguards are a draft or Safeguards aren't being applied (published, but Heystack can't verify its signature; see Publish again under AI safety policy);
  • Release not declared (also shown for a profile that has a policy but isn't part of the release's declaration);
  • Waiting for runtime reports: nothing has reported the policy it loaded. An empty sample is never shown as protected;
  • Policy reports are stale (a report is older than five minutes, or expired) or Policy adoption needs attention (a runtime reports an older policy, or one that can't be compared);
  • Policy adoption reported: recent reports say the latest policy was loaded. That is not proof that requests were checked;
  • Operator verification recorded: an operator verified a journey against the current policy. It covers that journey only.

The page does not read recent blocks or errors. Under Policy adoption reported and Operator verification recorded it says so and links to the Safety page for that app, environment and profile over the last 24 hours. Operator verification works for any feature, against the boundaries that feature declares: it needs at least one inspected boundary that produces receipts (answer text, speech, a model request, a tool call, context or voice consent). A feature that declares only inputs, model responses, background work, raw audio or embeddings, or whose boundaries are all marked not inspected, shows Verification isn't available for this kind of feature yet and stays at Policy adoption reported.

Under the state you see the declared features and what each boundary promises (a declaration is intent), the reporters and when they last reported, and a note on what to do next. The page reads release records only, not your traffic, and never refreshes by itself: Refresh next to "Updated …" re-reads it. If any part can't be loaded, including when Refresh fails after an earlier success, the page shows no state at all and says missing evidence is not a clean result.

Admins declare a release under Settings › App › AI safety › Advanced: release declarations (shown without the fold once the app has declarations): pick the environment and release, add features from a template (chat, background processing, voice, agent actions), each with its policy profile picked from the same list as policies, or by editing the JSON under Advanced, set what each boundary promises and who owns each feature, and save. Members see the Releases page and a note that only an admin can declare a release. Raise the declaration version to correct an earlier declaration; the earlier one is kept.

AI capture and cost estimates

Enabling gen_ai capture

AI & Safety requires gen_ai.* span attributes to be present in your traces.

  • Cloudflare Workers: the /workers entry records AI calls made through fetch to supported provider hosts automatically.
  • Node.js and Next.js on Node: the SDK does not capture AI calls by itself. Turn on your AI framework's own telemetry; see AI frameworks.
  • iOS: upgrade heystack-swift to ≥ 0.2.0. HTTP calls to LLM endpoints are auto-enriched with gen_ai.* attributes.

If AI & Safety shows "No AI calls captured in this window", check your SDK version and make an instrumented LLM call within the selected time window.

Cost estimates

The price map in Heystack covers common models from OpenAI, Anthropic, and Google. Prices are best-effort and may not reflect:

  • Your negotiated enterprise rates.
  • Batch API discounts.
  • Pricing changes since the last update.

A model is priced only when its name matches a known model exactly (a dated copy such as claude-sonnet-4-5-20250929 counts as the same model) or is a reviewed alias of one (for example gemini-1.5-pro-002, gpt-4-turbo-preview, claude-sonnet-4-0, or a Vertex model@20241022 id). Special variants such as preview, realtime, audio or small-size versions show No price rather than borrowing the price of a similar-looking model.

The ~ prefix and (est.) label are intentional — treat these as directional signals, not billing-accurate figures. For accurate spend data, use your provider's billing dashboard.

Users & sessions

It shows who is using your app, visit by visit, and how it went for them.

People and sessions

Users & sessions has three views, chosen with the switch at the top and kept in the link: People, Sessions and Activity.

  • People lists everyone your app has told Heystack about (the signed-in person), busiest first: their full id, the apps they used (when you're looking at every app), visits, requests (one request is one thing the person did, even when your app and your server both report it), problems, a Safety column and when you last saw them. Each id opens that person's page. People appear when your app tells Heystack who is signed in, using the enduser.id attribute; until then the page says No identified people yet and links to the setup guide. The Visits (est.) column is an estimate for people with a lot of activity. On a phone the Safety column is hidden, so a flagged person shows a small Flagged tag next to their id. Past 100 people the page says Showing the 100 busiest — search to find someone.
  • Safety says Broke safety rules for a person whose own messages matched your safety rules several times in the time range (hover or focus it for the count). It is about what that person sent, never about documents, tool results or model output. When Heystack could only check the people with the most matches, people past that point read Unknown (not "None") and the page says We could only check the most frequent offenders.
  • Sessions lists visits, newest first: when it started, who, how long, requests (one per thing the visitor did), problems, the page they arrived on, and a Replay tag when a recording exists. A row opens that visit in its own app, so it works from the every-app view too.
  • Search waits until you stop typing for a moment. Only flagged people (People) and Only sessions with problems (Sessions) narrow the list. Search and these switches are kept in the link, and changing the app on this page clears them (and the Activity filters), because a person, visit or feature belongs to one app. The switch at the top works with the arrow keys, Home and End. Time-range pickers that load data when you choose one (such as the 15m to 30d choices) move focus with the arrow keys and choose with Enter or Space, so sweeping across them doesn't load every range.

Names. With the app's Show people's names on (Settings › App › Privacy, off by default), people show as their name with the user id underneath, admins also see emails, and search matches names and emails as well as ids (the search box says so). With names off, the page shows ids and one line: for admins, "Turn on Show people's names to see who your users are", linking to Settings › App › Privacy; members, who can't change it, are told an admin can turn names on. Names come from Settings › App › People data (a sign-in provider or an upload) or from your app's own SDK. The People list also has an Account column linking to the account. The same names appear wherever Heystack lists people: an issue's Who was affected, the person behind each crash under Technical detail, the people in Activity, and in AI & Safety the conversations, a conversation's person, safety decisions and the people whose messages broke your rules several times. On a page covering several apps, each row is named by its own app's settings. App Care checks and journeys are test traffic and never appear here.

Accounts (a link in the page header) lists each account (the company or team your users belong to) with its users, requests, errors and visits; search matches the account id. An account's page shows its people.

These views are read when you open them and are not refreshed in the background. The people views look at the last hour, 6 hours, 24 hours, 7 days or 30 days nearest your time range (15 minutes reads the last hour; an exact range reads the smallest of these that reaches its start). When that differs from the range you chose, the page says so, for example Showing the last hour. If a range is too large, or Heystack is holding back detailed views to stay within usage limits, the page says so, and admins can choose Load anyway.

A person's page

Open a person to see their full id (with a Copy id button), a Broke safety rules tag when it applies, and at a glance their visits, requests, problems, and when you first and last saw them.

  • Recent visits: their latest 20 visits. Requests and problems in these rows count only this person's requests, not anyone else's in the same visit.
  • What went wrong: the problems they ran into, most frequent first (up to 10), each with Show the data for an example.
  • AI use: AI calls, tokens and models, or No AI use recorded.
  • Safety: shown only when the person has safety decisions. It lists decisions by action and their latest decisions (each opens the decision), and See all opens Safety filtered to this person.
  • Show technical detail (closed by default) holds the exact person id and the app ids.

With names on, the page shows the person's name, account and plan from your sign-in or billing provider (email for admins). It also includes activity from devices they used before signing in, for the last 30 days.

A person's page reads a lot of activity, so it looks back at most 7 days: with a wider range it says Pick 7 days or less to see one person and offers to switch. If the person wasn't seen in the range, the page says so and offers a wider one.

A session, as a story

Open a visit from the Sessions list, a person's page or a safety decision to see Session: one sentence about how it went, then what happened in order. The sentence is plain, for example This person hit 2 problems in a 1m 35s visit. The first was: TypeError…, or This person had 1 risky prompt blocked in a 4.1 s visit. "Blocked" counts only prompts Heystack really stopped; a rule running in test mode is listed in the timeline as (not enforced) and never counted as a block.

  • At a glance: who it was (a link to their page), the device, browser and arrival page (shown as text, never as links), how long it lasted and when it started. Older links to a recording (tab=replays&session=) open this page. A Broke safety rules tag shows when the visit's own messages matched your rules several times.
  • Watch replay appears only when a recording exists. Nothing is downloaded until you click it; the recording plays in a sandboxed frame with scripts off, and Close stops it.
  • What happened lists requests (one per thing the visitor did, even when your app and your server both report it), problems, AI calls, safety decisions, events and problem reports by time. The chips (All, Problems 2, …) filter it and are kept in the link. Each moment can open its own details: Show the data, Open conversation (at that moment), Open decision, or Open report. The headline and the chip counts use the true totals for the visit. A very busy visit lists only part of its moments, and the page says so, for example Showing 210 of 340 moments. Some requests and AI calls are left out. Problems the page could not list are still counted in the headline.
  • Show all of this visit's data opens the data explorer for every request in the visit. Show technical detail (closed by default) holds the visit, app and person ids.
  • If the same visit id appears in other apps, the page says This visit id also appears in and links to each. If the visit isn't in the time range you chose, the page says so and offers a wider one.

Like the other people views, a visit is read when you open it and is not refreshed in the background.

Product activity

The Activity view of Users & sessions shows what people did, from the events your app reports about its own features. It is one read per app and time range (it looks at the last hour, 24 hours or 7 days nearest your range, and says so when that differs), kept in the link, and not refreshed in the background.

  • Needs attention lists failed outcomes, ordered by how many identified people they affected. Activity without a person is left out of those counts. When nothing failed it says This does not establish full coverage, because Heystack only knows what the app reported.
  • Feature outcomes is a table of started, succeeded, failed, cancelled, unresolved and ambiguous attempts per feature. Unresolved is not proven abandonment, because outcomes can arrive later.
  • Usage map lists the screen changes Heystack saw within one person's visit (at most 30 minutes apart). Choose a connection to see the latest activity from visits that made it, each opening its visit.
  • The coverage line counts events, person and visit pairs, and events without a session or deduplication id. If more than 10,000 events matched, the page says Partial analysis and asks you to narrow the time range. If the read fails, the page says it couldn't load activity; it never shows an empty map as if nothing happened.
  • Recent activity lists the latest named events, newest first, in its own read (once per app, range and filter, never in the background). If it fails, the rest of Activity still shows, with a retry. Open an event to see its User context (the recorded ID, and the display name your app supplied, labelled as app-supplied; Heystack never matches it to a directory), its Network context, links to the trace, matching logs, the session and the person's activity, and Continue in your coding agent, which starts an investigation that carries the event's ids. The IP address, approximate location and Find location in recorded telemetry are for signed-in people only: that lookup runs only when you press it, and it says No location observed for this IP in this scope when nothing matches. It is not proof of where a person is. If Heystack is holding back reads to stay within limits, the lookup says Paused to stay within limits, and an admin can choose Load anyway.

See Product activity for how to send these events.

Key events

Users & sessions › Key events (the Key events link in the page header) lists an app's key events: the moments that matter, such as sign-ups or checkouts. With every app selected it asks you to pick one. Each card shows the label, what it matches in plain words (POST /api/auth/signup → 2xx), counts for today, 7 days and 30 days, and daily bars for the last 30 UTC days. See Key events for the full guide.

  • Evidence. Seen in traffic (dashed outline) means Heystack saw matching requests or events; it never means the action worked for the person. Confirmed by your app or Confirmed by your provider (solid, ticked) means the app reported the action as succeeded, or a connected provider reported it. Hover or focus the label for the explanation.
  • History. Counted from <date> says where counts begin. While history is being counted the card says Counting history… and the list re-checks every 30 seconds while the tab is visible. A capped count offers Backfill earlier; a failed one shows the reason and Try 7 days; one held back to stay within usage limits offers Retry. Admins only; 5 per organisation per day.
  • Define a key event (admins): count a request (pick one of your busiest routes or type a method, route and result) or an event your app sends (pick from the catalogue, or type its name, feature and outcome). The dialog shows an estimate for the last 7 days from what Heystack already stored (no new read), or No estimate yet until suggestions have been asked for once, and which evidence label the key event will get. Requests also count the last 30 days unless you untick it.
  • Edit (admins) renames a key event or changes what it matches; a new matcher saves a new version that counts its history again, and the old version's counts are kept. Turn off keeps counts. Show turned-off and older versions lists them.
  • Suggestions. Suggest key events (members and admins; 3 per app per day, shown as "N of 3 left today") proposes key events from your busiest routes and events, each with its 7-day count and a Pattern or AI badge. Add (admins) creates it; nothing is turned on automatically. When the AI pass was skipped, the panel says why (AI processing off, out of credits). Suggested journeys can be saved with Save journey; funnels for them arrive in a later update.
  • Event catalogue (/key-events/catalogue): every event name with first and last seen; admins can rename (display only), hide, show again or merge one into another; Property rules (Keep or Drop per property); and the Daily event budget with today's kept events and drops by sender (over budget, new names past the 500 cap, properties removed), 30 days of volume, and an admin field to change the budget (1,000 to 5,000,000).

Members see everything but the admin controls, with a one-line reason. When a key event drops well below its usual level, a usage drop issue opens in Issues, and an alert rule under Settings › App › Alerts can tell you when one drops.

Explore

Explore is where you look at your telemetry directly. It has six views, listed across the top: Traces, Logs, Metrics, Service map, Workers and SQL. The app, environment and time range you pick in the top bar carry from one view to the next, and everything you set on a page (filters, search, grouping, the section you opened) is in the address bar, so a link reproduces the same view and the browser's Back button steps through your changes. Moving between views with the arrow keys never loads anything; a view reads only when you open it or ask.

  • Env (the environment choice in the top bar) applies to Traces, Logs and the Service map. In Workers it narrows what comes from your traces; the figures imported from Cloudflare cover every environment of the account, and the page says so.
  • Names, messages and values come from your app and are always shown as plain text, never interpreted.
  • Download CSV on Traces, Logs and SQL saves the rows already on the page as a spreadsheet file. It makes no new request, so it holds only what is loaded (the latest 200 for Traces and Logs). Text that a spreadsheet could read as a formula (starting with =, +, -, @, a tab or a return) gets a leading apostrophe so it stays text. That includes numbers the database sends as text, such as negative large counts, which then show as text (for example '-5) rather than numbers. The file is UTF-8 with a byte-order mark so Excel shows non-English text correctly.
  • Every Explore page works on a phone and in dark mode.

Traces

Explore › Traces lists the most recent requests and operations (up to 200) for the app and time range you are looking at. Columns are When, Service, Operation, Duration and Status, plus App when you are viewing all apps. Click an operation to open that trace.

Logs

Explore › Logs works the same way for log lines: the latest 200 for the app and range, with When, Severity, Service and Message, a View trace link on lines that belong to a request (it opens that request with the line's step selected), and App (by name) when you are viewing all apps. A line with no usable trace id has no link.

  • Messages are plain text on one line, cut at 300 characters. Choose Show full message to read all of it, with its line breaks kept (useful for stack traces), and Show less to put it back. A line with no text shows its event name.
  • Severity is written out (ERROR, WARN, INFO) as well as coloured.
  • One request's logs — a link with trace= shows only that request's log lines, as a Trace chip you can remove. Breakdowns and Group by follow it too, so the numbers always match the chip.

Filters, search and breakdowns

Traces and Logs share these controls.

  • Search and filters — type words and press Enter, or add a filter: pick a field, is or is not, and a value. Each filter is a chip you can remove with one click. Logs offer service, severity, event, version and environment; Traces add route, method, operation, status and more. In a link, "is" filters are written f=field:value and "is not" filters nf=field:value.
  • Not applied — anything in a link that the page cannot use (for example an old "contains" filter, or a field the view does not have) is listed under Not applied instead of being silently ignored. Use search for words, or Dismiss the note.
  • Attribute filters — a link can carry one attribute filter (f=attr:<key>:<value>, Traces only, "is" only). The page has no control for adding one yet, and the key is typed as free text in the link; a second attribute filter or an "is not" attribute filter is listed under Not applied.
  • Group by — choose a field to replace the list with one row per value (requests or log lines, errors and, for Traces, the slowest 5%). Filter to this drills into that group. Switch Table to Chart (arrow keys and Enter, so moving across the options never loads anything) for lines over time for the eight busiest groups. The chart's time steps follow the range: a minute up to an hour, five minutes up to six hours, 15 minutes up to a day, an hour up to a week, six hours beyond that.
  • Breakdowns — closed by default, so the page costs one read. Choose Show breakdowns (it sits just under the filters) for the most common services, statuses, routes, operations, versions and environments in what you are looking at. Only this and Exclude add a filter, and a breakdown keeps your own filter on its field: filter to one service and the service breakdown shows just that service. After you change a filter, the breakdowns stay as they were, marked From before your last change, until you choose Update breakdowns. A panel you left open also waits for Update breakdowns after a reload; the page never loads it on its own.

What's different?

On Traces and Logs, What's different? (beside the freshness badge, or next to any value in the breakdowns) shows which values are more or less common in a set of rows than in everything else you are looking at. Choose a set: Failed (error rows), Slow (Traces only; a whole number of milliseconds from 1 to 600000, 1000 to start, then Compare) or Matching a value (when you came from a breakdown). Nothing loads until you choose one, and each choice is one read that respects the page's filters, search and time range.

Results are headed with the set they are for (for example "Rows slower than 1,500 ms"), and switching to another set clears them until you choose it. Each finding names the field and value, says whether it is more or less common among the selected rows, and gives the shares in words ("90% of selected vs 10% of the rest") with a pair of bars. When either side has fewer than 30 rows the actual counts are shown too. Filter to this adds the value as a filter and closes the panel.

If there is not enough to compare, the panel says why instead of showing numbers: fewer than 10 rows selected, fewer than 10 outside the set, or every (or no) matching row is in the set. If nothing differs by a meaningful amount it says Nothing stands out.

A request, step by step

Open any View trace link, a conversation, or an issue's example to see Trace: one request drawn as steps, in order, each with how long it took. A step that failed says failed in words, and the summary above counts them, for example 1 step failed. Choose a step (or open a link that names one) to see its details beside the page: what it was, which service ran it, whether it worked, when it started, how long it took, and its attributes. Resource attributes (where the step ran: service, host and SDK details) and Events & exceptions are closed until you open them, and each reads that step's details then.

  • Related links take you from the request to more requests from the same service, the person and visit it belonged to (when it carried them), matching issues, and its log lines. An id that can't safely be opened is shown as text, not a link.
  • Slow spots (shown first) points at repeated work, one step that dominates the time, or steps waiting on each other, and can show the step. Logs lists the log lines written during this request. Replay links to the visit's recording when there is one. Explain asks for a plain-language read of the request; it only runs when you press Explain this request, and the answer is marked Suggested.
  • Opening a trace is one read. Logs, the recording, a step's events and the explanation are each read only when you ask for them, and none refresh by themselves. If Heystack is holding back one of them to stay within usage limits, that part says so and admins can choose Load anyway for just that read.
  • A link from a list carries a narrow time range. If the request isn't in the range, the page says Not found in this time range and offers Search the last 30 days. A very large request shows Showing the first 5,000 steps of this request.

Metrics

Explore › Metrics shows one metric at a time. Nothing is read when you open the page.

  • Choose a metric opens the list of metrics reported in the app and range you are looking at (loaded when you open it). Picking one writes metric= and type= into the address, so the view can be bookmarked, saved or shared, and reads that metric once. A link that already carries both reads only the metric.
  • Charts and table — samples per interval, and the average and highest value, drawn as lines. The same numbers are in a table below, so nothing depends on the chart. Values are plain numbers: the page does not show units yet.
  • Show example requests reads, only when you ask, a few requests recorded alongside the metric; each links to its trace. Entries without a usable trace are left out.

Service map

Explore › Service map draws which of your services call each other, and which Cloudflare parts (databases, storage, queues, durable objects, workflows, AI) they use. Services are boxes and parts are rounded boxes labelled with their kind. A connection that had failures is drawn dashed, and the failures are also counted in words in the table underneath, which lists the connections with calls, failed calls and slow case. It is read once when you open it or change the time range, and is not refreshed in the background.

  • Choose a box (or press Enter on it) to see what calls it and what it calls. A service offers Traces from this service (Traces, already filtered to it) and What's different?, which compares that service's requests with everything else. Choosing a box moves focus to its details, which are announced; they close if a refresh no longer has that box, or when the app or time range changes. A part offers Open in Workers for databases, storage, queues, durable objects and workflows; parts with no matching view (AI, Vectorize and similar) just list their connections.
  • A very large map draws only the 40 busiest services and bindings, and says so; the table still lists every connection it received. The page asks for up to 500 connections; if there are more it says Showing the 500 busiest connections and the table is no longer called "every connection". Service-to-service connections are kept ahead of Cloudflare parts when the limit is reached.
  • The Env choice applies to the map (both services and parts).

Workers

Explore › Workers shows how your Cloudflare Workers apps are doing, one section at a time: Runtime health, Cron & Workflow runs, Queues, Durable Objects, D1 databases, KV & R2 and Cloudflare usage. It opens on Runtime health. Each section loads only when you choose it (arrow keys to move, Enter to open) and is one read for the app and range you are looking at; going back to a section you opened in the last five minutes shows it again without reading. The Env choice does not apply here, so everything for the selected app is shown, and the page says so.

  • Runtime health — how many requests ran, the typical and slowest CPU time (to a tenth of a millisecond under 10 ms; "Unknown" when no CPU time was recorded), how requests ended (completed, threw an error, ran out of CPU time and so on, as words with counts and a bar; "Not recorded" when Cloudflare gave no outcome, which is not a failure), the busiest Cloudflare locations, and calls to other services when your Cloudflare account is connected (otherwise "Not reported").
  • Cron & Workflow runs — each run with its kind, service, name, start time, outcome and duration. Heystack does not know your cron schedule, so gaps are guessed from how often each job normally runs ("1 hour", "1 day") and shown separately as Possibly missed (inferred).
  • Queues — two groups that are never merged: From traces (queues named in your steps: messages sent, batches handled, average batch size, handler errors) and From Cloudflare (queues reported by ID once your account is connected: waiting, delay, retries, dead-lettered). Counts are what was seen in traces (0 means none were seen), and sends without a queue name are grouped as (unattributed). A figure that was never recorded says Unknown, never 0. Waiting is the latest backlog Cloudflare reported for the queue, and stays Unknown until the Cloudflare connection reports it; dead-lettered reads 0 (not Unknown) once Cloudflare has reported the queue's activity.
  • Durable Objects — the busiest objects by requests, time spent, storage operations and rows read. Alarm errors and WebSocket events are not reported yet and show Unknown.
  • D1 databases — statements grouped by pattern, cut to 200 characters, with calls, errors, speed, how many were served by the primary and by a replica, and rows read and written.
  • KV & R2 — operations per binding with calls, errors and speed.
  • Cloudflare usage — once your Cloudflare account is connected (Settings › App › Cloudflare), one table per product with what Cloudflare itself reports for the range: Durable Objects, D1, KV, R2, Workflows, Hyperdrive, Workers AI and AI Gateway. These are account-wide figures from Cloudflare, about five minutes behind, and are never merged with what your traces show.

Each section loads up to 1000 rows; if it reaches that, it says Showing the first N and asks you to narrow the range or pick one app (queues are cut a whole queue at a time). A section with nothing in the range says No Workers data for this in the selected time range, explains both ways in (turn on Cloudflare's OpenTelemetry export, or wrap the Worker with instrument() from @heystack/otel/workers), and links to Settings › Cloudflare and the Cloudflare guide.

SQL

Explore › SQL is for developers: read-only SQL over your data, with your workspace scoping applied for you.

  • Nothing runs until you ask. Typing, opening a link that carries a query (sql=, up to 8,000 characters; a longer one opens an empty editor with a note) and opening the schema never run a query. Press Run query, or Ctrl or ⌘ + Enter. Every press runs the query again, even if nothing changed, so you always get fresh results; Run waits while a query is running (a held-down key does nothing).
  • Row limit — 50, 200 (the default) or 1,000 rows. If the result was cut at the limit, the page says so. A query that takes longer than about 15 seconds or reads too much is stopped.
  • Results are plain text in a table, with how long the query took. Wide results show the first 20 columns (with Show N more columns), long values are cut with Show full value, values over 500 characters are shortened, and a list or object value is shown as JSON. Executed SQL (closed by default) shows the exact query that ran after scoping was added.
  • Schema — Show schema loads the tables and columns you can query once, with a search box. Choose a column to insert its name where your cursor is. A link with a new sql= replaces an untouched editor, and otherwise offers Use the query from the link. Examples fill the editor with a starter query and never run on their own.
  • Errors are explained in plain words: a query the checks do not allow shows the reason, a database error shows its code and hint, and too many queries asks you to wait a minute.
  • Read keys cannot run SQL. The page shows "SQL needs a signed-in person".

Saved views and pins

Every Explore page has Save view, Views and Copy link beside the heading.

  • Save view keeps the page you're on, with its filters, search, grouping and time range, under a name. Saved views are shared with everyone in your organisation; pins are yours. Names are unique (capital letters and spacing don't count). If a teammate already uses the name you'll see A teammate already uses that name; saving a name you already own replaces your earlier view.
  • Views lists them all, marking your own with Yours. Open one to go to the saved page. Pin puts a view in your sidebar under Pinned, only for you (up to 8). You can Rename and Delete your own views; admins can also delete anyone's. Deleting asks first, because it removes the view for everyone.
  • Saved views also appear in the command palette (⌘K) as View: ….
  • Members need permission to save: if your role can't, the message says Your role can't save views. Read-only access keys can see views but not change them, and a key limited to one app only sees that app's views.
  • The list of views is read once when you open the console (not on every Explore page), so a view a teammate just saved appears after you reload.
  • Views you saved in the old console were private to that browser, so Heystack asks first: a one-time prompt, "Share N saved views from this browser with your team?", appears on Explore for members and admins. Nothing is saved until you choose Share; Not now is remembered for this workspace on this browser. Your old copies stay where they are. An old view whose name already exists in the shared list is skipped, so a view you changed or deleted is never overwritten or brought back; anything else that can't be copied (a view that isn't an Explore page) is skipped too, and Heystack tells you which. If you don't have permission to save, or Heystack can't be reached, nothing is marked as done and you are asked again next time.
  • If the list can't be loaded, Views says Couldn't load saved views with a Retry button, and the sidebar says Saved views unavailable. A page whose address is too long (over about 10,000 characters, for example a very long SQL query) says This view is too long to save. Saving over one of your own views says Replaced your view.

How fresh Explore is

Explore reads your data when you open a page or ask, and not otherwise. Each page shows when it was last updated and a Refresh button; nothing refreshes by itself, and a result you have already loaded is reused for five minutes (going Back to it costs no new read). Time ranges and filters that change what you are looking at read again once.

  • Paused to stay within limits. If Heystack is holding back a view to keep usage in check, members see why, and admins can choose Load anyway for that one read. Your data is safe.
  • Too much to load. If a range is too wide, Explore asks for a shorter range or a single app instead of trying.

Settings

Settings live in one place, grouped by job in the left-hand list:

  • App: settings for one app at a time: Overview, Connection & keys, AI safety, Data & privacy, Privacy, People data, Alerts and Cloudflare. Use the App menu above the list to switch apps; when you're already on an app section you stay on that section, otherwise you land on the app's Overview.
  • App Care: the same app's Journeys to watch, Repair permissions and Code repository: what Heystack checks and what it may do to fix it.
  • Organisation: members, coding agents, notification channels, data retention, apps and billing. Audit log and billing are only visible to admins.
  • You: your profile, appearance and email preferences.

Forms show Saved after a successful save, keep Save disabled until something changes, and warn before you leave with unsaved changes.

Type in Search settings to narrow the list. It matches section names and individual settings (for example "browser key" or "webhook"), and picking a setting jumps straight to it. Every setting is in ⌘K: the command palette (press the shortcut shown in the top bar) finds every section and individual setting, plus Create an alert rule, Create an ingest key and Connect a coding agent, so you can type "Settings" followed by what you're looking for from anywhere.

On a narrow screen the list becomes a Settings section menu (the App menu stays, and search is hidden).

App › Overview, Connection & keys, Data & privacy

  • Overview opens with a setup checklist in three groups: Now (what is needed to receive data), Next (the first week's steps, such as alerts and where they go) and When you need it. Each item says Done, To do, Check, Unknown or Not available, explains in plain words what it means, and links to the section where you fix it. The AI safety row appears only for apps whose AI calls Heystack has seen, or that already have a policy. Unknown means we can't tell right now (for example, data collection is paused), which is not the same as "To do". Open Technical detail on a row for the exact reason. Check again looks at your latest data now; pressing it again within about 15 seconds may show the previous result. Below the checklist you'll find the app's name, what it is built with, service name, ID and creation date. Admins can rename the app, change what it is built with (Setup steps reopens the Connect page) or delete it; deleting asks you to type the app's name first.
  • Connection & keys lists the app's keys (server, browser and mobile), with when each was made and whether it's still active. Admins can create keys and revoke them. A new key is shown once, so copy it straight away. After creating a server key, Show setup instructions with this key reopens the Connect page with the instructions filled in. AI safety runtime keys are no longer here: they sit next to the policy they fetch, under App › AI safety, and a card here links to them. The Cloudflare row shows whether a connector is set up and links to the Cloudflare section to change it. Setup instructions reopens the install guide for the app. When your app calls a known AI provider but sends no AI details, the setup check's AI row says so ("Your app is calling OpenAI but Heystack isn't receiving AI details") and links to the AI frameworks recipes. A call nested under a recorded model call never counts, and the row clears 7 days after the last such call.
  • Data & privacy controls what Heystack keeps for the app. Members can see these values; admins can change them. How long data is kept is set for the whole organisation under Organisation › Data retention.
    • Privacy puts three choices in one place, each with Save privacy:
      • Prompt and completion text: keep what your app sends, or drop it. Heystack's SDK doesn't record this text unless you turn that on; this is a second fence for apps that do. Dropping removes prompts, completions and the text of AI message events as data arrives, before anything is stored; model names, token counts and timings are kept.
      • Visitor address and location: keep, or drop visitors' IP addresses (including forwarded addresses), and the country and city worked out from them, as data arrives. The browser and device name (user agent) is kept.
      • Masking in session replays: how much on-screen text is hidden in recordings. It is hidden in the visitor's browser, before a recording is sent.
    • A privacy change applies to data arriving from about a minute after you save. Data already stored isn't changed; it is removed on your retention schedule. Text inside log and error messages isn't searched, so keep personal details out of those.
    • AI gateway double counting (the gateway spend source) only matters when this app records its own AI calls and also receives an AI gateway's records for the same calls. Choose Count this app's own AI calls or Count the AI gateway's records; the other side is kept but not counted in spend. The default, No rule, suits the recommended set-up where the gateway sends to an app of its own. See AI gateways.
    • Trace sampling sets how much of your traffic is kept, and whether errors and slow requests are always kept.
    • Session replay sets whether replay is on, how many visits it records, and whether browser requests and errors are captured.
    • SDK capture settings (needs @heystack/otel 0.20.0 or later; the controls are disabled with that note until such an SDK has been seen for the app): kill switches for each capability (all, tracing, errors, replay, events, autocapture, identify, start-up heartbeat, AI content, identity carry) and the config refresh interval; autocapture with each kind's switch and sampling, click/tap mode (named elements only, or all), session sampling and the per-session and per-minute caps, allowed URL query parameters; the consent requirement (and whether Global Privacy Control counts as a refusal); event property allow- and deny-lists; identity traits, session idle time and whether ids persist. The newest SDK versions seen for the app are listed at the top. Replay and masking stay where they were and work with every SDK version. Admins edit; everyone else sees the values.
  • Privacy holds the people settings, each off by default: Show people's names (names and emails from your sign-in provider are shown to your team, and emails to admins only) and Accept traits sent by the SDK. Erase a person asks you to type the user id to confirm; Export a person's data downloads a JSON Lines file (two a day, kept for 7 days). Members see the switches read-only. See Security.
  • People data (admins change, members view) has a card per provider (Clerk, Stripe, Supabase) with its status: Not connected, Finish setup, Connected, Needs attention or Paused, plus how many people were imported, the last update and, for Stripe, the match rate ("75% of customers (150 of 200) matched to a person"). Connect opens a four-step window: paste the key → copy the webhook address and events (shown once) and paste the signing secret, with "Test event received" once the provider sends one → confirm "Names and emails from this provider will be shown to your team. Emails are visible to admins only." → import progress. Manage holds: count provider key events, resume or re-run the import, a new webhook address, replace the key or secret, pause, disconnect. A second card uploads a CSV (id, name, email, avatar_url, account_id, plan, kind), shows the rows it can't use, and uploads 1,000 at a time. An app holds at most 200,000 imported people across every connection and upload; the page says when that cap is reached. When connections are switched off by Heystack, the page says they are paused and nothing is lost. See People data.

Alerts and notification channels

  • App › Alerts lists the app's alert rules with what they watch, the threshold, the time window and where they send. You can switch a rule on or off, edit it or delete it. When you create or edit a rule you choose Send to from your organisation's notification channels, or pick No channel. Admins can also choose Add a channel… to create one on the spot. Below the rules, Daily digest sets whether a digest is sent, to which channel, and at what time. Pick the time in your own timezone; Heystack stores it as a fixed UTC hour, so the clock time you see can shift by an hour when your clocks change. Only admins can change the digest. Recent alerts shows what fired lately and links to the alert issues.
  • Organisation › Notification channels is the one place notification destinations live. Each channel has a name and a type: Slack, Email, Discord, Microsoft Teams, PagerDuty or Webhook. A webhook address or PagerDuty key is saved once and never shown again; you see only a short hint such as hooks.slack.com/…/abcd. The list shows how many alerts, digests and events use each channel and the result of the last test. See Notifications for email channels, choosing which events each channel hears about, and recent deliveries. Anyone on the team can see the list and use a channel in an alert. Admins can add channels (up to 25), rename them, change the address, send a test message and delete them. Changing the address switches every alert and digest that uses the channel. A channel that is still in use can't be deleted; move its alerts and digests to another channel first. Test messages are not signed, so a receiver that checks signatures may reject them. Channels imported from older alert settings are named after their destination; rename them to something clearer.

AI safety policy

App › AI safety is where you choose what Heystack Security checks in your app's messages, and where the runtime keys that fetch the policy live. If the app has no policy you'll see Not protected, which means nothing is being checked yet; admins can pick a profile and environment and choose Create policy. Profiles are Chat, Agent, Background processing and Voice, or a custom name (lowercase letters, numbers, - and _); environments are Production, Staging and Development. Policies, runtime keys and release declarations all use these same lists, and the console shows names, not ids. A policy or key made with a profile outside the list (an older one, say) still shows, marked (custom). The same applies when only your organisation has a policy: the page says Not protected: this app has no policy of its own, because the organisation policy is a minimum that is combined with each app's own policy and never applied on its own. Members see the same notice and are asked to have an admin create a policy for the app. If the app has a policy of its own but no published version yet, the page says Not protected yet until a version is published under Versions.

  • Rules has one line per check (secrets, personal information, prompt injection, harmful content). Each says in plain words what happens, for example "Block messages that contain secrets", with a switch and an action: flag, redact, hold for review or block. If a check can't run decides what happens when a check itself fails.
  • Review by a model adds an optional second opinion from an AI model. It runs alongside your request and never delays the reply starting.
  • Limits caps requests per minute, characters per request and daily spend. Leave a box blank for no limit.
  • Test a prompt tries a message against your unsaved changes, so you can see the result before anything goes live.
  • Versions lists the newest 50 saved versions plus the live one (a note says when older ones aren't listed). Save draft stores your changes as a new version; Publish makes a version live and Roll back returns to an earlier one. Both ask you to confirm, and both are admin-only. Heystack checks the live version's signature against the current signing key, the same way the policy guard does. If it can't be verified (it was never signed, the signing key was rotated, or the stored policy was changed), it isn't being applied: its row reads Not applied, never Live, and admins get Publish again, which runs the same release checks and publishes that version again so it is signed afresh. Members see the state and a note that only an admin can fix it. Publishing an app's policy again also needs the organisation policy it inherits to verify, so after a key rotation publish the organisation policy again first; the page tells you if that is the problem. Before publishing or rolling back, Heystack runs its release checks on that version. If it refuses, the Versions card says why in plain words and what to change, for example that the version doesn't stop secrets in messages people send, that it blocks an ordinary question, or that Review by a model is on (a version that uses it can't be published yet). Nothing is changed when a publish is refused.
  • Advanced lets admins edit the policy as JSON. An error in the JSON is shown under the box and stops Save draft until it is fixed.
  • Runtime keys lists the keys your app uses to fetch its policy while it runs, with each key's profile and environment. A key gets the policy for its profile and environment, so admins pick the same ones as the policy when they choose Create runtime key; the key is shown once. Members see the list but can't create or revoke keys. Keys that send data to Heystack stay under Connection & keys.
  • Advanced: release declarations is folded away for an app that has never declared a release, because a policy works without it. Open it to declare one (see AI & Safety › Releases above); once an app has declarations, Declare a release shows on the page without the fold.

Watch-only mode, exceptions, custom rules and explanations appear once every process that fetches the app's policy runs a guard that supports them (@heystack/guard 0.3.0 or later). Until then the page says why, for example "needs @heystack/guard 0.3.0: version 0.2.0 reported 3 hours ago" or "no process has reported in the last 24 hours". Changing any of them saves a new draft, published with the usual release checks. If an organisation minimum that isn't watch-only applies, the combined policy is enforced even when the app chooses watch only. Exceptions are drafted (often from This was fine on a decision), published and revoked here; see Security.

Organisation › AI safety policy (all apps) holds your organisation's minimum. Heystack combines it with each app's own published policy (the stricter setting wins, an app's own reviewed exceptions still apply, and a minimum that isn't watch-only overrides an app's watch-only mode); an app with no policy of its own is not protected by it, and the app's page says so. Admins create, edit, publish and roll back the minimum there. Publishing changes the minimum for every app that has a policy, and the confirmation says so. Inside an app you see the organisation policy read-only, labelled as your organisation's minimum, with a link to where it is edited.

Members can see the policy but not change it, and only admins can test a prompt. Publishing a policy does not route your traffic through Heystack: your app fetches the signed policy and checks messages itself.

Security issues and findings

Security shows up in Issues alongside everything else. Two kinds appear:

  • Safety issues from your app's traffic: a person whose own messages keep breaking your safety rules (this counts rule matches in shadow mode too, so it isn't a count of blocks), a spike in blocked requests (counting only requests that were really blocked), or a kind of attack that had not matched before. The issue's Safety section says what happened and links to See these decisions in AI & Safety, already filtered to the person, profile or rule.
  • Findings from GitHub (libraries with known problems, code scanning, exposed secrets): shown to workspace admins only. The Safety section shows the severity, the file and line, an Open on GitHub link and when Heystack last checked. If a check hasn't worked recently it says "We couldn't check this recently — status unknown" rather than implying the finding is still open. When GitHub stops listing a finding it reads "GitHub no longer lists this as open"; that is not a confirmed fix, because it may have been dismissed. You can ignore or re-open a finding, but only a scan marks it resolved. Continue in your coding agent works for findings like any other issue.

A tracked safety issue (a decision someone chose to track) is shown in the Safety section with the rule, where it applies and how many decisions it came from. It has no resolve or ignore control: it closes only when an admin verifies it against the policy that is active now. In Confirm it's fixed, the status reads Not verified, Verified for an earlier policy (a policy was published since, so it is open again) or Verified for the current policy. Admins see Record a verification: choose the release it was seen in and the case (allowed, redacted, denied or cancelled; a suspected false positive can only be fixed with an allowed result), paste the exact turn ID and the client build, and Check the turn, which reads that turn's start, end and receipts. Verify stays off until the turn has been checked and shows nothing the server would refuse (incomplete receipts, an unfinished turn, observation mode, another release or profile), you have confirmed you ran the case in the real client and that you checked billing. The turn must be of a feature that declares the issue's own surface and reported that surface's receipt. An issue on a surface with no receipt boundary yet shows that reason and no form. The save is refused unless the receipts are complete, in enforce mode and from the current policy for that release. It records your attestation next to the reconciled app reports; it cannot show what a person saw or heard. Members see the state and the saved verifications, but cannot record one.

Heystack keeps up to 10 findings per source. When more may be open on GitHub, or a source couldn't be checked, the count in Settings reads "At least N open".

Journeys, repair and code repository

  • App Care › Journeys to watch lists the checks that run on a schedule: name, kind, result, when it was last checked and whether it is on. A result that is overdue, or a check that has never run, reads Unknown. "Check passing" means the thing you described was seen at that time. Admins can add or edit a journey, Run now, pause or resume it, and manage Test sign-ins (dedicated test accounts; passwords are write-only). The journey editor covers all three kinds of check: The page is available, The page or API returns the right result (words in the page, an API field with a text, number, true/false or null value, a content type, or a response time; up to 10) and A customer can complete these steps (up to 12 steps that click, fill a public test value, fill from a test sign-in, open as a second test sign-in, look for or rule out a message, or arrive at a page; you can reorder them). A step journey must finish with a message or page you expect to see, can list up to 5 extra website origins it may contact, and asks you to confirm it uses test data and is safe to repeat. If Heystack refuses a journey (a start address with a port or an IP address, say), the reason appears inside the editor and it stays open. Saving an edit sends only what you changed, and only the parts you changed are re-checked, so changing just the name or how often a check runs doesn't reset its result. Each row has Recent checks, which loads that journey's latest runs only when you open it: whether the run passed, what response came back and, for every expectation, whether it matched, didn't match or couldn't be confirmed, with the expected and seen values. A run with no expectations says only the response status was checked. Anyone who can write (members and admins) gets Run now, Run a check and Test a preview; read-only access sees a one-line reason instead. Run now and Run a check run a real check and record it, so a failing result can open an issue, and the page links to it. Run a check runs your first enabled journey (it names it, and is unavailable when none is enabled) and also lists what Heystack saw in your app's public response and security headers; a missing header is a hardening gap, not proof of a vulnerability, anything it couldn't measure reads "Couldn't tell", and a check that couldn't finish says so. Test a preview runs up to five enabled journeys against the site address of an https:// preview (any path is ignored) and shows each check's evidence; it records the result without changing your live app's status or opening an issue. Editing and adding journeys stay admin-only.
  • App Care › Repair permissions sets what Heystack may do when something breaks: watch only, prepare fixes, approve each fix, or autopilot, which repair types are allowed, and a daily limit. Until a choice is saved it reads "Not chosen yet — watching only." Members can see it; admins can change it.
  • App Care › Code repository holds the app's repository in one field (a GitHub address, or just owner/name). Below it, Recovery connection takes the workflow, base branch and an access token. If recovery is still connected to a different repository, the page says so and asks you to reconnect with a token for the new one. Admins also see Security findings there: how many are open ("At least" when some may be missing), when GitHub was last successfully checked, a note if the latest attempt failed, whether each source was checked, couldn't be checked or isn't connected, a Scan now button (scans are rate limited; it says how long to wait) and View in Issues. Members see a note that findings are visible to admins.
  • App Care › Code repository › GitHub App reads Not configured while the Heystack GitHub App isn't set up for your workspace (the repository link and the recovery connection still work). Once it is, admins see Install the GitHub App and members see that an admin can install it. Installed on the app's repository, it says Connected, names the GitHub account, and says deploys, commits and merged pull requests now appear on issues. Admins can Forget an installation. After you return from GitHub the page says plainly whether the install worked or why not (the link expired, or your GitHub account can't see the installation).

If journey checks and repairs aren't turned on for your workspace, these sections say so.

Cloudflare

App › Cloudflare connects the app to your Cloudflare account so Heystack can import Workers analytics (Queues import is still pending live verification). Enter the account ID, an optional script name and, for Workers for Platforms, a dispatch namespace, then paste an API token with Account Analytics Read only. The token is never shown again, so replacing the connection needs a new one. Admins can Sync now or Disconnect; the last sync time is shown, and any error is under Technical detail. What Heystack can see loads only when you press Check coverage: each request type and connected service reads Seen or Not seen yet, with known blind spots listed. Other Cloudflare products (D1, KV, R2, Durable Objects, Workflows) aren't imported yet, and Pages Functions work in direct mode only.

Organisation and You

The rest of the Organisation group and the whole You group are all in Settings.

  • Members & invites: change roles, remove people and manage invites (admins), with confirmation before anything is removed or revoked.
  • Coding agents & API: connect a coding agent, manage personal access tokens and (admins) read keys. New secrets are shown once.
  • Audit log (admins): a history of the changes people make and of every call coding agents and tokens make, with filters, Download CSV and Load more for older entries.
  • Apps: all apps, each with a link to its settings; admins can create a new one.
  • Data retention: how long each kind of data is kept. Retention isn't adjustable yet.
  • AI budgets: daily or monthly AI spend budgets for the organisation, an app, a provider, a model, a gateway or a gateway consumer, alerting at 50%, 80% and 100% by default plus an "on pace to run out" notice. A budget alerts; Enforce makes it a soft limit about a minute behind, so set a hard cap in your gateway for a limit that must never be passed. Spend pools share a budget across apps in several organisations: invite an app by its organisation and app id, and an admin of that organisation accepts. Members see the budgets; admins change them. See AI gateways.
  • Usage & limits: what your organisation has used this month against its plan, per app, and today's on-demand lookups (see below).
  • Billing (admins): your plan, upgrades and the billing portal (see below).
  • You › Profile: your name, photo and sign-in details.
  • You › Appearance & density: theme (System, Light, Dark) and density (Comfortable, Compact). Both are remembered on this device.
  • You › Email & digest: the email address Heystack uses for you, and what it may send you there. See Your email settings.

The issue page: likely cause, evidence and fix paths

Likely cause. The top of an issue shows the most likely cause in plain language, how confident we are, and the evidence behind it as chips you can click (the release comparison, when the failures started, example requests, what is different about the failing traffic). Each cause says what would rule it out. When a release is suspected you get links to the commit and to the comparison with the last good release (when the app's GitHub repository is linked). Causes we checked and ruled out (for example a release that shipped after the failures began) are listed, collapsed. Anything we could not check (paused analytics, a check that was too broad, details a read key may not see) is shown as "We could not check …", never guessed.

Affected people. Open the section to load the people the issue affected; each links to their page, and a person's page links back to their issues. Example requests link to the request view, which shows the issue it belongs to.

Fix without a coding agent. When no agent is connected, Fix offers:

  • Connect an agent inline.
  • Suggested fix: a short plain-language suggestion written by AI from the brief and labelled as such. It never claims anything was repaired.
  • Create a GitHub issue: opens a prefilled GitHub issue (needs the app's repository linked under Settings › App).
  • Send to a teammate: emails one member the summary (only them, not your notification channels). It works once notifications are switched on for your workspace; until then nothing is sent and the console says so. Someone outside the organisation needs an invite first.

Commits and pull requests linked to the issue by an agent are listed under Fix. Continue in your coding agent hands the agent the full brief.

Investigations linked to an issue can be concluded or stopped from the issue page; you are then offered to resolve the issue too.

Confirm it's fixed

An issue's Confirm section tells you whether a fix actually worked, from your own traffic rather than from the absence of complaints. It's available once it's switched on for your workspace; until then you can still link a fix, but it isn't checked, and the section says so.

  • Link a fix. Paste the commit (or the pull request) that should fix the issue. Heystack measures how often the issue happened over the 7 days before you linked it, then waits for the release that contains that commit.
  • Watching. Once that release is serving traffic, Heystack counts how often the issue happens in it. The card shows the before and after rates and how many requests it still needs before it can tell ("Watching release 3.1.0: 200 of the 5000 requests needed to tell").
  • Confirmed fixed when the new release has served at least an hour and enough requests, and the issue rate dropped clearly below what it was. Regressed when it got worse, which reopens a resolved issue. Both send a notification.
  • Not enough traffic. If a release never gets enough requests within 14 days, the watch ends as not enough traffic to tell, and the page says so instead of guessing.
  • When Heystack had no "before" measurement (a fix linked while analytics were paused), a quiet release is shown as an observation, not a confirmation.
  • Without deploy markers, Heystack assumes the first new release after you linked the fix contains it, and says that it is an assumption.

Resolve in a release

From the issue's triage controls, Resolve in next release marks the issue as fixed by whatever you ship next: it resolves itself when that release is confirmed clean. Resolve in release… names a release you already shipped and resolves the issue now. Either way, if the issue comes back in that release or a later one, you get an "issue is back" notification. Like Confirm, this is available once it's switched on for your workspace: until then Resolve in next release is recorded but never decided.

Release timeline

An issue's release timeline marks each deploy you reported, with links to its commit and the changes since the previous one. Releases Heystack has seen but that have no traffic in the window are shown too. To add markers from your deploy job, see deploy markers.

Plain-language summary

When it is turned on for your organisation, an issue page can show a short AI-written summary of the evidence. It only uses what the issue page already shows, never names a release, file or service that isn't in that evidence, and is labelled as AI-written. Each new summary uses one AI credit; it is reused until the evidence changes.

Usage & limits

Settings › Organisation › Usage & limits shows this calendar month (UTC) for everyone in the organisation:

  • Events, session replays and AI credits against your plan, with the date the month resets. A bar turns amber at 80% of a limit and red at the limit. An event is one thing your app reports, such as a step in handling a request, a log line or a tracked action. An AI credit is one AI-written explanation or summary.
  • Would have been limited. While limits are not enforced, nothing is ever blocked: everything your apps send is kept, and the page says how many uploads would have been refused on an enforced plan.
  • When limits are enforced and the month's events are used up, new data is refused until the month resets or the plan is upgraded. Everything already stored stays.
  • Per app: events, errors, crashes and replay uploads for each app this month.
  • On-demand lookups today: fresh views (Explore, traces, some AI & Safety views) count against a daily share. Near the share, results may be a little older to save capacity; past it, some on-demand views pause until tomorrow (admins can still load one on purpose). The daily share applies once it's switched on for your workspace; until then lookups are counted but never paused for it.

The figures come from counters kept as data arrives, so opening this page never slows anything down. They can trail by up to a minute.

Billing

Settings › Organisation › Billing is for admins. It shows the current plan and subscription and the three plans side by side (Free, Pro /month, Team /month).

  • Upgrade opens a secure checkout page from our payment provider; card details never reach Heystack. Your plan changes within a minute of paying, and you come back to this page.
  • Manage billing opens the provider's billing portal: update the card, download invoices, change plan or cancel.
  • Cancelling keeps the paid plan until the end of the period you paid for, then moves the organisation to Free. Nothing is deleted: apps and alert rules above the Free limits stay readable and keep working; only new ones are refused once limits are enforced.
  • If a payment fails, the page asks you to update your card; the plan stays while the provider retries.
  • Upgrades need a console sign-in (not a personal token). Until paid plans open, the page shows your plan without buy buttons.

Privacy, access and trust

  • Organisation › Privacy & AI processing has two switches. Everyone can see them; only admins can change them, with Save privacy settings.
    • Use AI to explain and summarise. Turn it off and the console stops sending your data to an AI model. Explaining a request in plain language, AI-written answers in Ask, an issue's written story and suggested fix, and a repair Heystack writes in your repository stop working. Automatic investigations and incident summaries keep working without the AI-written part: you see the evidence Heystack found, not a written explanation of it. Issues and their briefs, rules, alerts, journeys and charts are not affected. AI features run on models hosted by our infrastructure provider (see the subprocessor list); your data is never sent to a third-party AI provider. The switch doesn't cover a coding agent you connect, which can still ask for plain-English search or an investigation summary, or model review in an AI safety rule, which runs only for the rules you set up to use it.
    • Allow public links to investigations. Lets people who can edit an investigation share a read-only link (see below). When public links aren't available for your workspace yet, the switch is off and says so.
  • Read-only members. In Members & invites, admins can make any member Read-only. A read-only member sees everything other members see but can't change anything: no triage, alert rules, investigations or shared links, and their access tokens can only read. Their row shows a Read-only badge. An admin can't be read-only; change their role to Member first.
  • Audit log (admins) now lists changes people make in the console (creating keys, removing members, changing settings, sharing an investigation and more) next to every call a coding agent or access token makes. Each row says who, how (in the console, a coding agent, an access token or a read key), what was done and what it was done to. Filter by action, person and how it was made; Download CSV saves up to 10,000 rows with the same filters. Entries are kept for a year.
  • Sharing an investigation. On an investigation, Share › Anyone with a read-only link… creates a link that anyone can open without signing in. Choose how long it lasts (1, 7 or 30 days); the link is shown once, so copy it then. Anyone with the link sees a frozen copy of the investigation as it was when you shared it: the title, question, summary, possible causes and the steps so far, marked as a shared snapshot with its expiry date. It never includes member names, AI prompts or replies, visitor addresses or locations, or links into your console. The same dialog lists the links to that investigation with how often each was opened, and Revoke stops a link at once. An expired or revoked link shows "This link has expired or was revoked". Only the person who created a link, or an admin, can revoke it.
  • Organisation › Delete organisation (admins, signed in to the console; a coding agent or access token can't do this). You type the organisation's name to confirm. Deleting stops accepting data from every app straight away, cancels any paid plan, deletes every app, key, read key, access token, alert rule, notification channel, investigation, journey and setting, and removes everyone's access. Data already received can't be viewed any more and is erased on its normal schedule: within 30 days, or 90 days for AI safety decisions. It can't be undone. The page shows progress and signs you out when it's done. If it was your personal organisation, your account stays, and the next time you sign in you can create a new, empty workspace.

Notifications

Heystack can tell your team when something needs attention: a new issue, an issue getting worse or coming back, a fix that held (or didn't), a journey failing or recovering, a fix waiting for approval, a spike in AI safety blocks, and your plan running low. Every notification links straight to the right page in the console.

These notifications (and the emails under Your email settings) are available once they're switched on for your workspace. You can add channels and make your choices before then; the settings pages say when nothing is being sent yet.

Channels

Settings › Organisation › Notification channels holds every destination. Admins choose Add channel, pick a type, then fill in what that type needs:

  • Slack: a Slack incoming webhook URL. In Slack, create an app with Incoming Webhooks turned on, add it to a channel, then copy the URL (it starts with https://hooks.slack.com/).
  • Discord: in Discord, open Server settings › Integrations › Webhooks, create a webhook for a channel and copy its URL.
  • Microsoft Teams: in Teams, add the Workflows app to a channel, choose "Post to a channel when a webhook request is received", and copy the URL it gives you.
  • PagerDuty: add an Events API v2 integration to a PagerDuty service and paste its 32-character integration key. Heystack opens an incident when something breaks and closes it when it recovers.
  • Email: up to 10 email addresses. A teammate whose address is already confirmed starts getting email straight away. Anyone else first gets an email asking them to confirm; until they do, they are listed as Waiting for confirmation, and an admin can Resend the request. Someone who uses the unsubscribe link in an email shows as Unsubscribed. Admins add and remove addresses under the channel.
  • Webhook: any https address that accepts a JSON POST.

Addresses and keys are write-only: after saving you see only a short hint. Admins can rename a channel, change its URL or key, send a test, and delete it; a channel still used by alert rules, digests or events can't be deleted until you move them. A new organisation starts with an Owner email channel, so you hear about problems before you set anything up.

What to send where

Below the channels, What to send where is a grid: one row per kind of event, one column per channel. Tick a box to send that event to that channel. These choices apply to every app in the organisation. Members can see the grid; only admins can change it. Alert rules aren't in the grid: each rule picks its own channel under App › Alerts.

To keep things calm, Heystack sends at most 50 event notifications per organisation per day, and at most 10 about any one issue. Past that, it holds the rest back and sends one "more activity, see the console" note instead.

Recent deliveries

Admins see the last 20 notifications with what happened to each: Sent, Queued, Failed (with the reason) or Held back (over the daily limit). Opened links are marked too.

Your email settings

Settings › You › Email & digest shows the address Heystack uses for you and four switches:

  • Notifications sent to me: emails from email channels your address is on.
  • When an issue is assigned to me: one email when a teammate assigns you an issue.
  • Weekly summary: a short look back at the week (traffic, new and fixed issues, anything waiting for you). Pick the day and time in your own timezone. A quiet week gets a short "nothing needed your attention" note.
  • Tips and product updates about setup: a few emails while you get set up. They stop once you're up and running.

The first two need notifications switched on for your workspace; the weekly summary and setup tips are switched on separately. Until each is on, its switch can be set but nothing is sent, and the page says so.

Heystack only emails a confirmed address; if yours isn't confirmed yet, the page says so and links to your profile. Every email has a one-click unsubscribe link.

Working on issues as a team

Assigning an issue

On an issue (side panel or full page), Assignee shows who owns it, with their initials. Choose it to pick someone: search your team by name or email, choose Assign to me, or Unassign. The person you assign gets an email (unless they've turned that off), once notifications are switched on for your workspace. If the person you're looking for isn't on the team yet, type their email: admins can invite them right there, and everyone else is pointed to an admin. You can assign them once they've joined.

Comments

Each issue has Comments for notes to your team: what you tried, who's looking, what's next. Comments are plain text (line breaks are kept), up to 4,000 characters. You can edit or delete your own; admins can delete anyone's. Anyone who can triage can comment; read-only access shows the comments without the box to add one.

Changing many issues at once

In Issues, choose Select issues. Rows now tick instead of opening, and a bar appears with Select all shown, Resolve, Ignore, Reopen, Assign… and Snooze. You can change up to 50 issues at a time. Afterwards the bar says what changed; any issue that couldn't change (for example, a journey issue whose status App Care manages) stays selected, with the reason. Choose Done to go back to the normal list.

Working faster

The console is built for people who live in it all day.

Light & dark theme

Use the theme toggle in the top bar to switch between light, dark, and system. It defaults to system, so the console follows your operating system's appearance on your first visit and remembers your choice after you change it. Dark is a deep slate designed for long sessions; charts, tables, and every surface adapt automatically.

Command palette

Press ⌘K (or click Search in the top bar) to open the command palette. Start typing to jump to any app, open any Explore view (including the Service map), jump to any settings section (including Alerts), go to Home or your Apps list, change the theme or density, copy a link to the current view, or open the docs — all without reaching for the mouse. Use ↑/↓ to move, Enter to run, Esc to close. Paste a trace ID (32 hex characters) and the palette offers to open that trace directly — in the app you're in, or pick the app when you're on the overview. It also jumps to AI & Safety (Models, Conversations, Safety decisions) and Users & sessions (Sessions, Activity). Type any text of 2 to 256 characters that is not a question and the palette adds Find person (searches the Users list for it) and, if the text could be a visit id, Open session.

Keyboard shortcuts

ShortcutAction
⌘K (Ctrl+K)Open the command palette
⌘/ (Ctrl+/)Ask a question about your app
?Show the keyboard shortcut list
/Focus the search box on the page, when it has one
g then h / i / v / u / a / e / sJump to Home / Issues / Investigations / Users & sessions / AI & Safety / Explore / Settings
EscClose a drawer or overlay

Shortcuts are off while you type in a field or have a dialog open. ? shows the same list inside the console.

Compact density

Prefer more rows on screen? Switch to compact density from the command palette (search "density"). It tightens table rows and cards across the whole console and is remembered between visits.

The console keeps your current view — app, tab, time window, filters, and open drawers — in the page URL. That means Back and Forward work the way you expect, and any view is a link: click Copy link in the top bar (or run it from the command palette) to share exactly what you're looking at with a teammate. Session links look like /sessions/<visit id>?app=<app>, and an older replay link (tab=replays&session=…) opens that session's page.

Building links from another tool? The link contract lists every URL parameter the console accepts and commits to keeping stable.

Alerts

Problems shouldn't wait to be noticed. Settings › App › Alerts lets you set thresholds that Heystack checks for you on a schedule, so you find out when something crosses the line instead of only when you happen to be looking.

Alert rules

Create a rule with New alert under Settings › App › Alerts. The form asks for:

Each workspace can store up to 20 alert rules across all of its apps. Disabled rules still count toward this limit; delete a rule you no longer need before creating another.

  • Name — a short label so you recognise the alert when it fires (e.g. "Checkout error rate high").
  • Alert me about — what to watch:
    • Error rate — the percentage of requests that failed. The threshold is a percentage (e.g. 5 means 5%).
    • Slow requests (typical slow case) — the 95th-percentile response time. The threshold is in milliseconds (e.g. 1000 means 1s).
    • Crashes — crashes in your app. The threshold is crashes per hour (e.g. 3).
    • No activity — Heystack hears nothing at all from the app, for example because it went down or stopped sending. There's no threshold to set.
  • Threshold — the value the metric must exceed to trigger the alert (not asked for No activity).
  • Over the last — the time window the metric is measured across (5 minutes, 15 minutes, 1 hour, 6 hours or 24 hours). Crashes and No activity use whole hours only: 1, 6 or 24.
  • Send to (optional) — choose any notification channel: Slack, email, Discord, Microsoft Teams, PagerDuty or a webhook. Channels are managed once under Organisation › Notification channels and can be shared by many rules. An admin can also add a Slack or webhook channel from the form.

Each rule row shows its name, what it watches, the condition (When, such as "Above 5%" or "Nothing arrives"), the window (Over, such as "over the last hour"), where it is Sent to, an On checkbox (rules switched off are never evaluated), and Edit and Delete buttons. Rule rows do not show when a rule last fired; see Recent alerts below.

Slack destinations receive a formatted message with the rule, measured value, threshold, window, and an Open investigation button that opens the investigation the firing created. Other HTTPS destinations receive the generic JSON payload below.

When Heystack can tell which failing request is behind an alert, the alert message on every channel also carries a one-line Likely cause summary and a link to that issue, and the same summary is added to the alert's investigation. The generic JSON payload then gains two fields, likely_cause and issue_url; its other fields are unchanged. While analysis is paused, alerts go out without it. A saved URL is treated as a bearer secret: Heystack only shows whether Slack or a generic webhook is connected and never displays the URL again.

How evaluation works

Heystack schedules checks for your enabled rules every 5 minutes. Each check stays anchored to its scheduled instant, even if processing is delayed: a 5-minute rule scheduled for 10:05 measures exactly 10:00 up to, but not including, 10:05. If the threshold is crossed, Heystack records the alert and its evidence before (if configured) calling your webhook. Temporary network, rate-limit, and server failures are retried; successful rules in the same check are not sent again. To avoid spamming you while a problem is ongoing, a rule that has just fired won't fire again until its window has elapsed.

The webhook payload looks like:

{ "app_id": "app_…", "type": "error_rate", "value": 12.3, "threshold": 5, "fired_at": "2026-07-01T00:00:00.000Z" }

Verifying webhook signatures

Every alert and digest delivery carries two headers:

  • X-Heystack-Webhook-Id — the alert event or digest delivery ID. It repeats on a retry, so use it to ignore duplicates.
  • X-Heystack-Signature: t=<unix seconds>,v1=<hex> — an HMAC-SHA256 of <t>.<raw request body>.

An Admin can copy the signing secret (whsec_…) for a rule from the API (GET /api/alert-rules/:id/signing-secret, or GET /api/alert-digest/signing-secret?app=… for a digest). Each rule and each app's digest has its own secret. To verify a request, compute the HMAC with the whole secret string as the key, compare it to v1 in constant time, and reject a t more than five minutes from your clock:

import { createHmac, timingSafeEqual } from "node:crypto";

function verifyHeystack(rawBody, header, secret) {
  const [, t, v1] = /^t=(\d+),v1=([0-9a-f]{64})$/.exec(header ?? "") ?? [];
  if (!t || Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
  const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest();
  return timingSafeEqual(expected, Buffer.from(v1, "hex"));
}

Verify against the raw body bytes before parsing JSON. Slack destinations ignore these headers.

Evaluation is efficient by design: checks are split into small per-workspace jobs, and a workspace with no enabled rules causes no service-health analysis. A delayed or retried check keeps its original evidence range, and duplicate processing cannot create a second firing inside the cooldown window. Webhook delivery is at least once: a rare worker failure after the destination accepts a request but before Heystack records success can produce a duplicate delivery.

Daily digest

The optional Daily digest sends one 24-hour service-health summary at the UTC hour you choose. It includes request and error totals, p95 latency, the top affected routes, and a button, Open the app's Home, that opens the app's Home. When issue tracking is on, it also lists open issues seen in the last 7 days and the issues getting worse; for its first week the count says since when Heystack has been counting (in the JSON digest, sections.issues_counting_since). With issue tracking off, the digest says nothing about issues (sections.open_issues is null) rather than reporting none. Slack receives a formatted digest, with route names shown as code so they never become clickable links; another public HTTPS endpoint receives signed JSON (see Verifying webhook signatures).

Digest delivery is at most once per app and UTC date once a send attempt begins. This avoids duplicate messages: a sent, failed, or uncertain attempt is recorded as its final outcome and is not retried automatically. The console shows the latest delivery outcome. As with alert rules, the saved destination URL is never displayed again.

Recent alerts

The Recent alerts list at the bottom of the section shows what has fired lately — the breach summary (e.g. "error rate 12.3% > 5%") and when it fired — so you have a quick history even if you missed the webhook. Each new firing remembers both the rule window and the exact start/end evidence timestamps that produced it, so processing delay and later rule edits cannot move its evidence. Each firing is plain text, with its time. A See alert issues link beside the heading opens Issues filtered to alerts.

Bug reports

Your users see problems you don't. Bug reports appear in Issues (filter by source Bug report). They are reports people file from inside your app — and, crucially, each report arrives already connected to what was happening when they hit "send", so you skip the usual back-and-forth of "what were you doing?".

To start collecting, add a report button to your app with the SDK (see the SDK docs — one function call, no widget to design). From then on, every report shows up as an issue.

Triage

Reports move through three states — New, Triaged, and Resolved — and a filter at the top lets you focus on just the new ones or see everything. Each row shows when it came in, the message, who reported it (if they left an email), and its status. Open a report to read the full message and move it along as you work through it.

Everything you need in one place

Open a report and you get more than the user's words. Heystack automatically attaches:

  • The exact page they were on, plus which release/version of your app they were running.
  • The recent errors that happened in their browser just before they reported — often the smoking gun.
  • A link to watch the session replay — see what they did, step by step, leading up to the report.
  • A link to the underlying trace and to the related logs, so you can go straight from a vague "it's broken" to the precise request that failed.

That turns a bug report from a starting point for investigation into something that's often already halfway solved.

Coding agents & API

Settings › Organisation › Coding agents & API (console.heystack.dev/settings/org/agents) is where you let your coding agent investigate and manage Heystack for you — connect it in a minute, and see everything it does here. Full details are in MCP server and REST API.

Connect your coding agent

Heystack ships a hosted MCP server. The panel shows its URL (https://mcp.heystack.dev/mcp, with Copy URL) and a tab per client with the exact command or config to paste:

  • Claude Code — the one-line claude mcp add … command, or the plugin (/plugin marketplace add heystack-hq/heystack-plugins → /plugin install heystack@heystack).
  • Cursor and VS Code — an Add to Cursor / Add to VS Code one-click button, plus the .cursor/mcp.json / .vscode/mcp.json snippet.
  • Claude.ai / Desktop — Settings → Connectors → Add custom connector → paste the URL → sign in and pick your organization.
  • Codex CLI and Gemini CLI — their mcp add commands.
  • Other / headless — a generic .mcp.json with an Authorization: Bearer hs_pat_… header for a personal access token.

A Toolsets selector (core — the default, discovery + investigation + light write-back; manage — apps, keys, sampling/replay config, alerts; team — organization, members, tokens; advanced — guarded read-only SQL; all) rewrites the URL in every snippet. The first time your agent connects you'll be asked to sign in and pick your organization; access follows your role in the organization.

Personal access tokens

For CI, scripts and agents that can't sign in through a browser. Tokens act as you, are limited to the scopes you pick, and never exceed your role.

  • New token — a name, Expires in 30 / 90 / 180 / 365 days, and scopes: read (read telemetry, issues, config), write (triage issues, manage alerts), admin (apps, keys, team, tokens — offered to admins only).
  • The full token (hs_pat_…) is shown once, right after creation. Store it in a secret manager or .env; never commit it.
  • The list shows each token's name, prefix, scope chips, status (Active / Expired / Revoked), created, expires and last-used times. Revoke asks you to confirm and takes effect immediately.

Members see and manage only their own tokens; admins see every token in the organization (with its owner) and can revoke any of them. Tokens are revoked automatically when their owner is removed from the organization.

What agents can do

The page closes with a summary of the two toolsets most people use — Investigate (app health, search traces & logs in plain English or with filters, open a trace with its logs and replay and explain it, triage issues and crashes with the suspect release, gen-AI usage & cost, the incident dossier) and Manage (create apps and ingest keys and verify telemetry, tune trace sampling and replay, alerts, invite teammates and set roles) — and a link to the full tool reference. Destructive actions require the agent to confirm, and every call is recorded in Settings › Organisation › Audit log.

Trace sampling

Admins control how much of an app's traffic is traced from the Trace sampling card under Settings › App › Data & privacy: Keep n % of traces, Always keep traces with errors, and Always keep traces slower than n ms (0 = off), then Save sampling. Agents read the same settings with heystack_get_app and change them with heystack_set_sampling_config. Sampling takes effect at the SDK when sampling: { remote: true } is enabled — no redeploy needed.

Audit log

Settings › Organisation › Audit log (admins) records the changes people make in the console and every call an agent, token or read key makes on the organization's behalf. Each row shows the time, who, how it was made (console, coding agent, access token or read key, with the agent as client · agent, e.g. claude-code · mcp, and its tool), what was done (a named action such as member.remove) and what it was done to, the request (method + path, never its query string), status and duration. Filter by action, person and how it was made, Download CSV (up to 10,000 rows, same filters), and Load more for history. Entries are kept for 365 days. Members see a note that only organization admins can view it. The same log is available to scripts as GET /api/audit.

Outcome checks and launch verification

In Settings › App Care › Journeys to watch, create an HTTP expectation or a browser workflow with an explicit result to verify. Run it, inspect the latest evidence, change its schedule, or pause it. Test a preview (the Check a preview before you release card) runs selected checks against a preview without changing production health. Browser workflows use disposable test data and explicit allowed origins.

Home shows activity-based status. Settings shows repository security findings when a recovery connection is configured. Source repair plans can name permitted files for AI-assisted draft pull requests; deployment still requires the configured checks and approval.

Security history pages keep the same time range and filter scope while browsing. Action and release filters apply to the latest review for each environment/decision, so a superseded recommendation cannot reappear just because it matches a filter. Late reports and retention can still change results: this is live history, not an immutable export. Refresh evidence starts a new range. Page cursors expire after 24 hours; a failed page offers retry and restart without discarding filters.

Investigations

Investigations is where you follow what your coding agents, an alert, or you have been looking into. Each one has a title, who started it, where it stands and when it last moved.

The list

Open Investigations from the sidebar. Each row shows the title, who started it (a coding agent such as Claude Code or Cursor, an alert, or you), its status, the app and when it last had activity. Statuses read In progress, Waiting for you, Concluded or Stopped. Drafts that an agent is still sketching never appear here.

  • All / Live / Done tabs and the Started by menu filter the list. Both live in the address bar, so a filtered view can be shared or bookmarked.
  • The list follows the app picker at the top of the page; switching apps replaces the rows.
  • Long lists load 20 at a time. Choose Show older for earlier ones.
  • With nothing yet, the page explains how to start one and links to Settings › Organisation › Coding agents & API, where you connect an agent.

Live activity

When a coding agent has been working on an investigation in the last 30 minutes, the Investigations item in the sidebar shows how many are live, and the top bar shows the most recent agent. Click it to follow along. It shows working while the agent has done something in the last two minutes, and idle after ten minutes of quiet. Everyone in your organisation sees the investigations shared with them; private ones only count for their owner.

The investigation page

Open any row to follow it. The top shows the title, who started it, where it stands (In progress, Waiting for you, Concluded or Stopped) and who is in charge: Your coding agent is driving or You're driving. Below that, a short summary and the possible causes, each marked Checking, Supported by evidence or Ruled out. Then the timeline of what happened, oldest first, newest at the bottom.

  • Live follow. While an investigation is moving, the page checks for new steps every few seconds and adds them as they arrive. After two quiet minutes it slows down, and a concluded or stopped investigation stops checking. A hidden tab pauses too. Add ?follow=1 to the address to keep the newest step in view, or ?step=3 to jump to one step and highlight it.
  • Each step shows what was done in plain words (for example "Searched your app's activity"), when, and what it found: a chart, a table, one request step by step, how your services connect, an incident summary or an issue card. If a result can't be drawn, the step's own words are shown instead. Failed steps say This step failed. Open live appears only when the step points back into this console.
  • From an alert. When an alert rule fires, Heystack opens an investigation for it, so the notification can link straight to it. It is shared with everyone in your organisation, marked From an alert, and starts with one note saying which rule fired and how far over its threshold it went. Nothing is analysed until you ask: choose Run the automatic check and Heystack shows where the errors or slow requests are concentrated, so you know what to check, adding it to this same investigation. The check looks at the time when the alert fired, over the rule's own window, and compares it with the week before (the range it checked is written on the result), so pressing it later gives the same answer. It can be run once per alert, and not once the investigation is closed. When the alert is too old for the data to still be kept, or the rule has been deleted, it says so instead. Note that a rule that keeps firing opens a new investigation for each firing (up to one per window), so a noisy rule produces many. One firing opens one investigation, even if the notification is retried. If an alert has no destination configured it still opens one. The Slack button on the notification reads Open investigation; if the investigation could not be opened, it reads Open issue and links to the alert's issue page.
  • Agent-written. Anything a coding agent wrote (titles, summaries, causes, notes) is shown as plain text with an Agent-written label. It never becomes a link or formatted text, so treat it as a lead to check, not a fact.
  • Inferred steps. Steps Heystack linked to the investigation automatically, without the agent saying so, have a dotted outline and the tooltip "Linked automatically".
  • If the id belongs to an App Care incident, you are taken to that issue. If it doesn't exist or isn't shared with you, the page says so.

Take over, notes and sharing

  • Take over / Hand back. The person who started an investigation (and org admins) can take the wheel: Take over tells the agent to pause on its next step, and Hand back lets it carry on. If a teammate changed who is driving while you were looking, the page says who is in charge now and you can try again.
  • Add a note. Write under the timeline (up to about 4,000 letters, fewer in scripts such as Chinese or Japanese; a longer note is refused rather than cut). Your coding agent sees the note on its next step. Notes from teammates are shown to it as information, not as instructions. An unsent note is kept per investigation until you send it.
  • Share. Choose Only me (and admins) or Everyone in the organisation. Investigations your agent starts are private until you share them.

Continue in your coding agent

Continue in your coding agent (on the investigation page and in an issue's Fix section) opens the hand-off. On an issue it reuses your open investigation for that issue, or starts one named after the issue. Opening the hand-off changes nothing; your agent takes over only when you choose one of:

  • Open in Claude Code (when the app has a GitHub repository), or copy /heystack:continue_investigation <id>; if the investigation came from a Claude Code session you started, claude --resume <session> is offered too.
  • Open in Cursor, with a web link as a fallback. Cursor fills in the prompt but never runs it for you.
  • Copy for Codex or another agent, which asks the agent to call heystack_start_investigation with resume set to the investigation id.

Only the investigation id is placed in links and prompts, never its contents. If a teammate is driving, the hand-off tells you to ask them to hand back first. Home shows your latest investigations (live ones first), and an issue lists the investigations linked to it.

Start an investigation

Choose Start an investigation (or press ⌘K and search "Start an investigation"). There are three ways:

  • Automatic check - pick an app, what to check (failure rate or speed) and how far back. Heystack compares against the usual pattern, finds the most likely cause and opens the saved result. If the result could not be saved, the summary is shown right there with "This check wasn't saved".
  • Explain in plain words - on a saved automatic check, this button runs the check again and asks an AI model to write the explanation from its numbers. The answer is labelled AI-written, shown as plain text and not saved anywhere: it is only on the page until you leave. It runs only when you press it, uses your plan's AI allowance, can be wrong, and is not offered to read keys. After it answers the button stays off for that check. If too many are run in a minute it asks you to wait.
  • Hand to my coding agent - describe what to look into. Heystack creates the investigation and opens the hand-off so you can pass it to your agent.

Paste an investigation id (inv_…) into ⌘K to jump straight to it.