hitspec studio opens an interactive, keyboard-first workspace for your .http
files without leaving the terminal. It is the fastest way to explore an API: edit
a request, run it, inspect the tabbed response, and copy it out as curl or code —
all from one screen.
ui is an alias for studio, so hitspec ui does the same thing. The older
hitspec serve command still opens studio for backward compatibility, but
hitspec studio is the dedicated command. Use hitspec serve --api-only when
you want the REST/WebSocket API server instead of the UI.What you get
- Inline editing — a syntax-highlighted source pane you can edit and save (
ctrl+s). - Run + tabbed response viewer — body, headers, assertions, timing, and captures.
- Nine screens — workspace, stress, mock, contract, record, history, import, cookies, and settings.
- Command palette (
ctrl+p) — every action, searchable. - Copy/export — copy a request as curl, HTTPie, Python, JS
fetch, Go, Ruby, or wget, including method, URL, headers, and body. - Environment + theme switchers — change the active environment (
ctrl+e) or color theme (ctrl+t) live. - Workspace search (
ctrl+f) and file watching — the file list and runs update as files change on disk.
Layout
The workspace screen is split into panes you cycle through withtab /
shift+tab:
A top bar shows the active environment and version; a bottom navigation strip and
status line show the current screen, contextual key hints, and toasts.
Screens
Press a number key (or use the palette) to switch screens:Keyboard shortcuts
Press? at any time for the in-app keyboard reference.
Screens
Workspace
Global
Command palette
Pressctrl+p to open the command palette — a searchable list of every action.
Type / then a short, unique query to filter, then enter to run the highlighted
command. The palette covers everything in the keymap plus actions that have no
dedicated key, including:
- Run the active request or whole file, save, edit, refresh.
- File operations — new, rename, duplicate, delete, and generate a sample project.
- Copy/export the selected request as curl, HTTPie, Python, JS
fetch, or Go, and copy the last response body. - Quick request (ad-hoc) — run a one-off request by URL without saving a file.
- Stress / mock / record — start and stop the load test, mock server, and recording proxy; export or clear recordings.
- History / cookies / settings — open those screens, or clear run history.
- Go to
<screen>— jump to any of the nine screens by name.
Copy a request as code
Select a request and use the palette (ctrl+p) to copy it in the format you need:
Each snippet includes the request’s method, URL, headers, and body, so it is a
runnable copy you can paste and tweak.
The curl export is the most complete — it also renders any configured
@auth (for example, a bearer token). The other languages include the request’s
explicit headers and body; add auth headers yourself if your request relies on
the @auth directive.Ad-hoc requests
Use Quick request (ad-hoc) from the palette to fire a one-off request by URL and view the response without creating a file — handy for a quick probe while you work.Environments
Pressctrl+e to open the environment switcher and pick the active environment.
The default environment is dev; override it at launch with --env:
9) lets you view and edit environment variables. See
Environments for how environments are defined.
Themes
Pressctrl+t to open the theme picker, or set a theme at launch with --theme:
- Nord
- Catppuccin Mocha
- Dracula
- Tokyo Night
- Gruvbox Dark
File watching
Studio watches the workspace by default (--watch, on by default) and refreshes
the file list and live execution progress as files change on disk. Disable it with
--watch=false if you prefer a static view.
Flags
Read-only mode
--read-only disables every file mutation (save, new, rename, duplicate, delete,
generate). Use it to browse or demo a workspace without risking changes:
Next steps
Quickstart
Write and run your first test, then open it in studio.
Editor Setup
Syntax highlighting and completions in VS Code, Neovim, and more.
Stress Testing
Drive a load test from the stress screen.
API Client Manager
How studio and
serve share one in-process manager.