---
title: "Repo Commit"
method: GET
path: "/v1/teams/{team_id}/repo/commit/{sha}"
tags: ["team repo"]
---

# Repo Commit

`GET /v1/teams/{team_id}/repo/commit/{sha}`

## Request

- Base URL: `https://api.stormy.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stormy.ai/v1/teams/{team_id}/repo/commit/{sha}`
- Auth: none declared

One commit: what it says, and every line it changed.

A MERGE is diffed against its first parent rather than shown empty. Our
history has real ones — an owner pulling their workspace from the mirror
makes one — and `git show` on a merge prints no patch at all, which reads on
a page as "this commit changed nothing".

## Path parameters

- `team_id` string, uuid, required
- `sha` string, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/a40e83844eaa?raw)
