Skip to main content
GET
/
api
/
credit-transactions
/
{id}
Get CreditTransaction by ID
curl --request GET \
  --url https://platform.kodexa.ai/api/credit-transactions/{id} \
  --header 'x-api-key: <api-key>'
{
  "amount": 123,
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "modelCosts": [
    "aSDinaTvuI8gbWludGxpZnk="
  ],
  "note": "<string>",
  "organization": {
    "authGroupLink": {
      "authGroup": "<string>"
    },
    "changeSequence": 123,
    "createdOn": "2023-11-07T05:31:56Z",
    "defaultToPrivateTemplates": true,
    "description": "<string>",
    "enterpriseOrganization": true,
    "features": {},
    "hasImage": true,
    "id": "<string>",
    "memory": {
      "orderedDashboards": [
        "<string>"
      ]
    },
    "name": "<string>",
    "organizationStatus": "<string>",
    "properties": {},
    "publicAccess": true,
    "searchText": "<string>",
    "slug": "<string>",
    "stripeCustomerId": "<string>",
    "supportAccess": true,
    "supportAccessExpiresAt": "2023-11-07T05:31:56Z",
    "updatedOn": "2023-11-07T05:31:56Z",
    "uuid": "<string>"
  },
  "organizationId": "<string>",
  "transactionId": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "user": "aSDinaTvuI8gbWludGxpZnk=",
  "userId": "<string>",
  "uuid": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Path Parameters

id
string<uuid>
required

Unique identifier (UUID) of the resource.

Response

The CreditTransaction

A credit transaction records a billing credit usage or addition for an organization.

amount
number<double>
changeSequence
integer<int32>
createdOn
string<date-time>
id
string
modelCosts
string<byte>[]
note
string
organization
object
organizationId
string | null
transactionId
string
updatedOn
string<date-time>
user
string<byte>
userId
string | null
uuid
string