# insomnia | Kong | Knowledge Base | Instagit

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

GitHub Stars: 39k

Repository: https://github.com/Kong/insomnia

---

## Articles

### [How to Debug the Insomnia Application Using Its package.json Scripts](/Kong/insomnia/how-can-i-debug-the-insomnia-application-using-its-package-json-specified-tools)

Debug the Insomnia app effectively by leveraging its package.json scripts. Launch the dev environment with npm run dev and attach a debugger or use Chrome DevTools for seamless troubleshooting.

- Tags: how-to-guide
- Published: 2026-06-27

### [Compiler Options and Configurations in Insomnia's package.json: A Technical Deep Dive](/Kong/insomnia/are-there-any-specific-compiler-options-or-configurations-in-insomnias-package-json)

Explore Insomnia's package.json for compiler options and configurations. Learn how tsconfigjson orchestrates type checking with tsc and bundling with esbuild for efficient builds.

- Tags: deep-dive
- Published: 2026-06-27

### [How to Find the Repository URL for Insomnia in package.json](/Kong/insomnia/what-is-the-repository-url-for-insomnia-as-specified-in-package-json)

Find the Insomnia repository URL in package.json easily. Learn how to locate the specfied GitHub URL for this popular API client.

- Tags: how-to-guide
- Published: 2026-06-27

### [How Insomnia Handles Code Linting and Formatting in Its Monorepo Workspace](/Kong/insomnia/how-does-insomnia-handle-code-linting-and-formatting-based-on-package-json)

Learn how Insomnia implements code linting and formatting in its monorepo using ESLint and Prettier. Discover how npm workspace scripts in package.json ensure code quality.

- Tags: internals
- Published: 2026-06-27

### [Production Build Commands for Insomnia from package.json: The Complete Guide](/Kong/insomnia/what-are-the-production-build-commands-for-insomnia-from-package-json)

Discover Insomnia's production build commands from package.json. Learn to compile TypeScript and generate native installers using npm run app build and npm run app package.

- Tags: how-to-guide
- Published: 2026-06-27

### [What Is Insomnia's Primary Build Tool? A Deep Dive into Vite and Electron](/Kong/insomnia/what-is-insomnias-primary-build-tool-as-suggested-by-package-json)

Discover Insomnia's primary build tool: Vite. Learn how Vite efficiently handles client-side bundling and React development, enhancing your workflow.

- Tags: deep-dive
- Published: 2026-06-27

### [How to Update Dependencies in the Insomnia Project Using package.json](/Kong/insomnia/how-can-i-update-dependencies-in-the-insomnia-project-using-package-json)

Easily update dependencies in the Insomnia project by editing package.json and running npm install. Learn how to manage your project's package.json efficiently.

- Tags: how-to-guide
- Published: 2026-06-27

### [Understanding the Role of Scripts in Insomnia's package.json for Build and Test Pipelines](/Kong/insomnia/what-is-the-role-of-scripts-in-insomnias-package-json-for-build-and-test-pipelines)

Discover how scripts in Insomnia's package.json streamline build and test pipelines, orchestrating everything from code generation and bundling to testing and packaging for efficient development.

- Tags: how-to-guide
- Published: 2026-06-27

### [Main Commands for Contributing to Insomnia: The Complete npm Script Guide](/Kong/insomnia/what-are-the-main-commands-for-contributing-to-insomnia-based-on-package-json)

Master Insomnia contributions with key npm scripts like npm run dev, npm run lint, and npm run test. Explore the complete contribution workflow from development to packaging directly from package.json.

- Tags: how-to-guide
- Published: 2026-06-27

### [How Insomnia Manages Its Dependencies: Inside the Kong/insomnia package.json Architecture](/Kong/insomnia/how-does-insomnia-manage-its-dependencies-and-what-does-package-json-reveal-about-this)

Explore how Insomnia manages dependencies via its npm-workspace monorepo architecture. The root package.json orchestrates tooling while individual packages manage runtime needs for robust builds and plugins.

- Tags: internals
- Published: 2026-06-27

### [Testing Frameworks Used by Insomnia: Vitest and Playwright Configuration Guide](/Kong/insomnia/what-are-the-testing-frameworks-used-by-insomnia-as-indicated-in-package-json)

Insomnia utilizes Vitest for unit and integration testing and Playwright for end-to-end testing. Discover how their package.json files configure these powerful frameworks.

- Tags: testing-guide
- Published: 2026-06-27

### [How to Run Insomnia Locally for Development: Complete Setup Guide](/Kong/insomnia/how-can-i-run-insomnia-locally-for-development-considering-its-package-json-configuration)

Run Insomnia locally for development with this complete setup guide. Clone the repo, install Node JS, manage dependencies with npm ci, and start the app with npm run dev.

- Tags: how-to-guide
- Published: 2026-06-27

### [Key UI Libraries Used by Insomnia: A Complete Analysis of Its React Frontend Stack](/Kong/insomnia/what-are-the-key-libraries-used-by-insomnia-for-its-ui-referenced-in-package-json)

Explore Insomnia's React frontend stack. Discover key UI libraries like React 18, Tailwind CSS, React Aria, Monaco Editor, and TanStack Virtual used in their package.json.

- Tags: deep-dive
- Published: 2026-06-27

### [How Insomnia Handles Configuration Files: Inside the Kong/insomnia Repository](/Kong/insomnia/how-does-insomnia-handle-its-configuration-files-and-is-this-reflected-in-package-json)

Discover how Insomnia manages its configuration files within the Kong/insomnia repository. Learn about the central config.json and its role in package.json build scripts.

- Tags: internals
- Published: 2026-06-27

### [Troubleshooting Steps for Insomnia: A package.json-Based Workflow](/Kong/insomnia/what-are-the-common-troubleshooting-steps-for-insomnia-based-on-its-package-json-setup)

Resolve Insomnia build or runtime issues by checking Node npm versions and running package.json scripts like npm run clean lint type-check and check-cycle-references. Essential troubleshooting steps.

- Tags: how-to-guide
- Published: 2026-06-27

### [Where to Find Insomnia’s Build Process in `package.json`: Complete Guide to Scripts and Workflows](/Kong/insomnia/can-i-find-information-about-insomnias-build-process-in-package-json)

Discover Insomnia's build process in package.json. Find detailed scripts for development servers, bundling, linting, and testing in this comprehensive guide.

- Tags: how-to-guide
- Published: 2026-06-27

### [Purpose of the Main Field in Insomnia's package.json: Electron Entry Point Explained](/Kong/insomnia/what-is-the-purpose-of-the-main-field-in-insomnias-package-json)

