Get environment
Changed onGet one environment with its settings and what the caller can do in it.
Required permission: environments.view.
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
ID of the project the API key belongs to.
Environment ID from GET /environments.
Response
Successful Response
Project the environment belongs to.
URL-safe identifier derived from name, unique within the project.
Git branch this environment deploys from. Null when deployments come from CLI uploads.
Whether the environment is active. Git pushes and pull request tests only target active environments.
Whether this is the project's default environment. A project has exactly one.
standard for regular environments, test for dev environments created by connic dev.
True for dev environments that are deleted when their connic dev session ends.
Environment the test suite runs in for deploy gate and pull request tests. Null runs the tests in this environment.
Whether the test suite runs for pull requests that target git_branch.
Whether deployments run the test suite before activating. A failing case stops the deployment.
Whether deploy gate and pull request tests skip test cases that already passed in this environment and depend on nothing that changed since.
Days a passing test case result can be reused. Null reuses it regardless of age.
How long run data is kept, in seconds. Null applies the plan's default retention.
Longest retention the project's plan allows, in seconds. Null means no limit.
How many days a link an agent creates to share a file keeps working.
Dot-separated JSON paths whose values are replaced with [REDACTED] in stored run data, traces and connector logs. A leading * matches at any depth, as in *.password.
Permission groups whose members can deploy to this environment manually. Null allows everyone with deploy permission; an empty list allows only the project owner.
Permission groups whose members can copy from this environment into other environments. Null allows everyone; an empty list allows only the project owner.
Whether the caller can use this environment as a copy source. Always false for dev environments.
Whether the caller can deploy to this environment manually.
Whether the caller can run a connic dev session in this environment. Only dev environments allow it.
Always null, because deleted environments are not returned.
Changes
- info
added the required property
changed_tests_max_age_daysto the response with the status - info
added the required property
changed_tests_onlyto the response with the status
- info
- info
added the required property
file_share_link_daysto the response with the status
- info