| https://trunk.dev/ |
| How it works | https://trunk.dev/#how |
| Docs | https://trunk.dev/docs |
| Pricing | https://trunk.dev/pricing |
| Contact | https://trunk.dev/contact/sales |
| Sign in | https://trunk.dev/signin |
| Overview | https://trunk.dev/docs |
| HTTP API | https://trunk.dev/docs/api |
| MCP server | https://trunk.dev/docs/mcp |
| Calling the API | https://trunk.dev/docs/api#calling |
| Review assessments1 | https://trunk.dev/docs/api#reviews |
| Reviewer configuration9 | https://trunk.dev/docs/api#reviewerSettings |
| Identity1 | https://trunk.dev/docs/api#me |
| Changes11 | https://trunk.dev/docs/api#changes |
| The decision queue1 | https://trunk.dev/docs/api#queue |
| Repositories7 | https://trunk.dev/docs/api#repositories |
| Policy3 | https://trunk.dev/docs/api#policy |
| Source7 | https://trunk.dev/docs/api#source |
| The trunk log1 | https://trunk.dev/docs/api#trunk |
| Agents6 | https://trunk.dev/docs/api#agents |
| API keys3 | https://trunk.dev/docs/api#keys |
| Events1 | https://trunk.dev/docs/api#events |
| Statistics1 | https://trunk.dev/docs/api#stats |
| Accounts and sessions3 | https://trunk.dev/docs/api#auth |
| externalCi2 | https://trunk.dev/docs/api#externalCi |
| deployments2 | https://trunk.dev/docs/api#deployments |
| checks11 | https://trunk.dev/docs/api#checks |
| reviewers9 | https://trunk.dev/docs/api#reviewers |
| agent11 | https://trunk.dev/docs/api#agent |
| specs6 | https://trunk.dev/docs/api#specs |
| projects8 | https://trunk.dev/docs/api#projects |
| tasks10 | https://trunk.dev/docs/api#tasks |
| feedback5 | https://trunk.dev/docs/api#feedback |
| openapi.json | https://api.trunk.dev/openapi.json |
| mcp.json | https://api.trunk.dev/mcp.json |
| trunk-client.ts | https://api.trunk.dev/trunk-client.ts |
| OpenAPI | https://api.trunk.dev/openapi.json |
| TypeScript client | https://api.trunk.dev/trunk-client.ts |
| Calling the API | https://trunk.dev/docs/api#calling |
| Open the authenticated API console | https://trunk.dev/api |
| Review assessments | https://trunk.dev/docs/api#reviews |
| Read attributable Candidate review assessments and source findings | https://trunk.dev/docs/api#reviews-list |
| Reviewer configuration | https://trunk.dev/docs/api#reviewerSettings |
| Read reviewer configuration, provenance and administrator permissions | https://trunk.dev/docs/api#reviewerSettings-workspace-read |
| Create a customer reviewer with Name, Prompt and scoped review policy | https://trunk.dev/docs/api#reviewerSettings-workspace-create |
| Edit a customer reviewer and policy with exact version preconditions | https://trunk.dev/docs/api#reviewerSettings-workspace-edit |
| Delete a customer reviewer, retaining historical identity and results | https://trunk.dev/docs/api#reviewerSettings-workspace-delete |
| Read reviewer configuration, provenance and administrator permissions | https://trunk.dev/docs/api#reviewerSettings-repository-read |
| Create a customer reviewer with Name, Prompt and scoped review policy | https://trunk.dev/docs/api#reviewerSettings-repository-create |
| Edit a customer reviewer and policy with exact version preconditions | https://trunk.dev/docs/api#reviewerSettings-repository-edit |
| Delete a customer reviewer, retaining historical identity and results | https://trunk.dev/docs/api#reviewerSettings-repository-delete |
| Select a Trunk global reviewer and configure repository review policy | https://trunk.dev/docs/api#reviewerSettings-repository-global |
| Identity | https://trunk.dev/docs/api#me |
| Who am I, what may I touch, and what is my record | https://trunk.dev/docs/api#me-get |
| Changes | https://trunk.dev/docs/api#changes |
| Propose a change — the only way code reaches trunk | https://trunk.dev/docs/api#changes-propose |
| Revise an existing Change by id and expected revision | https://trunk.dev/docs/api#changes-revise |
| List changes | https://trunk.dev/docs/api#changes-list |
| Get one change, with whichever parts you need | https://trunk.dev/docs/api#changes-get |
| Re-run verification and re-route | https://trunk.dev/docs/api#changes-verify |
| Record a human decision or terminate a pre-evidence Change | https://trunk.dev/docs/api#changes-decide |
| Land an approved or auto-landable change on trunk | https://trunk.dev/docs/api#changes-land |
| Mark the exact current Draft revision ready for the normal landing lifecycle | https://trunk.dev/docs/api#changes-mark_ready |
| Request synchronization recovery for an exact linked GitHub contribution revision | https://trunk.dev/docs/api#changes-recover_github |
| Revert a landed change | https://trunk.dev/docs/api#changes-revert |
| Append steps to a change session trace | https://trunk.dev/docs/api#changes-trace |
| The decision queue | https://trunk.dev/docs/api#queue |
| The human decision queue — only what policy could not resolve | https://trunk.dev/docs/api#queue-list |
| Repositories | https://trunk.dev/docs/api#repositories |
| Issue a five-minute agent Git read credential | https://trunk.dev/docs/api#repositories-agentGitCredential |
| Issue a short-lived human Git HTTPS credential | https://trunk.dev/docs/api#repositories-gitCredential |
| Start or resume an initial repository import | https://trunk.dev/docs/api#repositories-import |
| Inspect the durable repository import operation | https://trunk.dev/docs/api#repositories-import-get |
| List repositories | https://trunk.dev/docs/api#repositories-list |
| Create a repository | https://trunk.dev/docs/api#repositories-create |
| Repository detail: services, ownership, active policy, trunk head | https://trunk.dev/docs/api#repositories-get |
| Policy | https://trunk.dev/docs/api#policy |
| Read the active routing policy | https://trunk.dev/docs/api#policy-get |
| Save routing policy against the version read for editing | https://trunk.dev/docs/api#policy-set |
| Replay a candidate policy over historical changes | https://trunk.dev/docs/api#policy-simulate |
| Source | https://trunk.dev/docs/api#source |
| Audit the live public and ephemeral tips of a candidate checkout | https://trunk.dev/docs/api#source-candidateRetention |
| Read several files from one exact branch snapshot | https://trunk.dev/docs/api#source-files |
| Search text source at one exact branch snapshot | https://trunk.dev/docs/api#source-search |
| Preflight a Git patch against the exact recorded Trunk head | https://trunk.dev/docs/api#source-patch_preflight |
| The branches this repository holds | https://trunk.dev/docs/api#source-branches |
| One directory of the source at one branch | https://trunk.dev/docs/api#source-tree |
| One file of the source at one branch | https://trunk.dev/docs/api#source-file |
| The trunk log | https://trunk.dev/docs/api#trunk |
| The trunk log: what landed, in order | https://trunk.dev/docs/api#trunk-log |
| Agents | https://trunk.dev/docs/api#agents |
| The agent fleet with track records | https://trunk.dev/docs/api#agents-list |
| One agent: scopes, budget, per-service record | https://trunk.dev/docs/api#agents-get |
| Register an agent identity | https://trunk.dev/docs/api#agents-create |
| Delete an agent that never did anything | https://trunk.dev/docs/api#agents-delete |
| Grant an agent a scope | https://trunk.dev/docs/api#agents-grant |
| Set an agent budget | https://trunk.dev/docs/api#agents-budget |
| API keys | https://trunk.dev/docs/api#keys |
| List an agent's active API keys | https://trunk.dev/docs/api#keys-list |
| Issue a new API key | https://trunk.dev/docs/api#keys-create |
| Revoke an API key | https://trunk.dev/docs/api#keys-revoke |
| Events | https://trunk.dev/docs/api#events |
| Recent platform events | https://trunk.dev/docs/api#events-list |
| Statistics | https://trunk.dev/docs/api#stats |
| Throughput and autonomy for the repository | https://trunk.dev/docs/api#stats-get |
| Accounts and sessions | https://trunk.dev/docs/api#auth |
| Create an account | https://trunk.dev/docs/api#auth-signup |
| Exchange an email and password for a session token | https://trunk.dev/docs/api#auth-signin |
| End the current session | https://trunk.dev/docs/api#auth-signout |
| externalCi | https://trunk.dev/docs/api#externalCi |
| Dispatch or retry an exact required Trunk-managed check | https://trunk.dev/docs/api#externalCi-dispatch |
| Dispatch or retry an exact enabled customer-owned Buildkite check | https://trunk.dev/docs/api#externalCi-dispatchByo |
| deployments | https://trunk.dev/docs/api#deployments |
| Create or replay an exact-revision deployment and dispatch supported Preview providers | https://trunk.dev/docs/api#deployments-start |
| Report provider-observed state for one deployment attempt | https://trunk.dev/docs/api#deployments-update |
| checks | https://trunk.dev/docs/api#checks |
| Read workspace-wide configurable verification requirements | https://trunk.dev/docs/api#checks-verification-workspace-list |
| Read inherited and repository-specific verification requirements | https://trunk.dev/docs/api#checks-verification-repository-list |
| Configure an independent workspace or repository verification requirement | https://trunk.dev/docs/api#checks-verification-create |
| Change enabled and Required policy with an exact version precondition | https://trunk.dev/docs/api#checks-verification-update |
| Remove a configurable verification requirement without deleting history | https://trunk.dev/docs/api#checks-verification-remove |
| Read the required external checks for a repository | https://trunk.dev/docs/api#checks-requirements-get |
| Replace the required external checks for a repository | https://trunk.dev/docs/api#checks-requirements-set |
| Read current revision-bound checks and the landing gate | https://trunk.dev/docs/api#checks-list |
| Request a review retry or rerun for the current Candidate | https://trunk.dev/docs/api#checks-attempts-request |
| Create a human-attested check run for the current change revision | https://trunk.dev/docs/api#checks-create |
| Advance a human-attested check run and resume landing when the gate turns green | https://trunk.dev/docs/api#checks-update |
| reviewers | https://trunk.dev/docs/api#reviewers |
| Read public metadata only for Trunk-managed reviewer catalog | https://trunk.dev/docs/api#reviewers-catalog |
| Create an workspace or repository reviewer definition | https://trunk.dev/docs/api#reviewers-create |
| List workspace reviewer definitions | https://trunk.dev/docs/api#reviewers-list |
| Read a customer-owned reviewer definition | https://trunk.dev/docs/api#reviewers-get |
| Read retained versions of an active customer reviewer | https://trunk.dev/docs/api#reviewers-versions |
| Replace a customer reviewer with version precondition | https://trunk.dev/docs/api#reviewers-edit |
| Tombstone an active customer reviewer without erasing historical versions | https://trunk.dev/docs/api#reviewers-delete |
| List effective customer definitions for a repository | https://trunk.dev/docs/api#reviewers-repository-list |
| Read frozen Trunk reviewer defaults selected for a repository | https://trunk.dev/docs/api#reviewers-repository-globals |
| agent | https://trunk.dev/docs/api#agent |
| Retry one failed provider-owned check on an exact current Change revision | https://trunk.dev/docs/api#agent-retryCheck |
| Prepare an author-owned patch against the recorded trunk head without changing the Change | https://trunk.dev/docs/api#agent-prepareRebase |
| Withdraw the author’s exact current open Change revision | https://trunk.dev/docs/api#agent-withdraw |
| Find readable open Changes sharing paths or services | https://trunk.dev/docs/api#agent-overlaps |
| Read path services, effective permissions, inherited AGENTS.md files and required checks | https://trunk.dev/docs/api#agent-pathContext |
| Compare bounded text trees at two immutable snapshots | https://trunk.dev/docs/api#agent-compareRefs |
| Read exact-candidate Preview targets and separately identified published addresses | https://trunk.dev/docs/api#agent-changePreview |
| Read bounded, credential-redacted output for one exact check attempt | https://trunk.dev/docs/api#agent-checkLogs |
| Read the current numbered revision and its required check gate | https://trunk.dev/docs/api#agent-changeChecks |
| Wait up to 25 seconds for a Change state cursor to advance | https://trunk.dev/docs/api#agent-waitForChange |
| Read revision-bound Change status, blockers and next actions | https://trunk.dev/docs/api#agent-changeStatus |
| specs | https://trunk.dev/docs/api#specs |
| List project specs; archived specs require include_archived | https://trunk.dev/docs/api#specs-list |
| Read a project spec, including archived content | https://trunk.dev/docs/api#specs-get |
| Create a project spec | https://trunk.dev/docs/api#specs-create |
| Update a project spec | https://trunk.dev/docs/api#specs-update |
| Archive a project spec | https://trunk.dev/docs/api#specs-archive |
| Restore a project spec | https://trunk.dev/docs/api#specs-restore |
| projects | https://trunk.dev/docs/api#projects |
| List eligible human and agent project owners | https://trunk.dev/docs/api#projects-owners |
| Create a workspace project with a human or agent owner | https://trunk.dev/docs/api#projects-create |
| Update a workspace project with a human or agent owner | https://trunk.dev/docs/api#projects-update |
| Archive a project without deleting its tasks, specs or discussion | https://trunk.dev/docs/api#projects-archive |
| Restore a project without deleting its tasks, specs or discussion | https://trunk.dev/docs/api#projects-restore |
| List workspace projects; archived projects require include_archived | https://trunk.dev/docs/api#projects-list |
| Read the feature brief, specs, discussion, and task Changes | https://trunk.dev/docs/api#projects-get |
| Read a page of project discussion comments | https://trunk.dev/docs/api#projects-comments-list |
| tasks | https://trunk.dev/docs/api#tasks |
| List eligible task assignees in this workspace | https://trunk.dev/docs/api#tasks-assignees |
| Archive a task at its observed revision without deleting history or Change links | https://trunk.dev/docs/api#tasks-archive |
| Restore a task at its observed revision without deleting history or Change links | https://trunk.dev/docs/api#tasks-restore |
| List tasks in a workspace, optionally scoped to a project or Change | https://trunk.dev/docs/api#tasks-list |
| Read a task, discussion, and linked Changes | https://trunk.dev/docs/api#tasks-get |
| Create a task belonging to one project; repository access is inherited from the project | https://trunk.dev/docs/api#tasks-create |
| Update task fields at an observed revision | https://trunk.dev/docs/api#tasks-update |
| Add to a task discussion | https://trunk.dev/docs/api#tasks-comment |
| Link a Change to a task | https://trunk.dev/docs/api#tasks-link |
| Unlink a Change from a task | https://trunk.dev/docs/api#tasks-unlink |
| feedback | https://trunk.dev/docs/api#feedback |
| Report a problem with Trunk or its documentation to Trunk maintainers | https://trunk.dev/docs/api#feedback-submit |
| List your own Trunk feedback, and the latest explicitly shared responses | https://trunk.dev/docs/api#feedback-list |
| Read a feedback report and its latest maintainer response | https://trunk.dev/docs/api#feedback-get |
| Wait up to 25 seconds for a response or status change to your feedback | https://trunk.dev/docs/api#feedback-wait |
| Respond to Trunk feedback as a maintainer authorized to update the linked task | https://trunk.dev/docs/api#feedback-respond |
| Trunk | https://trunk.dev/ |
| https://x.com/trunk_dev |
| https://www.linkedin.com/company/trunk-dev/ |
| Status | https://status.trunk.dev |
| Privacy Policy | https://trunk.dev/privacy |
| Terms of Service | https://trunk.dev/terms |