Skip to main content
Glama
postWorkoutsRequestSetSchema.ts979 B
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ import { z } from 'zod' export const postWorkoutsRequestSetSchema = z.object({ type: z.enum(['warmup', 'normal', 'failure', 'dropset']).describe('The type of the set.').optional(), weight_kg: z.number().describe('The weight in kilograms.').nullable().nullish(), reps: z.number().int().describe('The number of repetitions.').nullable().nullish(), distance_meters: z.number().int().describe('The distance in meters.').nullable().nullish(), duration_seconds: z.number().int().describe('The duration in seconds.').nullable().nullish(), custom_metric: z.number().describe('A custom metric for the set. Currently used for steps and floors.').nullable().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).') .nullable() .nullish(), })

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