Overview
- Category
- Health
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/cycling-power-to-weight-calculator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/cycling-power-to-weight-calculator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
power· number · required- Enter sustained power.
weight· number · required- Enter body weight.
duration· number · required- Enter effort duration.
{
"type": "object",
"properties": {
"power": {
"type": "number",
"description": "Enter sustained power."
},
"weight": {
"type": "number",
"description": "Enter body weight."
},
"duration": {
"type": "number",
"description": "Enter effort duration."
}
},
"required": [
"power",
"weight",
"duration"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
watts_per_kg· number- Power-to-weight produced by the tool.
energy_kj· number- Mechanical energy produced by the tool.
power_band· string- Planning band produced by the tool.
{
"type": "object",
"properties": {
"watts_per_kg": {
"type": "number",
"description": "Power-to-weight produced by the tool."
},
"energy_kj": {
"type": "number",
"description": "Mechanical energy produced by the tool."
},
"power_band": {
"type": "string",
"description": "Planning band produced by the tool."
}
},
"additionalProperties": false
}
Cycling Power-to-Weight Calculator worked example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/cycling-power-to-weight-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"power": 260,
"weight": 72,
"duration": 20
}'
{
"ok": true,
"data": {
"slug": "cycling-power-to-weight-calculator",
"result": {
"values": {
"watts_per_kg": 3.609999999999999875655021241982467472553253173828125,
"energy_kj": 312,
"power_band": "Moderate relative power"
},
"display": {
"display": "3.61"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.