---
title: "Get Paginated Run Status"
method: GET
path: "/api/MobileApp/templates/paginated_run_status"
tags: ["MobileApp"]
---

# Get Paginated Run Status

`GET /api/MobileApp/templates/paginated_run_status`

## Request

- Base URL: `https://api.leapsurgebi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.leapsurgebi.com/api/MobileApp/templates/paginated_run_status`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/token`
- TypeScript: <https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/docs/api/MobileApp/templates/paginated_run_status/get.ts> (a function with typed inputs; its response is checked against the schema)

Per-user status of a PAGINATED template run.

Paginated recipients have no row in LS_Lia_Recipient_List, so the usual per-recipient
status columns are never written for them — the only per-user record a run leaves is
LS_Template_Log, keyed by (template_code, batch_id, Sequence). Those sequence numbers come
from `paginated_work_items`, so joining the two here reconstructs "which user got what"
without adding a column anywhere.

`batch_id` defaults to the template's most recent batch. The mapping is only meaningful
for a batch generated from the CURRENT recipient rows — if rows were added or removed
after the run, older batches will line up against the wrong users, so `stale_mapping` is
flagged when the logged sequence count doesn't match today's recipient count.

## Query parameters

- `template_id` string, required
- `batch_id` string, nullable

## Headers

- `Customer-Key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `23b42df3193a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/changes/api/MobileApp/templates/paginated_run_status/get.md)

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) - [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/revisions/13653cb8ee76?raw)