Discover the purpose of the main field in Insomnia's package.json. Learn how it defines the Electron entry point, connecting TypeScript to your application's runtime.

- Tags: deep-dive
- Published: 2026-06-27

### [How to Build the Insomnia Project from Source Using package.json Scripts](/Kong/insomnia/how-can-i-build-the-insomnia-project-from-source-using-package-json-scripts)

Build the Insomnia project from source using npm scripts. Follow this guide to compile TypeScript, bundle with Vite, and prepare the Electron app for distribution.

- Tags: how-to-guide
- Published: 2026-06-27

### [What Version of Node.js Is Insomnia Compatible With?](/Kong/insomnia/what-version-of-node-js-is-insomnia-compatible-with-based-on-package-json)

Discover Insomnia's Node.js compatibility. Insomnia requires Node.js version 24 or higher, specifically 24.14.0 for reproducible builds. Learn more about Node.js version requirements.

- Tags: compatibility-guide
- Published: 2026-06-27

### [Insomnia Development Dependencies: Complete Guide to package.json devDependencies](/Kong/insomnia/are-there-any-development-specific-dependencies-in-insomnias-package-json)

Discover Insomnia development dependencies in package.json including ESLint, Prettier, TypeScript, and Vitest required for building and testing only. Learn how these devDependencies ensure code quality.

- Tags: how-to-guide
- Published: 2026-06-27

### [Crucial Dependencies for Insomnia's Core Functionality: Inside package.json](/Kong/insomnia/which-dependencies-are-crucial-for-insomnias-core-functionality-as-listed-in-package-json)

Discover crucial Insomnia dependencies in package.json like node-libcurl, electron, React, and ajv that power its core HTTP transport, desktop shell, UI, and validation.

- Tags: internals
- Published: 2026-06-27

### [Insomnia Package.json Scripts: Complete Development Workflow Guide](/Kong/insomnia/what-scripts-are-available-in-the-insomnia-package-json-for-development)

Explore Insomnia package.json scripts to streamline your development workflow. Discover essential commands for building, testing, linting, and packaging the Insomnia app and CLI.

- Tags: how-to-guide
- Published: 2026-06-27

### [Insomnia Project Structure: Understanding the Workspace-Based Monorepo](/Kong/insomnia/how-is-the-insomnia-project-structured-according-to-its-package-json)

Explore the Insomnia project structure with its workspace-based monorepo. Discover how the root package.json defines distinct packages, scripts, and shared dependencies.

- Tags: internals
- Published: 2026-06-27

### [Main Entry Points of the Insomnia Project Defined in package.json](/Kong/insomnia/what-are-the-main-entry-points-of-the-insomnia-project-defined-in-package-json)

Discover the main entry points of the Insomnia project in package.json. Learn about the Electron main process and CLI executable definitions to understand Insomnia's architecture.

- Tags: internals
- Published: 2026-06-27

### [How Does the Design Document Editor Validate OpenAPI Specifications in Kong/Insomnia](/Kong/insomnia/how-does-the-design-document-editor-validate-openapi-specifications)

Learn how Insomnia validates OpenAPI specifications using a three-stage pipeline: CodeMirror lint helper, Electron IPC with Spectral, and UI annotations. Ensure spec accuracy effortlessly.

- Tags: how-to-guide
- Published: 2026-06-26

### [How Insomnia Handles Cookie Jar Management and Session Persistence](/Kong/insomnia/how-does-insomnia-handle-cookie-jar-management-and-session-persistence)

Discover how Insomnia manages cookie jars and ensures session persistence by serializing cookies to JSON and persisting them in NeDB for seamless request execution.

- Tags: internals
- Published: 2026-06-26

### [How Insomnia Implements Organization and Workspace Hierarchy with Permissions](/Kong/insomnia/how-does-insomnia-implement-organization-and-workspace-hierarchy-with-permissions)

Discover how Insomnia uses a three-tier hierarchy and permissions to organize organizations, projects, and workspaces. Learn about its NeDB data layer and cascading access controls.

- Tags: architecture
- Published: 2026-06-26

### [How Insomnia's Git VCS Operations Handle Branch Switching and Remote Syncing](/Kong/insomnia/how-does-the-git-vcs-operations-handle-branch-switching-and-remote-syncing)

Discover how Insomnia's Git VCS efficiently manages branch switching and remote syncing with isomorphic-git, streamlining your API design workflows. Learn about its centralized class and conflict resolution.

- Tags: internals
- Published: 2026-06-26

### [Insomnia Electron Main Process and Window Management Architecture Explained](/Kong/insomnia/what-is-the-architecture-of-the-insomnia-electron-main-process-and-window-management)

Explore the Insomnia Electron main process architecture. Understand how Node.js backend, Chromium renderer, and IPC bridges ensure secure UI, script execution, and plugin isolation.

- Tags: architecture
- Published: 2026-06-26

### [How Insomnia Handles mTLS with Client Certificates: A Deep Dive into the Source Code](/Kong/insomnia/how-does-insomnia-handle-mtls-with-client-certificates)

Learn how Insomnia handles mTLS with client certificates by matching them to request URLs and attaching PEM-encoded materials during the TLS handshake. Explore the source code.

- Tags: deep-dive
- Published: 2026-06-26

### [How the Insomnia Plugin System Extends Core Functionality: Architecture and Implementation](/Kong/insomnia/how-does-the-insomnia-plugin-system-extend-core-functionality)

Explore the Insomnia plugin system architecture and implementation. Discover how it securely extends core functionality like template tags and themes without altering the main application.

- Tags: architecture
- Published: 2026-06-26

### [How OpenAPI Import Handles Schema Validation and Specification Conversion in Insomnia](/Kong/insomnia/how-does-openapi-import-handle-schema-validation-and-specification-conversion)

Insomnia's OpenAPI import validates specs with Swagger Parser, dereferencing schemas and checking compliance. It then converts valid documents to Insomnia workspaces, environments, and requests.

- Tags: how-to-guide
- Published: 2026-06-26

### [Insomnia Pre-Request and Test Scripts: A Complete Guide to JavaScript Automation](/Kong/insomnia/what-scripting-capabilities-does-insomnia-provide-for-pre-request-and-test-scripts)

Automate API testing with Insomnia's JavaScript pre-request and test scripts. Manipulate requests, manage environments, and run assertions directly within Insomnia.

- Tags: how-to-guide
- Published: 2026-06-26

