v1

Get Session Diff

Return the session's uncommitted changes as a patch.

One unified-diff section per changed file, captured from the environment's working tree when the session ended. The per-file counts ride on the session itself (git.repos[].files); this is the text behind them. Empty when the tree was clean. A session token may read only its own session's diff.

get/v1/sessions/{id}/diff

Request

  • Base URL
    https://api.ellipsis.dev
  • URL
    https://api.ellipsis.dev/v1/sessions/{id}/diff
  • Auth
    HTTP bearer

Path parameters

idstring required

Headers

user-agentstring nullable

Response

Successful Response

omitted_pathsstring[] required

Paths whose hunks were dropped to fit the storage cap, so a viewer can name what is missing instead of showing a silently partial diff.

Changes

No recorded changes to this operation across all 1 revision of this API.