Skip to content

Transaction History

View your recent transaction receipts.

Request

GET /v1/history?limit=20

Auth: API Key (Authorization: Bearer ucm_key_...)

Query Parameters

ParamTypeDefaultDescription
limitnumber20Results to return (1-100)

Response

200 OK

json
{
  "agent_id": "abc123...",
  "transactions": [
    {
      "tx_id": "uuid-here",
      "service_id": "ucm/web-search",
      "endpoint": "search",
      "amount": "0.01",
      "currency": "USD",
      "timestamp": "2026-02-05T10:30:00Z"
    }
  ]
}

Fields

FieldDescription
tx_idUnique transaction ID
service_idService that was called
endpointEndpoint that was called
amountCredits charged (or "0" if refunded)
currencyAlways "USD"
timestampISO 8601 timestamp