### [How NeDB Database Buffering Optimizes Bulk Write Operations in Insomnia](/Kong/insomnia/how-does-the-nedb-database-buffering-optimize-bulk-write-operations)

Discover how NeDB database buffering in Insomnia optimizes bulk writes by batching changes in memory for faster performance and reduced disk I/O.

- Tags: performance
- Published: 2026-06-26

### [How the Electron IPC Bridge Connects Main and Renderer Processes in Insomnia](/Kong/insomnia/how-does-the-electron-ipc-bridge-communicate-between-main-and-renderer-processes)

Discover how Insomnia's Electron IPC bridge securely connects main and renderer processes using contextBridge for typed API calls and Promise-based communication with nodeIntegration disabled.

- Tags: internals
- Published: 2026-06-26

### [How Nunjucks Templating Renders Environment Variables in Insomnia Requests](/Kong/insomnia/how-does-the-nunjucks-templating-system-render-environment-variables-in-requests)

Learn how Insomnia uses Nunjucks templating to render environment variables in requests. Discover how to access variables like {{ _.host }} for dynamic API calls.

- Tags: how-to-guide
- Published: 2026-06-26

### [How Insomnia Handles gRPC Requests with Protocol Buffers: Architecture and Implementation](/Kong/insomnia/how-does-grpc-request-handling-work-with-protocol-buffers-in-insomnia)

Discover how Insomnia handles gRPC requests with Protocol Buffers. Learn about its architecture, proto file processing, and gRPC reflection for dynamic service discovery.

- Tags: architecture
- Published: 2026-06-26

### [How Insomnia Handles WebSocket Connections and Message Framing in the Kong/insomnia Codebase](/Kong/insomnia/how-does-insomnia-handle-websocket-connections-and-message-framing)

Discover how Insomnia manages WebSocket connections and message framing using the Node.js ws library, streams events to logs, and syncs state via IPC for real-time broadcasting.

- Tags: internals
- Published: 2026-06-26

### [How Insomnia Processes and Executes GraphQL Queries with Variables](/Kong/insomnia/how-does-insomnia-process-and-execute-graphql-queries-with-variables)

Learn how Insomnia processes and executes GraphQL queries with variables. Discover its method of converting queries to HTTP POST requests and normalizing variables for network dispatch.

- Tags: internals
- Published: 2026-06-26

### [How Insomnia Handles OAuth2 Authentication Flows and Automatic Token Refresh](/Kong/insomnia/how-does-insomnia-handle-oauth2-authentication-flows-and-token-refresh)

Learn how Insomnia handles OAuth2 authentication flows and automatic token refresh through its layered Electron architecture maintaining seamless user access.

- Tags: deep-dive
- Published: 2026-06-26

### [How Does the Insomnia Vault Encryption System Protect Sensitive Environment Variables?](/Kong/insomnia/how-does-the-insomnia-vault-encryption-system-protect-sensitive-environment-variables)

Learn how the Insomnia vault encryption system protects sensitive environment variables using AES-GCM and Electron's secure storage. Secrets remain encrypted, only decrypted in memory.

- Tags: internals
- Published: 2026-06-26

### [How Insomnia's Git Sync Handles Repository Operations and Conflict Resolution](/Kong/insomnia/how-does-insomnias-git-sync-feature-handle-repository-operations-and-conflict-resolution)

Learn how Insomnia's Git Sync uses a custom wrapper and virtual file system for repository operations. It automatically resolves non-YAML conflicts and guides you through YAML conflict resolution.

- Tags: internals
- Published: 2026-06-26

### [How the Workspace/Project Organization Hierarchy Works in Insomnia](/Kong/insomnia/how-does-the-workspace-project-organization-hierarchy-work-in-insomnia)

Understand the Insomnia workspace project organization hierarchy. Learn how Organizations, Projects, and Workspaces structure your API development with automatic environment provisioning.

- Tags: internals
- Published: 2026-06-23

### [How the AES-GCM Vault Encryption System Protects Secrets in Insomnia](/Kong/insomnia/how-does-the-aes-gcm-vault-encryption-system-protect-secrets-in-insomnia)

Learn how Insomnia's AES-GCM vault encryption protects your secrets using strong AES encryption and OS secure storage. Keep your sensitive data safe and secure.

- Tags: internals
- Published: 2026-06-23

### [Understanding Request Cancellation in Insomnia's Network Layer](/Kong/insomnia/how-does-request-cancellation-work-at-insomnias-network-layer)

Learn how Insomnia's network layer cancels requests using AbortController and a callback registry for consistent abortion across HTTP, gRPC, GraphQL, and scripts. Improve your API testing workflow.

- Tags: internals
- Published: 2026-06-23

### [How Response Caching in Insomnia Improves API Testing Performance](/Kong/insomnia/how-does-response-caching-in-insomnia-improve-performance)

Discover how Insomnia response caching boosts API testing performance by storing data in memory. Reduce redundant requests and speed up your workflow.

- Tags: performance
- Published: 2026-06-23

### [How Insomnia Handles OAuth 2.0 Flows: A Deep Dive into the Implementation](/Kong/insomnia/how-does-insomnia-handle-oauth-2-0-flows)

Discover how Insomnia implements OAuth 2.0 flows with its advanced token management. Explore grant types PKCE, automatic refreshes, and secure authentication methods in this deep dive.

- Tags: deep-dive
- Published: 2026-06-23

### [How Environment Inheritance and Scoping Work in Insomnia: A Complete Technical Guide](/Kong/insomnia/how-does-environment-inheritance-and-scoping-work-in-insomnia)

Understand Insomnia environment inheritance and scoping. Learn how Insomnia resolves variables from request to workspace, deep-merging data while respecting scopes and secrets.

- Tags: deep-dive
- Published: 2026-06-23

### [How Insomnia Handles Multipart Form Data for File Uploads: A Deep Dive into the Source Code](/Kong/insomnia/how-does-insomnia-handle-multipart-form-data-for-file-uploads)

Explore how Insomnia handles multipart form data for file uploads. Learn about its efficient source code approach for streaming uploads without in-memory loading.

- Tags: deep-dive
- Published: 2026-06-23

### [How Insomnia Uses Electron IPC for Communication Between Main and Renderer Processes](/Kong/insomnia/how-does-insomnia-use-electron-ipc-for-communication-between-main-and-renderer-processes)

Discover how Insomnia leverages Electron IPC for seamless communication between its main and renderer processes using a secure preload bridge pattern and simplified API handlers.

- Tags: internals
- Published: 2026-06-23

