---
title: "GET /api/tenants/{tenantId}/payruns/{payrunId}"
method: GET
path: "/api/tenants/{tenantId}/payruns/{payrunId}"
tags: ["Payruns"]
---

# GET /api/tenants/{tenantId}/payruns/{payrunId}

`GET /api/tenants/{tenantId}/payruns/{payrunId}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/docs/api/tenants/:tenantId/payruns/:payrunId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tenantId` integer, required
- `payrunId` integer, required

## Response `200`

OK

- Payrun
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `payrollId` integer
  - `name` string, required
  - `nameLocalizations` object, nullable
  - `defaultReason` string, nullable
  - `defaultReasonLocalizations` object, nullable
  - `startExpression` string, nullable
  - `employeeAvailableExpression` string, nullable
  - `employeeStartExpression` string, nullable
  - `employeeEndExpression` string, nullable
  - `wageTypeAvailableExpression` string, nullable
  - `endExpression` string, nullable
  - `retroBackCycles` integer

## Other responses

- `404`: Not Found

## Changes

- **2026-04-01** `34e260deaa2c`: 1 warning, 1 info
  - removed the optional property `retroTimeType` from the response with the `200` status
  - added the optional property `retroBackCycles` to the response with the `200` status
- **2023-07-23** `fd1b5146be4a`: 1 warning, 1 info
  - removed the optional property `retroBackCycles` from the response with the `200` status
  - added the optional property `retroTimeType` to the response with the `200` status

[Operation history](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/changes/api/tenants/:tenantId/payruns/:payrunId/get.md)

---

[API](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1.md) - [All operations](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/revisions/7e8994a2c5bb?raw)
