---
title: "List commit enrichments"
method: GET
path: "/repositories/{id}/commits/{commit_sha}/enrichments"
tags: ["repositories"]
---

# List commit enrichments

`GET /repositories/{id}/commits/{commit_sha}/enrichments`

List enrichments for a commit

## Path parameters

- `id` integer, required
- `commit_sha` string, required

## Query parameters

- `enrichment_type` string
- `enrichment_subtype` string
- `page` integer
- `page_size` integer

## Response `200`

OK

- DtoEnrichmentJSONAPIListResponse
  - `data` DtoEnrichmentData[]
    - `attributes` DtoEnrichmentAttributes
      - `content` string
      - `created_at` string
      - `end_line` integer
      - `page` integer
      - `start_line` integer
      - `subtype` string
      - `type` string
      - `updated_at` string
    - `id` string
    - `type` string
  - `links` JsonapiLinks
    - `first` string
    - `last` string
    - `next` string
    - `prev` string
    - `self` string
  - `meta` JsonapiMeta

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/helixml/apis/kodit-api.md) · [All operations](https://skmtc.net/helixml/apis/kodit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helixml/kodit-api/versions/3f72fa58f3fb/schema)