### [How Insomnia's Delta Diff/Patch System Works for Synchronization](/Kong/insomnia/how-does-insomnias-delta-diff-patch-system-work-for-synchronization)

Discover how Insomnia's delta diff/patch system synchronizes data efficiently by comparing SHA-1 hashed blocks and sending only changed fragments, not entire files.

- Tags: internals
- Published: 2026-06-23

### [How Insomnia Handles Certificates for mTLS Authentication: A Technical Deep Dive](/Kong/insomnia/how-does-insomnia-handle-certificates-for-mtls-authentication)

Learn how Insomnia handles certificates for mTLS authentication. Discover its runtime filtering and certificate injection into Node.js or Electron for secure API connections. Get the technical details.

- Tags: deep-dive
- Published: 2026-06-23

### [How Does the Insomnia Collection Runner Execute Test Suites?](/Kong/insomnia/how-does-the-insomnia-collection-runner-execute-test-suites)

Learn how the Insomnia Collection Runner executes test suites. Discover its process of converting UI selections to JSON payloads, triggering client actions, and running JS tests with a Mocha harness.

- Tags: internals
- Published: 2026-06-23

### [How Insomnia Handles WebSocket and Server-Sent Events (SSE) Requests](/Kong/insomnia/how-does-insomnia-handle-websocket-and-server-sent-events-sse-requests)

Discover how Insomnia handles WebSocket and Server-Sent Events (SSE) requests using the ws library and libcurl, streaming data efficiently through IPC. Learn more!

- Tags: internals
- Published: 2026-06-23

### [How MCP Integrates with Insomnia: A Deep Dive into the Model Context Protocol Implementation](/Kong/insomnia/how-does-mcp-model-context-protocol-integrate-with-insomnia)

Discover how Insomnia integrates MCP for AI API workflows. Explore its multi-layered architecture from UI to main process connections for seamless AI-powered API development.

- Tags: deep-dive
- Published: 2026-06-23

### [How Insomnia Mock Server Generation Works: From OpenAPI Spec to Live Routes](/Kong/insomnia/how-does-insomnias-mock-server-generation-feature-work)

Discover how Insomnia generates mock servers from OpenAPI specs. Learn how it parses specs into routes, stores them, and serves them via an HTTP proxy for rapid API development.

- Tags: internals
- Published: 2026-06-23

### [How Insomnia's Import System Parses Postman, Swagger, and OpenAPI Specifications](/Kong/insomnia/how-does-insomnias-import-system-parse-postman-swagger-and-openapi-specifications)

Discover how Insomnia's import system parses Postman, Swagger, and OpenAPI specs. Learn about its unified converter, strict validation, and deterministic ID hashing for seamless API integration.

- Tags: how-to-guide
- Published: 2026-06-23

### [How Insomnia's Authentication System Handles API Keys, Bearer Tokens, and Basic Auth](/Kong/insomnia/how-does-insomnias-authentication-system-handle-api-keys-bearer-tokens-and-basic-auth)

Insomnia securely manages API keys, Bearer tokens, and Basic Auth. Discover how it creates type-safe credentials for headers and query strings.

- Tags: internals
- Published: 2026-06-23

### [How the Insomnia Plugin System Works with Request, Network, and Response Contexts](/Kong/insomnia/how-does-the-insomnia-plugin-system-work-with-contexts-data-request-network-response)

Understand the Insomnia plugin system, exploring its contexts: app, network, and store. Learn how these contexts enhance your API development workflow and template creations.

- Tags: internals
- Published: 2026-06-23

### [How Insomnia Cloud Sync Works with End-to-End Encryption (E2EE)](/Kong/insomnia/how-does-insomnias-cloud-sync-with-end-to-end-encryption-e2ee-work)

Discover how Insomnia Cloud Sync with end-to-end encryption (E2EE) protects your secrets using AES-256-GCM client-side encryption. Learn how your data stays secure with client-side encryption and OS secret storage.

- Tags: deep-dive
- Published: 2026-06-23

### [How gRPC Request Handling Works in Insomnia: A Complete Technical Guide](/Kong/insomnia/how-does-grpc-request-handling-work-in-insomnia)

Learn how Insomnia handles gRPC requests. Explore serialization, Electron IPC, method resolution via proto or reflection, and client dispatch for all streaming types.

- Tags: deep-dive
- Published: 2026-06-23

### [How Insomnia's Network Layer Executes HTTP Requests and Handles Responses](/Kong/insomnia/how-does-insomnias-network-layer-execute-http-requests-and-handle-responses)

Discover how Insomnia's network layer executes HTTP requests and handles responses through a ten-step pipeline. Learn about scripts, variables, plugins, cURL, and response transformation.

- Tags: internals
- Published: 2026-06-23

### [How Insomnia Implements the Local Vault for Secure Local Storage: AES-256-GCM and OS-Level Keychain Protection](/Kong/insomnia/how-does-insomnia-implement-the-local-vault-for-secure-local-storage)

Discover how Insomnia secures local storage with its Local Vault. It uses AES-256-GCM encryption and OS-level keychain protection for unparalleled data safety.

- Tags: internals
- Published: 2026-06-23

### [How Insomnia Git Sync Integrates with GitHub, GitLab, and Custom Providers](/Kong/insomnia/how-does-insomnias-git-sync-feature-integrate-with-github-gitlab-and-custom-providers)

Explore Insomnia Git Sync integration with GitHub, GitLab, and custom providers. Learn how its extensible architecture simplifies authentication and repository management for seamless version control.

- Tags: how-to-guide
- Published: 2026-06-23

### [How Insomnia Environment Variable Templating Works with Nunjucks](/Kong/insomnia/how-does-insomnias-environment-variable-templating-work-with-nunjucks)

Learn how Insomnia uses Nunjucks templating within a sandboxed engine to resolve environment variables. Discover efficient variable management for your API requests.

- Tags: internals
- Published: 2026-06-23

### [How to Sync Insomnia Data Across Devices: Cloud and Git Methods Explained](/Kong/insomnia/how-to-sync-insomnia-data-across-devices)

Sync Insomnia data across devices effortlessly. Explore secure cloud sync or Git integration. Keep your API design synchronized with ease.

- Tags: how-to-guide
- Published: 2026-06-22

### [How to Set Up Authentication in Insomnia: A Complete Guide to RequestAuthentication Configuration](/Kong/insomnia/how-to-set-up-authentication-in-insomnia)

Learn to set up authentication in Insomnia easily. Configure request authentication via the Auth tab to secure your API calls with this comprehensive guide.

- Tags: how-to-guide
- Published: 2026-06-22

