Skip to content

Studio pages, URL parameters and keyboard

View as Markdown

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
PathShowsParametersIn the sidebar
/Redirects to /runsnone
/runsThe runs list: one row per run, newest firstRuns listalways
/runs/{id}One run: header, run tree, story, raw events, app logsRun page
/sessionsThe sessions listSessions listalways
/sessions/{id}One session’s turns: timeline, tree, table, approvalsSession page
/conversations/{public id}Every run of one public id, experiments nestedConversation pagenot listed; reached from a session header’s public id or the panel’s conversation ⤢
/tracesThe trace listTraces listunder the traces capability
/traces/{id}One trace’s span tree, or its GenAI chatTrace page
/liveRunning runs, with a peeked run’s story beside thempeek, q, agentalways
/compareRuns aligned step by step against a base runComparenot listed; reached from a run, the replay drawer or the playground
/agentsThe manifest’s agents, re-read every 5 swindow, agentwith a manifest, or under the playground capability
/playgroundThe experiment form and its runsPlaygroundunder the playground capability
/experimentsThe saved experimentsnoneunder playground, never for a panel token
/experiments/{id}One experiment’s variants × inputs gridissued, pick
/runtimesEach linked runtime, its agents and its breakpointsruntime, agentunder the runtimes capability
/settingsConnect an app, Studio facts, token, database, retention, pricing, capabilities, runtimes, content policy, appearance, keyboard, conceptsprice and its hash targetsalways

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.

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:

RuleWhat it means for a link you build
Unknown or malformed values are droppedA 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 ordinalThe 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 credentialNo builder writes a token. A run, session, trace or experiment id is the only scope a link holds
A view change pushes a history entryBack 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 entrysel, 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 backA 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 quotedThe 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 omittedA 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 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.

KeyValuesDefaultFilters to
qtextnoneRuns whose prompt, answer, error or tool names hold every term. Search only: without search it is not applied
agentan agent nameanyOne agent’s runs
statusrunning, succeeded, failed, interrupted, parked, cancelledanyRuns in that state, on the server: parked is an open park, cancelled a failed run whose error is a cancellation
sessiona session idanyOne session’s turns
public_ida public idanyOne conversation’s runs
experimentson, offall runson playground runs only, off no playground runs
experiment_idan experiment idnoneOne experiment’s runs, within the playground runs
tagkey=value, repeatablenoneRuns carrying each pair; a value without = after a key is dropped
toola tool name, exactnoneRuns that called it. Search only, like q
modela model name, exactanyOne model’s runs (search; the loaded rows without search)
errortextnoneRuns whose error holds it (search; the loaded rows without search)
since, untilYYYY-MM-DD (UTC; until includes the day) or an RFC 3339 time with its zonenoneThe start’s range (search; the loaded rows without search). Another form is ignored and noted
min_durationseconds, ≥ 0noneRuns at least that long; always the loaded rows, since neither API filters duration
min_tokensa number, ≥ 0, rounded downnoneInput + output tokens at least (search; the loaded rows without search)
min_costUSD, ≥ 0noneOwn + delegated cost at least; only under the pricing capability
parenta run idnoneThat run’s subagent children (the API’s parent=)
subagentsalltop-level runs onlyChild runs listed too (the API’s all=1); parent wins over it
sortduration, tokens, costnewest firstThe order; cost only under pricing
beforea cursor from the list’s pagingthe newest pageThe first page’s cursor: a link lands on that page
error_typea failed run’s kind, exact (usage_limit, max_steps, …)anyFailed runs of that kind (the API’s error_type=)
error_classa failure class, exact: the error-class facet’s stringanyRuns 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.

