← All tool references

Education · not_available

Semester GPA Projection Calculator

Project cumulative GPA from planned semester courses.

Open public tool

Overview

Category
Education
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/semester-gpa-projection-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/semester-gpa-projection-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.

current_gpa · number · required
Enter current cumulative gpa.
completed_credits · number · required
Enter completed credits.
courses · string · required
Enter planned courses.
{
    "type": "object",
    "properties": {
        "current_gpa": {
            "type": "number",
            "description": "Enter current cumulative gpa."
        },
        "completed_credits": {
            "type": "number",
            "description": "Enter completed credits."
        },
        "courses": {
            "type": "string",
            "description": "Enter planned courses."
        }
    },
    "required": [
        "current_gpa",
        "completed_credits",
        "courses"
    ],
    "additionalProperties": false
}

Output schema

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

projected_gpa · number
Projected cumulative GPA produced by the tool.
semester_gpa · number
Projected semester GPA produced by the tool.
total_credits · number
Credits after semester produced by the tool.
courses · array
Course quality points produced by the tool.
{
    "type": "object",
    "properties": {
        "projected_gpa": {
            "type": "number",
            "description": "Projected cumulative GPA produced by the tool."
        },
        "semester_gpa": {
            "type": "number",
            "description": "Projected semester GPA produced by the tool."
        },
        "total_credits": {
            "type": "number",
            "description": "Credits after semester produced by the tool."
        },
        "courses": {
            "type": "array",
            "description": "Course quality points produced by the tool."
        }
    },
    "additionalProperties": false
}

Semester GPA Projection 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/semester-gpa-projection-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "current_gpa": 3.350000000000000088817841970012523233890533447265625,
    "completed_credits": 60,
    "courses": "Calculus|4|A\nHistory|3|B+\nPhysics|4|A-"
}'
{
    "ok": true,
    "data": {
        "slug": "semester-gpa-projection-calculator",
        "result": {
            "values": {
                "projected_gpa": 3.404199999999999892708046900224871933460235595703125,
                "semester_gpa": 3.70000000000000017763568394002504646778106689453125,
                "total_credits": 71,
                "courses": [
                    {
                        "course": "Calculus",
                        "credits": 4,
                        "grade": "A",
                        "points": 4,
                        "quality_points": 16
                    },
                    {
                        "course": "History",
                        "credits": 3,
                        "grade": "B+",
                        "points": 3.29999999999999982236431605997495353221893310546875,
                        "quality_points": 9.9000000000000003552713678800500929355621337890625
                    },
                    {
                        "course": "Physics",
                        "credits": 4,
                        "grade": "A-",
                        "points": 3.70000000000000017763568394002504646778106689453125,
                        "quality_points": 14.800000000000000710542735760100185871124267578125
                    }
                ]
            },
            "display": {
                "display": "3.4042"
            },
            "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.