> ## Documentation Index
> Fetch the complete documentation index at: https://docs.entire.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Endpoints

> Endpoints available to plugins, linked to the shared API Reference.

This page lists endpoints explicitly tagged for plugin use. Each endpoint link opens its canonical API Reference page; read the credential and permission details where documented. Shared APIs may accept both account and plugin credentials; those callers have different permissions and scope.

Paths are relative to the server shown on the reference page. For the full plugin workflow, start with [Access repositories](https://docs.entire.com/guides/api/plugins/act-for-an-installation.md), [Receive webhooks](https://docs.entire.com/guides/api/plugins/webhooks.md) or [User OAuth flow](https://docs.entire.com/guides/api/plugins/user-oauth-flow.md). Browse all published callable endpoints in [Endpoints in API Reference](https://docs.entire.com/guides/api/apis.md).

## Accounts and projects

### Repositories

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>POST /repos</td><td>[Create repository](https://docs.entire.com/api-reference/control-plane/repos/create-repository.md)</td></tr>
  </tbody>
</table>

## Git

### Ref events

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/refs<wbr />/events</td><td>[Stream live ref (branch/tag/HEAD) change events for a repository](https://docs.entire.com/api-reference/git/refs/stream-live-ref-branchtaghead-change-events-for-a-repository.md)</td></tr>
  </tbody>
</table>

## Trails

### Trails

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails</td><td>[List a repo's trails (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trails/list-a-repos-trails-repo_id-addressing.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}</td><td>[Get a trail by number (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trails/get-a-trail-by-number-repo_id-addressing.md)</td></tr>
  </tbody>
</table>

### Approvals

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/approvals</td><td>[List a trail's recorded approval decisions (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-approvals/list-a-trails-recorded-approval-decisions-repo_id-addressing.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/mergeability</td><td>[Get merge readiness for a trail (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-approvals/get-merge-readiness-for-a-trail-repo_id-addressing.md)</td></tr>
  </tbody>
</table>

### Discussions

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/discussions</td><td>[List a trail's discussions (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-discussions/list-a-trails-discussions-repo_id-addressing.md)</td></tr>
    <tr><td>POST /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/discussions</td><td>[Start a new discussion (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-discussions/start-a-new-discussion-repo_id-addressing.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/discussions<wbr />/\{discussion\_id}</td><td>[Get a discussion and its messages (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-discussions/get-a-discussion-and-its-messages-repo_id-addressing.md)</td></tr>
    <tr><td>PATCH /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/discussions<wbr />/\{discussion\_id}</td><td>[Update a discussion's title/resolved state (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-discussions/update-a-discussions-titleresolved-state-repo_id-addressing.md)</td></tr>
    <tr><td>POST /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/discussions<wbr />/\{discussion\_id}<wbr />/messages</td><td>[Add a message to a discussion (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-discussions/add-a-message-to-a-discussion-repo_id-addressing.md)</td></tr>
    <tr><td>DELETE /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/discussions<wbr />/\{discussion\_id}<wbr />/messages<wbr />/\{message\_id}</td><td>[Delete a message (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-discussions/delete-a-message-repo_id-addressing.md)</td></tr>
    <tr><td>PATCH /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/discussions<wbr />/\{discussion\_id}<wbr />/messages<wbr />/\{message\_id}</td><td>[Edit a message (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-discussions/edit-a-message-repo_id-addressing.md)</td></tr>
  </tbody>
</table>

### Activity

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/events</td><td>[List or stream trail events (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-activity/list-or-stream-trail-events-repo_id-addressing.md)</td></tr>
  </tbody>
</table>

### Gates

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/gates</td><td>[Get the configurable gate evaluation for a trail (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-gates/get-the-configurable-gate-evaluation-for-a-trail-repo_id-addressing.md)</td></tr>
  </tbody>
</table>

### Reviews

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>POST /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/reviews</td><td>[Start a code review (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-reviews/start-a-code-review-repo_id-addressing.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/reviews<wbr />/comments</td><td>[List all review comments for a trail (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-reviews/list-all-review-comments-for-a-trail-repo_id-addressing.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/reviews<wbr />/\{review\_id}</td><td>[Get review state (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-reviews/get-review-state-repo_id-addressing.md)</td></tr>
    <tr><td>POST /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/reviews<wbr />/\{review\_id}<wbr />/comments</td><td>[Atomically publish review comments and summary (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-reviews/atomically-publish-review-comments-and-summary-repo_id-addressing.md)</td></tr>
    <tr><td>PATCH /repos<wbr />/\{repo\_id}<wbr />/trails<wbr />/\{number}<wbr />/reviews<wbr />/\{review\_id}<wbr />/comments<wbr />/\{comment\_id}</td><td>[Update a review comment (repo\_id addressing)](https://docs.entire.com/api-reference/trails/trail-reviews/update-a-review-comment-repo_id-addressing.md)</td></tr>
  </tbody>
</table>

## Sessions and checkpoints

### Checkpoints

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/checkpoints</td><td>[Checkpoints on a branch, with commit, diffstat, and sessions](https://docs.entire.com/api-reference/sessions/checkpoints/checkpoints-on-a-branch-with-commit-diffstat-and-sessions.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/checkpoints<wbr />/\{checkpoint\_id}</td><td>[A single checkpoint, with its branch membership](https://docs.entire.com/api-reference/sessions/checkpoints/a-single-checkpoint-with-its-branch-membership.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/checkpoints<wbr />/\{checkpoint\_id}<wbr />/transcript</td><td>[A checkpoint's sessions as message trees](https://docs.entire.com/api-reference/sessions/checkpoints/a-checkpoints-sessions-as-message-trees.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/checkpoints<wbr />/\{checkpoint\_id}<wbr />/transcript<wbr />/raw</td><td>[Stream a checkpoint session's raw transcript](https://docs.entire.com/api-reference/sessions/checkpoints/stream-a-checkpoint-sessions-raw-transcript.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/commits<wbr />/\{sha}<wbr />/checkpoints</td><td>[Checkpoints linked to a commit, with commit, diffstat, and sessions](https://docs.entire.com/api-reference/sessions/checkpoints/checkpoints-linked-to-a-commit-with-commit-diffstat-and-sessions.md)</td></tr>
  </tbody>
</table>

### Experts

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>POST /repos<wbr />/\{repo\_id}<wbr />/experts</td><td>[Rank the agents that worked on a repository's files or paths](https://docs.entire.com/api-reference/sessions/experts/rank-the-agents-that-worked-on-a-repositorys-files-or-paths.md)</td></tr>
  </tbody>
</table>

### Sessions

<table>
  <colgroup>
    <col />

    <col />
  </colgroup>

  <thead><tr><th scope="col">Endpoint</th><th scope="col">Reference</th></tr></thead>

  <tbody>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/sessions</td><td>[Sessions in a repository](https://docs.entire.com/api-reference/sessions/sessions/sessions-in-a-repository.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/sessions<wbr />/\{session\_id}</td><td>[A single session](https://docs.entire.com/api-reference/sessions/sessions/a-single-session.md)</td></tr>
    <tr><td>GET /repos<wbr />/\{repo\_id}<wbr />/sessions<wbr />/\{session\_id}<wbr />/transcript</td><td>[A session's full transcript as a message tree](https://docs.entire.com/api-reference/sessions/sessions/a-sessions-full-transcript-as-a-message-tree.md)</td></tr>
  </tbody>
</table>
