← Back to Overview

HTTP CLIENT

Request History

Every request you send is automatically saved. Browse, search, and manage your request history across workspaces — with automatic secret scrubbing for security.

History sidebar tab showing past requests with method, URL, status, and time

Auto-Save Behavior

Every request you send is automatically saved to history. No manual action needed — just hit Send and it's recorded.

Saves the full request configuration (method, URL, headers, body, auth)
Saves the complete response (status, headers, body, time, size)
Works for all protocols — HTTP, GraphQL, gRPC, WebSocket handshakes
Storage locations:
.openpost/history.json — per-workspace (local)
~/.openpost/global/history.json — shared across all workspaces (global)

Browsing History

The History tab in the sidebar shows all past requests. Each entry displays key information at a glance:

GET /api/users

Method is color-coded by type

200 2 min ago

Status code + relative timestamp

Click any entry to re-open it as a new tab with the saved request configuration and response pre-loaded. You can continue editing and re-send from there.

Per-URL History

The response viewer includes a history dropdown that filters entries by the current request URL. Browse previous responses for the same endpoint without leaving the request tab.

Shows timestamp, status code, and response time for each past response
Click to view that historical response body, headers, and status
Compare responses over time — useful after deploying code changes

Managing Entries

Keep your history tidy with these management options:

Delete individual entries

Hover over any entry in the sidebar and click the × button to remove it

Clear all history

Right-click the History tab header for the clear option, or let the cap handle cleanup automatically

What's stored: Each history entry includes both the full request configuration (method, URL, headers, body, auth) AND the complete response (status, headers, body, time, size, cookies, test results).

History Cap

History is capped at a configurable maximum to prevent unbounded growth:

SettingValue
openPost.maxHistoryMaximum entries to keep (default: 500)
Trim behaviorOldest entries removed on each new send when cap is reached
ConfigurationVS Code Settings → Extensions → API Studio → Max History

Set to a higher value for long-running projects where you want to keep more history. The cap applies independently to local and global history.

Global vs Local

History is stored in two scopes, both visible in the History sidebar tab with scope labels:

Local History

Workspace-specific. Only visible when that folder is open.

.openpost/history.json

Global History

Shared across all workspaces. Always accessible.

~/.openpost/global/history.json

Both scopes are shown together in the sidebar. When no workspace is open, only global history is available. Local history files can be committed to git to share request history with your team.

Secret Scrubbing

Vault secrets are automatically scrubbed from persisted history entries before writing to disk. This prevents secrets from leaking into files that may be committed to git.

Live UI — shows real resolved values (you see the actual secret)
On-disk history — replaces secret values with {{variable_name}} placeholder
Scrubbed fields — request headers, params, response body, response headers, cookies, SSE events, script logs
Scope: Only secrets resolved via the active Secret Set from the built-in vault are scrubbed. Plain environment variables, collection variables, and hardcoded auth values are not scrubbed — they are not designated as secrets.

Next

Ko-fi