Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the GoCD 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.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgocd.org%2Fgocd" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgocd.org%2Fgocd" | sh
jentic register # connects your agent to your Jentic One instanceJentic 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.
What an agent can do with GoCD API.
Create or update pipeline definitions and inspect their configuration
Read pipeline run history to see which builds passed or failed
Manage build agents and assign them to environments
Configure pipeline groups and security roles for fine-grained access control
Trigger or schedule a system backup of the GoCD configuration
GET STARTED
Issue and revoke personal access tokens for human users and integrations
Patterns agents use GoCD API for, with concrete tasks.
★ Pipeline Triggering and Monitoring
DevOps teams call GET /admin/pipelines to inspect a pipeline definition and GET /pipelines/{pipeline_name}/history to read recent runs. The pipeline detail and history endpoints together let an agent decide whether to trigger a redeploy after a failed run or roll back to the previous successful build.
Pull the last 5 runs of pipeline 'release-backend' and trigger a new run if the most recent run failed.
Build Agent Fleet Management
Operations teams use the /agents endpoints to register, retire, or assign build agents to specific environments via /admin/environments. This keeps build capacity aligned with workload, particularly when scaling agents up or down on demand.
List all GoCD agents tagged 'gpu-builds', remove any that have been offline for more than 24 hours, and report the result to Slack.
Access Token and Backup Hygiene
Security and platform teams rotate personal access tokens via /access_tokens and trigger configuration backups through /admin/backup. The backup endpoint returns a job that captures the GoCD configuration so it can be restored after a server failure or migration.
Revoke every GoCD access token older than 90 days and trigger a configuration backup.
AI Agent CI/CD Operations
An AI agent uses Jentic to drive deployments end-to-end: it lists pipelines, checks history, triggers a build, and posts the outcome to a chat channel. Bearer credentials stay in your Jentic One instance and the agent only ever sees schema-level metadata.
Search Jentic for 'trigger gocd pipeline', load the schema, and trigger pipeline 'release-frontend' with the latest material revision.
44 endpoints — jentic publishes the only available openapi specification for gocd api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/admin/pipelines
List pipeline definitions
/admin/pipelines/{pipeline_name}
Read a pipeline definition
/pipelines/{pipeline_name}/history
Get pipeline run history
/agents
List build agents
/admin/environments
List environments
/access_tokens
Create a personal access token
/admin/backup
Trigger a configuration backup
/health
Check server health
/admin/pipelines
List pipeline definitions
/admin/pipelines/{pipeline_name}
Read a pipeline definition
/pipelines/{pipeline_name}/history
Get pipeline run history
/agents
List build agents
/admin/environments
List environments
/access_tokens
Create a personal access token
/admin/backup
Trigger a configuration backup
/health
Check server health
What agents get from Jentic-routed access to this vendor.
Setup
Wiring GoCD by hand means pointing at your own {gocd-server} host, choosing between bearer token and basic auth, and mapping the pipeline, agent, and environment admin endpoints yourself. Through Jentic you install once, import GoCD from the API Directory, store the credential once, and your agent calls it.
Permission scoping
GoCD puts the pipeline name in the URL path (/pipelines/{pipeline_name}/history), so a rule can pin your agent to one pipeline: it can read that pipeline's history and configuration and nothing else. You choose the operations it may call, so administrative ones like creating a backup or issuing access tokens are not included unless you add them.
Credential isolation
Your GoCD token or basic-auth credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'list gocd pipelines' or 'check agent status', and Jentic returns the matching GoCD operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using GoCD API through Jentic.
Why is there no official OpenAPI spec for GoCD API?
GoCD documents its REST endpoints in HTML reference pages but does not publish a maintained OpenAPI specification. Jentic generates and maintains this spec so AI agents and developers can call GoCD API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.
What authentication does the GoCD API use?
GoCD supports two schemes: HTTP bearer tokens (personal access tokens) and HTTP basic authentication for local users. Through Jentic, both are stored encrypted in the vault and injected at execution time so the agent never sees the raw secret.
Can I list pipeline run history with the GoCD API?
Yes. GET /pipelines/{pipeline_name}/history returns the recent run history for a named pipeline, including status and material revisions, so an agent can detect failures and decide on retries.
What are the rate limits for the GoCD API?
GoCD is self-hosted and the OpenAPI spec does not declare a numeric rate limit. The practical limit depends on the deployed server's capacity; back off on HTTP 429 responses if your administrator has fronted the server with a rate-limiting proxy.
How do I trigger a GoCD pipeline through Jentic?
Run a Jentic search for 'trigger gocd pipeline', load the schema for the relevant /admin/pipelines or scheduling endpoint, and execute it with the pipeline name. Install with pip install jentic and chain search, load, and execute.
Does the GoCD API support config backups?
Yes. POST /admin/backup triggers a configuration backup. The endpoint returns a job that captures the GoCD configuration so it can be restored after a server failure or migration.
Can I limit what my agent is allowed to do with the GoCD API?
Yes. Because Jentic One is self-hosted, your own rules decide which GoCD operations and credentials the agent may use. GoCD puts the pipeline name in the URL path, such as GET /pipelines/{pipeline_name}/history, so you can pin the agent to a single pipeline and let it read only that pipeline's history and configuration. You choose the operations it can call, so administrative ones like POST /admin/backup or issuing access tokens via /access_tokens stay off limits unless you add them.
Know of an official OpenAPI document? Contribute it →
For Agents
Trigger GoCD pipelines, manage build agents and environments, and rotate access tokens. Built for DevOps agents that drive continuous delivery on self-hosted GoCD servers.
Use for: Trigger a deployment for the 'release-backend' GoCD pipeline, List all build agents currently registered with GoCD, Get the run history for the GoCD pipeline 'frontend-build', Create a new pipeline group for the payments team
Not supported: Does not handle source-control hosting, container registry management, or runtime production monitoring - use for GoCD continuous-delivery operations only.
Jentic publishes the only available OpenAPI specification for GoCD API, keeping it validated and agent-ready. The GoCD API is the REST surface for ThoughtWorks' open-source continuous-delivery server. It exposes pipelines, pipeline groups, agents, environments, users, security roles, materials, configuration repositories, access tokens, system backups, and health checks. It is the standard interface for triggering deployments, managing build agents, and rotating access credentials in self-hosted GoCD installations.