# list_workspace_credit_activity

Source: https://modulify.ai/docs/mcp/workspaces/list-workspace-credit-activity

Lists the individual credit charges and refunds of a workspace, newest first, 20 at a time.

- Title: List every credit charge
- Scope: `workspaces:read`
- Access: Read only

Every chat turn, image, video and block of extra emails that spent credits is listed, and so is every refund for work that did not deliver. Credits added to the workspace, from the plan allowance, top ups or rewards, are not listed.

Each item has its `type` (`deduction` or `refund`), its `category` (`building`, `images`, `videos`, `emails` or `other`), the `credits`, the site it was for in `project` and when it happened in `createdAt`. `project` is null when the charge was not tied to a site, and carries `deleted` true when the site no longer exists. A block of emails also has `quantity`, the number of extra sends it unlocked.

Pass `category` to keep one kind of charge and `projectId` to keep one site. Page with the `offset` the previous call returned while `hasMore` is true. See [Credits](https://modulify.ai/docs/plans/credits#see-where-your-credits-went).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `workspaceId` | string | Yes | The workspace id. |
| `category` | string | No | Keeps only one kind of charge: `building`, `images`, `videos`, `emails` or `other`. |
| `projectId` | string | No | Keeps only the charges for one site. |
| `offset` | integer | No | How many charges to skip, taken from the `offset` of the previous call. Defaults to 0. |