### [What Is the Insomnia API and How to Use It: A Developer’s Guide](/Kong/insomnia/what-is-the-insomnia-api-and-how-to-use-it)

Learn what the Insomnia API is and how developers can use this client-side TypeScript library to make authenticated HTTP requests to Insomnia Cloud services. Get started today.

- Tags: tutorial
- Published: 2026-06-22

### [How to Use Insomnia for GraphQL Testing: Schema Introspection and Query Building](/Kong/insomnia/how-to-use-insomnia-for-graphql-testing)

Master GraphQL testing with Insomnia Use schema introspection, auto-completion, and a visual explorer for efficient query building and seamless testing against any GraphQL endpoint.

- Tags: how-to-guide
- Published: 2026-06-22

### [How to Integrate Insomnia with CI/CD Pipelines: A Complete CLI Guide](/Kong/insomnia/how-to-integrate-insomnia-with-ci-cd-pipelines)

Integrate Insomnia with CI/CD pipelines using the Insomnia CLI for automated API testing. Run collections, generate reports, and ensure non-zero exits on failure.

- Tags: how-to-guide
- Published: 2026-06-22

### [How to Export Insomnia Requests and Collections: A Complete Technical Guide](/Kong/insomnia/how-to-export-insomnia-requests-and-collections)

Easily export Insomnia requests and collections in HAR, YAML, or JSON formats. This technical guide shows you how to use the Import & Export panel for seamless data transfer.

- Tags: how-to-guide
- Published: 2026-06-22

### [Data Model Hierarchy in Insomnia: From Organization to Request](/Kong/insomnia/insomnia-data-model-hierarchy)

Understand the data model hierarchy in Insomnia from Organization to Requests. Explore the seven-level tree structure and how it organizes your API data.

- Tags: internals
- Published: 2026-06-22

### [How Insomnia Manages Certificate Configurations for mTLS and Custom CAs](/Kong/insomnia/insomnia-mtls-custom-ca-certificates)

Learn how Insomnia expertly manages mTLS client certificates and custom CAs using its database, runtime filtering, and secure file paths for seamless API testing.

- Tags: internals
- Published: 2026-06-22

### [Insomnia's Secret Storage Architecture: How Platform-Native Encryption Protects API Keys](/Kong/insomnia/insomnia-secret-storage-platform-encryption-architecture)

Discover Insomnia's secret storage architecture. Learn how platform-native encryption protects API keys using OS-specific AES-GCM encryption for secure data.

- Tags: architecture
- Published: 2026-06-22

### [How Insomnia's Plugin System Works: Architecture, IPC Bridge, and Available APIs](/Kong/insomnia/insomnia-plugin-system-apis)

Discover how Insomnia's plugin system works. Explore its architecture, IPC bridge, and available APIs for custom actions, templates, themes, and hooks.

- Tags: internals
- Published: 2026-06-22

### [What Is Insomnia's Automock Feature and How It Generates Mock gRPC Responses](/Kong/insomnia/insomnia-automock-feature-mock-responses)

Discover Insomnia's automock feature for gRPC. Learn how it generates realistic mock responses by traversing protobuf types for deterministic data.

- Tags: deep-dive
- Published: 2026-06-22

### [How Insomnia Implements Server-Sent Events (SSE) for Real-Time Collaboration](/Kong/insomnia/insomnia-server-sent-events-sse-streaming)

Discover how Insomnia utilizes EventSource API and a custom protocol for real-time collaboration, enabling features like user presence and file sync.

- Tags: how-to-guide
- Published: 2026-06-22

### [Understanding the Electron-Storage Layer in Insomnia: How User Data Is Persisted](/Kong/insomnia/insomnia-electron-storage-user-data)

Discover how Insomnia's electron-storage layer persists user data like settings and OAuth sessions to JSON files. Learn about its file-backed key-value store and IPC communication.

- Tags: internals
- Published: 2026-06-22

### [How Insomnia Handles Multipart Form Data and File Uploads: A Deep Dive into the Source Code](/Kong/insomnia/insomnia-multipart-form-data-file-uploads)

Explore how Insomnia handles multipart form data and file uploads by examining source code. Learn how large uploads are streamed to libcurl without loading into memory.

- Tags: deep-dive
- Published: 2026-06-22

### [Compare Insomnia's Local Vault, Cloud Sync, and Git Sync Storage Backends](/Kong/insomnia/insomnia-storage-backend-comparison)

Explore Insomnia's Local Vault Cloud Sync and Git Sync storage options. Understand key differences in data persistence synchronization and encryption for seamless API development.

- Tags: comparison
- Published: 2026-06-22

### [How Insomnia Implements the Collection Runner for Automated API Testing](/Kong/insomnia/insomnia-collection-runner-automated-testing)

Learn how Insomnia implements its collection runner for automated API testing. Discover the React UI, Electron IPC, and clientAction layers powering efficient API test execution and result tracking.

- Tags: internals
- Published: 2026-06-22

### [Insomnia Templating Worker and Nunjucks Rendering Architecture](/Kong/insomnia/insomnia-templating-worker-nunjucks-architecture)

Explore Insomnia's templating worker architecture. Learn how LiquidJS and Nunjucks syntax deliver high performance by offloading rendering to a separate thread and sandboxing plugins.

- Tags: architecture
- Published: 2026-06-22

### [How Insomnia's Proxy Configuration Works with System Proxy Settings](/Kong/insomnia/insomnia-proxy-configuration-system-proxy)

Understand how Insomnia's proxy configuration interacts with your system proxy settings. Learn when Insomnia overrides system settings and how it falls back automatically.

- Tags: how-to-guide
- Published: 2026-06-22

### [What Is the Spectral-Ruleset-Cache in Insomnia? OpenAPI Linting Performance Explained](/Kong/insomnia/insomnia-spectral-ruleset-cache-openapi-linting)

Discover how Insomnia's spectral-ruleset-cache speeds up OpenAPI linting by storing compiled rulesets, reducing compilation time for faster development cycles.

- Tags: internals
- Published: 2026-06-22

### [How Insomnia Handles gRPC Reflection and Bidirectional Streaming](/Kong/insomnia/insomnia-grpc-reflection-bidirectional-streaming)

Learn how Insomnia handles gRPC reflection and bidirectional streaming using its dedicated API and Node.js gRPC duplex streams to connect Electron UI.

- Tags: internals
- Published: 2026-06-22

### [What Authentication Methods Does Insomnia Support Besides OAuth 2.0?](/Kong/insomnia/insomnia-supported-authentication-methods)

