Skip to content
Documentation

Studio (preview)

curl-runner studio is a macOS app for your YAML request files: live validation, runs, checks, retries, environments and history. Download the dmg.

Feature overview →

curl-runner studio is a macOS desktop app for the request files you already have. It opens a folder of YAML as a collection, validates as you type, runs one request or the whole collection, and shows every check, retry and timing.

Preview

The studio is a preview. It works fully on local YAML files. Sign in to curl-runner Cloud to publish and share your collections and open the ones teams share with you. Two-way sync from the studio is coming soon.

Install

You need macOS 12 or later. The app is a universal build for Apple silicon and Intel, signed and notarized.

Download curl-runner-studio-<version>.dmg from the downloads page, open it and drag the app to Applications. Or install it with Homebrew. Homebrew asks you to trust third-party taps before it installs from them, so trust the tap first:

Terminal
brew trust alexvcasillas/tap
brew install --cask alexvcasillas/tap/curl-runner-studio

Your first request

On first launch, choose Get started. Welcome then offers Run your first request, a short walkthrough that creates ~/curl-runner/getting-started/health.yaml, a request to https://api.curl-runner.com/health, and runs it. The file is never overwritten, so you can edit it freely. To replay the walkthrough, use Help › Walkthrough.

Collections are folders

A collection is a folder of request files, and its subfolders are the groups in the sidebar. The studio reads and writes plain YAML, so the files stay the ones curl-runner runs in a terminal or in CI.

Run a single request, or the whole collection from Run collection. The run screen counts passed, failed, skipped and retried requests, and Re-run failed runs only the failures again.

A finished collection run of the Payments API: 14 of 15 requests passed, one failed after 2 retries. The charges folder is expanded and shows each request with its status code, duration bar, checks and attempts.
A collection run with one failure after two retries.

Live validation

The editor runs the same rules as curl-runner validate while you type. Problems are underlined and listed in the Problems panel, and many of them come with a quick fix.

The YAML editor with the key backof underlined as a warning. A popover reads: Unknown key backof (did you mean backoff?) and offers the quick fix Rename to "backoff". The Problems panel lists the same warning at line 13.
An unknown key, with the rename it suggests.

Responses and checks

The inspector next to the editor shows the last response: body, headers and timing, and each check from the request's expect block.

The get-charge.yaml request open in the editor next to the inspector: 200 OK in 200 ms, the JSON response body, seven passing checks for status, content-type, body fields and response time, and a timing bar.
A passing request and its seven checks.

When a check fails, the Checks tab shows the expected and the actual value, a diff of the response body against what was expected, and the retry timeline with every attempt.

A failed Capture charge request: the editor marks the two failing expect lines, the Checks tab shows expected "succeeded" against actual "pending" and expected true against actual false, a diff of the response body, and a retry timeline with two 503 attempts followed by a 200.
Two 503s, then a 200 whose body doesn't match.

Environments and secrets

Environments come from the collection's .env files: Default reads .env, and an environment such as Staging reads .env.staging on top of it. Variables named SECRET_*, and any you mark as secret, are masked. The values you enter in the studio go to the macOS Keychain rather than the files, and secrets are never shared or synced.

The Environments screen of the Payments API collection on the Staging tab: BASE_URL, ACCOUNT_ID and API_VERSION come from .env.staging, and SECRET_API_KEY is marked secret with its value masked.
The Staging environment of a collection.

Import requests

Choose File › Import Requests… or press ⌘I to bring in requests you already have. You can paste curl commands, pick a Postman collection or an OpenAPI spec, or copy a folder of YAML. You see what will be added before anything is written, and no existing file is overwritten.

Postman collections

On the Postman collection tab, choose a collection you exported from Postman as .json, or drop the file on the dialog. The preview lists the request files you'll get and what needs your attention. Secret values go to the macOS Keychain, never into a file.

The Import dialog on the Postman collection tab with example-api.postman_collection.json picked: 5 requests in 2 folders. Two items need attention, a file to pick for the document field and the secret apiKey to set. The preview lists the five request files in customers and documents.
Five requests in two folders. Two things need you before they run.

After the import, the dialog lists what still needs your attention. Choose Open next to a "Pick a file" item to open that request and set the file.

The Import dialog after a Postman import: Imported 5 requests, and the variables are in .env. Needs your attention lists a file to pick for the document field, with an Open link, and the secret apiKey to set.
After the import. Open goes to the request with a file to pick.

