Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Concourse API Documentation

Welcome to the Concourse API — the RESTful interface to automate, query, and manage your Concourse CI/CD pipelines.

This documentation provides a clean, Markdown-based overview of all available API endpoints, authentication methods, and data formats.
It’s designed for developers and DevOps engineers who want to integrate Concourse into their automation workflows or external systems.

💡 The Concourse API powers the fly CLI and the Concourse web UI.

🌐 Base URL

All requests use the following base URL: https://<your-concourse-domain>

Replace <your-concourse-domain> with your own Concourse installation URL.
Example endpoint: https://ci.example.com/api/v1/builds

🔐 Authentication

Most API endpoints require a Bearer Token obtained through Concourse’s login flow.

To authenticate, exchange your local login credentials for a token using the Login endpoint.

🗂️ Version & Compatibility

This documentation applies to Concourse API v1. Current document is based on Concourse version 7.14.3.

While most endpoints are stable, Concourse may introduce changes or deprecations between releases.
If you are using a specific Concourse version, refer to that version’s release notes for API-related changes.

Tip: You can check your server’s version using:

curl https://<your-concourse-domain>/api/v1/info

📘 API Endpoint Quick Reference

Below you’ll find categorized tables listing all primary Concourse API endpoints.
Each table links to detailed documentation for that group.

Login/Logout

Description Method Endpoint
Login POST /sky/issuer/token
Logout GET /sky/logout

Builds

Description Method Endpoint
List all builds GET /api/v1/builds
Get build details GET /api/v1/builds/:build_id
Get build plan GET /api/v1/builds/:build_id/plan
Stream build events GET /api/v1/builds/:build_id/events
Get build resources GET /api/v1/builds/:build_id/resources
Abort a build PUT /api/v1/builds/:build_id/abort
Get build preparation status GET /api/v1/builds/:build_id/preparation
List build artifacts GET /api/v1/builds/:build_id/artifacts
Add comment to build PUT /api/v1/builds/:build_id/comment

Jobs

Description Method Endpoint
List all jobs GET /api/v1/jobs
List jobs in a pipeline GET /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs
Get job details GET /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name
List builds for a job GET /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/builds
Trigger a job build POST /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/builds
Rerun a build POST /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/builds/:build_name
Get job inputs GET /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/inputs
Get specific build for a job GET /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/builds/:build_name
Pause a job PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/pause
Unpause a job PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/unpause
Trigger scheduling for job PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/schedule
Get job status badge (SVG) GET /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/badge
Get job status badge (SVG, main team) GET /api/v1/pipelines/:pipeline_name/jobs/:job_name/badge
Clear task cache DELETE /api/v1/teams/:team_name/pipelines/:pipeline_name/jobs/:job_name/tasks/:step_name/cache

Pipelines

Description Method Endpoint
List all pipelines (across teams) GET /api/v1/pipelines
List pipelines for a team GET /api/v1/teams/:team_name/pipelines
Get pipeline details GET /api/v1/teams/:team_name/pipelines/:pipeline_name
Get pipeline configuration GET /api/v1/teams/:team_name/pipelines/:pipeline_name/config
Create/Update pipeline configuration PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/config
Delete a pipeline DELETE /api/v1/teams/:team_name/pipelines/:pipeline_name
Rename a pipeline PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/rename
Set pipeline ordering for a team PUT /api/v1/teams/:team_name/pipelines/ordering
Set pipeline ordering within a group PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/ordering
Pause a pipeline PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/pause
Unpause a pipeline PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/unpause
Archive a pipeline PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/archive
Expose a pipeline PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/expose
Hide a pipeline PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/hide
List builds for a pipeline GET /api/v1/teams/:team_name/pipelines/:pipeline_name/builds
Create a build for a pipeline POST /api/v1/teams/:team_name/pipelines/:pipeline_name/builds
Get pipeline versions database GET /api/v1/teams/:team_name/pipelines/:pipeline_name/versions-db
Get pipeline status badge (SVG) GET /api/v1/teams/:team_name/pipelines/:pipeline_name/badge

Resources

