Product

How Jentic Works

From API assessment to production deployment in four simple steps.

Product Overview

PLATFORM

Jentic OneSelf-hosted, open-source control plane between your agents and any APIAPI DirectoryBrowse 10,000+ APIs ready for AI agent integrationAPI ScorecardAssess your APIs for AI-readiness with automated scoringAgentic SandboxSafely simulate AI agents with your production APIsJenticSign in to the Jentic web app

CAPABILITIES

IntegrationConnect AI agents to your existing systemsWorkflowsDiscover and capture successful agent workflowsGovernanceDefine, observe, and enforce AI policies

TOOLS

Arazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually
Pricing
Developers

GET STARTED

DocumentationGuides and API referenceQuickstartGet up and running in minutes

COMMUNITY

GitHubOpen source projects and examples
Resources
BlogLatest articles and insightsPress & MediaBrand assets and press contactOpen StandardsBuilt on open specs. Never locked in.NewsletterAPIs, AI agents, mixed with architecture and strategy.
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Install Jentic OneBook a Demo
How Jentic WorksJentic OneAPI DirectoryAPI ScorecardAgentic SandboxJenticIntegrationWorkflowsGovernanceArazzo UIArazzo Editor
Pricing
DocumentationQuickstartGitHub
BlogPress & MediaOpen StandardsNewsletter
About UsCareersContact
Request a demoInstall Jentic One
Jentic
For Enterprises
  • Product Overview
  • Agentic Sandbox
  • Book a Demo
For Developers
  • Jentic One
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
ISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic. All rights reserved.
APIs / Developer Tools / CircleCI REST API
CircleCI REST API logo

CircleCI REST API

★ Only Publicly Available OpenAPI DocumentDeveloper ToolsCi CdapiKey22 EndpointsREST

For Agents

Trigger CI/CD builds, check pipeline status, retrieve test results and artifacts, and manage project environment variables on CircleCI. Covers 22 endpoints for build automation.

Use for: I need to trigger a build on a specific branch, I want to check the status of the latest build for a project, Retrieve the test results from a failed build, List all build artifacts for a specific build number

Not supported: Does not handle source control, container orchestration, or deployment infrastructure — use for CI/CD build triggering, status monitoring, and artifact retrieval only.

Trigger builds, inspect project pipelines, manage environment variables, and retrieve test results and build artifacts through CircleCI's REST API. Supports API token authentication passed as a query parameter for all 22 endpoints. Covers the core CI/CD loop from triggering branch-specific builds through artifact retrieval and SSH key management for deployment.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the CircleCI REST API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the CircleCI REST API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with CircleCI REST API.

Trigger builds on specific branches with custom parameters and environment variable overrides

Retrieve detailed build status including step-level timing and failure information

Download build artifacts by path for deployment pipelines and release workflows

Inspect test result metadata including failure messages and timing for flaky test detection

Configure project-level environment variables and SSH keys for secure deployments

Cancel running builds and retry failed builds with optional SSH debug access

List all followed projects with their most recent build status and default branch

Use Cases

Patterns agents use CircleCI REST API for, with concrete tasks.

★ AI Agent Build Monitoring and Triage

AI agents use the CircleCI API through Jentic to monitor build pipelines, detect failures, and triage issues automatically. An agent searches Jentic for 'check build status', receives the schema for GET /project/{username}/{project}/{build_num}, and reads step-level output to identify which stage failed. Agents can then retry transient failures or create tickets for real issues without human intervention.

Get the latest build for acme/backend on the main branch, check if it failed, retrieve the test results to identify failing tests, and retry if the failure was in a network-dependent step

Branch Build Triggering for Deploy Pipelines

Trigger builds on specific branches as part of automated deployment workflows. The API accepts branch parameters and returns build numbers for status tracking. Teams integrate this into ChatOps flows where a deploy command triggers a build, monitors progress, and reports back when deployment completes or fails.

Trigger a new build for acme/frontend on the release/v2.0 branch, poll the build status every 30 seconds until completion, then report the outcome

Test Result Analysis and Flaky Test Detection

Retrieve test metadata from builds to analyze failure patterns, identify flaky tests, and calculate test suite reliability metrics. The API returns test names, classnames, duration, and result status. Agents can aggregate results across multiple builds to detect intermittently failing tests that waste developer time.

Retrieve test results for the last 10 builds of acme/backend on main, identify any tests that failed in more than 2 of those builds, and report them as potentially flaky

Build Artifact Retrieval for Release Management

Download compiled artifacts, coverage reports, and deployment packages from successful builds. The API lists all artifacts by path with download URLs. Release automation pipelines use this to fetch the production build output after CI passes and deploy it to staging or production environments.

