CognitiveX Docs
API

GET /api/billing/payg-transactions

Get Payg Transactions

GET /api/billing/payg-transactions

Get Payg Transactions

Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.

Parameters

NameInTypeRequiredDescription
limitqueryintegerNoDefaults to 30.
X-Org-IDheaderstring | nullNo-

Example request

curl -X GET https://api.cognitivx.io/api/billing/payg-transactions \
  -H "Authorization: Bearer icog_..."

Example response

200 application/json

{
  "transactions": [
    {
      "id": 1,
      "event_type": "semantic",
      "amount_usd": 0,
      "balance_after": 0,
      "model": "string",
      "created_at": "2026-06-16T08:30:00Z"
    }
  ]
}

Responses

StatusDescription
200Success. Returns the response body shown below.
422Request validation failed. detail lists each offending field.