---
title: "Get Client Rate History"
method: GET
path: "/api/v1/rates/client/{client_id}/history"
tags: ["rates", "rates"]
---

# Get Client Rate History

`GET /api/v1/rates/client/{client_id}/history`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/rates/client/{client_id}/history`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

Get rate history for a specific client

## Path parameters

- `client_id` integer, required

## Response `200`

Successful Response

- RateHistory
  - `client_id` integer, required
  - `client_name` string, required
  - `rates` Rate[], required
    - `client_id` integer, required
    - `activity_id` integer, nullable
    - `rate_per_hour` string, required
    - `valid_from` string, date, required
    - `valid_until` string, date, nullable
    - `description` string, nullable
    - `id` integer, required
    - `created_at` string, date-time, required
  - `current_rate` Rate
    - `client_id` integer, required
    - `activity_id` integer, nullable
    - `rate_per_hour` string, required
    - `valid_from` string, date, required
    - `valid_until` string, date, nullable
    - `description` string, nullable
    - `id` integer, required
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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