---
title: "Read Rates"
method: GET
path: "/api/v1/rates"
tags: ["rates", "rates"]
---

# Read Rates

`GET /api/v1/rates`

## 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`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

Get all rates with optional filtering

## Query parameters

- `client_id` integer, nullable
- `activity_id` integer, nullable
- `active_only` boolean

## Response `200`

Successful Response

- RateWithClient[]
  - `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
  - `client_name` string, nullable
  - `activity_name` string, nullable

## 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)
