Studio pages, URL parameters and keyboard
Every page of the Studio web UI keeps its state in its URL: the filters of a list, a run page’s view, step and selection, the playground’s source run. A link you build or copy reopens the page as it stood. This page lists each page, every search parameter it reads with its values and default, and the keys each page takes. The HTTP routes behind the pages are in Studio HTTP API; how to read each page is under Studio.
Paths are relative to the Studio mount: /studio/ when Studio is embedded with studio.Handler (the default studio.Base), and / under weft studio. A link to step 2 of a run’s story, with its Request pane open:
http://127.0.0.1:7331/runs/0aaf561c2c1e4b7f9d3a5e8b1c2d3e4f?step=2&view=story&pane=request| Path | Shows | Parameters | In the sidebar |
|---|---|---|---|
/ | Redirects to /runs | none | |
/runs | The runs list: one row per run, newest first | Runs list | always |
/runs/{id} | One run: header, run tree, story, raw events, app logs | Run page | |
/sessions | The sessions list | Sessions list | always |
/sessions/{id} | One session’s turns: timeline, tree, table, approvals | Session page | |
/conversations/{public id} | Every run of one public id, experiments nested | Conversation page | not listed; reached from a session header’s public id or the panel’s conversation ⤢ |
/traces | The trace list | Traces list | under the traces capability |
/traces/{id} | One trace’s span tree, or its GenAI chat | Trace page | |
/live | Running runs, with a peeked run’s story beside them | peek, q, agent | always |
/compare | Runs aligned step by step against a base run | Compare | not listed; reached from a run, the replay drawer or the playground |
/agents | The manifest’s agents, re-read every 5 s | window, agent | with a manifest, or under the playground capability |
/playground | The experiment form and its runs | Playground | under the playground capability |
/experiments | The saved experiments | none | under playground, never for a panel token |
/experiments/{id} | One experiment’s variants × inputs grid | issued, pick | |
/runtimes | Each linked runtime, its agents and its breakpoints | runtime, agent | under the runtimes capability |
/settings | Connect an app, Studio facts, token, database, retention, pricing, capabilities, runtimes, content policy, appearance, keyboard, concepts | price and its hash targets | always |
Any other path shows the one not-found page. A path id travels as one encoded segment, so an id holding /, ? or # cannot rewrite the URL. Before a token-walled Studio has its token, the capability-gated entries (Traces, Agents, Playground, Experiments, Runtimes) are listed disabled, so the sidebar keeps its shape. A conversation page highlights Sessions in the sidebar. Get around Studio describes the sidebar and the ⌘K palette.
Every view is a URL
Section titled “Every view is a URL”Each piece of page state is a search parameter, built and read through one module, lib/links.ts, which Studio and the devtools panel share. These rules hold on every page:
| Rule | What it means for a link you build |
|---|---|
| Unknown or malformed values are dropped | A value outside the accepted set reads as the parameter’s default; nothing is guessed. A refused since or until stays in the URL, is ignored, and the page says so |
step is the step ordinal | The step’s index as the loop counts it, the n of /api/runs/{id}/steps/{n}; never an event position or a transcript batch index |
| A link carries scope, never a credential | No builder writes a token. A run, session, trace or experiment id is the only scope a link holds |
| A view change pushes a history entry | Back walks views: a run page’s view, a list’s filters and sort, a trace’s view, peek, the compared runs |
| A cursor move replaces the entry | sel, scale, dim, tab, lsev, t (a seek or pause), the raw view’s q, hide and ev, the replay drawer’s keys, and the playground’s own state: Back skips them. Two exceptions push: jump here from a step, call or raw row writes t and, on a run with spans, scale=order; the story’s scrubber writes step, one entry per scrub (its first move), the rest of a drag in place |
| Landing keys are read, not written back | A run page’s pane (dropped when the scrubber moves to another step), the runs list’s before, and save=test |
| A JSON-looking value is quoted | The router writes a string that would parse as JSON (123, true) as "123", so it reads back as the same string; numbers are bare |
| Defaults are omitted | A built link leaves out a default (view=waterfall, the playground’s step=0) and an empty filter |
y, or Copy link to this page in ⌘K or the run header, copies the page’s canonical URL: the URL with its query, without its fragment and without the keys token, access_token, sig, weft_scope, input, instructions, edits and lab. A copied link therefore never carries a credential, a panel scope string or prompt text.
One fragment is read on arrival on every page, then stripped from the address bar: #token=<token> signs this browser in (a panel token for this tab only), and is how a panel hand-off lands. The playground’s hand-off fragment is that page’s alone (below). A ?token= in the query is stripped and never adopted, because loading the page already sent it to a server.
Two names that look like URL keys are not: offset is /api/search’s paging parameter (the runs list pages by before), and the panel’s tab lives in localStorage["weft.devtools"]. A run page’s layout (the button beside the run tree: automatic, side by side, stacked) is kept in localStorage["studio.trace.layout"], not in the URL (Panes and density).
Runs list parameters
Section titled “Runs list parameters”/runs reads every filter, the sort and the paging cursor from the query, and draws each as a chip. With a text or search-only filter, or a sort, and the search capability, the list is GET /api/search; otherwise it is GET /api/runs, and a filter that route cannot apply is applied to the loaded rows (its chip says so). Changing a filter drops before.
| Key | Values | Default | Filters to |
|---|---|---|---|
q | text | none | Runs whose prompt, answer, error or tool names hold every term. Search only: without search it is not applied |
agent | an agent name | any | One agent’s runs |
status | running, succeeded, failed, interrupted, parked, cancelled | any | Runs in that state, on the server: parked is an open park, cancelled a failed run whose error is a cancellation |
session | a session id | any | One session’s turns |
public_id | a public id | any | One conversation’s runs |
experiments | on, off | all runs | on playground runs only, off no playground runs |
experiment_id | an experiment id | none | One experiment’s runs, within the playground runs |
tag | key=value, repeatable | none | Runs carrying each pair; a value without = after a key is dropped |
tool | a tool name, exact | none | Runs that called it. Search only, like q |
model | a model name, exact | any | One model’s runs (search; the loaded rows without search) |
error | text | none | Runs whose error holds it (search; the loaded rows without search) |
since, until | YYYY-MM-DD (UTC; until includes the day) or an RFC 3339 time with its zone | none | The start’s range (search; the loaded rows without search). Another form is ignored and noted |
min_duration | seconds, ≥ 0 | none | Runs at least that long; always the loaded rows, since neither API filters duration |
min_tokens | a number, ≥ 0, rounded down | none | Input + output tokens at least (search; the loaded rows without search) |
min_cost | USD, ≥ 0 | none | Own + delegated cost at least; only under the pricing capability |
parent | a run id | none | That run’s subagent children (the API’s parent=) |
subagents | all | top-level runs only | Child runs listed too (the API’s all=1); parent wins over it |
sort | duration, tokens, cost | newest first | The order; cost only under pricing |
before | a cursor from the list’s paging | the newest page | The first page’s cursor: a link lands on that page |
error_type | a failed run’s kind, exact (usage_limit, max_steps, …) | any | Failed runs of that kind (the API’s error_type=) |
error_class | a failure class, exact: the error-class facet’s string | any | Runs of that failure class (0.19.0); dropped without the stats capability (Error classes) |
The status words and the filters are explained in Find runs in Studio.
The sessions and traces lists
Section titled “The sessions and traces lists”| Page | Key | Values | Default | Filters to |
|---|---|---|---|---|
/sessions | agent | an agent name | any | Sessions of that agent |
/sessions | public_id | a public id | any | One conversation’s session |
/sessions | q | text, trimmed | none | Sessions whose title, first prompt, id, public id or agent hold every term |
/sessions | awaiting | 1 or true | off | Sessions whose newest turn is parked with no resume yet (⏸ awaiting a decision) |
/sessions | failed | 1 or true | off | Sessions with a failed turn; a cancelled or busy-ended turn is not one (✗ has a failed turn) |
/sessions | compacted | 1 or true | off | Sessions weft/thread compacted (⌗ compacted) |
/sessions | lineage | child, fork | any | Delegated sessions (↳ delegated) or forks (⑃ forks) |
/sessions | status | succeeded, failed, running, interrupted | any | Sessions whose newest turn has that outcome |
/sessions | since | 1h, 24h, 7d | any | Sessions last seen in the last hour, 24 hours or 7 days, measured when the first page loads |
/traces | since, until | YYYY-MM-DD or an RFC 3339 time, as on /runs | none | Traces by their earliest span’s start; a refused value is kept, ignored and said |
/traces | service | a service name, exact | any | Traces with a span from that service |
/traces | not_run | true | off | The GenAI traces that make no run (the API’s not_run=1, 0.20.0) |
Sessions and traces describes both lists.
Session and conversation pages
Section titled “Session and conversation pages”A session page and a conversation page share the turns table and its order. The session page’s other keys draw its timeline.
| Page | Key | Values | Default | Opens |
|---|---|---|---|---|
/sessions/{id} | view | tree, table, approvals | the timeline | That view: the lines the turns continue, the turns table, or every decision and grant. Another value draws the timeline |
/sessions/{id} | mark | a mark key: its thread entry id, else <kind>:<at>:<run> (session in place of the run for a mark filed under none); a repeat of the same key gains :<n>, its occurrence | none | That mark’s drawer on the timeline |
/sessions/{id} | lanes | a comma list of approvals, grants, compaction, steer_queue, branch_fork, pool, other | every lane | Those lanes bright; the other lanes’ marks are dimmed, never hidden. Unknown names are dropped |
/sessions/{id} | turn | a turn number | none | The turn selected in the table view, scrolled to and highlighted; j / k move it. Alone it opens the table view (0.20.0) |
/sessions/{id} | order | oldest | newest first | The turns table oldest first; any other value reads newest first |
/conversations/{public id} | order | oldest | newest first | The turns oldest first; the switch above the table writes it with replace |
A conversation’s page says what that page shows.
Run page parameters
Section titled “Run page parameters”/runs/{id} reads the view, the step and the selection from the query. Every key is optional; with none the page opens on the run tree at the run’s landing step.
| Key | Values | Default | Opens |
|---|---|---|---|
view | story, raw, logs | the run tree (waterfall) | The step cards, the raw events or the run’s app log lines |
step | a step ordinal, ≥ 0 | the landing step | That step: its row on the run tree, its card in the story |
pane | request, wire | closed | That step’s Request pane, or its Wire tab. Only beside step; it opens the story view |
sel | a row key (below) | the landing step’s row | That row selected on the run tree, its drawer open. A key no row carries selects nothing |
tab | request, response, tools, logs, raw | the row kind’s own tab | The drawer’s tab: Request, Response, Tool I/O, Logs or Raw OTel |
level | agents | the loop | Beside scale=graph: the call graph of agents and MCP servers instead of the run’s loop (0.18.0) |
scale | time, order, graph | time when the run has spans, else order | The run tree’s axis: wall time, stream order, or the call graph. A derived run (spans only) takes time or graph |
dim | a comma list of errors, slow, tools | none | Rows no named filter keeps are dimmed, never hidden. slow keeps rows that took a fifth of the run or more |
t | a stream position, ≥ 0; a fraction rounds down | live | The replay playhead on the order scale: seeks and pauses there |
raw | doc | events | The raw view’s document surface instead of its events |
q | text | none | The raw view’s search text |
hide | a comma list of step, tool, result, error, reasoning, delta | none | The raw view’s hidden event kinds |
ev | a stream position | none | The raw view’s open event |
lsev | info, warn, error | every line | The logs view’s lowest severity kept |
replay | from_step, edit_result, edit_prompt, rerun, continue, edit | closed | The replay drawer, open on that verb; its edits are not in the link, so it reopens from the verb’s own draft (edit and edit_result reopen as a from-step draft). Without the playground capability, or under a read-scoped token, the keys are dropped on landing |
from | a step ordinal | 0 | The drawer’s from_step, beside replay |
of | a run id | the page’s run | The run the drawer replays, when it is a child row’s |
save | test | none | Downloads the run’s wefttest zip on landing, with Studio’s own token, then drops the key |
d | events, json | none | Read as tab=raw; an older link’s detail mode, never written |
axis | time, events | none | Read as scale=time or scale=order; an older link’s form, never written |
s, w, q, r and l switch the view (q is the story’s Request pane, since 0.20.0); pressing the key of the view on screen goes back to the view before it. A link from the panel’s 📄 ⤢ is ?sel=s<n>&tab=logs, and ⤢ on a step is ?step=<n>&view=story (Read runs in the panel). Read a run in Studio explains every view.
Row keys
Section titled “Row keys”sel names one row of the run tree. The trace page uses the same keys, so a sel copied from either page selects the same row on the other. The run’s own rows are bare; a descendant run’s rows are run-qualified:
| Row | The run’s own | Another run’s |
|---|---|---|
The run (its invoke_agent span) | r:<run id> | r:<run id> |
| A step | s<step> | s:<run id>:<step> |
Its model call (a second one: :m2) | s<step>:m | s:<run id>:<step>:m |
An attempt of that call (of a second call: s<step>:m2:a<n>) | s<step>:a<n> | s:<run id>:<step>:a<n> |
| A tool execution | c:<step>:<call id> | c:<run id>:<step>:<call id> |
| A resumed or denied call | c:resume:<call id> | c:<run id>:resume:<call id> |
| Any other span | t:<span id> | t:<run id>:<span id> |
Older forms still resolve: a chat span keyed s<step>, a root run’s qualified keys, a denied call keyed by its step, and on the trace page a bare c:<call id> (to its first match).
Trace page parameters
Section titled “Trace page parameters”| Key | Values | Default | Opens |
|---|---|---|---|
sel | a row key | none | That row selected; the trace’s root run keys bare, every other run qualified |
view | chat | the span tree | The GenAI chat view |
span | a span id | none | Read as that span’s selection; an older link’s form, never written |
run | a run id | none | The run the page’s scope switch came from: this run goes back to it (0.20.0) |
Compare parameters
Section titled “Compare parameters”| Key | Values | Default | Shows |
|---|---|---|---|
a | a run id | none | The base run; every other run is diffed against it |
b | run ids as one comma list, b=r_2,r_3 | none | The runs compared with a. The base itself and repeats are dropped. When an id holds a comma, the ids are written as one JSON-array value instead, b=["p,q","z"]; both forms are read |
step | a step ordinal, ≥ 0 | the first row | The row scrolled to and highlighted |
Each compared run is one GET /api/diff?a=&b= against a (Compare runs).
Playground parameters
Section titled “Playground parameters”The playground’s query holds its own state, written back from its controls with replace, so the address bar is a link to what is on screen. It never writes a prompt into the query.
| Key | Values | Default | Sets |
|---|---|---|---|
run | a run id | none | The source run the experiment continues |
step | a step ordinal, > 0 | 0, the whole turn, never written | The step the experiment continues from (source.from_step) |
agent | an agent name | the source run’s own | The agent to run |
runtime | a runtime id | one registering the agent | The runtime that runs the command |
engine | scripted (live is read) | live | The first variant’s engine; only scripted is written |
experiment | an experiment id | none | A saved experiment, highlighted in the history |
exp | a draft id | none | A draft of the form kept in this browser’s IndexedDB; it never leaves the browser |
sources | run ids, comma-separated | none | A multi-source matrix’s source runs: the runs list’s “experiment on these N” (0.19.0) |
A hand-off into the playground, such as the panel’s, rides the URL fragment instead: /playground#run=<id>&step=2&instructions=…&input=…. A prompt in the fragment never reaches a server, an access log or a Referer. The page reads the fragment once on arrival, a fragment key winning over the same query key, then strips the whole fragment from the address bar. Besides the keys below, experiment and exp are read from the fragment too. The query form of these keys is still read for older links.
| Fragment key | Values | Sets |
|---|---|---|
run, step, agent, runtime, engine | as in the query | as in the query |
instructions | text | The system prompt override |
input | text | The user input |
tools | a comma list of tool names | The tools left on; every other tool of the agent is off |
model | a model name | The model override |
thinking | a thinking level | The thinking override |
side_effects | substitute, park, allow | The side-effect mode |
thread | ephemeral, fork | The thread mode |
lab | JSON | The option lab’s set knobs |
edits | JSON | The transcript edits |
state | a compact form | A whole shared form, deflated or base64url JSON, at most 8,000 characters and no token: restored on arrival, never run (copy share link) |
Run experiments in the playground describes the form.
Agents, runtimes and experiment parameters
Section titled “Agents, runtimes and experiment parameters”Each of these pages scrolls to the item a link names once it has loaded, so a shared link opens on it.
| Page | Key | Values | Default | Opens |
|---|---|---|---|---|
/agents | window | 24h, 7d | 24h | The stats window of the agents’ numbers; another value reads 24h (Stats) |
/agents | agent | an agent name, exact | none | That agent’s card scrolled to, ringed and opened (0.20.0), and kept in view while the numbers above it load (0.20.1). The panel’s agent name in its header links here |
/runtimes | runtime | a runtime id | none | That runtime’s card scrolled to |
/runtimes | agent | an agent name, exact | none | Why no connected runtime registers that agent, when none does. Studio’s “not registered” refusals link here |
/experiments/{id} | issued | a whole number, > 0 | none | The grid re-read until that many top-level runs joined, for at most two minutes (The grid) |
/experiments/{id} | pick | at most two cells, <variant>×<input>, comma-separated | none | Those cells picked to compare (0.20.0). A malformed cell is dropped, and past two the last two are kept. Picking writes it with replace |
Live and settings parameters
Section titled “Live and settings parameters”| Page | Key | Values | Default | Shows |
|---|---|---|---|---|
/live | peek | a run id: a letter or digit, then up to 127 of letters, digits, _, ., :, - | none | That run’s story in the side pane. An invalid value reads as none, and so does an all-digit one (the router reads it as a number) |
/live | q | text | none | The filter agent or status box’s words (0.20.0). A status word matches by its key; other words match the agent or the shown status. Typing writes it with replace |
/live | agent | an agent name, exact | every agent | Only that agent’s runs, with an agent <name> × chip that clears it (0.20.0). The panel’s running dot links here |
/settings | price | <provider>/<model> | none | The pricing table with a row prefilled for that model, the target of an unpriced model’s “price this model…” link |
/settings also reads its URL fragment once the page has drawn, and scrolls to the element it names:
| Fragment | Scrolls to |
|---|---|
#settings-<section> | That section’s heading: connect, studio, token, database, retention, pricing, capabilities, runtimes, content, appearance, keyboard or concepts. The section index writes no fragment; the panel’s empty list links #settings-connect |
#concepts | The Concepts list (0.20.0) |
#concept-<term> | One term’s entry in it, such as #concept-publicId or #concept-scripted: where a term’s hint’s more › goes (0.20.0) |
Keyboard
Section titled “Keyboard”A key fires only on a bare press outside a text box: with Ctrl, ⌘ or Alt held it goes to the browser, so Ctrl+R reloads. ⌘K (Ctrl+K) and ⌘B (Ctrl+B) are the exceptions: they need the modifier and work inside a text box too. ? lists the bindings on any page, and Settings shows the same list.
| Keys | Where | Does |
|---|---|---|
⌘K / Ctrl+K | any page, inside a text box too | Toggle the command palette: find a run, session, trace or experiment; jump to a page |
⌘B / Ctrl+B | any page | Toggle the sidebar |
? | any page | This help |
y | any page | Copy a link to this page as it stands; a held key copies once |
g r | any page | Go to the runs list |
g a | any page | Go to agents |
/ | runs list | Focus the search box (the agent box when search is off) |
j k, ↓ ↑ | runs list | Next / previous row |
Enter | runs list | Open the selected run |
x | runs list | Pick the selected run to compare; with two or more, compare N |
Esc | runs list | Clear the row selection; in a filter box, revert its text and leave it |
s w q r | run page | Story · waterfall · request · raw view; q opens the story at the selected step (else step 0) with its Request pane (view=story&pane=request); the key of the view on screen returns to the view before it |
l | run page | The logs view |
o | run page | Open the run in your app (the devtools panel’s o opens its run in Studio) |
j k | run page | Next / previous row of the waterfall; with the loop graph shown, its next / previous step |
j k | session page | Next / previous turn |
t | run page, waterfall, on a run with spans that is not derived | Next scale: time → order → graph |
↑ ↓ ← → | run page, run tree focused | Move and fold in the tree |
space | run page | Play / pause the playback |
[ ] | run page | Previous / next step; the playback stops at tool events too |
{ } | run page | Previous / next turn of the run’s session |
, . | run page | One event back / forward |
n | run page | Jump to a step: opens the story and focuses its step box (← → Home End on the scrubber; a number and Enter in the box) |
← →, Home End | run page, replay bar focused | One event back / forward; the first event / the end, live while the run runs |
Enter Space | run page, a call-graph node focused | Select that node |
← →, Home End | run page, the drawer’s tabs focused | Previous / next tab, wrapping; the first / last tab. The open tab is the one tab stop |
Esc | run page, replay drawer open | Close the drawer, except from one of its own inputs |
Esc | live page | Close the peeked run’s pane, unless a dialog, menu or listbox has focus |
g starts a chord: the next key within 1.5 s picks the page, and no page’s own key handler sees it, so the run page’s r does not switch to raw. Get around Studio has the palette and its commands.