---
title: "Leaderboard history"
method: GET
path: "/challenge/{public_id}/leaderboard_history/"
tags: ["challenge"]
---

# Leaderboard history

`GET /challenge/{public_id}/leaderboard_history/`

## Request

- Base URL: `https://api.wefitter.com/api/v1`
- URL: `https://api.wefitter.com/api/v1/challenge/{public_id}/leaderboard_history/`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/wefitter/apis/wefitter-api/docs/challenge/:public_id/leaderboard_history/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the scores of the authenticated profile for all periods since the profile joined the challenge.
This endpoint returns a list of objects.

## Response `200`

OK

- LeaderboardHistory
  - `score` number
  - `start` string, date-time
  - `end` string, date-time

---

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