# Codefresh Pipelines API

**Canonical:** https://apis.io/apis/codefresh/codefresh-pipelines-api/  
**Provider:** Codefresh — https://apis.io/providers/codefresh/  
**Base URL:** https://g.codefresh.io/api  
**Documentation:** https://g.codefresh.io/api/

Codefresh Pipelines API is one of 64 APIs that [Codefresh](https://apis.io/providers/codefresh/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Pipelines. The published artifact set on APIs.io includes an OpenAPI specification.

pipelines

## Operations (29)

| Method | Path | Summary |
|---|---|---|
| POST | `/pipelines` | Create a pipeline |
| GET | `/pipelines` | List pipelines |
| POST | `/pipelines/templates/{name}` | Create template from pipeline |
| POST | `/pipelines/templates/{name}/setAsTemplate` | Set pipeline as template |
| GET | `/pipelines/templates` | Get pipeline templates |
| GET | `/pipelines/exist` | At least one pipeline exist in account |
| GET | `/pipelines/labels` | Get pipelines labels |
| GET | `/pipelines/labels/{label}` | Get by label - value array |
| GET | `/pipelines/names` | Get pipelines |
| GET | `/pipelines/utils/extractVariables` | Extract variables from yaml |
| POST | `/pipelines/run` | Run pipeline |
| POST | `/pipelines/run/{name}` | Run pipeline by ID / name |
| POST | `/pipelines/debug/{name}` | Run pipeline in debug mode |
| POST | `/pipelines/yaml/validator` | Validate yaml |
| GET | `/pipelines/yaml/test-url` | Test yaml from url |
| GET | `/pipelines/templates/deploy-images` | Get deploy images |
| PUT | `/pipelines/clone/variables/{name}/{originPipelineName}` | Clone variables |
| GET | `/pipelines/projects/all` | Test yaml from url |
| POST | `/pipelines/{name}` | Create pipeline from template |
| GET | `/pipelines/{name}` | Get pipeline data from the account by name or id |
| PUT | `/pipelines/{name}` | Replace a pipeline by ID or name |
| DELETE | `/pipelines/{name}` | Delete a pipeline by ID or name |
| GET | `/pipelines/{name}/project-vars` | Get pipeline project variables from the account by name or id |
| PATCH | `/pipelines/{name}/execution-context` | Assign a pipeline execution context by ID or name and param body |
| DELETE | `/pipelines/{name}/execution-context` | Unassign a pipeline execution context by ID or name |
| GET | `/pipelines/{name}/preview-run-input` | Get a preview of input (variables and options) for a pipeline execution |
| POST | `/pipelines/{name}/triggers/{triggerId}/verify` | Verify pipeline trigger |
| GET | `/pipelines/{name}/extractVariables` | Extract variables |
| GET | `/pipelines/{name}/volume-image` | Get volume image |

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/codefresh/refs/heads/main/openapi/codefresh-pipelines-api-openapi.yml

## Other Codefresh APIs (12)

- [Codefresh REST API](https://apis.io/apis/codefresh/rest-api/)
- [Codefresh Accounts API](https://apis.io/apis/codefresh/codefresh-accounts-api/)
- [Codefresh Annotations API](https://apis.io/apis/codefresh/codefresh-annotations-api/)
- [Codefresh Audit API](https://apis.io/apis/codefresh/codefresh-audit-api/)
- [Codefresh Builds API](https://apis.io/apis/codefresh/codefresh-builds-api/)
- [Codefresh Clusters API](https://apis.io/apis/codefresh/codefresh-clusters-api/)
- [Codefresh Contexts API](https://apis.io/apis/codefresh/codefresh-contexts-api/)
- [Codefresh Environments API](https://apis.io/apis/codefresh/codefresh-environments-api/)
- [Codefresh Features API](https://apis.io/apis/codefresh/codefresh-features-api/)
- [Codefresh Helm API](https://apis.io/apis/codefresh/codefresh-helm-api/)
- [Codefresh Abac API](https://apis.io/apis/codefresh/codefresh-abac-api/)
- [Codefresh Account API](https://apis.io/apis/codefresh/codefresh-account-api/)

## Tags

Pipelines

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/codefresh/codefresh-pipelines-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/codefresh/.
