← All tool references

Health · not_available

Apgar Score Calculator

Apgar Score with subject-specific controls, reviewable intermediate detail, and private browser processing.

Open public tool

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/apgar-score-calculator

View this descriptor as JSON

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/apgar-score-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.

appearance · string · required
Enter appearance. Accepted values: 0, 1, 2.
pulse · string · required
Enter pulse. Accepted values: 0, 1, 2.
grimace · string · required
Enter grimace. Accepted values: 0, 1, 2.
activity · string · required
Enter activity. Accepted values: 0, 1, 2.
respiration · string · required
Enter respiration. Accepted values: 0, 1, 2.
{
    "type": "object",
    "properties": {
        "appearance": {
            "type": "string",
            "description": "Enter appearance.",
            "enum": [
                "0",
                "1",
                "2"
            ]
        },
        "pulse": {
            "type": "string",
            "description": "Enter pulse.",
            "enum": [
                "0",
                "1",
                "2"
            ]
        },
        "grimace": {
            "type": "string",
            "description": "Enter grimace.",
            "enum": [
                "0",
                "1",
                "2"
            ]
        },
        "activity": {
            "type": "string",
            "description": "Enter activity.",
            "enum": [
                "0",
                "1",
                "2"
            ]
        },
        "respiration": {
            "type": "string",
            "description": "Enter respiration.",
            "enum": [
                "0",
                "1",
                "2"
            ]
        }
    },
    "required": [
        "appearance",
        "pulse",
        "grimace",
        "activity",
        "respiration"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

score · number
Apgar score produced by the tool.
components · array
Components produced by the tool.
boundary · string
Interpretation boundary produced by the tool.
{
    "type": "object",
    "properties": {
        "score": {
            "type": "number",
            "description": "Apgar score produced by the tool."
        },
        "components": {
            "type": "array",
            "description": "Components produced by the tool."
        },
        "boundary": {
            "type": "string",
            "description": "Interpretation boundary produced by the tool."
        }
    },
    "additionalProperties": false
}

Apgar Score 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/apgar-score-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "appearance": "2",
    "pulse": "2",
    "grimace": "2",
    "activity": "2",
    "respiration": "2"
}'
{
    "ok": true,
    "data": {
        "slug": "apgar-score-calculator",
        "result": {
            "values": {
                "score": 10,
                "components": [
                    {
                        "component": "appearance",
                        "points": 2
                    },
                    {
                        "component": "pulse",
                        "points": 2
                    },
                    {
                        "component": "grimace",
                        "points": 2
                    },
                    {
                        "component": "activity",
                        "points": 2
                    },
                    {
                        "component": "respiration",
                        "points": 2
                    }
                ],
                "boundary": "A clinician interprets this score at the documented time point."
            },
            "display": {
                "display": "10"
            },
            "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.