PageKeyValuesDefaultFilters to
/sessionsagentan agent nameanySessions of that agent
/sessionspublic_ida public idanyOne conversation’s session
/sessionsqtext, trimmednoneSessions whose title, first prompt, id, public id or agent hold every term
/sessionsawaiting1 or trueoffSessions whose newest turn is parked with no resume yet (⏸ awaiting a decision)
/sessionsfailed1 or trueoffSessions with a failed turn; a cancelled or busy-ended turn is not one (✗ has a failed turn)
/sessionscompacted1 or trueoffSessions weft/thread compacted (⌗ compacted)
/sessionslineagechild, forkanyDelegated sessions (↳ delegated) or forks (⑃ forks)
/sessionsstatussucceeded, failed, running, interruptedanySessions whose newest turn has that outcome
/sessionssince1h, 24h, 7danySessions last seen in the last hour, 24 hours or 7 days, measured when the first page loads
/tracessince, untilYYYY-MM-DD or an RFC 3339 time, as on /runsnoneTraces by their earliest span’s start; a refused value is kept, ignored and said
/tracesservicea service name, exactanyTraces with a span from that service
/tracesnot_runtrueoffThe GenAI traces that make no run (the API’s not_run=1, 0.20.0)

Sessions and traces describes both lists.

A session page and a conversation page share the turns table and its order. The session page’s other keys draw its timeline.

PageKeyValuesDefaultOpens
/sessions/{id}viewtree, table, approvalsthe timelineThat view: the lines the turns continue, the turns table, or every decision and grant. Another value draws the timeline
/sessions/{id}marka 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 occurrencenoneThat mark’s drawer on the timeline
/sessions/{id}lanesa comma list of approvals, grants, compaction, steer_queue, branch_fork, pool, otherevery laneThose lanes bright; the other lanes’ marks are dimmed, never hidden. Unknown names are dropped
/sessions/{id}turna turn numbernoneThe 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}orderoldestnewest firstThe turns table oldest first; any other value reads newest first
/conversations/{public id}orderoldestnewest firstThe turns oldest first; the switch above the table writes it with replace

A conversation’s page says what that page shows.

/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.

KeyValuesDefaultOpens
viewstory, raw, logsthe run tree (waterfall)The step cards, the raw events or the run’s app log lines
stepa step ordinal, ≥ 0the landing stepThat step: its row on the run tree, its card in the story
panerequest, wireclosedThat step’s Request pane, or its Wire tab. Only beside step; it opens the story view
sela row key (below)the landing step’s rowThat row selected on the run tree, its drawer open. A key no row carries selects nothing
tabrequest, response, tools, logs, rawthe row kind’s own tabThe drawer’s tab: Request, Response, Tool I/O, Logs or Raw OTel
levelagentsthe loopBeside scale=graph: the call graph of agents and MCP servers instead of the run’s loop (0.18.0)
scaletime, order, graphtime when the run has spans, else orderThe run tree’s axis: wall time, stream order, or the call graph. A derived run (spans only) takes time or graph
dima comma list of errors, slow, toolsnoneRows no named filter keeps are dimmed, never hidden. slow keeps rows that took a fifth of the run or more
ta stream position, ≥ 0; a fraction rounds downliveThe replay playhead on the order scale: seeks and pauses there
rawdoceventsThe raw view’s document surface instead of its events
qtextnoneThe raw view’s search text
hidea comma list of step, tool, result, error, reasoning, deltanoneThe raw view’s hidden event kinds
eva stream positionnoneThe raw view’s open event
lsevinfo, warn, errorevery lineThe logs view’s lowest severity kept
replayfrom_step, edit_result, edit_prompt, rerun, continue, editclosedThe 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
froma step ordinal0The drawer’s from_step, beside replay
ofa run idthe page’s runThe run the drawer replays, when it is a child row’s
savetestnoneDownloads the run’s wefttest zip on landing, with Studio’s own token, then drops the key
devents, jsonnoneRead as tab=raw; an older link’s detail mode, never written
axistime, eventsnoneRead 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.

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:

RowThe run’s ownAnother run’s
The run (its invoke_agent span)r:<run id>r:<run id>
A steps<step>s:<run id>:<step>
Its model call (a second one: :m2)s<step>:ms:<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 executionc:<step>:<call id>c:<run id>:<step>:<call id>
A resumed or denied callc:resume:<call id>c:<run id>:resume:<call id>
Any other spant:<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).

KeyValuesDefaultOpens
sela row keynoneThat row selected; the trace’s root run keys bare, every other run qualified
viewchatthe span treeThe GenAI chat view
spana span idnoneRead as that span’s selection; an older link’s form, never written
runa run idnoneThe run the page’s scope switch came from: this run goes back to it (0.20.0)
KeyValuesDefaultShows
aa run idnoneThe base run; every other run is diffed against it
brun ids as one comma list, b=r_2,r_3noneThe 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
stepa step ordinal, ≥ 0the first rowThe row scrolled to and highlighted

