---
title: "Get one payroll's raw cached Gusto payload"
method: GET
path: "/payroll/history/{id}/raw"
tags: ["Payroll"]
---

# Get one payroll's raw cached Gusto payload

`GET /payroll/history/{id}/raw`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/payroll/history/{id}/raw`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

The complete cached raw Gusto get_payroll payload: tax line items, benefits, deductions detail, and company taxes the normalized detail does not surface. Agent-facing. Read-only; no per-request Gusto call. Scoped to the authorized organization.

## Path parameters

- `id` string, uuid, required

## Response `200`

{raw:{...}}

## Other responses

- `404`: No cached raw payload for that UUID.

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