See Postman Import for what's converted and the full list of what can need your attention.

OpenAPI specs

On the OpenAPI tab, choose an OpenAPI 3.0, 3.1 or Swagger 2.0 file as .json, .yaml or .yml, or drop it on the dialog. You get one request file per operation, in a folder per tag. The base URL and the secret names go to .env.

The Import dialog on the OpenAPI tab with pets.yaml picked: 6 requests in 3 folders. Two items need attention, a file to pick for the file field of Upload photo and the secret PETS_API_KEY to set. The preview lists the six request files in pets, store and users.
Six operations in three tags. Two things need you before they run.

The importer never copies a secret's value, so the summary lists each secret for you to set in Environments.

The Import dialog after an OpenAPI import: Imported 6 requests, and the base URL and secrets are in .env. Needs your attention lists a file to pick for Upload photo, with an Open link, and the secret PETS_API_KEY to set.
After the import. Open goes to the request with a file to pick.

A file dropped on either tab is routed by its content: a spec opens the OpenAPI tab, anything else the Postman tab. See OpenAPI Import for what's converted and the full list of what can need your attention.

Run history

Runs are kept on your machine for 30 days. Pick one to compare it with the run before it: which requests it fixed, which it broke and which got slower.

Run history of the Payments API: two collection runs, 14 of 15 and 15 of 15 passed. The latest is compared with the previous run: Capture charge is listed as fixed and the other 14 requests are unchanged.
The latest run fixed one request; the rest are unchanged.

Sharing and sync

Sign in from the title bar or Settings › Accounts & sync, with curl-runner Cloud or a self-hosted server. The avatar in the title bar shows your account and your teams; the status bar names the server. To open a collection someone shared with you, use Open in curl-runner studio on its page, or paste the link with ⌘L.

Publish

Publish, at the foot of the sidebar or in the palette (⌘K), does what curl-runner publish does, signed in as you. The first time, pick the team and the collection's name (suggested from the folder). The studio runs the same checks as the CLI on your Mac, YAML errors and secret values in the files included, and sends nothing until they pass. .env*, dotfiles and anything in .gitignore stay out.

Leave Save the name and description to curl-runner.yaml on to write a cloud: block, so CI publishes to the same collection. After that, Publish asks nothing. The sidebar foot says where the folder stands: Published v14 · 2 hours ago, or 3 files not published when the folder has changed since.

Share

Once a folder is published, Share (at the foot of the sidebar, in the palette, or the title bar's Shared · N) sets who else can open it, the same settings as the dashboard's Sharing page:

  • Off: only your team.
  • Public: anyone with the link, no account needed.
  • Restricted (Team plan): only the people on the list, after they sign in. Add an email or a whole domain like *@globex.com, and optionally email them the link.

On curl-runner Cloud, a public collection can also be listed in the gallery with List in the gallery. It needs a description first: write it right there, or publish one in the cloud: block. Making it Off or Restricted takes it out.

Copy or reset the link, and set it to expire in 7 or 30 days. Moving a public collection to Restricted asks first, since people using the link who aren't on the list stop getting updates. What people fill in is the inputs of the cloud: block in curl-runner.yaml; values and your Keychain never leave your Mac.

Sync with your team

The first time you put a folder on Cloud, pick how it stays up to date:

  • Publish versions: the folder is the source. You publish from the studio or from CI. This is the default in a git repo.
  • Sync with my team: Cloud is the source. Teammates open it in their studio, and every save syncs both ways. Outside a git repo the sidebar's button reads Put on Cloud and this is the default.

A synced collection's sidebar foot shows its state (Synced just now, Offline · 3 changes waiting, 1 conflict · Resolve) and the last change, such as v27 · sam@acme.dev edited 1 h ago. Your saves go up a moment later. Teammates' changes come down on open, on Sync now, and at the interval in Settings › Accounts & sync › Check for team changes (1, 5 or 15 minutes, or only on open). When a file changed on both sides, the conflict screen shows both versions and asks which to keep.

To open a team's synced collection on another Mac, use Open from Cloud… in the palette, the Welcome screen, or a team in the account menu. It makes a folder under ~/curl-runner/{team} (or one you pick) and syncs it. Collections published from files are listed but open from their repo.

Team owners can switch a collection between Publish and Sync in its settings (General › Cloud) or on the dashboard. Switching to Sync makes CI publishes fail; switching to Publish stops syncing for everyone.