---
title: "Runs For Account Repo"
method: GET
path: "/api/accounts/{account_id}/repositories/{repo_id}/runs"
---

# Runs For Account Repo

`GET /api/accounts/{account_id}/repositories/{repo_id}/runs`

## Request

- Base URL: `https://api.codealmanac.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.codealmanac.com/api/accounts/{account_id}/repositories/{repo_id}/runs`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/codealmanac/apis/codealmanac-api/docs/api/accounts/:account_id/repositories/:repo_id/runs/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `account_id` integer, required
- `repo_id` integer, required

## Query parameters

- `limit` integer
- `cursor` string, nullable

## Response `200`

Successful Response

- PageDTORunDTO
  - `items` RunDTO[], required
    - `runId` string, uuid, required
    - `repoId` integer, required
    - `source` RunSourceDTO, required
      - `kind` string, required
      - `label` string, required
      - `url` string, nullable
    - `status` 'queued' | 'running' | 'delivered' | 'failed' | 'stale' | 'cancelled', required
    - `summary` string, nullable, required
    - `filesChanged` string[], required
    - `commitSha` string, nullable, required
    - `createdAt` string, date-time, nullable, required
    - `finishedAt` string, date-time, nullable, required
  - `nextCursor` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codealmanac/apis/codealmanac-api.md) - [All operations](https://skmtc.dev/codealmanac/apis/codealmanac-api/llms.txt) - [OpenAPI document](https://skmtc.dev/codealmanac/apis/codealmanac-api/revisions/bc053e1aa7f6?raw)