Description Method Endpoint
List all resources across pipelines GET /api/v1/resources
List resources in a pipeline GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources
List shared info for a resource GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/shared
List shared info for a resource type GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resource-types/:resource_type_name/shared
List resource types in a pipeline GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resource-types
Get resource details GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name
Trigger resource check POST /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/check
Trigger resource check via webhook POST /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/check/webhook
Trigger resource type check POST /api/v1/teams/:team_name/pipelines/:pipeline_name/resource-types/:resource_type_name/check
Trigger prototype check POST /api/v1/teams/:team_name/pipelines/:pipeline_name/prototypes/:prototype_name/check
Clear resource cache DELETE /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/cache

Resource Versions

Description Method Endpoint
List resource versions GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions
Clear all resource versions DELETE /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions
Clear all resource type versions DELETE /api/v1/teams/:team_name/pipelines/:pipeline_name/resource-types/:resource_type_name/versions
Get details for a resource version GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions/:resource_config_version_id
Enable a resource version PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions/:resource_config_version_id/enable
Disable a resource version PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions/:resource_config_version_id/disable
Pin a resource version PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions/:resource_config_version_id/pin
Unpin a resource version PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/unpin
Set pin comment on resource PUT /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/pin_comment
List builds with version as input GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions/:resource_config_version_id/input_to
List builds with version as output GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions/:resource_config_version_id/output_of
Get downstream resource causality GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions/:resource_config_version_id/downstream
Get upstream resource causality GET /api/v1/teams/:team_name/pipelines/:pipeline_name/resources/:resource_name/versions/:resource_config_version_id/upstream

CCMenu

Description Method Endpoint
Generate CCMenu XML feed for pipelines GET /api/v1/teams/:team_name/cc.xml

Workers

Description Method Endpoint
List all workers GET /api/v1/workers
Register a new worker POST /api/v1/workers
Land a worker PUT /api/v1/workers/:worker_name/land
Retire a worker PUT /api/v1/workers/:worker_name/retire
Prune a worker PUT /api/v1/workers/:worker_name/prune
Heartbeat a worker PUT /api/v1/workers/:worker_name/heartbeat
Delete a worker DELETE /api/v1/workers/:worker_name

Cluster info

Description Method Endpoint
Get current log level GET /api/v1/log-level
Set log level PUT /api/v1/log-level
Download Concourse CLI binary GET /api/v1/cli
Get cluster info GET /api/v1/info
Get credential manager info GET /api/v1/info/creds

Users

Description Method Endpoint
Get current user info GET /api/v1/user
List active users since timestamp GET /api/v1/users

Containers

Description Method Endpoint
List containers for a team GET /api/v1/teams/:team_name/containers
Get container details GET /api/v1/teams/:team_name/containers/:id
Hijack a container GET /api/v1/teams/:team_name/containers/:id/hijack
List destroying containers GET /api/v1/containers/destroying
Report worker containers PUT /api/v1/containers/report

Volumes

Description Method Endpoint
List volumes GET /api/v1/teams/:team_name/volumes
List destroying volumes GET /api/v1/volumes/destroying
Report worker volumes PUT /api/v1/volumes/report

Teams

Description Method Endpoint
List all teams GET /api/v1/teams
Get team details GET /api/v1/teams/:team_name
Set team configuration PUT /api/v1/teams/:team_name
Rename a team PUT /api/v1/teams/:team_name/rename
Delete a team DELETE /api/v1/teams/:team_name
List builds for a team GET /api/v1/teams/:team_name/builds
Create a build for a team POST /api/v1/teams/:team_name/builds

Artifacts

Description Method Endpoint
Create an artifact POST /api/v1/teams/:team_name/artifacts
Get artifact details GET /api/v1/teams/:team_name/artifacts/:artifact_id

Wall

Description Method Endpoint
Get wall message GET /api/v1/wall
Set wall message PUT /api/v1/wall
Clear wall message DELETE /api/v1/wall

Well known

Description Method Endpoint
Get OpenID Connect configuration GET /.well-known/openid-configuration
Get signing keys (JWKS) GET /.well-known/jwks.json

🧭 Tip: Each “Details” link leads to a dedicated Markdown file with:

  • Example requests/responses
  • Parameter tables
  • Error codes and notes
  • Authentication requirements

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors