GET /sessions/{session_id}/git
The session's GitHub-side git view: its commits, and each PR it opened joined to the live gh_prs row and reviews.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| GET | /v1/sessions/{session_id}/git |
The identity list (output_git) rides the session itself over the WebSocket; this is the join a "run" notify tells an open pane to refetch.
Path parameters
session_idstringrequired
curl "https://api.ellipsis.dev/v1/sessions/{session_id}/git" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.sessions.git(
"...",
)
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.sessions.git('...');
console.log(result);Request
Response
Example response · 200
{
}