Skip to content

Is a sanitized HAR from my API console safe to send to support?

A sanitized HAR is not automatically safe to share. Chrome's sanitized export removes sensitive headers such as Cookie and Authorization; that is not a promise that every URL, prompt or captured response is nonprivate. Export the smallest useful capture, inspect the actual file and send it only through the agreed private support route. Use a synthetic reproduction when essential payloads cannot be disclosed.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 3 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Narrow the observation before exporting; Export the sanitized option and inspect its contents; Verify the minimized evidence still answers the question.
Workflow diagram: Narrow the observation before exporting → Export the sanitized option and inspect its contents → Verify the minimized evidence still answers the question. Read the article for evidence and limits.

Header sanitization does not classify the whole transaction

A HAR records network transactions in a structured file. Depending on what was captured, entries can contain query values, request data and response content as well as timing. A console session can therefore reveal more than a screenshot of an error. AISwapLab feedback does not automatically attach prompts or media; manually attaching a diagnostic artifact is a separate disclosure decision. This guide concerns that artifact, rather than routine server-log configuration.

What to do next

  1. 01

    Narrow the observation before exporting

    Ask what support needs to distinguish: a failed read, an unexpected redirect or timing between requests. Start a clean Network log and capture only the necessary already observed action where feasible. Avoid recording registration, checkout and unrelated tabs. Do not repeat a paid Generate action simply to produce a cleaner waterfall. If the failure follows an uncertain submission, keep its existing task identity and explain that constraint.

  2. 02

    Export the sanitized option and inspect its contents

    In the current Chrome DevTools Network panel, choose the sanitized HAR export rather than enabling the with-sensitive-data option. Menu wording can vary by version. Open the exported JSON locally in a trusted viewer and examine relevant entries: request URLs and query strings, request postData, response content and any embedded application identifiers. Removing a session header does not remove a portrait encoded inside a body. Exclude unnecessary entries and redact values under the project's handling policy.

  3. 03

    Verify the minimized evidence still answers the question

    Reopen the actual file you intend to attach and check that endpoint shape, status, sequence and timing remain useful without secrets or private content. Keep any modified capture labeled as redacted; do not present invented replacement values as observed server behavior. If safe removal destroys the diagnostic evidence, provide a synthetic local reproducer or request a more appropriate private investigation. Do not upload the full capture to an online HAR viewer by default.

A concrete example

Illustrative export: a sanitized capture no longer contains Authorization, but one request body includes a client's private prompt. The creator removes that unnecessary transaction and retains the failing read's status and timing. Support receives the checked derivative, not the original capture. No real customer capture was collected to write this example.

Before you call it ready

  • The final artifact, not just the export option's label, has been inspected.
  • Query strings, request bodies and response content were considered separately from headers.
  • The remaining timing and status evidence supports a specific unresolved question.

When to stop or choose another method

Stop sharing if the HAR contains material outside the permitted support scope. Sanitized, private and anonymous are different claims; a default export setting establishes only its documented filtering behavior.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation