---
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
- `cursor` string, nullable

## Response `200`

Successful Response

- TransactionHistory
  - `transactions` CreditTransactionItem[], required
    - `id` string
    - `transaction_key` string
    - `transaction_time` string, date-time
    - `transaction_type` 'TOP_UP' | 'USAGE' | 'GRANT' | 'REFUND' | 'CARD_CHECK' | 'SUBSCRIPTION'
    - `amount` 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
    - `activity_type` 'agent_run' | 'copilot_tools' | 'block_usage' | 'other'
    - `library_agent_id` string, nullable
    - `agent_name` string, nullable
    - `execution_started_at` string, date-time, nullable
    - `execution_status` string, nullable
    - `execution_graph_version` integer, nullable
    - `execution_available` boolean
    - `conversation_id` string, nullable
    - `conversation_title` string, nullable
    - `parent_execution_id` string, nullable
    - `parent_agent_name` string, nullable
    - `parent_library_agent_id` string, nullable
    - `related_executions` CreditHistoryRelatedExecution[]
      - `execution_id` string, required
      - `agent_name` string, nullable
      - `library_agent_id` string, nullable
      - `execution_available` boolean
      - `amount` integer, nullable
    - `related_executions_has_more` boolean
    - `usage_charge_amount` integer
    - `usage_fee_amount` integer
    - `usage_adjustment_amount` integer
    - `charges` CreditHistoryCharge[]
      - `id` string, required
      - `posted_at` string, date-time, required
      - `amount` integer, required
      - `charge_type` 'usage' | 'execution_fee' | 'adjustment' | 'transaction', required
      - `block_name` string, nullable
      - `node_execution_id` string, nullable
    - `charges_total_count` integer
    - `charges_truncated` boolean
  - `next_transaction_time` string, date-time, nullable, required
  - `next_cursor` string, nullable
  - `snapshot_at` string, date-time, nullable

## Other responses

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

## Changes

- **2026-09-07** `d3946c727d24` — 24 info
  - added the new optional `query` request parameter `cursor`
  - added the optional property `next_cursor` to the response with the `200` status
  - added the optional property `snapshot_at` to the response with the `200` status
  - added the optional property `transactions/items/activity_type` to the response with the `200` status
  - …20 more
- **2026-05-29** `a0976b883c73` — 6 warning
  - removed the optional property `transactions/items/admin_email` from the response with the `200` status
  - removed the optional property `transactions/items/current_balance` from the response with the `200` status
  - removed the optional property `transactions/items/extra_data` from the response with the `200` status
  - removed the optional property `transactions/items/reason` from the response with the `200` status
  - …2 more
- **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/5f27fa9d6c03?raw)
