Drone CI API

Drone CI REST API allows agents to manage repository pipelines, trigger builds, inspect build and step logs, and administer secrets for container-native CI/CD pipelines running on self-hosted or Drone Cloud infrastructure.

Evaluated Mar 07, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Developer Tools ci cd drone pipeline open-source self-hosted containers harness
⚙ Agent Friendliness
52
/ 100
Can an agent use this?
🔒 Security
72
/ 100
Is it safe for agents?
⚡ Reliability
68
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
72
Error Messages
68
Auth Simplicity
75
Rate Limits
60

🔒 Security

TLS Enforcement
90
Auth Strength
70
Scope Granularity
50
Dep. Hygiene
75
Secret Handling
78

TLS depends on operator configuration for self-hosted instances. No token scopes. Repository secrets are encrypted at rest but decryption keys depend on operator-managed configuration.

⚡ Reliability

Uptime/SLA
60
Version Stability
72
Breaking Changes
70
Error Recovery
68
AF Security Reliability

Best When

Best when your team runs container-native pipelines on self-hosted Drone and needs agents to automate build orchestration and secret management without a third-party SaaS dependency.

Avoid When

Avoid when infrastructure operations burden is unacceptable or when you need a vendor-backed SLA and enterprise support contract.

Use Cases

  • Trigger a pipeline build programmatically after a deployment artifact is published to a registry
  • Poll step-level logs for a running build and surface failure output in a Slack alert
  • Create or rotate repository-scoped secrets without requiring manual dashboard access
  • List and cancel queued builds during a freeze window or incident response
  • Sync repository activation state across a fleet of microservices during org-wide onboarding

Not For

  • Teams that need a fully managed SaaS CI with enterprise SLA guarantees (self-hosted ops overhead is real)
  • Complex DAG-based workflows requiring conditional fan-out across dozens of heterogeneous runners
  • Organizations that need deep LDAP/SSO integration without custom Drone plugin development

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
Yes

Authentication

Methods: bearer_token
OAuth: No Scopes: No

Authentication uses a User Token generated from the Drone dashboard or CLI, passed as a Bearer token. Tokens are per-user and grant access matching that user's repository permissions. No fine-grained scopes exist; machine accounts are the recommended pattern for agent use.

Pricing

Model: open_source
Free tier: Yes
Requires CC: No

The core Drone server is Apache 2.0 licensed. Harness acquired Drone and the enterprise featureset is now marketed under Harness CI. Self-hosted OSS version remains free.

Agent Metadata

Pagination
offset
Idempotent
Partial
Retry Guidance
Not documented

Known Gotchas

  • Repository must be explicitly activated via the API or dashboard before builds can be triggered — silent failures occur if the repo is not activated
  • Build numbers are auto-incremented and there is no deduplication — agents that retry on timeout will create duplicate builds
  • Log retrieval for individual steps uses a different endpoint pattern than build-level logs and may return empty if the step has not yet started
  • Self-hosted instances may have non-standard base URLs; agents must be configured per-instance rather than using a global endpoint
  • The token has no scope restrictions — compromising it grants full access to all repositories the user can see

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for Drone CI API.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-07.

6470
Packages Evaluated
26150
Need Evaluation
173
Need Re-evaluation
Community Powered