---
title: "Backfill Pbx Staff Legs Endpoint"
method: POST
path: "/developer/transfer-metrics/backfill-recordings"
tags: ["Developer", "Developer - Transfer Metrics"]
---

# Backfill Pbx Staff Legs Endpoint

`POST /developer/transfer-metrics/backfill-recordings`

## 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-recordings`
- Auth: none declared

Enqueue the staff-leg RECORDING backfill for historical answered
transfers: fetch the queue recording from the PBX (read-only), transcribe,
and stitch onto the AI leg — presentation only, the calls' pipelines are
NOT re-run (pipeline_rerun=false rows).

## Request body

- TransferFlowBackfillRequest
  - `customer_id` string, uuid, required
  - `days_back` integer
  - `limit` integer
  - `dry_run` boolean

## Response `200`

Successful Response

- TransferFlowBackfillResponse
  - `candidates` integer, required: Transferred calls in range missing a transfer_flow snapshot
  - `enqueued` boolean, required: Whether the backfill task was dispatched (false for dry runs)

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openintake/apis/openintake-api.md) - [All operations](https://skmtc.dev/openintake/apis/openintake-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openintake/apis/openintake-api/revisions/de90a8dcbc07?raw)
