Trunk

Trunk builds developer experience and CI reliability tooling. Its platform spans Code Quality (a meta-linter and static analysis manager driven by the trunk CLI), a flake-aware parallel Merge Queue, and Flaky Tests detection / CI Analytics. Test results are uploaded from CI via the Trunk Analytics CLI / GitHub Action, and an HTTP REST API at api.trunk.io exposes Flaky Tests and Merge Queue control plus Svix-powered outbound webhooks. Trunk is a portfolio company of a16z.

Trunk publishes 2 APIs on the APIs.io network: Flaky Tests API and Merge Queue API. Tagged areas include Developer Tools, CI/CD, Code Quality, Flaky Tests, and Merge Queue.

The Trunk catalog on APIs.io includes 1 event-driven AsyncAPI specification.

Trunk’s developer surface includes documentation, engineering blog, authentication, CLI, and 17 more developer resources.

41.4/100 thin ▬ flat Agent 71/100 agent native Full breakdown ↓
scored 2026-07-27 · rubric v0.5
AccessSelf serve
5 APIs 1 MCP Servers
Developer ToolsCI/CDCode QualityFlaky TestsMerge QueueTest AnalyticsStatic AnalysisWebhooks

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-27 · rubric v0.5
Composite quality — 41.4/100 · thin
Contract Quality 17.5 / 25
Developer Ergonomics 8.7 / 20
Commercial Clarity 2.1 / 20
Operational Transparency 3.1 / 13
Governance 0.0 / 12
Discoverability 10.0 / 10
Agent readiness — 71/100 · agent native
Machine-Readable Contract 18 / 18
Agentic Access Contract 15 / 15
MCP Server 12 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 8 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 6 / 6
Agent Skills 5 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/trunk: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 5

Individual APIs this provider publishes, each with its own machine-readable definition.

Trunk Test Uploads (Analytics CLI)

CI test-result ingestion surface. The trunk-analytics-cli (and the trunk-io/analytics-uploader GitHub Action) uploads JUnit XML, Bazel BEP, and XCResult test reports to Trunk fo...

Trunk Webhooks

Svix-powered outbound webhooks for subscribing to Flaky Tests events (test_case.status_changed, test_case.monitor_status_changed, test_case.investigation_completed) and Merge Qu...

Trunk Code Quality CLI

Meta-linter and static analysis manager exposed through the trunk CLI and a local daemon (no public REST API). Commands include trunk init, trunk check, and trunk check --all; i...

Trunk Flaky Tests API

Query Flaky Tests state and link tickets.

Trunk Merge Queue API

Control the Trunk Merge Queue.

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

trunk-mcp.yml

MCP SERVER

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

Trunk Webhooks

ASYNCAPI

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Trunk Authentication

apiKey · 1 scheme

SECURITY

Trunk Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Trunk Vulnerability Disclosure

disclosure policy published

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Trunk Agentic Access

16 operations · 15 acting

16 operations · 15 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 3

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 6

Pagination, idempotency, versioning, errors, and events

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 4

Authentication, authorization, and security posture

Commercial 1

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: trunk
name: Trunk
description: Trunk builds developer experience and CI reliability tooling. Its platform spans Code Quality (a meta-linter
  and static analysis manager driven by the trunk CLI), a flake-aware parallel Merge Queue, and Flaky Tests detection / CI
  Analytics. Test results are uploaded from CI via the Trunk Analytics CLI / GitHub Action, and an HTTP REST API at api.trunk.io
  exposes Flaky Tests and Merge Queue control plus Svix-powered outbound webhooks. Trunk is a portfolio company of a16z.
accessModel:
  pricing: unknown
  onboarding: self-serve
  trial: false
  try_now: false
  public: false
  label: Self-serve signup
  confidence: medium
  source:
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/trunk.png
url: https://raw.githubusercontent.com/api-evangelist/trunk/refs/heads/main/apis.yml
x-type: company
x-source: vc-portfolio
x-backed-by:
- a16z
x-tier: stub
x-tier-reason: portfolio-lead
x-canonical: trunk-io
x-canonical-note: This record duplicates the canonical, more fully enriched provider at all/trunk-io (same company, Trunk.io).
  Candidate for dedupe.
specificationVersion: '0.20'
created: '2026-07-17'
modified: '2026-07-21'
tags:
- Developer Tools
- CI/CD
- Code Quality
- Flaky Tests
- Merge Queue
- Test Analytics
- Static Analysis
- Webhooks
apis:
- aid: trunk:test-uploads-api
  name: Trunk Test Uploads (Analytics CLI)
  tags:
  - Test Uploads
  - CI Integration
  - JUnit
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://docs.trunk.io/flaky-tests/uploader
  baseURL: https://api.trunk.io
  description: CI test-result ingestion surface. The trunk-analytics-cli (and the trunk-io/analytics-uploader GitHub Action)
    uploads JUnit XML, Bazel BEP, and XCResult test reports to Trunk for flaky-test detection, authenticated with an organization
    slug (--org-url-slug) and API token (--token / TRUNK_API_TOKEN).
  properties:
  - url: https://docs.trunk.io/flaky-tests/uploader
    type: Documentation
  - url: https://docs.trunk.io/flaky-tests/get-started/ci-providers/github-actions
    type: GettingStarted