Explore Insomnia's authentication methods beyond OAuth 2.0. Discover support for Basic, Bearer, API Key, AWS IAM, and more to secure your API requests efficiently.

- Tags: deep-dive
- Published: 2026-06-22

### [How Request, Response, and Variable Objects Are Exposed in the Insomnia Script Environment](/Kong/insomnia/insomnia-scripting-environment-objects)

Learn how Insomnia exposes request, response, and variable objects within its script environment via the `insomnia` object for seamless integration and automation.

- Tags: internals
- Published: 2026-06-22

### [Insomnia Git Sync Architecture: How Kong/insomnia Implements Version Control](/Kong/insomnia/insomnia-git-sync-vcs-architecture)

Explore Insomnia Git sync architecture. Learn how Kong/insomnia uses isomorphic-git and a pluggable file system for seamless API collection version control.

- Tags: architecture
- Published: 2026-06-22

### [How Insomnia Implements the Model Context Protocol (MCP): A Technical Deep Dive](/Kong/insomnia/insomnia-model-context-protocol-mcp)

Explore Insomnia's Model Context Protocol implementation. Discover how its layered architecture connects HTTP requests to MCP servers for real-time execution and management.

- Tags: deep-dive
- Published: 2026-06-22

### [How End-to-End Encryption Is Implemented in Insomnia's Cloud Sync Using Vault](/Kong/insomnia/insomnia-e2e-encryption-cloud-sync-vault)

Learn how Insomnia implements end-to-end encryption for cloud sync using Vault. Discover how your secrets stay secure with client-side AES-GCM encryption and local decryption.

- Tags: deep-dive
- Published: 2026-06-22

### [Security Aspects of Insomnia's Inter-Process Communication (IPC): A Technical Deep Dive](/Kong/insomnia/insomnia-ipc-security)

Explore the security aspects of Insomnia's Inter-Process Communication. Learn how defense-in-depth strategies like channel whitelisting and sandboxing protect your data.

- Tags: deep-dive
- Published: 2026-06-22

### [How Insomnia Uses NeDB for Its Database Layer and Data Synchronization](/Kong/insomnia/insomnia-nedb-database-synchronization)

Discover how Insomnia leverages NeDB for its database layer, ensuring efficient data synchronization for local use and Git collaboration through batched mutations and a typed buffer layer.

- Tags: internals
- Published: 2026-06-22

### [Insomnia's Architecture for WebSocket and Socket.IO Clients: An Electron IPC Deep Dive](/Kong/insomnia/insomnia-websocket-socketio-architecture)

Explore Insomnia's architecture for WebSocket and Socket.IO clients. Learn how its Electron IPC bridge facilitates type-safe real-time communication for React renderers, mirroring HTTP models.

- Tags: architecture
- Published: 2026-06-22

### [How Insomnia Manages OAuth 2.0 Token Refresh and Storage: A Technical Deep Dive](/Kong/insomnia/insomnia-oauth2-token-refresh-storage)

Learn how Insomnia handles OAuth 2.0 token refresh and storage using its embedded NeDB database and automatic refresh grants. Explore the technical implementation details.

- Tags: deep-dive
- Published: 2026-06-22

### [Data Model Hierarchy in Insomnia: From Organization to Request](/Kong/insomnia/what-is-the-data-model-hierarchy-in-insomnia)

Understand the Insomnia data model hierarchy, from Organization down to Request. Learn how Insomnia organizes your API development data for efficient workflow.

- Tags: internals
- Published: 2026-06-21

### [How Insomnia Imports OpenAPI 3.0 Specifications: Complete Technical Guide](/Kong/insomnia/how-does-insomnia-export-openapi-specifications)

Learn how Insomnia imports OpenAPI 3.0 specifications. This guide details the multi-stage pipeline that parses, validates, and maps your API specs into Insomnia entities.

- Tags: how-to-guide
- Published: 2026-06-21

### [How Does Insomnia Import OpenAPI Specifications? A Deep Dive into the Kong/insomnia Source Code](/Kong/insomnia/how-does-insomnia-import-openapi-specifications)

Learn how Insomnia imports OpenAPI specifications by exploring its source code. Discover the conversion pipeline that parses, validates, and transforms specs for your workspaces.

- Tags: deep-dive
- Published: 2026-06-21

### [Insomnia Plugin System API: A Complete Guide to Extending Kong's API Client](/Kong/insomnia/what-is-the-insomnia-plugin-system-api)

Explore the Insomnia plugin system API to extend Kong's API client. Learn how to create template tags, request hooks, UI actions, and themes with this comprehensive guide.

- Tags: deep-dive
- Published: 2026-06-21

### [How Insomnia Handles Socket.IO Connections: Architecture and Implementation](/Kong/insomnia/how-does-insomnia-handle-socket-io-connections)

Discover how Insomnia handles Socket.IO connections. Learn about its architecture: running socket.io-client in the Electron main process and using IPC for UI communication.

- Tags: architecture
- Published: 2026-06-21

### [How Insomnia Handles WebSocket Connections: Architecture and Implementation](/Kong/insomnia/how-does-insomnia-handle-websocket-connections)

Discover how Insomnia manages WebSocket connections in its Electron main process. Learn about event persistence and real-time UI updates via IPC for seamless development.

- Tags: architecture
- Published: 2026-06-21

### [How Insomnia Parses Proto Files for gRPC: A Complete Technical Guide](/Kong/insomnia/how-does-insomnia-parse-proto-files-for-grpc)

Learn how Insomnia parses proto files for gRPC. Discover how it loads service definitions and converts descriptors for UI display using @grpc/proto-loader.

- Tags: deep-dive
- Published: 2026-06-21

### [Insomnia Request Execution Engine Architecture: A Deep Dive into the Network Pipeline](/Kong/insomnia/what-is-the-architecture-of-insomnia-s-request-execution-engine)

Explore Insomnia's request execution engine architecture. Discover how it orchestrates data gathering, rendering, scripting, and network transport across processes leveraging libcurl.

- Tags: architecture
- Published: 2026-06-21

### [How Insomnia Manages SSL Verification for HTTP, WebSocket, and gRPC Requests](/Kong/insomnia/how-does-insomnia-manage-ssl-verification-for-requests)

Learn how Insomnia manages SSL verification for HTTP, WebSocket, and gRPC requests. Understand centralized settings and default security practices for secure API testing.

- Tags: internals
- Published: 2026-06-21

### [How Insomnia Handles Client Certificates for Requests: The Complete Technical Guide](/Kong/insomnia/how-does-insomnia-handle-client-certificates-for-requests)

