---
title: "Export Compensation Benchmark Details"
method: GET
path: "/api/v1/compensation/benchmarks/details/export"
tags: ["Compensation Benchmarking", "Public API"]
---

# Export Compensation Benchmark Details

`GET /api/v1/compensation/benchmarks/details/export`

Returns a CSV export of the compensation benchmark detail view for a single job, optionally scoped to a specific location. Rows include employee-level data (name, location, annualized pay, compa-ratio, range penetration, years of experience) alongside the company's internal pay band for the job. Use `GET /api/v1/compensation/benchmarks` to find valid `jobId` and `locationId` values. When `locationId` is omitted, the export aggregates across all locations for the job.

OAuth Scopes: compensation_benchmarks

## Query parameters

- `jobId` string, required
- `locationId` string

## Response `200`

CSV payload streamed with a `Content-Disposition: attachment` header. The filename is derived from the job title and location.

## Other responses

- `403` — The authenticated caller lacks permission to read compensation benchmarks.
- `500` — Unexpected server error while generating the CSV export. Also returned when `jobId` is missing.

---

[API](https://skmtc.net/bamboohr/apis/bamboohr-api.md) · [All operations](https://skmtc.net/bamboohr/apis/bamboohr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bamboohr/bamboohr-api/revisions/19ebf391a399/schema)