List all artifacts from the latest successful build of acme/cli on the main branch, find the binary matching linux-amd64, and return its download URL

Key Endpoints

22 endpoints — trigger builds, inspect project pipelines, manage environment variables, and retrieve test results and build artifacts through circleci's rest api.

METHOD

PATH

DESCRIPTION

POST

/project/{username}/{project}/tree/{branch}

Trigger a new build on a branch

GET

/project/{username}/{project}/{build_num}

Get build details by number

GET

/project/{username}/{project}/{build_num}/artifacts

List build artifacts

GET

/project/{username}/{project}/{build_num}/tests

Get test results for a build

POST

/project/{username}/{project}/{build_num}/cancel

Cancel a running build

POST

/project/{username}/{project}/{build_num}/retry

Retry a failed build

GET

/projects

List all followed projects

GET

/me

Get current user information

POST

/project/{username}/{project}/tree/{branch}

Trigger a new build on a branch

GET

/project/{username}/{project}/{build_num}

Get build details by number

GET

/project/{username}/{project}/{build_num}/artifacts

List build artifacts

GET

/project/{username}/{project}/{build_num}/tests

Get test results for a build

POST

/project/{username}/{project}/{build_num}/cancel

Cancel a running build

POST

/project/{username}/{project}/{build_num}/retry

Retry a failed build

GET

/projects

List all followed projects

GET

/me

Get current user information

Why Jentic?

Three things that make agents converge on Jentic-routed access.

Credential management

Credential isolation

CircleCI API tokens are stored encrypted in the Jentic vault (MAXsystem). Agents receive authenticated API access — the circle-token query parameter is injected automatically without the raw token entering the agent's context.

Intent-based discovery

Intent-based discovery

Agents search by intent (e.g., 'trigger a build' or 'get test results') and Jentic returns the matching CircleCI endpoint with parameter schemas, so the agent calls the correct operation without browsing CircleCI's documentation.

Time to first call

Time to first call

Direct CircleCI integration: 1-2 hours for token setup, endpoint discovery, and response parsing. Through Jentic: under 15 minutes — search, load schema, execute.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

GitHub v3 REST API

Source control platform whose repositories CircleCI builds and tests

Use GitHub API when you need to manage the source repository (PRs, branches, issues) that CircleCI builds from. Combine for full code-to-deploy automation.

Alternative

GitLab REST API

→

DevOps platform with built-in CI/CD that competes with CircleCI

Choose GitLab CI when the repository is hosted on GitLab and you want integrated source control + CI/CD in one platform instead of separate services.

Complementary

Linear API

→

Project management tool for tracking issues linked to CI builds

Use Linear when you need to create or update project issues based on build failures or deployment events from CircleCI.

FAQs

Specific to using CircleCI REST API through Jentic.

What authentication does the CircleCI REST API use?

The CircleCI API v1 uses an API token passed as a query parameter named circle-token. You generate personal API tokens from your CircleCI account settings. Through Jentic, the token is stored encrypted in the MAXsystem vault and appended to requests automatically — agents never see the raw token value. Project-level tokens offer more restricted access for CI-only automation.

How do I trigger a build through the CircleCI API via Jentic?

Search Jentic for 'trigger a circleci build', load the operation schema for POST /project/{username}/{project}/tree/{branch}, and execute with the target branch name. Jentic handles token injection via the circle-token query parameter. You can optionally pass build_parameters to set environment variables for that specific build. The response returns the build number for status tracking.

What are the rate limits for the CircleCI REST API?

CircleCI applies rate limiting on API requests but does not publish exact per-endpoint limits. The API returns HTTP 429 when limits are exceeded. For typical automation use cases (build triggers, status checks), the limits are generous enough that throttling rarely occurs. Polling for build status every 10-30 seconds is well within limits.

Can I retrieve test results from a CircleCI build?

Yes. Use GET /project/{username}/{project}/{build_num}/tests to retrieve test metadata for a completed build. The response includes test name, classname, file path, result (success/failure), run_time, and failure message. This requires that your build configuration stores test results in JUnit XML format using the store_test_results step.

How do I download build artifacts from CircleCI?

Use GET /project/{username}/{project}/{build_num}/artifacts to list all artifacts for a build. Each artifact entry includes the path, node_index, and a URL for downloading. Append your circle-token to the download URL as a query parameter. Through Jentic, authentication is handled automatically when accessing artifact URLs.

Is the CircleCI REST API free to use?

API access is included with all CircleCI plans including the Free tier. The Free plan provides 6000 build minutes per month for Linux and limited credits for other platforms. API calls themselves have no separate cost. Usage charges are based on compute minutes consumed by builds, not API request volume.

GET STARTED

Start building with CircleCI REST API

Explore with Jentic
View OpenAPI Document