---
title: "Retrieve Credit Transaction"
method: GET
path: "/api/credit-transactions/{id}/"
tags: ["creditTransactions"]
---

# Retrieve Credit Transaction

`GET /api/credit-transactions/{id}/`

GET /api/credit-transactions/<id>/
Retrieve a single credit transaction by ID

Args:
    - id (str): The transaction ID (primary key)

Response:
    - Full credit transaction details
    - Excludes 'usage' transactions (users shouldn't access these directly)

Permissions:
    - Regular users: Can view their own org's transactions
    - Superadmin: Can view any transaction

NOTE: CLICKHOUSE-ONLY STRATEGY - Queries ClickHouse directly instead of PostgreSQL

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

- CreditTransactionDetail — Detail view of credit transactions (full information) — reads ``ch_billing_event``.
  - `id` string, required
  - `unique_organization_id` string, required
  - `amount` number, double, required
  - `transaction_type` string, required
  - `billable_type` string, required
  - `source_id` string, required
  - `credit_amount` number, double, required
  - `debit_amount` number, double, required
  - `description` string, required
  - `created_at` string, date-time, required

## Changes

- **2026-07-31** `c26d550029f8` — 4 warning, 17 info
  - removed the optional property `expires_at` from the response with the `200` status
  - removed the optional property `metadata` from the response with the `200` status
  - removed the optional property `organization_subscription` from the response with the `200` status
  - removed the optional property `stripe_payment_intent_id` from the response with the `200` status
  - …17 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/credit-transactions/:id/get.md)

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c26d550029f8/schema)
