sandbox-environments
sandbox_environments

API for managing sandbox environments that control network access for task runs.

get/api/projects/{project_id}/sandbox_environments/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/sandbox_environments/{id}/
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required
project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

idstring uuid required
namestring required
network_access_levelstring required
allowed_domainsstring[]
include_default_domainsboolean required
repositoriesstring[]
has_environment_variablesboolean

Whether any environment variables are set on this environment.

environment_variable_keysstring[]

Names of the environment variables that are set, sorted. Values are write-only and never returned.

privateboolean required
internalboolean required
effective_domainsstring[]
created_atstring date-time nullable
updated_atstring date-time nullable
custom_image_idstring uuid nullable
custom_image_namestring nullable
custom_image_statusstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.