List deployments
Changed onReturns all deployments in the environment, newest first, each with its number of failed test cases.
Required permission: deployments.view.
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
ID of the project the API key belongs to.
Query parameters
Environment to list deployments for.
Response
Successful Response
Project the deployment belongs to.
Environment the deployment belongs to.
Git commit or ref that was built. null for CLI uploads.
git for builds from the connected repository, cli_upload for code uploaded with the CLI.
Lifecycle state of the build. A deployed deployment serves traffic only while is_active is true.
Whether this deployment currently serves the environment.
JSON-encoded array with the configuration of each agent found in the code. [] until the build discovers agents.
Number of agents in the deployment.
Number of distinct tools referenced by the agents.
Number of middleware modules found.
Number of distinct guardrail types used by the agents.
Build and activation log output. null until the build writes output.
Why the deployment failed, such as a validation error or failing deploy-gate tests. null unless status is failed.
When the build started. null while pending.
When the deployment finished, failed or was cancelled.
When the test phase started. null if it has not run.
When activation started. null if it has not started.
Result of the deploy-gate test phase. null when tests have not run or the code has no tests.
Whether the deploy-gate test phase was skipped for this deployment.
Whether connic started this deployment on the project's behalf.
deploy for a regular deployment, dev_session for code synced by connic dev, test_run for a build that only runs tests, app_publish for an app instance an agent published that was blocked.
Current phase: building, testing, deploying, active or done. null before the build starts.
Result of applying the connectors declared in code: applied, partial when some failed and kept their previous state, or failed. null until connectors are applied.
Whether connectors declared in code that fail to apply keep their previous state instead of failing the deployment.
Number of test cases that failed in the deploy-gate test phase.
Changes
- warning
added the new
app_publishenum value to theitems/kindresponse property for the response status
- warning
- info
added the optional property
items/errorto the response with the status
- info