---
title: "Repo Actions"
method: GET
path: "/v1/teams/{team_id}/repo/actions"
tags: ["team repo"]
---

# Repo Actions

`GET /v1/teams/{team_id}/repo/actions`

## 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/actions`
- Auth: none declared

What does this workspace DO — the verb histogram over a bounded window.

This is what lets the console offer real filter chips. A hardcoded list of
verbs would be wrong the day a new tool ships and would quietly hide the
thing the business does most; the vocabulary here is read out of the history
itself, so a verb invented tomorrow appears with no code change.

Counted from the `did:` blocks, falling back to a commit's `Act:` line when
it has an index but no block — the block is the action count (three texts in
one commit are three), the index is only a list of verbs.

The window is DECLARED, never implied: `since`, the real first and last
commit scanned, and `complete: false` the moment the cap bites. A truncated
count printed as a total is the one way this endpoint could lie.

## Path parameters

- `team_id` string, uuid, required

## Query parameters

- `ref` string
- `since` string
- `cap` integer

## Headers

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

## Response `200`

Successful Response

- RepoActionsWindow: The verb histogram, always stamped with the window it actually covers.
  - `ref` string, required
  - `since` string, required
  - `verbs` RepoActionVerb[], required
    - `act` string, required
    - `actions` integer, required
    - `commits` integer, required
  - `actions` integer, required
  - `scanned_commits` integer, required
  - `commits_with_actions` integer, required
  - `truncated_commits` integer
  - `window_start` string, nullable
  - `window_end` string, nullable
  - `complete` boolean
  - `cap` integer

## 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/4d811ab18158?raw)
