Developer
Developer - Transfer Metrics

Backfill Netsapiens Cdr Mirror Endpoint

Changed on

Sweep the customer's whole retained cdr2 history into the mirror table (read-only vs the PBX). Run this before re-capturing snapshots: the PBX drops CDRs after ~65 days, and the mirror is what lets us re-derive timings later.

post/developer/transfer-metrics/backfill-cdr-mirror

Request

  • Base URL: https://api.openintake.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.openintake.ai/developer/transfer-metrics/backfill-cdr-mirror
  • Auth: none declared

Request body

customer_idstring uuid required
daysinteger

How far back to sweep; the PBX only retains ~65 days

window_hoursnumber

Read window size; smaller windows avoid the row cap on busy hours

sleep_secondsnumber

Pause between reads — ns-api throttles account-wide

Response

Successful Response

mirrored_rowsinteger required

CDR rows already mirrored for this customer

enqueuedboolean required

Whether the mirror backfill task was dispatched

Changes