dockPI
← Back

CI/CD Automation

CircleCI API

The CircleCI API enables developers to interact with projects, pipelines, workflows, jobs, artifacts, and selected organization resources. It supports automated build execution, CI/CD monitoring, and integrations between CircleCI and external development systems.

Key features

  • Trigger pipelines programmatically using supported pipeline endpoints.
  • Retrieve pipeline and workflow execution information.
  • Inspect jobs and their execution status.
  • Retrieve build artifacts and associated metadata.
  • Manage supported project and organization resources.
  • Access workflow and pipeline information for reporting.
  • Integrate CI/CD events with external systems through supported webhooks.
  • Automate development workflows using authenticated API requests.

Pricing

  • CircleCI offers a Free plan with limited included build resources and paid cloud plans with usage-based compute and credit allowances. API requests are generally not billed as a standalone per-call product. Pipeline execution consumes applicable compute resources and credits, while additional costs may apply for resource classes, storage, network usage, and other metered capabilities. Self-hosted runner infrastructure can introduce separate operational costs. Exact credits and plan allowances depend on the current offering. Pricing: https://circleci.com/pricing/

Best use cases

  • Triggering builds from external applications.
  • Building deployment and pipeline dashboards.
  • Automating continuous integration workflows.
  • Monitoring build failures and workflow status.
  • Retrieving CI/CD artifacts for internal systems.
  • Connecting CI/CD activity with developer productivity platforms.

Authentication method

CircleCI API v2 commonly supports personal API tokens supplied through the Circle-Token header. Some integrations can use project-specific tokens or other endpoint-specific authentication mechanisms. Access is determined by project permissions and account configuration. Webhook endpoints support signature verification using the configured webhook signing secret and CircleCI signature headers.

Similar APIs