Transaction History
View your recent transaction receipts.
Request
GET /v1/history?limit=20Auth: API Key (Authorization: Bearer ucm_key_...)
Query Parameters
| Param | Type | Default | Description |
|---|---|---|---|
limit | number | 20 | Results 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
| Field | Description |
|---|---|
tx_id | Unique transaction ID |
service_id | Service that was called |
endpoint | Endpoint that was called |
amount | Credits charged (or "0" if refunded) |
currency | Always "USD" |
timestamp | ISO 8601 timestamp |