curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}/history" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"exercise": {
"_id": "67f1234567890abcdef1234",
"name": "Dumbbell Bench Press",
"description": "Example description",
"defaultType": "",
"media": [
{
"type": "image",
"url": "https://cdn.example.com/exercises/bench.jpg",
"platform": null,
"videoId": null,
"thumbnail": null,
"duration": null,
"width": 1280,
"height": 720
}
],
"targetedMuscles": [
"string"
],
"primaryCategory": "string",
"secondaryCategories": [
"string"
],
"equipment": [
"string"
],
"difficulty": "string",
"intensity": "string",
"tags": [
"string"
],
"muscleActivation": {
"total": {
"normalized": {},
"maxValue": 1
}
},
"muscleBalance": [
{
"muscle": "Arms",
"value": 1,
"normalized": 1
}
],
"isFavourite": false,
"isClientOwn": false
},
"libraryExercise": {
"primaryMuscle": "Chest",
"description": "Flat horizontal press with controlled tempo.",
"secondaryMuscles": [
"Shoulders",
"Triceps"
],
"primaryJoint": "Shoulder",
"difficulty": "Intermediate",
"intensity": "Above Average",
"equipment": [
"Barbell",
"Bench"
],
"images": [
{
"url": "https://cdn.example.com/workouts/plan-cover.jpg",
"width": 1280,
"height": 720
}
],
"videos": [
{
"url": "https://cdn.example.com/workouts/demo.mp4",
"platform": "s3",
"videoId": "",
"thumbnail": "https://cdn.example.com/workouts/demo-thumb.jpg",
"duration": 84,
"width": 1920,
"height": 1080
}
],
"defaultType": "reps"
},
"history": [
{
"performanceId": "67f1234567890abcdef1234",
"sessionId": "67f1234567890abcdef1234",
"isPersonalRecord": false,
"prVerified": false,
"prRank": null,
"planId": "66f7b8b1e13c8d25f4d3d90a",
"executionContext": {
"mode": "superset",
"groupId": "superset-bench-row",
"restSeconds": 90,
"restSource": "superset"
},
"planName": "30-Day High Intensity Belly Burn",
"type": "reps",
"date": "2026-07-14T10:00:00.000Z",
"startedAt": "2026-01-09T07:32:00.000Z",
"dateLabel": "09 Jan 2026",
"weekday": "Monday",
"isCompleted": true,
"setCount": 4,
"sets": [
{
"setNumber": 1,
"setType": "W",
"rest": 10,
"reps": 15,
"weight": 15,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1,
"completed": true,
"isPersonalRecord": false,
"prVerified": false,
"prRank": 1,
"repsPlaceholderCoach": 10,
"weightPlaceholderCoach": 40,
"timeSecondsPlaceholderCoach": null,
"distanceMetersPlaceholderCoach": null,
"rpePlaceholderCoach": 7,
"restSecondsPlaceholderCoach": 90,
"repsPlaceholder": 10,
"weightPlaceholder": 40,
"timeSecondsPlaceholder": null,
"distanceMetersPlaceholder": null,
"rpePlaceholder": 7,
"restSecondsPlaceholder": 90,
"repsActual": 30,
"weightActual": 42,
"timeSecondsActual": null,
"distanceMetersActual": null,
"rpeActual": 8,
"restSecondsActual": 90
}
]
}
],
"muscleActivation": {
"range": {
"startDate": "2026-07-14T10:00:00.000Z",
"endDate": "2026-07-14T10:00:00.000Z"
},
"total": {
"normalized": {},
"maxValue": 320,
"topMuscles": [
{
"muscle": "chest",
"value": 18
}
]
}
},
"pagination": {
"page": 1,
"limit": 10,
"totalPages": 8,
"totalItems": 78,
"hasNextPage": true,
"hasPreviousPage": false,
"nextPage": 2,
"previousPage": null
},
"statistics": {
"cards": {
"timesPerformed": 78,
"totalSets": 456,
"totalReps": 187,
"frequencyPerWeek": 2
},
"chart": {
"metric": {
"key": "reps",
"label": "Reps",
"unit": "reps",
"exerciseType": "reps",
"aggregation": "max",
"direction": "higher"
},
"granularity": "day",
"range": {
"startDate": "2026-07-14T10:00:00.000Z",
"endDate": "2026-07-14T10:00:00.000Z",
"startDateLabel": "07-28-2026",
"endDateLabel": "08-20-2026"
},
"summary": {
"minimum": 1,
"average": 1,
"maximum": 1
},
"points": [
{
"date": "2026-07-14T10:00:00.000Z",
"dateLabel": "07-28-2026",
"value": 1,
"label": "2026-01-09",
"weight": 38.35,
"volume": 298.6,
"oneRm": 36.8,
"weightPer": 12.4,
"volumePer": 8.7,
"oneRmPer": 10.1,
"reps": 12,
"timeSeconds": 900,
"distanceMeters": 1500
}
],
"previousRecords": [
{
"performanceId": "67f1234567890abcdef1234",
"date": "2026-07-14T10:00:00.000Z",
"dateLabel": "08-20-2026",
"value": 12
}
]
},
"personalRecords": {
"maxWeight": {
"value": 40,
"unit": "kg",
"achievedAt": "2026-07-14T10:00:00.000Z"
},
"estimated1RM": {
"value": 46.5,
"unit": "kg",
"achievedAt": "2026-07-14T10:00:00.000Z"
},
"maxSetVolume": {
"value": 320,
"unit": "kg",
"achievedAt": "2026-07-14T10:00:00.000Z"
},
"maxSessionVolume": {
"value": 1280,
"unit": "kg",
"achievedAt": "2026-07-14T10:00:00.000Z"
}
}
},
"filters": {
"availableFilters": {
"statsRange": [
{
"value": "last7days",
"label": "Last 7 days"
}
],
"leaderboardMetric": [
{
"value": "totalTimeSeconds",
"label": "Time",
"unit": "h"
}
]
},
"selectedFilters": {
"statsRange": "last7days",
"leaderboardMetric": "maxWeight"
}
},
"leaderboard": {
"enabled": true,
"hidden": false,
"metric": "maxWeight",
"calculationMode": "absolute",
"scoreUnit": "kg",
"scoreDirection": "desc",
"podium": [
{
"rank": 4,
"clientId": "67f1234567890abcdef1234",
"firstName": "Ann",
"lastName": "Saris",
"name": "Ann Saris",
"image": "https://cdn.example.com/clients/ann.jpg",
"value": 180,
"displayScore": 180,
"displayValue": "180 kg",
"scoreUnit": "kg",
"verificationStatus": "verified",
"anonymousAvatar": false,
"isCurrentUser": false
}
],
"data": [
{
"rank": 4,
"clientId": "67f1234567890abcdef1234",
"firstName": "Ann",
"lastName": "Saris",
"name": "Ann Saris",
"image": "https://cdn.example.com/clients/ann.jpg",
"value": 180,
"displayScore": 180,
"displayValue": "180 kg",
"scoreUnit": "kg",
"verificationStatus": "verified",
"anonymousAvatar": false,
"isCurrentUser": false
}
],
"currentUser": {
"rank": 4,
"clientId": "67f1234567890abcdef1234",
"firstName": "Ann",
"lastName": "Saris",
"name": "Ann Saris",
"image": "https://cdn.example.com/clients/ann.jpg",
"value": 180,
"displayScore": 180,
"displayValue": "180 kg",
"scoreUnit": "kg",
"verificationStatus": "verified",
"anonymousAvatar": false,
"isCurrentUser": false,
"inCurrentPage": true
},
"totalParticipants": 156
},
"paginationLeaderboard": {
"page": 1,
"limit": 10,
"totalPages": 16,
"totalItems": 153,
"hasNextPage": true,
"hasPreviousPage": false,
"nextPage": 2,
"previousPage": false
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 400,
"key": "request.invalid",
"message": "The request is invalid."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 404,
"key": "resource.not_found",
"message": "The requested Public API resource was not found."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 500,
"key": "server.internal_error",
"message": "An unexpected Public API server error occurred."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Exercise detail — History & Statistics (combined)
History AND Statistics of the exercise detail page in ONE response (the Information tab is served by GET /library/exercises/). The endpoint no longer branches on a tab selector — history, pagination, statistics, and filters are all returned together. Scoped to ONE exercise across all the client’s logged performances (plan + freestyle). The exercise header object matches getExerciseDetail (name/description/media/targetedMuscles/categories/equipment/difficulty/intensity/tags/muscleActivation/muscleBalance/isFavourite). Graph points are returned under statistics.chart. History preserves the tracking type, targets and grouping captured for each execution after plan edits. Each history day contains a data array of performances. A grouped entry returns supersetExerciseCount including itself and supersetExerciseNames listing the other recorded group members in execution order; standalone entries return 0 and []. For assisted_bodyweight, lower assistance is better, equal assistance compares higher reps, and completed zero-assistance sets remain valid. Assistance is excluded from lifted-load volume and estimated 1RM. Coach callers pass clientId; clients resolve from the token.
Requires the workout_progress:read scope. This operation maps to /app/v1/workout/client/library/exercises/:exerciseId/history and retains its Workout V2 permission, feature-flag, and resource-scope checks.
The clientId path parameter identifies the client represented by the request context.
curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}/history" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"exercise": {
"_id": "67f1234567890abcdef1234",
"name": "Dumbbell Bench Press",
"description": "Example description",
"defaultType": "",
"media": [
{
"type": "image",
"url": "https://cdn.example.com/exercises/bench.jpg",
"platform": null,
"videoId": null,
"thumbnail": null,
"duration": null,
"width": 1280,
"height": 720
}
],
"targetedMuscles": [
"string"
],
"primaryCategory": "string",
"secondaryCategories": [
"string"
],
"equipment": [
"string"
],
"difficulty": "string",
"intensity": "string",
"tags": [
"string"
],
"muscleActivation": {
"total": {
"normalized": {},
"maxValue": 1
}
},
"muscleBalance": [
{
"muscle": "Arms",
"value": 1,
"normalized": 1
}
],
"isFavourite": false,
"isClientOwn": false
},
"libraryExercise": {
"primaryMuscle": "Chest",
"description": "Flat horizontal press with controlled tempo.",
"secondaryMuscles": [
"Shoulders",
"Triceps"
],
"primaryJoint": "Shoulder",
"difficulty": "Intermediate",
"intensity": "Above Average",
"equipment": [
"Barbell",
"Bench"
],
"images": [
{
"url": "https://cdn.example.com/workouts/plan-cover.jpg",
"width": 1280,
"height": 720
}
],
"videos": [
{
"url": "https://cdn.example.com/workouts/demo.mp4",
"platform": "s3",
"videoId": "",
"thumbnail": "https://cdn.example.com/workouts/demo-thumb.jpg",
"duration": 84,
"width": 1920,
"height": 1080
}
],
"defaultType": "reps"
},
"history": [
{
"performanceId": "67f1234567890abcdef1234",
"sessionId": "67f1234567890abcdef1234",
"isPersonalRecord": false,
"prVerified": false,
"prRank": null,
"planId": "66f7b8b1e13c8d25f4d3d90a",
"executionContext": {
"mode": "superset",
"groupId": "superset-bench-row",
"restSeconds": 90,
"restSource": "superset"
},
"planName": "30-Day High Intensity Belly Burn",
"type": "reps",
"date": "2026-07-14T10:00:00.000Z",
"startedAt": "2026-01-09T07:32:00.000Z",
"dateLabel": "09 Jan 2026",
"weekday": "Monday",
"isCompleted": true,
"setCount": 4,
"sets": [
{
"setNumber": 1,
"setType": "W",
"rest": 10,
"reps": 15,
"weight": 15,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1,
"completed": true,
"isPersonalRecord": false,
"prVerified": false,
"prRank": 1,
"repsPlaceholderCoach": 10,
"weightPlaceholderCoach": 40,
"timeSecondsPlaceholderCoach": null,
"distanceMetersPlaceholderCoach": null,
"rpePlaceholderCoach": 7,
"restSecondsPlaceholderCoach": 90,
"repsPlaceholder": 10,
"weightPlaceholder": 40,
"timeSecondsPlaceholder": null,
"distanceMetersPlaceholder": null,
"rpePlaceholder": 7,
"restSecondsPlaceholder": 90,
"repsActual": 30,
"weightActual": 42,
"timeSecondsActual": null,
"distanceMetersActual": null,
"rpeActual": 8,
"restSecondsActual": 90
}
]
}
],
"muscleActivation": {
"range": {
"startDate": "2026-07-14T10:00:00.000Z",
"endDate": "2026-07-14T10:00:00.000Z"
},
"total": {
"normalized": {},
"maxValue": 320,
"topMuscles": [
{
"muscle": "chest",
"value": 18
}
]
}
},
"pagination": {
"page": 1,
"limit": 10,
"totalPages": 8,
"totalItems": 78,
"hasNextPage": true,
"hasPreviousPage": false,
"nextPage": 2,
"previousPage": null
},
"statistics": {
"cards": {
"timesPerformed": 78,
"totalSets": 456,
"totalReps": 187,
"frequencyPerWeek": 2
},
"chart": {
"metric": {
"key": "reps",
"label": "Reps",
"unit": "reps",
"exerciseType": "reps",
"aggregation": "max",
"direction": "higher"
},
"granularity": "day",
"range": {
"startDate": "2026-07-14T10:00:00.000Z",
"endDate": "2026-07-14T10:00:00.000Z",
"startDateLabel": "07-28-2026",
"endDateLabel": "08-20-2026"
},
"summary": {
"minimum": 1,
"average": 1,
"maximum": 1
},
"points": [
{
"date": "2026-07-14T10:00:00.000Z",
"dateLabel": "07-28-2026",
"value": 1,
"label": "2026-01-09",
"weight": 38.35,
"volume": 298.6,
"oneRm": 36.8,
"weightPer": 12.4,
"volumePer": 8.7,
"oneRmPer": 10.1,
"reps": 12,
"timeSeconds": 900,
"distanceMeters": 1500
}
],
"previousRecords": [
{
"performanceId": "67f1234567890abcdef1234",
"date": "2026-07-14T10:00:00.000Z",
"dateLabel": "08-20-2026",
"value": 12
}
]
},
"personalRecords": {
"maxWeight": {
"value": 40,
"unit": "kg",
"achievedAt": "2026-07-14T10:00:00.000Z"
},
"estimated1RM": {
"value": 46.5,
"unit": "kg",
"achievedAt": "2026-07-14T10:00:00.000Z"
},
"maxSetVolume": {
"value": 320,
"unit": "kg",
"achievedAt": "2026-07-14T10:00:00.000Z"
},
"maxSessionVolume": {
"value": 1280,
"unit": "kg",
"achievedAt": "2026-07-14T10:00:00.000Z"
}
}
},
"filters": {
"availableFilters": {
"statsRange": [
{
"value": "last7days",
"label": "Last 7 days"
}
],
"leaderboardMetric": [
{
"value": "totalTimeSeconds",
"label": "Time",
"unit": "h"
}
]
},
"selectedFilters": {
"statsRange": "last7days",
"leaderboardMetric": "maxWeight"
}
},
"leaderboard": {
"enabled": true,
"hidden": false,
"metric": "maxWeight",
"calculationMode": "absolute",
"scoreUnit": "kg",
"scoreDirection": "desc",
"podium": [
{
"rank": 4,
"clientId": "67f1234567890abcdef1234",
"firstName": "Ann",
"lastName": "Saris",
"name": "Ann Saris",
"image": "https://cdn.example.com/clients/ann.jpg",
"value": 180,
"displayScore": 180,
"displayValue": "180 kg",
"scoreUnit": "kg",
"verificationStatus": "verified",
"anonymousAvatar": false,
"isCurrentUser": false
}
],
"data": [
{
"rank": 4,
"clientId": "67f1234567890abcdef1234",
"firstName": "Ann",
"lastName": "Saris",
"name": "Ann Saris",
"image": "https://cdn.example.com/clients/ann.jpg",
"value": 180,
"displayScore": 180,
"displayValue": "180 kg",
"scoreUnit": "kg",
"verificationStatus": "verified",
"anonymousAvatar": false,
"isCurrentUser": false
}
],
"currentUser": {
"rank": 4,
"clientId": "67f1234567890abcdef1234",
"firstName": "Ann",
"lastName": "Saris",
"name": "Ann Saris",
"image": "https://cdn.example.com/clients/ann.jpg",
"value": 180,
"displayScore": 180,
"displayValue": "180 kg",
"scoreUnit": "kg",
"verificationStatus": "verified",
"anonymousAvatar": false,
"isCurrentUser": false,
"inCurrentPage": true
},
"totalParticipants": 156
},
"paginationLeaderboard": {
"page": 1,
"limit": 10,
"totalPages": 16,
"totalItems": 153,
"hasNextPage": true,
"hasPreviousPage": false,
"nextPage": 2,
"previousPage": false
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 400,
"key": "request.invalid",
"message": "The request is invalid."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 404,
"key": "resource.not_found",
"message": "The requested Public API resource was not found."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 500,
"key": "server.internal_error",
"message": "An unexpected Public API server error occurred."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Authorizations
Public API access token issued by /public/v1/oauth/token. Example: Authorization: Bearer fspt_.... Each resource request rechecks the token company's current provider access. Disabling access blocks existing tokens with 403 auth.provider_unavailable.
Path Parameters
Catalog Exercisev2 id.
"67f1234567890abcdef1234"
Client in the company bound to the Public API token.
^[a-fA-F0-9]{24}$Query Parameters
Required when the caller is a coach.
"67f1234567890abcdef1234"
History pagination.
x >= 11
History pagination.
x >= 110
Statistics chart range. all starts at the first completed performance and switches to monthly buckets for longer histories.
last7days, last1month, last6months, all Metric for the Leaderboard tab (the metric-selector dropdown). Invalid/missing → maxWeight.
maxWeight, totalReps, totalTimeSeconds, estimated1RM, totalVolume Leaderboard pagination (independent of the history page).
x >= 11
Leaderboard page size (default 10; independent of the history limit).
10 <= x <= 10010
Response
Combined exercise history, statistics, and leaderboard.