/ 3 min read / Hussien Hussien

Introducing Session Metadata and Signals

Custom metadata and automatic signals to organize and filter browser sessions through the API, CLI, and dashboard.

Today we’re introducing Session Metadata and Signals to help teams organize and review browser sessions at scale. Attach custom key-value metadata that follows your own taxonomy, and use automatic session signals to see what Steel observed in the browser.

Search and filter by either, or combine them, in code and in the dashboard. Both features are live on all plans.

Why we built it

Some of our customers run millions of sessions on Steel. At that scale, teams need to understand the health of their workflows, triage problems, and collect useful examples for evaluations or model feedback.

Doing that means giving a large collection of session IDs some meaning: which workflow a run belongs to, which customer or end user it belongs to, which version of an agent produced it, or why it is worth reviewing. Some of that context comes from your application. Other clues come from what happened in the browser, including events your agent may not have recognized or recorded.

Tag sessions with your own context

With metadata, you attach arbitrary key-value pairs to a session. You choose the keys and their meaning, whether that is a workflow, an experiment cohort, a review label, or an identifier from your application.

Pass metadata when you create a session. For example:

import Steel from "steel-sdk";

const client = new Steel();

const session = await client.sessions.create({
  metadata: {
    workflow: "invoice-extraction",
    agent_version: "v3",
    cohort: "november-eval",
  },
});

Use the returned session in your browser workflow and release it when the work finishes. Steel returns the metadata with the session and shows it in the session viewer. You can update it while the session runs or after it ends, for example to label runs you have reviewed and want to include in an evaluation or feedback process.

Your agent can use the same API to label a run for later review or record a failure reason specific to your workflow.

Metadata is a flat object with up to 50 keys and 8,192 bytes of UTF-8 JSON per session. Values can be strings, numbers, or booleans, and Steel stores them as strings. The metadata docs cover updates, filtering, and the full limits.

Automatic session signals

Signals add information from what Steel observed in the browser, including events your application may not have tagged. Steel adds them automatically after a session ends. They include:

SignalWhat it tells you
captcha_encounteredSteel detected a CAPTCHA.
bot_detection_triggeredA page ended on an anti-bot block or challenge the browser didn't get past.
proxy_connection_failedThe proxy connection failed or was unreliable.

A CAPTCHA signal can describe a challenge the browser got past, while an empty list doesn't prove that no block occurred. See the signals reference for every signal and its meaning.

Filter sessions by metadata and signals

Combine your own metadata with Steel’s signals. Using the same workflow tag from the creation example, find completed invoice-extraction sessions where Steel detected a bot block:

for await (const session of client.sessions.list({
  status: "released",
  metadata: { workflow: "invoice-extraction" },
  signal: ["bot_detection_triggered"],
})) {
  console.log(session.id, session.metadata, session.signals);
}

Add agent_version: "v3" to narrow the query to one version of your agent. Metadata filters match stored values exactly; each key you include must match.

You can do the same in the dashboard. Search for workflow:invoice-extraction, apply a signal filter, and open a matching session to investigate.

Filter by metadata alone when you want to review an experiment cohort or retrieve examples you have labeled for an evaluation. Add signals when you want to focus on runs where Steel detected a particular event.

Get started

Session Metadata and Signals are available now on all plans, through the SDKs, the Steel CLI, and the dashboard. For TypeScript and Python, use steel-sdk 0.21.0 or later.

With the CLI, start a tagged Steel Cloud session using steel browser start --metadata workflow=invoice-extraction. The same search from above works in the terminal:

steel sessions list \
  --status released \
  --metadata workflow=invoice-extraction \
  --signal bot_detection_triggered

Use steel sessions metadata SESSION_ID --set review=follow-up to add a label to an existing run.

Read the metadata guide and signals guide to get started.

We believe the future of browser automation is open source.

Steel Browser is built in the open on GitHub.
Run it yourself, read every line, and help shape what comes next.