---
title: "Get credit history"
method: GET
path: "/api/credits/transactions"
tags: ["v1", "credits"]
---

# Get credit history

`GET /api/credits/transactions`

## Query parameters

- `transaction_time` string, date-time, nullable
- `transaction_type` string, nullable
- `transaction_count_limit` integer

## Response `200`

Successful Response

- TransactionHistory
  - `transactions` UserTransaction[], required
    - `transaction_key` string
    - `transaction_time` string, date-time
    - `transaction_type` 'TOP_UP' | 'USAGE' | 'GRANT' | 'REFUND' | 'CARD_CHECK' | 'SUBSCRIPTION'
    - `amount` integer
    - `running_balance` integer
    - `current_balance` integer
    - `description` string, nullable
    - `usage_graph_id` string, nullable
    - `usage_execution_id` string, nullable
    - `usage_node_count` integer
    - `usage_start_time` string, date-time
    - `user_id` string, required
    - `user_email` string, nullable
    - `reason` string, nullable
    - `admin_email` string, nullable
    - `extra_data` string, nullable
  - `next_transaction_time` string, date-time, nullable, required

## Other responses

- `401` — Authentication required
- `422` — Validation Error

## Changes

- **2026-04-30** `8c84efcb3afb` — 6 info
  - added the optional property `transactions/items/admin_email` to the response with the `200` status
  - added the optional property `transactions/items/current_balance` to the response with the `200` status
  - added the optional property `transactions/items/extra_data` to the response with the `200` status
  - added the optional property `transactions/items/reason` to the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/credits/transactions/get.md)

---

[API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/revisions/72eaad2d41b3?raw)
