Overview
- Category
- Engineering
- 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/flow-rate-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/flow-rate-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.
volume_liters· number · required- Enter the transferred volume used by this tool.
time_seconds· number · required- Enter the elapsed time used by this tool.
pipe_diameter_mm· number · required- Enter the inside pipe diameter used by this tool.
{
"type": "object",
"properties": {
"volume_liters": {
"type": "number",
"description": "Enter the transferred volume used by this tool.",
"minimum": 0
},
"time_seconds": {
"type": "number",
"description": "Enter the elapsed time used by this tool.",
"minimum": 9.99999999999999954748111825886258685613938723690807819366455078125e-7
},
"pipe_diameter_mm": {
"type": "number",
"description": "Enter the inside pipe diameter used by this tool.",
"minimum": 9.99999999999999954748111825886258685613938723690807819366455078125e-7
}
},
"required": [
"volume_liters",
"time_seconds",
"pipe_diameter_mm"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
liters_per_second· number- Flow rate in L/s produced by the tool.
liters_per_minute· number- Flow rate in L/min produced by the tool.
cubic_meters_per_hour· number- Flow rate in m³/h produced by the tool.
pipe_velocity· number- Average pipe velocity produced by the tool.
{
"type": "object",
"properties": {
"liters_per_second": {
"type": "number",
"description": "Flow rate in L/s produced by the tool."
},
"liters_per_minute": {
"type": "number",
"description": "Flow rate in L/min produced by the tool."
},
"cubic_meters_per_hour": {
"type": "number",
"description": "Flow rate in m³/h produced by the tool."
},
"pipe_velocity": {
"type": "number",
"description": "Average pipe velocity produced by the tool."
}
},
"additionalProperties": false
}
Flow Rate Calculator 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/flow-rate-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"volume_liters": 1000,
"time_seconds": 120,
"pipe_diameter_mm": 50
}'
{
"ok": true,
"data": {
"slug": "flow-rate-calculator",
"result": {
"values": {
"liters_per_second": 8.3333333300000003163177098031155765056610107421875,
"liters_per_minute": 500,
"cubic_meters_per_hour": 30,
"pipe_velocity": 4.24413181999999977733750711195170879364013671875
},
"display": {
"display": "8.33333333"
},
"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.