Insomnia Environment
An Insomnia environment stores key-value pairs of variables that can be referenced in requests using template tags. Environments allow switching between different configurations such as development, staging, and production without modifying individual requests.
Properties
| Name | Type | Description |
|---|---|---|
| _id | string | Unique identifier for the environment, typically prefixed with env_. |
| name | string | Human-readable name of the environment (e.g., Development, Staging, Production). |
| data | object | Key-value pairs of environment variables available for template tag substitution in requests. |
| dataPropertyOrder | objectnull | Defines the display order of data properties in the UI. |
| color | stringnull | Optional color code for visual identification of the environment in the UI. |
| parentId | string | Identifier of the parent workspace or base environment. |
| metaSortKey | integer | Sort key used for ordering environments in the UI. |
| isPrivate | boolean | Whether the environment is private and excluded from cloud sync and Git storage. Useful for storing secrets locally. |
| created | integer | Unix timestamp in milliseconds when the environment was created. |
| modified | integer | Unix timestamp in milliseconds when the environment was last modified. |
| _type | string | The resource type identifier. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/insomnia/refs/heads/main/json-schema/environment.json",
"title": "Insomnia Environment",
"description": "An Insomnia environment stores key-value pairs of variables that can be referenced in requests using template tags. Environments allow switching between different configurations such as development, staging, and production without modifying individual requests.",
"type": "object",
"properties": {
"_id": {
"type": "string",
"description": "Unique identifier for the environment, typically prefixed with env_."
},
"name": {
"type": "string",
"description": "Human-readable name of the environment (e.g., Development, Staging, Production)."
},
"data": {
"type": "object",
"description": "Key-value pairs of environment variables available for template tag substitution in requests.",
"additionalProperties": {
"description": "Environment variable value, which can be a string, number, boolean, object, or array."
}
},
"dataPropertyOrder": {
"type": ["object", "null"],
"description": "Defines the display order of data properties in the UI.",
"properties": {
"&": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ordered list of property keys."
}
}
},
"color": {
"type": ["string", "null"],
"description": "Optional color code for visual identification of the environment in the UI."
},
"parentId": {
"type": "string",
"description": "Identifier of the parent workspace or base environment."
},
"metaSortKey": {
"type": "integer",
"description": "Sort key used for ordering environments in the UI."
},
"isPrivate": {
"type": "boolean",
"description": "Whether the environment is private and excluded from cloud sync and Git storage. Useful for storing secrets locally.",
"default": false
},
"created": {
"type": "integer",
"description": "Unix timestamp in milliseconds when the environment was created."
},
"modified": {
"type": "integer",
"description": "Unix timestamp in milliseconds when the environment was last modified."
},
"_type": {
"type": "string",
"const": "environment",
"description": "The resource type identifier."
}
},
"required": ["_id", "name", "data", "parentId", "_type"],
"additionalProperties": true
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/environment"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.