Documentation Index Fetch the complete documentation index at: https://trunk-4cab4936-mintlify-migrate-trunk-docs-1778256504.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Ship software as fast as AI writes it AI generates code at machine speed, but code review, CI, and delivery
still move at human pace. Trunk closes that gap with flaky test
management and a merge queue built for high-throughput teams.
Quick Start Most teams schedule a 30-minute call before integrating. You can also
explore the platform on your own in four steps.
Create your account
Sign up in the Trunk app and create an
organization for your team.
Connect your repository
Follow Account
Setup to create your
workspace and install the Trunk GitHub App with the right repository
access.
Choose your first workflow
Make your first API call
Use your API token to query Trunk programmatically. curl -X POST https://api.trunk.io/v1/getQueue \
-H "Content-Type: application/json" \
-H "x-api-token: $TRUNK_API_TOKEN " \
-d '{
"repo": {
"host": "github.com",
"owner": "my-org",
"name": "my-repo"
},
"targetBranch": "main"
}'
Product Guides Trunk ships two products that work independently or together to keep
delivery fast and reliable.
Flaky Tests Detect, quarantine, and fix flaky tests with branch-aware analysis,
failure-type tracking, PR comments, and ticketing integrations.
Merge Queue Run a parallel merge queue with impacted targets, batching, bisection,
priority handling, and anti-flake protection.
Platform Highlights The platform is built to work with the tools you already use while removing
the bottlenecks that slow delivery down at scale.
Parallel merge orchestration Route independent pull requests through separate lanes instead of forcing
every change through one serialized line.
Runtime flaky test quarantine Keep flaky tests visible while preventing known failure modes from
blocking CI and backing up your queue.
APIs, webhooks, and MCP Integrate Trunk with your own automation through REST APIs, webhooks, CLI
workflows, and the MCP server.
Resources Dive deeper into setup, administration, integrations, and reference material
once your first workflow is live.
Setup & Administration Create your organization, manage access, review GitHub App permissions,
and understand billing, security, and support.
API Reference Explore Trunk REST APIs, webhook payloads, and auth patterns for custom
integrations.
Framework Guides Generate compatible test output across frameworks like Jest, Pytest,
XCTest, Cypress, Playwright, RSpec, JUnit, and more.
MCP Server Connect Trunk’s MCP server to Cursor, Claude Code, GitHub Copilot, or
Gemini for CI-assisted root cause analysis and automation.
Support Get help with onboarding, evaluation, and ongoing rollout through the
channels your team already uses.
Schedule a demo Talk through your CI architecture, security review, and rollout plan with
the Trunk team.
Join the Slack community Ask questions, share feedback, and get help from other engineers using
Trunk.
Visit support docs Review support availability, response expectations, and enterprise support
details.
Ready to ship faster? Start with the guides, explore the APIs, or schedule time with the team
if you want help planning your first rollout.