Each compared run is one GET /api/diff?a=&b= against a (Compare runs).

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.

KeyValuesDefaultSets
runa run idnoneThe source run the experiment continues
stepa step ordinal, > 00, the whole turn, never writtenThe step the experiment continues from (source.from_step)
agentan agent namethe source run’s ownThe agent to run
runtimea runtime idone registering the agentThe runtime that runs the command
enginescripted (live is read)liveThe first variant’s engine; only scripted is written
experimentan experiment idnoneA saved experiment, highlighted in the history
expa draft idnoneA draft of the form kept in this browser’s IndexedDB; it never leaves the browser
sourcesrun ids, comma-separatednoneA 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 keyValuesSets
run, step, agent, runtime, engineas in the queryas in the query
instructionstextThe system prompt override
inputtextThe user input
toolsa comma list of tool namesThe tools left on; every other tool of the agent is off
modela model nameThe model override
thinkinga thinking levelThe thinking override
side_effectssubstitute, park, allowThe side-effect mode
threadephemeral, forkThe thread mode
labJSONThe option lab’s set knobs
editsJSONThe transcript edits
statea compact formA 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.

PageKeyValuesDefaultOpens
/agentswindow24h, 7d24hThe stats window of the agents’ numbers; another value reads 24h (Stats)
/agentsagentan agent name, exactnoneThat 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
/runtimesruntimea runtime idnoneThat runtime’s card scrolled to
/runtimesagentan agent name, exactnoneWhy no connected runtime registers that agent, when none does. Studio’s “not registered” refusals link here
/experiments/{id}issueda whole number, > 0noneThe grid re-read until that many top-level runs joined, for at most two minutes (The grid)
/experiments/{id}pickat most two cells, <variant>×<input>, comma-separatednoneThose 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
PageKeyValuesDefaultShows
/livepeeka run id: a letter or digit, then up to 127 of letters, digits, _, ., :, -noneThat 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)
/liveqtextnoneThe 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
/liveagentan agent name, exactevery agentOnly that agent’s runs, with an agent <name> × chip that clears it (0.20.0). The panel’s running dot links here
/settingsprice<provider>/<model>noneThe 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:

FragmentScrolls 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
#conceptsThe 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)

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.

KeysWhereDoes
⌘K / Ctrl+Kany page, inside a text box tooToggle the command palette: find a run, session, trace or experiment; jump to a page
⌘B / Ctrl+Bany pageToggle the sidebar
?any pageThis help
yany pageCopy a link to this page as it stands; a held key copies once
g rany pageGo to the runs list
g aany pageGo to agents
/runs listFocus the search box (the agent box when search is off)
j k, ↓ ↑runs listNext / previous row
Enterruns listOpen the selected run
xruns listPick the selected run to compare; with two or more, compare N
Escruns listClear the row selection; in a filter box, revert its text and leave it
s w q rrun pageStory · 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
lrun pageThe logs view
orun pageOpen the run in your app (the devtools panel’s o opens its run in Studio)
j krun pageNext / previous row of the waterfall; with the loop graph shown, its next / previous step
j ksession pageNext / previous turn
trun page, waterfall, on a run with spans that is not derivedNext scale: time → order → graph
↑ ↓ ← →run page, run tree focusedMove and fold in the tree
spacerun pagePlay / pause the playback
[ ]run pagePrevious / next step; the playback stops at tool events too
{ }run pagePrevious / next turn of the run’s session
, .run pageOne event back / forward
nrun pageJump to a step: opens the story and focuses its step box (← → Home End on the scrubber; a number and Enter in the box)
← →, Home Endrun page, replay bar focusedOne event back / forward; the first event / the end, live while the run runs
Enter Spacerun page, a call-graph node focusedSelect that node
← →, Home Endrun page, the drawer’s tabs focusedPrevious / next tab, wrapping; the first / last tab. The open tab is the one tab stop
Escrun page, replay drawer openClose the drawer, except from one of its own inputs
Esclive pageClose 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.