PostHog · Schema

SandboxEnvironment

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
name string
network_access_level object
allowed_domains array List of allowed domains for custom network access
include_default_domains boolean Whether to include default trusted domains (GitHub, npm, PyPI)
repositories array List of repositories this environment applies to (format: org/repo)
environment_variables object Encrypted environment variables (write-only, never returned in responses)
has_environment_variables boolean Whether this environment has any environment variables set
private boolean If true, only the creator can see this environment. Otherwise visible to whole team.
internal boolean If true, this environment is for internal use (e.g. signals pipeline) and should not be exposed to end users.
effective_domains array Computed domain allowlist based on network_access_level and allowed_domains
created_by object
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

posthog-sandboxenvironment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SandboxEnvironment",
  "title": "SandboxEnvironment",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "network_access_level": {
      "$ref": "#/components/schemas/NetworkAccessLevelEnum"
    },
    "allowed_domains": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 255
      },
      "description": "List of allowed domains for custom network access"
    },
    "include_default_domains": {
      "type": "boolean",
      "description": "Whether to include default trusted domains (GitHub, npm, PyPI)"
    },
    "repositories": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 255
      },
      "description": "List of repositories this environment applies to (format: org/repo)"
    },
    "environment_variables": {
      "writeOnly": true,
      "description": "Encrypted environment variables (write-only, never returned in responses)"
    },
    "has_environment_variables": {
      "type": "boolean",
      "readOnly": true,
      "description": "Whether this environment has any environment variables set"
    },
    "private": {
      "type": "boolean",
      "description": "If true, only the creator can see this environment. Otherwise visible to whole team."
    },
    "internal": {
      "type": "boolean",
      "readOnly": true,
      "description": "If true, this environment is for internal use (e.g. signals pipeline) and should not be exposed to end users."
    },
    "effective_domains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "readOnly": true,
      "description": "Computed domain allowlist based on network_access_level and allowed_domains"
    },
    "created_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasic"
        }
      ],
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  },
  "required": [
    "created_at",
    "created_by",
    "effective_domains",
    "has_environment_variables",
    "id",
    "internal",
    "name",
    "updated_at"
  ]
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/posthog-sandboxenvironment"
All schemas
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.