Export Collections
Download Postman, Insomnia, and OpenAPI collections from your discovered routes.
Export Collections
The Collections panel generates and downloads API collections from your discovered routes. Import them into Postman, Insomnia, or any OpenAPI-compatible tool with a single click.
Opening Collections
Click Collections in the sidebar.
Available Formats
Postman Collection v2.1
Downloads a postman-collection.json file compatible with Postman Collection format v2.1.
Includes:
- All discovered routes as requests
- Routes grouped by first path segment (folder per prefix)
- Pre-configured
Content-Type: application/jsonheader - Disabled
Authorization: Bearer {{token}}header (enable and fill in as needed) - Path variables for
:paramsegments - Sample JSON body for POST, PUT, PATCH routes
- Collection-level variables:
baseUrlandtoken
Import into Postman:
- Open Postman
- Click Import
- Drop the downloaded file or click Upload Files
- Click Import
Insomnia Collection
Downloads an insomnia-collection.json file in Insomnia Export v4 format.
Includes:
- A workspace named after your app
- A Development environment with
baseUrlandtokenvariables - All routes as individual requests
- Bearer token authentication (disabled by default)
Import into Insomnia:
- Open Insomnia
- Click Preferences → Data → Import Data
- Select the downloaded file
OpenAPI 3.0.3 Specification
Downloads an openapi.json file compliant with the OpenAPI 3.0.3 specification.
Includes:
infowith app name and versionserverswith your app URL- All routes as
pathswith correct HTTP methods - Path parameters from
:paramsegments - Request body schema for POST, PUT, PATCH routes
- Standard response codes (200, 400, 401, 404, 500)
bearerAuthsecurity scheme for routes withauthenticatemiddleware
Compatible with:
- Swagger UI
- Redoc
- Stoplight Studio
- Any OpenAPI code generator
Endpoints Preview
Below the export cards, a table previews all endpoints that will be included in the exported collection:
| Method | Path | Handler |
|---|---|---|
| GET | /health | anonymous |
| GET | /users | this.list |
| POST | /users | this.create |
| GET | /users/:id | this.getById |
Re-exporting After Changes
Collections are generated from the current state of your routes at the moment you click Download. After adding or removing routes, click Refresh in the top bar and then re-download the collection.