circleci
v1.0.4Manage CI/CD pipelines, workflows, and job metrics across projects
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_project_workflow_summary Get Project Workflow Summary
Retrieves aggregated summary metrics and trends for a project across its workflows and branches, covering up to 90 days of workflow run history. Note: Insights data is not suitable for precise credit reporting; use the CircleCI Plan Overview page for billing accuracy.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | The project slug identifying the target project, formed as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID as org-name, and the pr… |
branches | object | One or more VCS branch names to filter branch-level workflow metrics. Multiple branches can be specified by repeating the query parameter. |
reporting-window | string | The time window over which summary metrics are calculated. Trends are only supported for windows up to 30 days; defaults to last-90-days if omitted. |
workflow-names | object | One or more workflow names to filter workflow-level metrics. Multiple workflow names can be specified by repeating the query parameter. |
list_job_timeseries List Job Timeseries
Retrieve timeseries performance data for all jobs within a specified workflow, supporting hourly or daily granularity. Hourly data is retained for 48 hours and daily data for 90 days.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`, where slashes may be URL-escaped. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID… |
workflow-name * | string | The exact name of the workflow for which to retrieve job timeseries data. |
branch | string | The name of the VCS branch to scope results to. Defaults to the repository's default branch if omitted. |
end-date | string | The exclusive end of the time range filter, in ISO 8601 date-time format. Must be no more than 90 days after the start-date. |
granularity | string | The time resolution for the returned timeseries data, either per hour or per day. Hourly data is only available for the past 48 hours; daily data is available for up to 90 days. |
start-date | string | The inclusive start of the time range filter, in ISO 8601 date-time format. Must be provided if an end-date is specified. |
get_org_summary Get Organization Summary
Retrieves aggregated performance metrics and trends for an entire organization and each of its projects. Supports filtering by a specific reporting window and an optional subset of projects.
| Parameter | Type | Description |
|---|---|---|
org-slug * | string | The organization slug identifying the target org, combining the VCS provider slug and organization name separated by a forward slash (which may be URL-encoded). |
project-names | object | An optional list of project names used to filter results to specific projects within the org. Provide the parameter multiple times to include multiple projects. |
reporting-window | string | The time window over which summary metrics are calculated and trends are derived. Defaults to the last 90 days if not specified. |
list_project_branches List Project Branches
Retrieves all branches currently tracked within Insights for a specified project. Returns up to 5,000 branches, optionally scoped to a specific workflow.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID as org-name, and the project ID as… |
workflow-name | string | Filters the returned branches to only those associated with the specified workflow name. When omitted, branches are scoped to the entire project across all workflows. |
list_flaky_tests List Flaky Tests
Retrieves all flaky tests for a given project, where a flaky test is defined as one that both passed and failed within the same commit. Results are branch-agnostic.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Settings) as or… |
list_workflow_metrics List Workflow Metrics
Retrieves aggregated summary metrics for all workflows in a project, covering up to the last 90 days. Metrics are refreshed daily and are intended for performance insights, not precise credit or billing reporting.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the Organization ID (from Organization Settings) as or… |
branch | string | Filters metrics to a specific VCS branch by name. If omitted, metrics are scoped to the project's default branch. |
reporting-window | string | Defines the time window over which summary metrics are calculated. Accepts predefined window values; if omitted, defaults to the last 90 days. |
list_workflow_runs List Workflow Runs
Retrieves recent runs of a specific workflow within a project, covering executions up to 90 days in the past. Note that Insights data is not suitable for precise credit reporting; use the CircleCI UI Plan Overview page for accurate billing information.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`, where slashes may be URL-escaped. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the Organization ID… |
workflow-name * | string | The exact name of the workflow whose runs you want to retrieve, as defined in the project's pipeline configuration. |
all-branches | boolean | When set to true, aggregates data across all branches. Use either this parameter or the branch parameter, but not both simultaneously. |
branch | string | Filters results to a specific VCS branch by name. Defaults to the repository's default branch if omitted; cannot be used together with all-branches. |
end-date | string | Filters results to only include workflow runs that started before this ISO 8601 datetime. Must be no more than 90 days after the start-date. |
start-date | string | Filters results to only include workflow runs that started at or after this ISO 8601 datetime. Required when an end-date is specified. |
list_workflow_job_metrics List Workflow Job Metrics
Retrieves aggregated summary metrics for all jobs within a specific project workflow, covering up to the last 90 days. Metrics are refreshed daily and are intended for performance analysis, not precise credit or billing reporting.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the form `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Settings) as org-… |
workflow-name * | string | The exact name of the workflow whose job metrics you want to retrieve. |
all-branches | boolean | When set to true, aggregates metrics across all branches. Use either this parameter or the branch parameter, not both. |
branch | string | Filters metrics to a specific VCS branch by name. Defaults to the repository's default branch if neither this nor all-branches is provided. |
job-name | string | Filters results to jobs whose names match the provided string, either as a full job name or a substring. Returns metrics for all jobs in the workflow if omitted. |
reporting-window | string | Defines the time window over which summary metrics are calculated. Defaults to the last 90 days if not specified. |
get_workflow_summary Get Workflow Summary
Retrieves aggregated metrics and trends for a specific workflow within a project, such as duration, success rate, and run frequency. Results can be scoped to a single branch or aggregated across all branches.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project, formatted as vcs-slug/org-name/repo-name. For GitLab or GitHub App projects, use 'circleci' as the vcs-slug, the organization ID as org-name, and the project ID as r… |
workflow-name * | string | The exact name of the workflow for which to retrieve summary metrics. |
all-branches | boolean | When set to true, aggregates metrics across all branches instead of a single branch. Use either this parameter or the branch parameter, not both. |
branch | string | The name of the VCS branch to scope metrics to. If omitted and all-branches is not set, results default to the repository's default branch. |
get_workflow_test_metrics Get Workflow Test Metrics
Retrieves test metrics for a specific workflow within a project, calculated from the 10 most recent workflow runs. Results can be scoped to a specific branch or aggregated across all branches.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Settings) as or… |
workflow-name * | string | The exact name of the workflow for which test metrics should be retrieved. |
all-branches | boolean | When set to true, aggregates test metrics across all branches rather than a single branch. Mutually exclusive with the branch parameter; use one or the other, not both. |
branch | string | Scopes results to a specific VCS branch name. Defaults to the repository's default branch if omitted. Mutually exclusive with the all-branches parameter. |
cancel_job Cancel Job
Cancels an active job identified by its unique job ID. Use this to stop a job that is pending or in progress before it completes.
| Parameter | Type | Description |
|---|---|---|
job-id * | string | The unique identifier of the job to cancel, in UUID format. |
get_current_user Get Current User
Retrieves profile and account information for the currently authenticated user. Useful for identifying who is signed in and accessing their associated details.
list_collaborations List Collaborations
Retrieves all organizations where the current user is a member or collaborator, spanning multiple VCS providers (e.g., GitHub, BitBucket), parent organizations of accessible repositories, and the user's own account organization.
create_organization Create Organization
Creates a new organization, either by validating access and syncing data for a VCS provider (GitHub or Bitbucket), or by provisioning a standalone CircleCI organization.
| Parameter | Type | Description |
|---|---|---|
name | string | The display name for the organization being created. |
vcs_type | string | The version control system associated with the organization, or 'circleci' for a standalone organization not tied to a VCS provider. |
get_organization Get Organization
Retrieves details for a specific organization by its slug or UUID. Supports organizations across GitHub, Bitbucket, and GitLab (via CircleCI VCS slug).
| Parameter | Type | Description |
|---|---|---|
org-slug-or-id * | string | The organization identifier, either as a UUID or a VCS slug in the format `vcs-slug/org-name` (e.g., `gh/` for GitHub, `bb/` for Bitbucket). For GitLab or GitHub App integrations, use `circleci` as th… |
delete_organization Delete Organization
Permanently deletes an organization and all associated projects and build data. This action is irreversible and will remove all resources tied to the organization.
| Parameter | Type | Description |
|---|---|---|
org-slug-or-id * | string | The unique identifier for the organization, either as a UUID or a VCS-prefixed slug in the format `vcs-slug/org-name`. For organizations using GitLab or GitHub App, use `circleci` as the VCS slug and… |
create_project Create Project
Creates a new project within the specified organization. Works across all organization types including GitHub, GitLab, and CircleCI-managed organizations.
| Parameter | Type | Description |
|---|---|---|
org-slug-or-id * | string | The unique identifier for the organization, either as a UUID or a VCS-based slug in the format `vcs-slug/org-name`. For organizations using GitLab or GitHub App integrations, use `circleci` as the VCS… |
name | string | The display name for the new project. Should be unique within the organization and clearly identify the project. |
list_url_orb_allow_list_entries List URL Orb Allow List Entries
Retrieves all entries in the URL Orb allow-list for the specified organization. Use this to review which URLs are permitted under the org's URL Orb configuration.
| Parameter | Type | Description |
|---|---|---|
org-slug-or-id * | string | The organization identifier, either as a UUID or a slug in the format `vcs-slug/org-name`. For organizations using GitLab or GitHub App, use `circleci` as the VCS slug and provide the organization ID… |
create_url_orb_allow_list_entry Create URL Orb Allow List Entry
Adds a new URL prefix entry to an organization's URL Orb allow-list, permitting orb references that begin with the specified URL prefix to be used in pipelines.
| Parameter | Type | Description |
|---|---|---|
org-slug-or-id * | string | The organization identifier, either as a UUID or a slug in the form `vcs-slug/org-name`. For organizations using GitLab or GitHub App, use `circleci` as the vcs-slug and the organization ID (found in… |
name | string | A human-readable label for this allow-list entry to help identify its purpose within the organization. |
prefix | The URL prefix that defines which URL orb references are permitted; any orb reference URL beginning with this prefix will be allowed by this entry. |
delete_url_orb_allow_list_entry Delete URL Orb Allow List Entry
Removes a specific entry from the organization's URL orb allow-list by its unique ID. Use this to revoke previously permitted URLs from the allow-list.
| Parameter | Type | Description |
|---|---|---|
allow-list-entry-id * | string | The UUID of the URL orb allow-list entry to remove. This uniquely identifies the specific allow-list entry to be deleted. |
org-slug-or-id * | string | The organization identifier, either as a UUID or a slug in the format `vcs-slug/org-name`. For GitLab or GitHub App projects, use `circleci` as the `vcs-slug` and provide the organization ID (found in… |
list_pipelines List Pipelines
Retrieves up to 250 pipelines from the most recently built projects you follow within an organization. Optionally filter by organization or limit results to pipelines triggered by your user.
| Parameter | Type | Description |
|---|---|---|
mine | boolean | When set to true, restricts results to only pipelines triggered by the authenticated user. |
org-slug | string | The organization slug identifying the target organization, formatted as vcs-slug/org-name. For GitLab or GitHub App projects, use 'circleci' as the vcs-slug and supply the organization ID (found in Or… |
continue_pipeline Continue Pipeline
Resumes a pipeline from the setup phase using a continuation key, allowing dynamic configuration and parameter injection. Refer to the Pipeline values and parameters documentation for guidance on using pipeline parameters with dynamic configuration.
| Parameter | Type | Description |
|---|---|---|
configuration | string | The full pipeline configuration string to apply when continuing the pipeline, used to supply dynamic configuration at runtime. |
continuation-key | string | The unique continuation key that identifies the paused pipeline to resume, obtained from the pipeline setup phase. |
parameters | object | A key-value map of pipeline parameter names to their values, subject to limits of 100 max entries, 128-character maximum key length, and 512-character maximum value length. |
get_pipeline Get Pipeline
Retrieves detailed information about a specific pipeline using its unique identifier. Returns the full pipeline configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
pipeline-id * | string | The unique identifier of the pipeline to retrieve, provided as a UUID. |
get_pipeline_config Get Pipeline Config
Retrieves the full configuration for a specific pipeline by its unique ID. Useful for inspecting pipeline settings, stages, and parameters without modifying them.
| Parameter | Type | Description |
|---|---|---|
pipeline-id * | string | The unique identifier of the pipeline whose configuration you want to retrieve. Must be a valid UUID corresponding to an existing pipeline. |
get_pipeline_values Get Pipeline Values
Retrieves a map of built-in pipeline values (such as pipeline number, trigger parameters, and VCS metadata) for a specific pipeline. Useful for inspecting runtime context associated with a pipeline execution.
| Parameter | Type | Description |
|---|---|---|
pipeline-id * | string | The unique identifier of the pipeline whose values you want to retrieve, in UUID format. |
list_pipeline_workflows List Pipeline Workflows
Retrieves a paginated list of workflows associated with a specific pipeline. Use this to inspect all workflows belonging to a given pipeline by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
pipeline-id * | string | The unique identifier of the pipeline whose workflows you want to retrieve. Must be a valid UUID. |
get_project Get Project
Retrieves detailed information about a specific CircleCI project using its unique project slug. Supports projects hosted on GitHub, GitLab, and Bitbucket, including those using the GitHub App integration.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`, where slashes may be URL-escaped. For GitLab or GitHub App projects, use `circleci` as the VCS slug, the organization ID… |
delete_project Delete Project
Permanently deletes a project from CircleCI using its unique project slug. This action is irreversible and removes all associated project data.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Settings) as or… |
list_checkout_keys List Checkout Keys
Retrieves all checkout keys associated with a specified project, returning their fingerprints and metadata. Useful for auditing or managing SSH keys used during CI/CD checkout steps.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | The project slug uniquely identifying the project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID in place of org-na… |
digest | string | The hashing algorithm used to format the returned key fingerprints; accepted values are `md5` or `sha256`, defaulting to `md5` if omitted. |
create_checkout_key Create Checkout Key
Creates a new checkout key (deploy key or user key) for a specified project. Only available for GitHub and Bitbucket projects using a user API token; requires GitHub account authorization before creating user keys.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | The project slug identifying the target project, formed as vcs-slug/org-name/repo-name. For GitLab or GitHub App projects, use 'circleci' as the vcs-slug with the organization ID and project ID in pla… |
type | string | The type of checkout key to create: 'deploy-key' grants read-only repository access for deployments, while 'user-key' grants access tied to a specific GitHub user account. |
get_checkout_key Get Checkout Key
Retrieves a specific checkout key for a project using its MD5 or SHA256 fingerprint. SHA256 fingerprints must be URL-encoded before being passed as the fingerprint parameter.
| Parameter | Type | Description |
|---|---|---|
fingerprint * | string | The SSH key fingerprint used to uniquely identify the checkout key, accepted in either MD5 or SHA256 format. SHA256 fingerprints must be URL-encoded. |
project-slug * | string | The project slug identifying the target project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization S… |
delete_checkout_key Delete Checkout Key
Deletes a specific checkout key for a project using its MD5 or SHA256 fingerprint. SHA256 fingerprints must be URL-encoded before being passed as the fingerprint parameter.
| Parameter | Type | Description |
|---|---|---|
fingerprint * | string | The MD5 or SHA256 fingerprint of the SSH checkout key to delete. SHA256 fingerprints must be URL-encoded. |
project-slug * | string | The project slug identifying the target project, formed as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Sett… |
list_env_vars List Environment Variables
Retrieves all environment variables for a specified CircleCI project. Values are masked, returning only the last four characters prefixed with four 'x' characters, matching the display behavior on the CircleCI website.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Settings) as or… |
create_env_var Create Environment Variable
Creates a new environment variable for a specified CircleCI project, making it available to pipelines and jobs running within that project.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | The project slug uniquely identifying the target project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organ… |
name | string | The name of the environment variable to create, which must be unique within the project and will be used to reference the variable in pipeline configurations. |
value | string | The value to assign to the environment variable; once stored, this value will be masked and not returned in plaintext by the API. |
get_env_var Get Environment Variable
Retrieves the masked value of a specific environment variable for a given project. The returned value is masked for security purposes.
| Parameter | Type | Description |
|---|---|---|
name * | string | The exact name of the environment variable to retrieve, matching the name as defined in the project's environment variable settings. |
project-slug * | string | The project slug identifying the target project, formed as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID as org-name, and the pr… |
delete_env_var Delete Environment Variable
Permanently deletes a specific environment variable from a CircleCI project. This action is irreversible and immediately removes the variable from the project's configuration.
| Parameter | Type | Description |
|---|---|---|
name * | string | The exact name of the environment variable to delete, matching the variable's name as it appears in the project's environment variable settings. |
project-slug * | string | The project slug uniquely identifying the target project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organ… |
get_job_details Get Job Details
Retrieves detailed information about a specific job within a project, including its status, timing, and configuration. Use this to inspect the outcome or metadata of a particular job run.
| Parameter | Type | Description |
|---|---|---|
job-number * | The unique numeric identifier of the job to retrieve details for. | |
project-slug * | string | Project slug identifying the target project in the format `vcs-slug/org-name/repo-name`, where slashes may be URL-escaped. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organi… |
cancel_job_by_number Cancel Job by Number
Cancels a running job in a specified project using its job number. Useful for stopping unwanted or erroneous builds mid-execution.
| Parameter | Type | Description |
|---|---|---|
job-number * | The unique numeric identifier of the job to cancel within the project. | |
project-slug * | string | Project slug identifying the target project, formatted as vcs-slug/org-name/repo-name. For GitLab or GitHub App projects, use circleci as the vcs-slug, the organization ID as org-name, and the project… |
list_project_pipelines List Project Pipelines
Retrieves all pipelines for a specified project, optionally filtered by branch. Useful for monitoring CI/CD activity and pipeline history across a project.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Settings) as or… |
branch | string | Filters returned pipelines to only those triggered on the specified branch name. When omitted, pipelines from all branches are returned. |
trigger_pipeline Trigger Pipeline
Triggers a new pipeline run on a specified project using a branch, tag, or custom parameters. Note: this endpoint does not support GitLab or GitHub App projects — use the Trigger Pipeline Run API for those.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`, where forward slashes may be URL-encoded. For GitLab or GitHub App projects, use `circleci` as the vcs-slug with the orga… |
branch | string | The branch to run the pipeline against, using the HEAD commit of that branch. Mutually exclusive with `tag`; only one may be provided. To target a pull request, use `pull/<number>/head` for the PR ref… |
parameters | object | A key-value map of pipeline parameter names to their values, used to customize the pipeline run. Limited to 100 entries, with keys up to 128 characters and values up to 512 characters each. |
tag | string | A Git tag whose pointed-to commit will be used for the pipeline run. Mutually exclusive with `branch`; only one may be provided. |
list_my_pipelines List My Pipelines
Retrieves all pipelines for a specified project that were triggered by the authenticated user. Returns results as a sequence ordered by trigger time.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Settings) as or… |
get_pipeline_by_number Get Pipeline by Number
Retrieves a specific pipeline by its number within a given project. Returns full pipeline details including status, configuration, and metadata.
| Parameter | Type | Description |
|---|---|---|
pipeline-number * | The sequential number assigned to the pipeline within the project, uniquely identifying it among all pipelines for that project. | |
project-slug * | string | The project slug identifying the target project, formatted as `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID as org-name, and the… |
list_project_schedules List Project Schedules
Retrieves all schedule triggers associated with GitHub OAuth or Bitbucket Cloud pipeline definitions for a given project. Note: schedules for GitHub App pipelines are not included and must be fetched via the List Pipeline Definition Triggers endpoint.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | Unique identifier for the project in the format `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID (from Organization Settings) as or… |
create_schedule Create Schedule
Creates a recurring pipeline schedule for a project and returns the created schedule. Available only for Bitbucket and GitHub OAuth organizations; for GitHub App or CircleCI project types, use the Create Trigger endpoint instead.
| Parameter | Type | Description |
|---|---|---|
project-slug * | string | The project identifier in the format `vcs-slug/org-name/repo-name`, where forward slashes may be URL-escaped. For GitLab or GitHub App projects, use `circleci` as the vcs-slug with the organization ID… |
attribution-actor | string | Determines which actor's permissions are used when the scheduled pipeline runs — `current` uses the token owner's permissions, while `system` uses neutral system-level permissions. |
description | string | An optional human-readable description providing additional context about the schedule's purpose or behavior. |
name | string | A human-readable name for the schedule used to identify it within the project. |
parameters | object | Key-value pairs of pipeline parameters passed to each triggered pipeline run; must include at least a `branch` or `tag` key to specify the target ref. |
timetable | The timetable definition specifying when the schedule should trigger, including frequency, days, and time settings. |
list_job_artifacts List Job Artifacts
Retrieves all artifacts produced by a specific job in a CircleCI project. Useful for accessing build outputs such as test reports, binaries, or logs.
| Parameter | Type | Description |
|---|---|---|
job-number * | The unique number identifying the job within the project whose artifacts you want to retrieve. | |
project-slug * | string | Project slug uniquely identifying the project in the format `vcs-slug/org-name/repo-name`. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the organization ID as org-name, and the p… |
list_job_tests List Job Tests
Retrieves test metadata for a specific job within a project, including results and timing information. Returns no results if test data exceeds 250MB for the job.
| Parameter | Type | Description |
|---|---|---|
job-number * | The unique numeric identifier of the job whose test metadata you want to retrieve. | |
project-slug * | string | Project slug identifying the target project in the format `vcs-slug/org-name/repo-name`, where URL-escaping of `/` is supported. For GitLab or GitHub App projects, use `circleci` as the vcs-slug, the… |
get_schedule Get Schedule
Retrieves the details of a specific pipeline schedule by its unique ID. Only available for schedules associated with GitHub OAuth or Bitbucket Cloud pipeline definitions.
| Parameter | Type | Description |
|---|---|---|
schedule-id * | string | The unique identifier of the schedule to retrieve, in UUID format. |
update_schedule Update Schedule
Updates an existing pipeline schedule by ID and returns the updated schedule. Only available for schedules associated with GitHub OAuth or Bitbucket Cloud pipeline definitions; use the Update Trigger endpoint for GitHub App pipeline definitions.
| Parameter | Type | Description |
|---|---|---|
schedule-id * | string | The unique UUID identifying the schedule to update. |
attribution-actor | string | Determines whose permissions are used when the scheduled pipeline runs: 'current' uses the token owner's permissions, 'system' uses a neutral system actor. |
days-of-month | array | List of calendar days of the month (1–31) on which the schedule triggers; mutually exclusive with days-of-week. |
days-of-week | array | List of days of the week on which the schedule triggers (e.g., MON, TUE); mutually exclusive with days-of-month. |
description | string | A human-readable description of the schedule's purpose or behavior. |
hours-of-day | array | List of hours within a day (0–23) during which the schedule triggers; order is not significant. |
months | array | List of months in which the schedule triggers (e.g., JAN, FEB); order is not significant. |
name | string | The display name of the schedule. |
parameters | object | Key-value pairs of pipeline parameters to pass when the schedule triggers; must include either a branch or tag key to specify the target ref. |
per-hour | string | How many times the schedule triggers per hour; must be a whole number between 1 and 60. Mutually exclusive with hour-based scheduling fields. |
delete_schedule Delete Schedule
Permanently deletes a pipeline schedule by its unique ID. Only available for schedules associated with GitHub OAuth or Bitbucket Cloud pipeline definitions.
| Parameter | Type | Description |
|---|---|---|
schedule-id * | string | The unique identifier of the schedule to delete, in UUID format. |
get_user Get User
Retrieves profile and account information for a specific user. Use this to look up user details by their unique identifier.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the user whose information should be retrieved, provided as a UUID. |
list_webhooks List Webhooks
Retrieves all outbound webhooks associated with a given scope. Currently supports project-level scoping by providing a project ID.
| Parameter | Type | Description |
|---|---|---|
scope-id * | string | The unique identifier of the scope entity to filter webhooks by. Currently only project IDs are supported. |
scope-type * | string | The type of scope used to filter webhooks. Determines how the scope-id is interpreted; currently only 'project' is supported. |
create_webhook Create Webhook
Creates an outbound webhook that listens for specified events and delivers payloads to a designated HTTPS URL. Supports TLS verification enforcement and HMAC payload signing for secure delivery.
| Parameter | Type | Description |
|---|---|---|
events | array | List of event types that will trigger this webhook; order is not significant and each item should be a valid event type string. |
id | string | The UUID of the scope (e.g., a project) this webhook is associated with; currently only project IDs are supported. |
name | string | Human-readable name to identify the webhook. |
signing-secret | string | A secret string used to generate an HMAC hash of the outgoing payload, which is passed as a header so the receiver can verify authenticity. |
type | string | The type of scope the provided ID refers to; currently only project-level scopes are supported. |
url | string | The destination URL where webhook payloads will be delivered; must include the protocol prefix and only HTTPS is supported. |
verify-tls | boolean | When set to true, enforces strict TLS certificate verification on the destination URL before delivering the webhook payload. |
get_webhook Get Webhook
Retrieves the configuration and details of a specific outbound webhook by its unique identifier. Use this to inspect webhook settings such as target URL, events, and status.
| Parameter | Type | Description |
|---|---|---|
webhook-id * | string | The unique identifier of the outbound webhook to retrieve, provided as a UUID. |
update_webhook Update Webhook
Updates the configuration of an existing outbound webhook, allowing changes to its name, target URL, triggered events, signing secret, and TLS verification behavior. Only fields provided in the request will be updated.
| Parameter | Type | Description |
|---|---|---|
webhook-id * | string | The unique identifier of the webhook to update. |
events | array | List of event types that will trigger this webhook; order is not significant and each item should be a valid event type string supported by the platform. |
name | string | A human-readable label for the webhook, used to identify it in listings and logs. |
signing-secret | string | A secret string used to generate an HMAC signature of the payload, which is passed as a request header so the receiver can verify the webhook's authenticity. |
url | string | The destination URL where webhook payloads will be delivered; must use the HTTPS protocol (HTTP is not supported). |
verify-tls | boolean | When set to true, enforces strict TLS certificate validation on the destination URL; set to false only if delivering to an endpoint with a self-signed or otherwise unverifiable certificate. |
delete_webhook Delete Webhook
Permanently deletes an outbound webhook, stopping all future event deliveries to its configured endpoint. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
webhook-id * | string | The unique identifier of the outbound webhook to delete, provided as a UUID. |
get_workflow Get Workflow
Retrieves summary fields for a specific workflow by its unique identifier. Useful for checking workflow metadata such as name, status, and configuration details.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the workflow to retrieve, in UUID format. |
approve_workflow_job Approve Workflow Job
Approves a pending approval job within a specified workflow, allowing the workflow to continue past the approval gate.
| Parameter | Type | Description |
|---|---|---|
approval_request_id * | string | The unique identifier of the pending approval job to approve, in UUID format. |
id * | string | The unique identifier of the workflow containing the pending approval job, in UUID format. |
cancel_workflow Cancel Workflow
Cancels a currently running workflow, halting any further execution. Use this to stop a workflow that is in progress before it completes naturally.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the workflow to cancel. Must correspond to an existing, currently running workflow. |
list_workflow_jobs List Workflow Jobs
Retrieves the ordered sequence of jobs associated with a specific workflow. Use this to inspect all jobs belonging to a workflow and their current states.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the workflow whose jobs you want to retrieve. |
rerun_workflow Rerun Workflow
Reruns an existing workflow by its ID, with options to rerun from the first failed job, target specific jobs, or apply sparse tree optimization for complex workflow graphs.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the workflow to rerun. |
enable_ssh | boolean | When true, enables SSH access for the triggering user on the newly rerun job. Requires the jobs parameter to be specified and is mutually exclusive with from_failed. |
from_failed | boolean | When true, reruns the workflow starting from the first failed job rather than the beginning. Mutually exclusive with the jobs and sparse_tree parameters. |
jobs | array | A list of specific job IDs (UUIDs) to rerun within the workflow. Order is not significant. Mutually exclusive with from_failed. |
sparse_tree | boolean | When true, applies sparse tree optimization logic during the rerun, improving performance for workflows containing disconnected subgraphs. Requires the jobs parameter and is mutually exclusive with fr… |
list_org_oidc_custom_claims List Organization OIDC Custom Claims
Retrieves the org-level custom claims configured for OIDC identity tokens. Use this to inspect which additional claims are included in tokens issued for the specified organization.
| Parameter | Type | Description |
|---|---|---|
orgID * | string | The unique identifier of the organization whose OIDC custom claims should be retrieved. |
update_org_oidc_claims Update Organization OIDC Claims
Creates or updates org-level custom claims on OIDC identity tokens for the specified organization. Use this to configure audience restrictions and token time-to-live settings.
| Parameter | Type | Description |
|---|---|---|
orgID * | string | The unique identifier of the organization whose OIDC custom claims will be updated. |
audience | array | List of intended recipients (audiences) for the OIDC token; order is not significant and each item should be a valid audience identifier string. |
ttl | string | Token time-to-live duration specifying how long the OIDC token remains valid; composed of one to seven time unit segments using milliseconds (ms), seconds (s), minutes (m), hours (h), days (d), or wee… |
delete_org_oidc_claims Delete Organization OIDC Claims
Deletes one or more custom OIDC identity token claims configured at the organization level. Supports removing the 'audience' and/or 'ttl' claim overrides.
| Parameter | Type | Description |
|---|---|---|
claims * | string | Comma-separated list of custom OIDC claim names to delete. Valid values are 'audience' and 'ttl'; multiple values may be combined in a single request. |
orgID * | string | The unique identifier of the organization whose custom OIDC claims will be deleted. |
get_project_oidc_claims Get Project OIDC Custom Claims
Retrieves the custom OIDC identity token claims configured at the project level. Use this to inspect which additional claims are included in tokens issued for a specific project.
| Parameter | Type | Description |
|---|---|---|
orgID * | string | The unique identifier of the organization that owns the project. |
projectID * | string | The unique identifier of the project whose custom OIDC claims are being retrieved. |
update_project_oidc_claims Update Project OIDC Claims
Creates or updates project-level custom claims on OIDC identity tokens for the specified project. Use this to configure audience restrictions and token time-to-live at the project scope.
| Parameter | Type | Description |
|---|---|---|
orgID * | string | Unique identifier of the organization that owns the project. |
projectID * | string | Unique identifier of the project whose OIDC custom claims are being created or updated. |
audience | array | List of intended audiences for the OIDC token. Order is not significant; each item should be a valid audience string identifying a recipient that the token is intended for. |
ttl | string | Time-to-live duration for the OIDC token, specifying how long it remains valid. Accepts a compound duration string composed of up to seven unit segments in descending order, using units: weeks (w), da… |
delete_project_oidc_claims Delete Project OIDC Claims
Deletes one or more custom claims from the OIDC identity token configuration at the project level. Only the 'audience' and 'ttl' claims are eligible for deletion.
| Parameter | Type | Description |
|---|---|---|
claims * | string | Comma-separated list of custom claim names to delete. Valid values are 'audience' and 'ttl'; multiple values may be combined in a single request. |
orgID * | string | Unique identifier of the organization that owns the project. |
projectID * | string | Unique identifier of the project whose OIDC custom claims will be deleted. |
list_decision_logs List Decision Logs
Retrieves a paginated list of policy decision audit logs for the specified owner and context. Results can be filtered by status, date range, branch, project, or build number.
| Parameter | Type | Description |
|---|---|---|
context * | string | The policy context scope under which decisions were evaluated and logged. |
ownerID * | string | The unique identifier of the owner whose policy decision logs are being retrieved. |
after | string | Filters results to only include decisions made after this timestamp. Must be a valid ISO 8601 date-time string. |
before | string | Filters results to only include decisions made before this timestamp. Must be a valid ISO 8601 date-time string. |
branch | string | Filters results to only include decisions made on the specified branch name. |
build_number | string | Filters results to only include decisions associated with the specified build number. |
offset | integer | The number of records to skip before returning results, enabling pagination through large result sets. |
project_id | string | Filters results to only include decisions associated with the specified project identifier. |
status | string | Filters results to only include decisions that match the specified decision status (e.g., approved or rejected). |
get_decision_log Get Decision Log
Retrieves a specific decision audit log entry for a given owner and context. Use this to inspect the details and outcome of a previously recorded decision by its unique ID.
| Parameter | Type | Description |
|---|---|---|
context * | string | The context scope under which the decision was recorded, used to namespace or categorize decisions for the given owner. |
decisionID * | string | The unique identifier of the specific decision log entry to retrieve. |
ownerID * | string | The unique identifier of the owner whose decision audit log is being retrieved. |
get_decision_policy_bundle Get Decision Policy Bundle
Retrieves the policy bundle associated with a specific decision log entry. Useful for auditing which policies were evaluated at the time a given decision was made.
| Parameter | Type | Description |
|---|---|---|
context * | string | The policy context scope under which the decision was evaluated, used to namespace and organize policies. |
decisionID * | string | The unique identifier of the decision log entry for which the associated policy bundle should be retrieved. |
ownerID * | string | The unique identifier of the owner (organization or user) whose decision log is being queried. |
get_policy_bundle Get Policy Bundle
Retrieves the complete policy bundle associated with a specific context for a given owner. Returns all policies grouped within that bundle for review or enforcement purposes.
| Parameter | Type | Description |
|---|---|---|
context * | string | The context scope under which the policy bundle is organized, used to namespace or categorize policies for the specified owner. |
ownerID * | string | The unique identifier of the owner whose policy bundle is being retrieved. |
list_contexts List Contexts
Retrieves all contexts belonging to a specified organization or owner, enabling management of shared environment variables and secrets across projects.
| Parameter | Type | Description |
|---|---|---|
owner-id | string | The unique UUID of the organization that owns the contexts. Use this or owner-slug to identify the organization — find both in CircleCI web app under Organization Settings > Overview. |
owner-slug | string | The slug identifier for the organization that owns the contexts. Use this or owner-id to identify the organization — find both in CircleCI web app under Organization Settings > Overview. Not support… |
owner-type | string | Specifies whether the owner is an organization or an individual account. Defaults to 'organization'; use 'account' when working with CircleCI server. |
create_context Create Context
Creates a new named context within a specified organization, allowing you to group and manage related environment variables or secrets.
| Parameter | Type | Description |
|---|---|---|
name | string | The human-readable name to assign to the new context, used to identify it within the organization. |
owner | The owner of the context, typically representing the organization or account under which the context will be created. |
get_context Get Context
Retrieves basic information about a specific context by its unique identifier. Use this to look up context details when you have a known context ID.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | The unique identifier of the context to retrieve, provided as a UUID. |
delete_context Delete Context
Permanently deletes a context and all of its associated environment variables by context ID. This action is irreversible.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | The unique identifier of the context to delete. Deleting a context will also remove all environment variables stored within it. |
list_context_environment_variables List Context Environment Variables
Retrieves a list of environment variables defined within a specified context, returning metadata such as names but excluding their values for security.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | The unique identifier of the context whose environment variables should be listed. |
set_context_environment_variable Set Context Environment Variable
Creates or updates a named environment variable within a specified context. Returns metadata about the variable after the operation, excluding its value.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | The unique identifier of the context in which to create or update the environment variable. |
env_var_name * | string | The name of the environment variable to create or update within the context. |
value | string | The value to assign to the environment variable; treated as a secret and not returned in responses. |
delete_context_environment_variable Delete Context Environment Variable
Permanently removes a named environment variable from the specified context. This action cannot be undone and will immediately make the variable unavailable to pipelines using that context.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | The unique identifier of the context from which the environment variable will be deleted. |
env_var_name * | string | The exact name of the environment variable to delete, matching the name as it was originally stored in the context. |
list_context_restrictions List Context Restrictions
Retrieves all project and expression restrictions associated with a specific context. Returns the complete list of restrictions currently applied to the given context.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | The unique identifier of the context whose restrictions should be retrieved, provided as a UUID. |
add_context_restriction Add Context Restriction
Adds an access restriction to a context, limiting its use to specific projects, groups, or expression-based rules. Use this to control which projects or conditions are permitted to access the context.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | The unique identifier of the context to which the restriction will be added. |
restriction_type | string | The category of restriction to apply: 'project' limits access to a specific project, 'expression' applies a rule-based condition, and 'group' restricts access to a specific group. |
restriction_value | string | The value that defines the restriction rule, interpreted based on the restriction type: a project UUID for 'project' restrictions, or an expression rule string for 'expression' restrictions. |
delete_context_restriction Delete Context Restriction
Permanently removes a specific restriction (project, expression, or group) from a context. This action cannot be undone and immediately revokes the associated access control rule.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | The unique identifier of the context from which the restriction will be deleted. |
restriction_id * | string | The unique identifier of the specific restriction to delete within the given context. |
get_project_settings Get Project Settings
Retrieves the advanced settings for a specified CircleCI project, returning each setting with a boolean indicating whether it is enabled or disabled.
| Parameter | Type | Description |
|---|---|---|
organization * | string | The organization segment of the project slug, which may be an organization name or a unique organization ID depending on the account type. |
project * | string | The project segment of the project slug, which may be a project name or a unique project ID depending on the account type. |
provider * | string | The version control or CI provider portion of the project slug, identifying which platform hosts the project. |
update_project_settings Update Project Settings
Updates one or more advanced settings for a CircleCI project, such as build behavior, fork policies, SSH access, and GitHub status reporting. Only the settings fields provided in the request body will be modified.
| Parameter | Type | Description |
|---|---|---|
organization * | string | The organization identifier, corresponding to the second segment of the project slug visible in Project Settings > Overview. May be an org name or an org ID depending on the organization type. |
project * | string | The project identifier, corresponding to the third segment of the project slug visible in Project Settings > Overview. May be a project name or a project ID depending on the organization type. |
provider * | string | The version control provider for the project, corresponding to the first segment of the project slug visible in Project Settings > Overview. |
autocancel_builds | boolean | When enabled, any running pipelines on a non-default branch are automatically cancelled when a new pipeline starts on that same branch. |
build_fork_prs | boolean | When enabled, CircleCI will run builds triggered by pull requests that originate from forked repositories. |
build_prs_only | boolean | When enabled, CircleCI will only build branches that have at least one associated open pull request. |
disable_ssh | boolean | When set to true, disables the ability to re-run jobs with SSH debugging access for this project. |
forks_receive_secret_env_vars | boolean | When enabled, builds triggered by forked pull requests will have access to this project's environment variables and secrets. |
oss | boolean | When enabled, marks the project as Free and Open Source, granting additional build credits and making builds publicly visible via the web UI and API. |
pr_only_branch_overrides | array | A list of branch names that will always trigger a build regardless of the `build_prs_only` setting. The provided list completely overwrites the existing value; order is not significant. |
set_github_status | boolean | When enabled, CircleCI reports the build status of every pushed commit to GitHub's status API, with updates provided per job. |
setup_workflows | boolean | When enabled, allows pipeline configurations to be conditionally triggered from directories outside the primary `.circleci` parent directory using setup workflows. |
write_settings_requires_admin | boolean | When enabled, only organization administrators can update project settings; when disabled, any project member may update settings. |
list_organization_groups List Organization Groups
Retrieves all groups belonging to a specified organization. Supports pagination to control the number of results returned per page.
| Parameter | Type | Description |
|---|---|---|
org_id * | string | The unique identifier of the organization whose groups you want to retrieve. |
limit | integer | The maximum number of group results to return per page. Use this to control pagination when an organization has many groups. |
create_group Create Group
Creates a new group within a standalone organization, allowing members and resources to be organized under a named group. Only supported for standalone organizations.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name for the new group, used to identify it within the organization. |
org_id * | string | The unique opaque identifier of the organization under which the group will be created. |
description | string | An optional human-readable description providing additional context or purpose for the group. |
get_group Get Group
Retrieves details for a specific group within an organization. Currently only supported for standalone organizations.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the group to retrieve, provided as a UUID. |
org_id * | string | The unique opaque identifier of the organization that contains the group. |
delete_group Delete Group
Permanently deletes a group from a standalone organization, removing all its members and revoking any role grants associated with the group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique UUID identifier of the group to delete. All members and associated role grants will be removed upon deletion. |
org_id * | string | The unique opaque identifier of the organization that contains the group to be deleted. |
create_usage_export Create Usage Export Job
Submits a job to export usage data for an organization within a specified date range. The export covers up to 31 days of data and can optionally include usage from shared organizations.
| Parameter | Type | Description |
|---|---|---|
end * | string | The end date and time (inclusive) of the export range in ISO 8601 format. Must be no more than 31 days after the start date. |
org_id * | string | The unique identifier of the organization for which the usage export will be generated. |
start * | string | The start date and time (inclusive) of the export range in ISO 8601 format. Must be no more than one year in the past. |
shared_org_ids | array | A list of additional organization IDs whose usage data should be included in the export, useful for aggregating usage across shared or linked organizations. Order is not significant. |
get_usage_export_job Get Usage Export Job
Retrieves the status and details of a specific usage export job for an organization, including download information once the export is complete.
| Parameter | Type | Description |
|---|---|---|
org_id * | string | The unique opaque identifier of the organization whose usage export job is being retrieved. |
usage_export_job_id * | string | The unique UUID identifier of the usage export job to retrieve. |
trigger_pipeline_run Trigger Pipeline Run
Trigger a new pipeline run for a project using a specific pipeline definition. Supports GitHub, Bitbucket, and CircleCI integrations (GitLab not supported).
| Parameter | Type | Description |
|---|---|---|
organization * | string | The second segment of the slash-separated project slug, representing either a human-readable organization name or an opaque organization ID, as shown in Project Settings > Overview. |
project * | string | The third segment of the slash-separated project slug, representing either a human-readable project name or an opaque project ID, as shown in Project Settings > Overview. |
provider * | string | The VCS or platform provider, corresponding to the first segment of the slash-separated project slug found in Project Settings > Overview. |
checkoutBranch | string | The branch to check out source code from during a checkout step. Mutually exclusive with the checkout tag field. For GitHub PRs, use pull/<number>/head or pull/<number>/merge. |
checkoutTag | string | The tag used to check out source code during a checkout step; the pipeline runs against the commit the tag points to. Mutually exclusive with the checkout branch field. |
configBranch | string | The branch from which the pipeline config file should be fetched. Mutually exclusive with the config tag field. For GitHub PRs, use pull/<number>/head or pull/<number>/merge. |
configTag | string | The tag used to fetch the pipeline config file; the pipeline runs against the commit the tag points to. Mutually exclusive with the config branch field. |
definition_id | string | The UUID of the pipeline definition to run, found in Project Settings > Pipelines. If omitted, the default pipeline definition is used. |
parameters | object | A key-value map of pipeline parameter names to their values. Limited to 100 entries, with keys up to 128 characters and values up to 512 characters. Values may be strings, booleans, or integers. |
list_pipeline_definitions List Pipeline Definitions
Retrieves all pipeline definitions associated with a specified project. Pipeline definitions describe the structure and configuration of pipelines available within the project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project whose pipeline definitions should be listed. |
create_pipeline_definition Create Pipeline Definition
Creates a new pipeline definition for a specified project, allowing you to define the configuration source and metadata. Currently only supported for projects using the GitHub App integration provider.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique opaque identifier of the project under which the pipeline definition will be created. |
config_source | The configuration source object that specifies where and how the pipeline configuration is sourced, including the provider and repository details. | |
description | string | An optional description providing additional context or details about the purpose of this pipeline definition. |
external_id | string | The external identifier for the repository as defined by the version control provider, used to link the pipeline definition to the correct repository. |
name | string | A human-readable name for the pipeline definition to distinguish it within the project. |
provider | string | The version control integration provider for the pipeline definition's configuration source. Currently only 'github_app' is supported. |
get_pipeline_definition Get Pipeline Definition
Retrieves detailed configuration metadata for a specific pipeline definition within a project. Supported for pipeline definitions using GitHub App, GitHub OAuth, Bitbucket DC, Bitbucket OAuth, or GitLab as the config source provider.
| Parameter | Type | Description |
|---|---|---|
pipeline_definition_id * | string | The unique opaque identifier of the pipeline definition to retrieve. |
project_id * | string | The unique opaque identifier of the project containing the pipeline definition. |
update_pipeline_definition Update Pipeline Definition
Updates an existing pipeline definition for a project, allowing changes to its name, description, config file path, or version control source settings. Currently supported only for pipeline definitions using GitHub App or Bitbucket Data Center as the config source provider.
| Parameter | Type | Description |
|---|---|---|
pipeline_definition_id * | string | The unique opaque identifier of the pipeline definition to update. |
project_id * | string | The unique opaque identifier of the project containing the pipeline definition to update. |
description | string | A brief explanation of the pipeline definition's purpose or behavior. |
external_id | string | The repository identifier as defined by the version control provider, used to associate the pipeline definition with a specific external repository. |
file_path | string | The relative path within the repository to the CircleCI YAML configuration file that this pipeline definition should use. |
name | string | A human-readable display name for the pipeline definition. |
provider | string | The version control integration provider for the pipeline definition's config source. Currently only 'github_app' is supported. |
delete_pipeline_definition Delete Pipeline Definition
Permanently deletes a pipeline definition from a project. Currently only supported for pipeline definitions using GitHub App or Bitbucket Data Center as the config source provider.
| Parameter | Type | Description |
|---|---|---|
pipeline_definition_id * | string | The unique opaque identifier of the pipeline definition to delete. |
project_id * | string | The unique opaque identifier of the project containing the pipeline definition to delete. |
list_pipeline_definition_triggers List Pipeline Definition Triggers
Retrieves all triggers configured for a specific pipeline definition within a project. Supported only for pipeline definitions using GitHub OAuth, GitHub App, or Bitbucket Data Center as the config source provider.
| Parameter | Type | Description |
|---|---|---|
pipeline_definition_id * | string | The unique identifier of the pipeline definition whose triggers you want to list. |
project_id * | string | The unique identifier of the project containing the pipeline definition. |
create_pipeline_trigger Create Pipeline Trigger
Creates a trigger for a specified pipeline definition, enabling automated pipeline runs in response to events. Currently supported only for pipeline definitions using GitHub OAuth or GitHub App as the config source provider.
| Parameter | Type | Description |
|---|---|---|
pipeline_definition_id * | string | The unique opaque identifier of the pipeline definition for which the trigger will be created. |
project_id * | string | The unique opaque identifier of the project in which the pipeline definition resides. |
checkout_ref | string | The Git ref used to check out source code for pipeline runs created by this trigger. Required when the provider is `webhook`; for `github_app`, only provide this if the event source repository differs… |
config_ref | string | The Git ref used to fetch the pipeline configuration for runs created by this trigger. Required when the provider is `webhook`; for `github_app`, only provide this if the event source repository diffe… |
disabled | boolean | When set to `true`, the trigger is created in a disabled state and will not fire until explicitly enabled. Not supported for pipeline definitions using `github_oauth` as the config source provider. |
event_name | string | The name of the event that activates this trigger. Should only be set when the provider is `webhook`. |
event_preset | string | Specifies which category of events will activate this trigger using a named preset. Only applicable when `event_source.provider` is `github_app`; choose from the supported preset values to control whi… |
external_id | string | The repository identifier as defined by the version control provider, used to associate the trigger with a specific repository. |
provider | string | The version control or integration provider for the trigger's event source. Accepted values are `github_app`, `github_oauth`, and `webhook`. |
sender | string | Identifies the entity sending the webhook event; only applicable when the provider is `webhook`. |
get_trigger Get Trigger
Retrieves detailed configuration and metadata for a specific project trigger. Currently supported for triggers with GitHub OAuth, GitHub App, Bitbucket Data Center, or webhook event sources.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique opaque identifier of the project that owns the trigger. |
trigger_id * | string | The unique opaque identifier of the trigger to retrieve. |
update_trigger Update Trigger
Update configuration for an existing pipeline trigger on a project. Currently supported for triggers with a provider of `github_oauth`, `github_app`, `bitbucket_dc`, or `webhook`.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique opaque identifier of the project that owns the trigger. |
trigger_id * | string | The unique opaque identifier of the trigger to update. |
checkout_ref | string | The Git ref (branch, tag, or commit SHA) used to check out source code when pipeline runs are created from this trigger. |
config_ref | string | The Git ref used to fetch the pipeline configuration file when pipeline runs are created from this trigger. |
disabled | boolean | Whether the trigger is disabled and should not create pipeline runs when events occur. Only settable for triggers where the provider is `github_oauth`, `github_app`, or `webhook`. |
event_name | string | The name of the event that activates this trigger. Only settable for triggers where the provider is `webhook`. |
event_preset | string | A predefined event filtering preset that determines which GitHub events activate this trigger. Only applicable when the trigger's provider is `github_app`. |
sender | string | The identity of the entity sending the webhook payload. Only settable for triggers where the provider is `webhook`. |
delete_trigger Delete Trigger
Permanently deletes a trigger from the specified project. Supported only for triggers with an event source provider of GitHub OAuth, GitHub App, Bitbucket Data Center, or webhook.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique opaque identifier of the project from which the trigger will be deleted. |
trigger_id * | string | The unique opaque identifier of the trigger to be deleted. |
rollback_project Rollback Project
Rolls back a specific component in a project to a target version by triggering a rollback pipeline. Use this to recover from a bad deployment by reverting a component from its current version to a previously stable version.
| Parameter | Type | Description |
|---|---|---|
component_name * | string | The name of the component within the project to be rolled back. |
current_version * | string | The version of the component currently deployed, which will be replaced by the rollback. |
environment_name * | string | The name of the environment in which the rollback will be executed (e.g., production, staging). |
project_id * | string | The unique opaque identifier of the project in which the rollback will be performed. |
target_version * | string | The version to roll back to, which should be a previously stable and deployed version of the component. |
namespace | string | The Kubernetes or deployment namespace where the component resides. Defaults to the project's default namespace if not specified. |
parameters | object | A key-value map of additional parameters to pass to the rollback pipeline, allowing customization of pipeline behavior beyond standard inputs. |
reason | string | A human-readable explanation for why the rollback is being performed, useful for audit trails and incident tracking. |
list_environments List Environments
Retrieves a paginated list of deployment environments belonging to a specified organization. Use this to browse available environments for deployment targeting or configuration management.
| Parameter | Type | Description |
|---|---|---|
org-id * | string | The unique identifier of the organization whose environments you want to list, provided as a UUID. |
page-size * | integer | The maximum number of environments to return per page. Use this alongside pagination controls to iterate through large result sets. |
get_environment Get Environment
Retrieves detailed information about a specific deployment environment by its unique identifier. Use this to inspect environment configuration, status, or metadata for a known environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique UUID identifying the deployment environment to retrieve. |
list_components List Components
Retrieves a paginated list of deployed components belonging to a specified organization. Optionally filter results by project to narrow the scope of returned components.
| Parameter | Type | Description |
|---|---|---|
org-id * | string | The unique identifier of the organization whose components will be listed. |
page-size * | integer | The maximum number of components to return in a single page of results. Use in combination with pagination tokens to iterate through all components. |
project-id | string | The unique identifier of a project used to filter components to only those belonging to that project. |
get_component Get Component
Retrieves the full details of a deployed component by its unique identifier. Use this to inspect configuration, status, or metadata for a specific component.
| Parameter | Type | Description |
|---|---|---|
component_id * | string | The unique opaque identifier of the component to retrieve, as returned when the component was created or listed. |
list_component_versions List Component Versions
Retrieves all available versions for a specified component. Optionally filter results by environment to see versions relevant to a particular deployment context.
| Parameter | Type | Description |
|---|---|---|
component_id * | string | The unique identifier of the component whose versions you want to retrieve. |
environment-id | string | The unique identifier of an environment to filter component versions by, returning only versions relevant to that environment. Must be a valid UUID. |
list_otel_exporters List OTel Exporters
Retrieves all OpenTelemetry (OTLP) exporter configurations associated with the specified organization. This is an experimental feature and may be subject to change.
| Parameter | Type | Description |
|---|---|---|
org-id * | string | The unique identifier of the organization whose OTLP exporter configurations should be retrieved, provided as a UUID. |
create_otlp_exporter Create OTLP Exporter
Creates a new OTLP exporter configuration for a specified organization, defining how telemetry spans are exported to an external observability backend. This is an experimental feature supporting both gRPC and HTTP transport protocols.
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | The destination OTLP collector endpoint, specified as hostname and port only — omit any scheme prefix such as https:// or grpc://. |
org_id * | string | The unique identifier of the organization for which the OTLP exporter will be created. |
protocol * | string | The transport protocol used when exporting telemetry data; choose grpc for gRPC transport or http for HTTP/protobuf transport. |
headers | object | A key-value map of additional HTTP or gRPC headers to include with every export request, useful for authentication tokens or routing metadata. |
insecure | boolean | When set to true, the exporter connects to the endpoint without TLS encryption; defaults to false for secure connections. |
delete_otlp_exporter Delete OTLP Exporter
Permanently deletes an OTLP exporter configuration by its unique identifier. This is an experimental feature and the behavior may change in future releases.
| Parameter | Type | Description |
|---|---|---|
otel_exporter_id * | string | The unique identifier of the OTLP exporter configuration to delete. |