---
title: "List credit transactions"
method: GET
path: "/workspaces/{workspace_id}/credits/transactions"
tags: ["Credits"]
---

# List credit transactions

`GET /workspaces/{workspace_id}/credits/transactions`

## Request

- Base URL: `https://api.compelling.ai/v1`
- URL: `https://api.compelling.ai/v1/workspaces/{workspace_id}/credits/transactions`
- Auth: HTTP bearer

Paginated history of credit consumption events.

## Query parameters

- `page` integer
- `size` integer

## Response `200`

OK

- PaginatedCreditTransactions
  - `data` CreditTransaction[]
    - `id` string
    - `amount` integer: Credits consumed (negative) or added (positive).
    - `operation` string
    - `list_id` string, nullable
    - `created_at` string, date-time
  - `pagination` Pagination
    - `page` integer
    - `size` integer
    - `total` integer
    - `total_pages` integer

---

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