---
title: "/api/commits"
method: GET
path: "/api/commits"
tags: ["commits"]
---

# /api/commits

`GET /api/commits`

## Request

- Base URL: `https://vulnerabilityhistory.org`
- URL: `https://vulnerabilityhistory.org/api/commits`
- Auth: none required
- TypeScript: <https://skmtc.dev/vulnerabilityhistoryproject/apis/vulnerability-history-project-restful-api/docs/api/commits/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a non-detailed list of all commits in the database. These are VCCs, fixes, and interesting commits.

## Response `200`

OK

- object[]
  - `id` integer: The primary key of the commit. Currently null for unknown reasons
  - `commit_hash` string: The unique hash of the commit
  - `email` string: The email address of the developer responsible for the commit
  - `date_created` string: Parseable date format

## Other responses

- `400`: Malformed request.
- `500`: Internal error. Please report these on our [issue tracker](https://github.com/VulnerabilityHistoryProject/vulnerability-history/issues).

## Changes

- **2023-03-15** `a9815c68a104`: 1 info
  - endpoint added
- **2022-07-01** `520c4d9ba9e9`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/vulnerabilityhistoryproject/apis/vulnerability-history-project-restful-api/changes/api/commits/get.md)

---

[API](https://skmtc.dev/vulnerabilityhistoryproject/apis/vulnerability-history-project-restful-api.md) - [All operations](https://skmtc.dev/vulnerabilityhistoryproject/apis/vulnerability-history-project-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vulnerabilityhistoryproject/apis/vulnerability-history-project-restful-api/revisions/2390172697da?raw)