- aid: trunk:webhooks-api
  name: Trunk Webhooks
  tags:
  - Webhooks
  - Events
  - Svix
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://docs.trunk.io/flaky-tests/webhooks
  baseURL: https://api.trunk.io
  description: Svix-powered outbound webhooks for subscribing to Flaky Tests events (test_case.status_changed, test_case.monitor_status_changed,
    test_case.investigation_completed) and Merge Queue events (pull_request.* and pull_request_batch.*). Used to trigger downstream
    workflows like GitHub Issues.
  properties:
  - url: https://docs.trunk.io/flaky-tests/webhooks
    type: Documentation
  - url: asyncapi/trunk-webhooks.yml
    type: Webhooks
- aid: trunk:code-quality-cli
  name: Trunk Code Quality CLI
  tags:
  - Code Quality
  - Meta-Linter
  - Static Analysis
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://docs.trunk.io/code-quality
  baseURL: https://docs.trunk.io/code-quality
  description: Meta-linter and static analysis manager exposed through the trunk CLI and a local daemon (no public REST API).
    Commands include trunk init, trunk check, and trunk check --all; it hermetically installs and runs third-party linters,
    formatters, and security scanners, operating in Hold The Line mode by default and serving real-time annotations to IDE
    extensions.
  properties:
  - url: https://docs.trunk.io/code-quality
    type: Documentation
  - url: https://docs.trunk.io/cli
    type: Documentation
- aid: trunk:trunk-flaky-tests-api
  name: Trunk Flaky Tests API
  description: Query Flaky Tests state and link tickets.
  humanURL: https://docs.trunk.io/flaky-tests/reference/api-reference
  baseURL: https://api.trunk.io/v1
  tags:
  - Flaky Tests
  properties:
  - type: OpenAPI
    url: openapi/trunk-flaky-tests-api-openapi.yml
  - type: Documentation
    url: https://docs.trunk.io/flaky-tests/flaky-tests
  - type: APIReference
    url: https://docs.trunk.io/flaky-tests/reference/api-reference
  - type: Documentation
    url: https://docs.trunk.io/merge-queue
  - type: APIReference
    url: https://docs.trunk.io/merge-queue/reference/merge
- aid: trunk:trunk-merge-queue-api
  name: Trunk Merge Queue API
  description: Control the Trunk Merge Queue.
  humanURL: https://docs.trunk.io/flaky-tests/reference/api-reference
  baseURL: https://api.trunk.io/v1
  tags:
  - Merge Queue
  properties:
  - type: OpenAPI
    url: openapi/trunk-merge-queue-api-openapi.yml
  - type: Documentation
    url: https://docs.trunk.io/flaky-tests/flaky-tests
  - type: APIReference
    url: https://docs.trunk.io/flaky-tests/reference/api-reference
  - type: Documentation
    url: https://docs.trunk.io/merge-queue
  - type: APIReference
    url: https://docs.trunk.io/merge-queue/reference/merge
common:
- type: Website
  url: https://trunk.io/
- type: Documentation
  url: https://docs.trunk.io
- type: GitHubOrganization
  url: https://github.com/trunk-io
- type: LinkedIn
  url: https://www.linkedin.com/company/trunkhq
- type: Blog
  url: https://trunk.io/feed.xml
- type: TermsOfService
  url: https://trunk.io/legal/terms
- type: Authentication
  url: authentication/trunk-authentication.yml
- type: AgenticAccess
  url: agentic-access/trunk-agentic-access.yml
- type: MCPServer
  url: mcp/trunk-mcp.yml
- type: ErrorCatalog
  url: errors/trunk-problem-types.yml
- type: Conventions
  url: conventions/trunk-conventions.yml
- type: DataModel
  url: data-model/trunk-data-model.yml
- type: Conformance
  url: conformance/trunk-conformance.yml
- type: Lifecycle
  url: lifecycle/trunk-lifecycle.yml
- type: CLI
  url: cli/trunk-cli.yml
- type: Webhooks
  url: asyncapi/trunk-webhooks.yml
- type: Overlay
  url: overlays/trunk-openapi-overlay.yaml
- type: AgentSkill
  url: skills/_index.yml
- type: DomainSecurity
  url: security/trunk-domain-security.yml
- type: VulnerabilityDisclosure
  url: security/trunk-vulnerability-disclosure.yml
- type: Security
  url: https://trunk.io/security
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
- FN: APIs.json
  email: info@apis.io
x-enrichment:
  date: '2026-07-21'
  status: enriched
  artifacts_added: 15
  pass: local-v1