Codefresh Environments V2 API

environments v2

Operations 35

GET /gitops/filters Get application filter values #
POST /environments-v2 Create environment #
GET /environments-v2 List of environments #
GET /environments-v2/activity/{id} List of envs by activity id #
GET /environments-v2/{name}/kubernetes/statistic Get summary #
POST /environments-v2/argo/metadata Update argocd activity metadata #
GET /environments-v2/{name} Get enviroment #
PUT /environments-v2/{name} Replace environment #
DELETE /environments-v2/{name} Delete environment #
PUT /environments-v2/{name}/update Patch environment #
POST /environments-v2/{name}/reset/new Replace environment #
GET /environments-v2/{name}/chart Get environment argo chart #
PUT /environments-v2/{environmentName}/activity/{activityName} Update environments-v2 activity by name #
POST /environments-v2/{name}/rollback Rollback argo environment #
POST /gitops/argocd/{name}/rollbackToStable Rollback argo environment to stable version #
GET /environments-v2/{name}/filters Get #
POST /environments-v2/argo/provision Provision argo applications #
POST /argo Create #
GET /argo Get environments-v2 integrations #
GET /argo/{name} Get environments-v2 integration by name #
PUT /argo/{name} Update environments-v2 integration by name #
PATCH /argo/{name} Patch environments-v2 integration by name #
DELETE /argo/{name} Delete environments-v2 integration by name #
GET /argo/resources/{integrationName}/{type} Get argo resources by integration name and type #
POST /argo-agent/{integrationName} Store argo state by integration name #
POST /gitops/system/events Send system event about gitops #
GET /gitops/environment/{environmentId}/resources Get resources list for activity #
POST /argo-agent/{integrationName}/heartbeat Heart beat for integration #
POST /argo-runtime Argo runtime creation #
DELETE /argo-runtime/{name} Argo runtime deletion #
GET /argo-runtime/{name}/storeKey Get argo-runtime public store key #
GET /argo-runtime/users Get the users defined on the active account #
GET /argo-runtime/adminUsers Get the admin users defined on the active account #
POST /argo-runtime/csdpSettings update the csdp settings (gitProvider, gitApiUrl, sharedConfigRepo) #
POST /argo-runtime/markCsdpSettingsAsValidated marks the csdp settings (gitProvider, gitApiUrl, sharedConfigRepo) as validated… #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/codefresh:codefresh-environments-v2-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

codefresh-environments-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Codefresh
    url: https://www.codefresh.io
  description: Codefresh API openAPI 3.0 specification
  termsOfService: https://codefresh.io/docs/docs/terms-and-privacy-policy/terms-of-service/
  title: Codefresh Environments V2 API
  version: 0.0.2
  x-logo:
    url: https://g.codefresh.io/modules/cf.resources/codefresh-api-docs-images/codefresh-logo-api.svg
    backgroundColor: '#FFFFFF'
    altText: Codefresh
servers:
- url: https://g.codefresh.io/api
security:
- API-key: []
tags:


# --- truncated at 32 KB (174 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/codefresh/refs/heads/main/openapi/codefresh-environments-v2-api-openapi.yml