Skip to main content
Glama
postWorkoutsRequestSetSchema.ts899 B
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ import { z } from "zod"; export const postWorkoutsRequestSetSchema = z.object({ "type": z.optional(z.enum(["warmup", "normal", "failure", "dropset"]).describe("The type of the set.")), "weight_kg": z.number().describe("The weight in kilograms.").nullish(), "reps": z.number().int().describe("The number of repetitions.").nullish(), "distance_meters": z.number().int().describe("The distance in meters.").nullish(), "duration_seconds": z.number().int().describe("The duration in seconds.").nullish(), "custom_metric": z.number().describe("A custom metric for the set. Currently used for steps and floors.").nullish(), "rpe": z.union([z.literal(6), z.literal(7), z.literal(7.5), z.literal(8), z.literal(8.5), z.literal(9), z.literal(9.5), z.literal(10)]).describe("The Rating of Perceived Exertion (RPE).").nullish() })

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrisdoc/hevy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server