Skip to content
Zentri docs
Search
Ctrl
K
Cancel
Select theme
Dark
Light
Auto
Menu
Getting started
What Zentri is
Quickstart
Production setup
Concepts
Concepts
The three catches
Intents and dedup
File claims
Live overlap detection
Sessions and forks
Questions and decisions
PRDs and ADRs
Roles and skill levels
The sandboxing model
Model routing
Why the coordinator is not sandboxed
Guides
Guides
An engineer's day
Two engineers on the same task
One engineer with two sessions
Requests from Slack
Approving decisions
Image paste and clipboard
Connecting your editor
Calibrating dedup thresholds
Writing OpenShell policies
Configuring model routing
Backing up and restoring the coordinator
Agents
Agents
Claude Code
Codex
OpenCode
Any MCP client
Integrations
Integrations
GitHub merge check
Slack bot
Tailscale
Webhooks
Reference
Reference
zt CLI
zentri-server CLI
MCP tools
Configuration
Environment variables
Metrics
HTTP API
Overview
probes
Liveness probe
GET
Readiness probe. Ready when the database answers.
GET
Prometheus metrics in the text exposition format
GET
auth
Exchange a one-time invite code for a user token
POST
Describe the caller's token
GET
Report the coordinator's version and embedder
GET
users
List the org's users (lead or admin)
GET
Create a user (admin)
POST
Issue a one-time invite code for a user (admin). It expires after 15 minutes.
POST
Set a user's skill level (admin, or the user for themself)
PUT
tokens
List the caller's tokens. Admins see every token in the org.
GET
Revoke a token (its owner, or an admin). Revoking twice changes nothing.
POST
Issue a token for the Slack bot, the GitHub check, or a metrics scraper (admin)
POST
projects
List the org's projects
GET
Create a project (lead or admin)
POST
Read a project
GET
Change a project's settings (lead or admin)
PATCH
sessions
List a project's sessions, newest first. Session tokens see summaries.
GET
Start a session for the caller (engineer or above) and issue its session token
POST
Read a session. Other sessions in the project see a summary.
GET
Move a session through its state machine
POST
Report that the agent is alive and extend its live claims by 30 minutes
POST
Extend the calling session token by 8 hours, up to 24 hours after it was issued
POST
claims
List every live claim in a project
GET
List a session's live claims
GET
Claim paths for writing (the session's own token)
POST
Release some or all of a session's claims
POST
notices
List a session's notices, oldest first
GET
Acknowledge notices
POST
Send a note to other sessions in the project (own session token only)
POST
List the caller's own notices (escalations and watchers), oldest first
GET
Acknowledge the caller's own notices
POST
intents
Classify a task against the project's work without storing it (requester or above)
POST
List a project's intents, newest first. Lists never carry raw prompts.
GET
Register a task with a resolution, and start its session when it runs now
POST
Read an intent. Its owner and admins also see the decrypted raw prompt.
GET
End an intent that has no live session (owner or lead)
POST
Start a queued intent and its session (its owner at engineer or above, or a lead)
POST
Read a project's matching thresholds
GET
Replace a project's threshold override (lead or above)
PUT
plans
Overview
Submit the session's plan, which becomes its current plan (own session token only)
POST
Store the session's work so far, which becomes its diff (own session token only)
POST
Read a slice of a session's latest snapshot (viewer or above, or a session in the same project)
GET
Read a session's pull request report (viewer or above, or the session itself)
GET
mcp
Overview
Call the coordinator's tools over MCP (the session's own token)
POST
checks
Overview
Decide whether a pull request may merge (viewer or above, or an integration token with checks:read)
POST
questions
Overview
Ask a person a question (own session token only)
POST
Read a question and its answer (viewer or above, or the asking session's token)
GET
Answer an open question (a person at or above the question's floor)
POST
List a project's questions, newest first (viewer or above)
GET
decisions
Overview
Propose a decision record (own session token only)
POST
Search or list a project's decisions (viewer or above, or a session of the project)
GET
Read a decision and its review (viewer or above, or a session of the project)
GET
Approve or reject a proposed decision (a lead or admin who is not the proposer)
POST
prds
Overview
Store a new revision of the session's intent's PRD (own session token only)
POST
Read an intent's PRD, the latest revision by default (viewer or above, or a session of the project)
GET
stats
Overview
Value metrics over the last N days (viewer or above)
GET
router
Overview
Read a project's model router settings
GET
Replace a project's model router settings (lead or above)
PUT
slack
Overview
Mint a link code for the caller's own Slack link (a user or admin token)
POST
Mint a link code for another user (admin), to hand over privately
POST
Show the caller's Slack link (a user or admin token)
GET
Remove the caller's Slack link (a user or admin token, or a linked Slack user)
DELETE
Remove a user's Slack link (admin)
DELETE
Redeem a link code for the Slack user in the header (the Slack bot)
POST
Lease due Slack deliveries (the Slack bot)
POST
Report how one leased delivery went (the Slack bot)
POST
license
Overview
Show the license status (admin)
GET
Install a license file (admin)
PUT
Self-hosting and operations
Requirements and sizing
Docker Compose
Kubernetes
Upgrades and migrations
Security hardening
Observability
Troubleshooting
Compliance and credentials
Bring your own credentials
Never share a subscription
Seats and API keys
Vendor terms
Contributing
Development setup
Architecture tour
Testing
Release process
The ADR process
Select theme
Dark
Light
Auto
Overview
stats
Section titled “stats”
Value metrics computed from the coordinator’s rows (ADR-0009).
Operations
Section titled “Operations”
GET
/v1/projects/{project_id}/stats