---
title: "List"
method: GET
path: "/api/cp/rev"
tags: ["Rev"]
---

# List

`GET /api/cp/rev`

Retrieve a paginated list of Rev records. Supports filtering, sorting, and search.

## Query parameters

- `rounding_method` 'up' | 'down' | 'half-up' | 'half-down'
- `duration_rounding_method` 'up' | 'down' | 'half-up' | 'half-down'
- `storage` 'live' | 'archive' | 'archiving' | 'archiving-deleting' | 'making-live'

## Response `200`

Successful response

- Rev[]
  - `id` integer — Id
  - `card_id` string — Card Id (references card.id)
  - `name` string — Name
  - `ts` string, date-time — Ts
  - `revision` integer — Revision
  - `presentation` string — Presentation
  - `external` integer — External
  - `expire` string, date-time — Expire
  - `stale` integer — Stale
  - `currency` string — Currency
  - `date_live` string, date-time — Date Live
  - `count` integer — Count
  - `live_rev_id` integer — Live Rev Id
  - `billing_precision` integer — Billing Precision
  - `rounding_method` 'up' | 'down' | 'half-up' | 'half-down' — Rounding Method
  - `duration_rounding_method` 'up' | 'down' | 'half-up' | 'half-down' — Duration Rounding Method
  - `origin_billing_source` string — Origin Billing Source
  - `origin_billing_destination` string — Origin Billing Destination
  - `storage` 'live' | 'archive' | 'archiving' | 'archiving-deleting' | 'making-live' — Storage
  - `archiving_at` string, date-time, nullable — Archiving At
  - `archive_rule_count` integer — Archive Rule Count
  - `archive_sha256` string — Archive Sha 256
  - `archive_size` integer — Archive Size
  - `archive_created_at` string, date-time, nullable — Archive Created At
  - `archive_deleted_at` string, date-time, nullable — Archive Deleted At
  - `archive_error` string — Archive Error

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `500` — Internal server error

---

[API](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api.md) · [All operations](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/connexcs/connexcs-control-panel-api/revisions/54bc2ed6edae/schema)
