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/step-to-miles-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/step-to-miles-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.
steps· number · required- Enter steps.
stride_length· number · required- Enter stride length.
{
"type": "object",
"properties": {
"steps": {
"type": "number",
"description": "Enter steps."
},
"stride_length": {
"type": "number",
"description": "Enter stride length."
}
},
"required": [
"steps",
"stride_length"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
miles· number- Estimated miles produced by the tool.
kilometers· number- Estimated kilometres produced by the tool.
distance_meters· number- Distance in metres produced by the tool.
{
"type": "object",
"properties": {
"miles": {
"type": "number",
"description": "Estimated miles produced by the tool."
},
"kilometers": {
"type": "number",
"description": "Estimated kilometres produced by the tool."
},
"distance_meters": {
"type": "number",
"description": "Distance in metres produced by the tool."
}
},
"additionalProperties": false
}
Step to Miles 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/step-to-miles-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"steps": 10000,
"stride_length": 0.7800000000000000266453525910037569701671600341796875
}'
{
"ok": true,
"data": {
"slug": "step-to-miles-calculator",
"result": {
"values": {
"miles": 4.84700000000000041922021409845910966396331787109375,
"kilometers": 7.79999999999999982236431605997495353221893310546875,
"distance_meters": 7800
},
"display": {
"display": "4.847"
},
"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.