Learn how Insomnia handles client certificates for requests using mutual TLS. Discover runtime merging, filtering, and attachment for secure API interactions. Read the technical guide.

- Tags: deep-dive
- Published: 2026-06-21

### [Insomnia's Electron IPC Communication Structure: A Three-Layer Type-Safe Architecture](/Kong/insomnia/what-is-the-structure-of-insomnia-s-electron-ipc-communication)

Explore Insomnia's Electron IPC communication structure, a type-safe three-layer architecture using channel definitions, main process registration, and a renderer-side façade for seamless main process access.

- Tags: architecture
- Published: 2026-06-21

### [Insomnia Environment Variable Priority Order: Complete Guide to Variable Precedence](/Kong/insomnia/what-is-the-priority-order-for-insomnia-environment-variables)

Understand the Insomnia environment variable priority order. Learn how Insomnia merges variables from Root Global to Transient Variables to avoid conflicts and ensure correct values.

- Tags: how-to-guide
- Published: 2026-06-21

### [How Insomnia Handles Environment Variable Substitution: A Deep Dive into the Rendering Pipeline](/Kong/insomnia/how-does-insomnia-handle-environment-variable-substitution)

Discover how Insomnia handles environment variable substitution through its render pipeline. Learn about hierarchical contexts and Nunjucks templating for dynamic API requests.

- Tags: deep-dive
- Published: 2026-06-21

### [Insomnia Nunjucks Templating Web Workers Architecture: Secure Liquid Engine Sandboxing](/Kong/insomnia/what-is-the-architecture-of-insomnia-s-nunjucks-templating-in-web-workers)

Explore Insomnia's Nunjucks templating architecture. Discover how Web Workers and Liquid engine sandboxing secure template execution, isolating it from the Electron renderer.

- Tags: architecture
- Published: 2026-06-21

### [How After-Response Scripts Are Executed in Insomnia: A Deep Dive into the Kong Source Code](/Kong/insomnia/how-are-after-response-scripts-executed-in-insomnia)

Discover how After-Response Scripts execute in Insomnia. Explore the Kong source code to understand script execution, sandboxing, and environment persistence.

- Tags: deep-dive
- Published: 2026-06-21

### [How Pre-Request Scripts Are Executed in Insomnia: A Complete Technical Guide](/Kong/insomnia/how-are-pre-request-scripts-executed-in-insomnia)

Learn how Insomnia executes pre-request scripts in a secure Node.js environment. Discover how scripts modify requests, environments, and vault data before sending.

- Tags: deep-dive
- Published: 2026-06-21

### [How Insomnia Cloud Sync (Konnect) Implements End-to-End Encryption](/Kong/insomnia/how-does-insomnia-s-cloud-sync-konnect-implement-end-to-end-encryption)

Discover how Insomnia Cloud Sync achieves end-to-end encryption. Learn about local key generation, OS secure storage, and data protection before it leaves your device.

- Tags: internals
- Published: 2026-06-21

### [How Insomnia Git Sync Conflict Resolution Works: A Deep Dive into the Implementation](/Kong/insomnia/how-does-insomnia-handle-git-sync-conflict-resolution)

Understand Insomnia Git Sync conflict resolution. Learn how Insomnia resolves non-YAML files and presents YAML conflicts for user selection before finalizing merges. Read now.

- Tags: deep-dive
- Published: 2026-06-21

### [Insomnia Git Sync Feature Architecture: A Deep Dive into the Implementation](/Kong/insomnia/what-is-the-architecture-of-insomnia-s-git-sync-feature)

Explore the Insomnia Git Sync feature architecture. Discover how it uses isomorphic-git, pluggable filesystem abstraction, auth adapters, and intelligent diff detection to version-control API collections.

- Tags: architecture
- Published: 2026-06-21

### [How Secrets Are Encrypted in Insomnia Using Vault: A Complete Technical Guide](/Kong/insomnia/how-are-secrets-encrypted-in-insomnia-using-vault)

Discover how Insomnia encrypts secrets using Vault. Learn about client-side AES-256-GCM vault keys and Electron safeStorage for secure data at rest in this technical guide.

- Tags: deep-dive
- Published: 2026-06-21

### [How Insomnia's NeDB Database Schema Works: A Technical Deep Dive](/Kong/insomnia/how-does-insomnia-s-nedb-database-schema-work)

Explore Insomnia's NeDB database schema. Discover how data is stored in .db files, the document structure, and automatic validation via initModel().

- Tags: deep-dive
- Published: 2026-06-21

### [How Insomnia Manages Workspace-Level Settings and Collection Organization](/Kong/insomnia/how-are-workspace-level-settings-and-collection-organization-managed-in-insomnia)

Discover how Insomnia manages workspace settings and collection organization using its NeDB database. Learn about scope discriminators, settings documents, and parentId hierarchies for seamless management.

- Tags: internals
- Published: 2026-06-20

### [How Insomnia Manages Large Response Bodies and Memory: Threshold-Based Streaming](/Kong/insomnia/what-strategies-does-insomnia-use-for-managing-large-response-bodies-and-memory)

Discover how Insomnia handles large response bodies & memory using threshold based streaming, preventing heap exhaustion by saving large payloads to disk.

- Tags: internals
- Published: 2026-06-20

### [How to Debug Insomnia Plugin Issues: A Complete Developer Guide](/Kong/insomnia/how-can-developers-debug-insomnia-plugin-issues)

Learn to debug Insomnia plugin issues! Enable logging, reload plugins from DevTools, and monitor IPC messages for a smooth developer experience. Your complete guide.

- Tags: how-to-guide
- Published: 2026-06-20

### [How Insomnia Handles Environment Variable Inheritance and Overrides](/Kong/insomnia/how-does-insomnia-handle-environment-variable-inheritance-and-overrides)

Learn how Insomnia handles environment variable inheritance and overrides. Discover the top-down cascade where base environments define defaults and sub-environments override specific keys. The most specific definition always w...

- Tags: internals
- Published: 2026-06-20

### [How Insomnia's Electron Main and Renderer Processes Communicate: IPC Architecture Explained](/Kong/insomnia/how-do-insomnias-electron-main-and-renderer-processes-communicate)

Discover how Insomnia's Electron main and renderer processes communicate. Learn about the preload script bridge, window.main API, and secure IPC messaging using ipcRenderer and ipcMain.

- Tags: internals
- Published: 2026-06-20

### [How Insomnia Manages Large Request/Response Payloads and Streaming](/Kong/insomnia/how-does-insomnia-manage-large-request-response-payloads-and-streaming)

