Overview
- Category
- Date & Time
- 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/tabata-timer
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/tabata-timer/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.
work_seconds· number · required- Enter work interval.
rest_seconds· number · required- Enter rest interval.
rounds· number · required- Enter rounds.
sets· number · required- Enter sets.
set_rest_seconds· number · required- Enter rest between sets.
{
"type": "object",
"properties": {
"work_seconds": {
"type": "number",
"description": "Enter work interval."
},
"rest_seconds": {
"type": "number",
"description": "Enter rest interval."
},
"rounds": {
"type": "number",
"description": "Enter rounds."
},
"sets": {
"type": "number",
"description": "Enter sets."
},
"set_rest_seconds": {
"type": "number",
"description": "Enter rest between sets."
}
},
"required": [
"work_seconds",
"rest_seconds",
"rounds",
"sets",
"set_rest_seconds"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
total_duration· string- Total duration produced by the tool.
work_time· string- Total work time produced by the tool.
rest_time· string- Total rest time produced by the tool.
timeline· array- Interval timeline produced by the tool.
{
"type": "object",
"properties": {
"total_duration": {
"type": "string",
"description": "Total duration produced by the tool."
},
"work_time": {
"type": "string",
"description": "Total work time produced by the tool."
},
"rest_time": {
"type": "string",
"description": "Total rest time produced by the tool."
},
"timeline": {
"type": "array",
"description": "Interval timeline produced by the tool."
}
},
"additionalProperties": false
}
Tabata Timer 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/tabata-timer/execute" \
-H "Content-Type: application/json" \
-d '{
"work_seconds": 20,
"rest_seconds": 10,
"rounds": 8,
"sets": 1,
"set_rest_seconds": 60
}'
{
"ok": true,
"data": {
"slug": "tabata-timer",
"result": {
"values": {
"total_duration": 230,
"work_time": 160,
"rest_time": 70,
"timeline": [
{
"set": 1,
"round": 1,
"stage": "Work",
"seconds": 20
},
{
"set": 1,
"round": 1,
"stage": "Rest",
"seconds": 10
},
{
"set": 1,
"round": 2,
"stage": "Work",
"seconds": 20
},
{
"set": 1,
"round": 2,
"stage": "Rest",
"seconds": 10
},
{
"set": 1,
"round": 3,
"stage": "Work",
"seconds": 20
},
{
"set": 1,
"round": 3,
"stage": "Rest",
"seconds": 10
},
{
"set": 1,
"round": 4,
"stage": "Work",
"seconds": 20
},
{
"set": 1,
"round": 4,
"stage": "Rest",
"seconds": 10
}
]
},
"display": {
"display": "230"
},
"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.