---
title: "Changes to List credit transactions for a company"
method: GET
path: "/api/admin/companies/{id}/credits"
---

# Changes to List credit transactions for a company

`GET /api/admin/companies/{id}/credits`

> Every recorded change to this endpoint, newest first.
> 49 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 49 revisions.

- **2026-08-31** `97e51f27dc77` — 11 breaking, 2 warning, 7 info

## Changes

- **2026-08-31** `97e51f27dc77` — 11 breaking, 2 warning, 7 info
  - for the `query` request parameter `page`, default value `0` was added
  - for the `query` request parameter `sort`, default value `created_at` was removed
  - removed the enum value `amount` from the `query` request parameter `sort`
  - removed the enum value `created_at` from the `query` request parameter `sort`
  - removed the enum value `type` from the `query` request parameter `sort`
  - added the pattern `^[a-zA-Z]+:(ASC|DESC|asc|desc)$` to the `query` request parameter `sort`
  - the response property `data/items/analysisId` became nullable for the status `200`
  - the response property `data/items/balanceAfter` became nullable for the status `200`
  - the response property `data/items/balanceBefore` became nullable for the status `200`
  - the response property `data/items/description` became nullable for the status `200`
  - the response property `data/items/userEmail` became nullable for the status `200`
  - deleted the `query` request parameter `limit`
  - deleted the `query` request parameter `order`
  - added the new optional `query` request parameter `count`
  - for the `query` request parameter `page`, the min was decreased from `1.00` to `0.00`
  - response property `data/items/analysisId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/items/balanceAfter` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/items/balanceBefore` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/items/description` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/items/userEmail` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

---

[Operation](https://skmtc.dev/retraced/apis/api-reference/docs/api/admin/companies/:id/credits/get.md) · [API](https://skmtc.dev/retraced/apis/api-reference.md) · [Page](https://skmtc.dev/retraced/apis/api-reference/changes/api/admin/companies/:id/credits/get)