Learn how Insomnia manages large request response payloads and streaming by using filesystem streaming and temporary file pipes to prevent heap exhaustion. Discover efficient data handling.

- Tags: internals
- Published: 2026-06-20

### [Insomnia Testing Frameworks: Vitest for Unit Tests and Playwright for E2E](/Kong/insomnia/what-testing-frameworks-does-insomnia-use)

Discover how Insomnia leverages Vitest for unit and integration tests, and Playwright for robust end-to-end testing of its Electron application. Optimize your Insomnia testing.

- Tags: testing
- Published: 2026-06-20

### [How Insomnia Implements the Model Context Protocol (MCP) for AI Integration](/Kong/insomnia/how-does-insomnia-implement-the-model-context-protocol-for-ai-integration)

Explore how Insomnia integrates AI using the Model Context Protocol. Discover its layered architecture for transport handlers, connection contexts, and IPC bridges within the desktop application.

- Tags: internals
- Published: 2026-06-20

### [Architecture of Insomnia's Electron Application: Main Process, Preload Bridge, and React Renderer](/Kong/insomnia/what-is-the-architecture-of-insomnias-electron-application)

Discover the secure three-layer architecture of Insomnia's Electron app. Learn about its Node.js main process, preload bridge, and React renderer for robust UI and operations.

- Tags: architecture
- Published: 2026-06-20

### [How Insomnia Handles SSL/TLS Certificates and Client Certificates: A Deep Dive into the Kong/insomnia Source Code](/Kong/insomnia/how-does-insomnia-handle-ssl-tls-certificates-including-client-certificates)

Explore how Insomnia handles SSL/TLS and client certificates by diving into its source code. Understand the data models, UI, and network execution for secure API testing.

- Tags: deep-dive
- Published: 2026-06-20

### [How Mock Server Functionality Works in Insomnia: Architecture and Implementation](/Kong/insomnia/how-does-the-mock-server-functionality-work-in-insomnia)

Discover how Insomnia's mock server works. Explore its three-tier architecture, NeDB, CRUD operations, and Electron IPC for dynamic protobuf responses, supporting local and cloud deployment.

- Tags: architecture
- Published: 2026-06-20

### [How Insomnia Handles gRPC Requests and Protocol Buffers: A Complete Technical Guide](/Kong/insomnia/how-does-insomnia-handle-grpc-requests-and-protocol-buffers)

Learn how Insomnia handles gRPC requests and Protocol Buffers using grpc-js, proto-loader, and reflection in a four-stage pipeline for efficient RPC execution. Master gRPC testing today.

- Tags: deep-dive
- Published: 2026-06-20

### [How Insomnia Handles WebSocket and Socket.IO Requests Compared to REST: A Technical Deep Dive](/Kong/insomnia/what-is-the-difference-in-handling-websocket-and-socket-io-requests-compared-to-rest)

Explore how Insomnia handles WebSocket and Socket.IO requests versus REST. Understand distinct networking primitives, connection lifecycles, and event models for efficient API testing.

- Tags: deep-dive
- Published: 2026-06-20

### [How to Use the Inso CLI for CI/CD Pipelines in Insomnia](/Kong/insomnia/how-can-the-inso-cli-be-used-for-ci-cd-pipelines-in-insomnia)

Automate your Insomnia API testing in CI/CD pipelines with the Inso CLI. Learn how the --ci flag streamlines headless environments like GitHub Actions and GitLab CI for efficient testing.

- Tags: how-to-guide
- Published: 2026-06-20

### [How Insomnia Uses NeDB for Local Storage and Data Persistence](/Kong/insomnia/how-is-nedb-used-for-local-storage-and-data-persistence-in-insomnia)

Discover how Insomnia leverages NeDB for efficient local storage and data persistence. Learn about its embedded database and CRUD operations within the Electron app.

- Tags: internals
- Published: 2026-06-20

### [Authentication Methods in Insomnia: OAuth2, API Keys, and 11 More Supported Schemes](/Kong/insomnia/what-authentication-methods-does-insomnia-support)

Explore Insomnia's 13 authentication methods, including OAuth2 and API keys. Seamlessly secure your API requests with built-in support for diverse schemes.

- Tags: deep-dive
- Published: 2026-06-20

### [How Insomnia's Request Execution Engine Handles GraphQL, WebSocket, and gRPC](/Kong/insomnia/how-does-insomnias-request-execution-engine-handle-various-protocols)

Discover how Insomnia's request engine seamlessly manages GraphQL, WebSocket, and gRPC. Learn about its unified pipeline and protocol-specific modules for efficient API development.

- Tags: internals
- Published: 2026-06-20

### [How Insomnia Encrypts Sensitive Data Using AES-GCM in Its Vault](/Kong/insomnia/how-does-insomnia-encrypt-sensitive-data-using-aes-gcm-in-its-vault)

Learn how Insomnia encrypts sensitive data with AES-256-GCM. Discover its secure vault key generation and storage using the Web Crypto API and Electron's secret storage.

- Tags: internals
- Published: 2026-06-20

### [Data Model Hierarchy in Insomnia: From Organization to Request](/Kong/insomnia/what-is-the-data-model-hierarchy-in-insomnia-organization-to-request)

Explore Insomnia's data model hierarchy: Organization, Project, Workspace, Environment, Cookie Jar, Request Group, and Request. Understand how data is organized for efficiency.

- Tags: internals
- Published: 2026-06-20

### [How Git Sync Works in Insomnia: Architecture and Conflict Resolution](/Kong/insomnia/how-does-git-sync-function-in-insomnia-including-conflict-resolution)

Explore Insomnia Git Sync architecture using isomorphic-git. Learn how it manages API collections, detects conflicts, and offers a manual UI for YAML resolution.

- Tags: architecture
- Published: 2026-06-20

### [Insomnia Plugin System Architecture: A Deep Dive into the Three-Layer Design](/Kong/insomnia/what-is-the-architecture-of-insomnias-plugin-system)

Explore Insomnia's plugin system architecture featuring a three-layer design. Discover how this system enables template tags, request hooks, and themes in a sandboxed environment.

- Tags: architecture
- Published: 2026-06-20

### [How Insomnia Uses Nunjucks for Environment Variable Substitution in Requests](/Kong/insomnia/how-insomnia-uses-nunjucks-for-environment-variable-substitution-in-requests)

Discover how Insomnia leverages Nunjucks for environment variable substitution. Learn how it renders request components in a sandbox for secure and dynamic API interactions.

- Tags: internals
- Published: 2026-06-20

