Graphite website screenshot

Graphite

Graphite is a code review platform built on top of GitHub for stacking pull requests, AI code review, and merging at scale. The gt CLI creates and submits stacked PRs, Graphite Agent (Diamond) provides codebase-aware AI review and chat, and a merge queue batches and tests PRs in parallel. Graphite has no standalone public REST API - it integrates through a GitHub App that consumes GitHub webhooks, the gt CLI (authenticated with a Graphite token), the GT MCP server, and label / GitHub-mediated integrations (Slack, Linear, external merge queue).

6 APIs 0 Features
Code ReviewStacked PRsMerge QueueAI Code ReviewDeveloper ToolsGitHub

APIs

Graphite GitHub App

Graphite installs as a GitHub App (graphite-app) on an organization to receive GitHub webhooks for real-time updates on CI status, mergeability, and push events, and to call Git...

Graphite CLI (gt)

The gt command-line interface creates, stacks, submits, syncs, restacks, and merges pull requests from the terminal. It authenticates with a Graphite auth token (gt auth) and dr...

Graphite GT MCP Server

GT MCP is a Model Context Protocol server built into the Graphite CLI (gt mcp) that lets AI agents in tools like Cursor and Claude Code automatically break large changes into sm...

Graphite Agent (Diamond) AI Code Review

Graphite Agent (formerly Diamond, now unified with Graphite Chat) is a codebase-aware AI code review agent that comments on pull requests, answers questions, and helps fix and i...

Graphite Merge Queue

The Graphite merge queue batches and tests multiple PRs in parallel once they are ready, reducing wait times and merge conflicts. Integration with an external merge queue is lab...

Graphite Insights

Graphite Insights tracks team engineering velocity (PR throughput, review latency, and related stats) over indexed repositories, surfaced in the Graphite web app. No public anal...

Collections

Pricing Plans

Rate Limits

Graphite Dev Rate Limits

4 limits

RATE LIMITS

FinOps

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Graphite Platform
  version: '1.0'
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: GitHub App
    type: folder
  items:
  - info:
      name: Install the Graphite GitHub App
      type: http
    http:
      method: GET
      url: https://github.com/apps/graphite-app
    docs: Entry point to install the Graphite GitHub App on an organization. The app receives GitHub webhooks for CI status,
      mergeability, and push events. Served by GitHub.
  - info:
      name: Graphite GitHub Marketplace listing
      type: http
    http:
      method: GET
      url: https://github.com/marketplace/graphite-dev
    docs: The Graphite listing on the GitHub Marketplace, from which an organization owner can install the app.
- info:
    name: Authentication
    type: folder
  items:
  - info:
      name: Authenticate the gt CLI
      type: http
    http:
      method: POST
      url: https://app.graphite.dev/auth
      body:
        type: json
        data: "{\n  \"token\": \"<string>\"\n}"
    docs: 'Logical representation of `gt auth`: register a Graphite auth token so the CLI can create and update pull requests
      on the user''s behalf.'
- info:
    name: Stacks
    type: folder
  items:
  - info:
      name: Create a stacked branch
      type: http
    http:
      method: POST
      url: https://app.graphite.dev/stacks/branches
      body:
        type: json
        data: "{\n  \"name\": \"<string>\",\n  \"message\": \"<string>\",\n  \"all\": true\n}"
    docs: 'Logical representation of `gt create`: create a new branch stacked on the current branch with committed changes.'
  - info:
      name: Submit a stack to GitHub
      type: http
    http:
      method: POST
      url: https://app.graphite.dev/stacks/submit
      body:
        type: json
        data: "{\n  \"stack\": true,\n  \"draft\": false,\n  \"publish\": true\n}"
    docs: 'Logical representation of `gt submit`: push stacked branches to GitHub and create or update their pull requests.'
  - info:
      name: Sync branches with remote
      type: http
    http:
      method: POST
      url: https://app.graphite.dev/stacks/sync
    docs: 'Logical representation of `gt sync`: pull from remote, delete merged PRs, and restack local branches.'
  - info:
      name: Merge a stack of pull requests
      type: http
    http:
      method: POST
      url: https://app.graphite.dev/stacks/merge
      body:
        type: json
        data: "{\n  \"useMergeQueue\": true\n}"
    docs: 'Logical representation of `gt merge`: merge pull requests from trunk through the current branch via Graphite, optionally
      through the merge queue.'