Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docsa.stemfard.com/llms.txt

Use this file to discover all available pages before exploring further.

The api_level parameter controls how much information Stemfard includes in each response. Choosing the right level lets you balance payload size against the richness of data your application needs. Lite keeps responses minimal for fast lookups, standard adds step-by-step solutions for interactive tutoring, and detailed delivers the full educational context for deep integrations.

Comparing the three levels

The lite level returns the essential fields needed to display a computed answer: metadata, taxonomy, and result. It is the lightest response and the fastest to parse.
example lite response
{
  "metadata": {
    "result_name": "sum",
    "operation": "add"
  },
  "taxonomy": {
    "topic": "Linear Algebra",
    "subtopic": "Matrix Arithmetic"
  },
  "result": {
    "sum": [[6, 8], [10, 12]]
  }
}

When to use each level

LevelBest for
liteAnswer retrieval widgets, automated grading, or any scenario where you only need the computed result
standardInteractive tutoring apps, homework helpers, or any UI that shows step-by-step worked solutions
detailedFull educational platforms, adaptive learning systems, or integrations that surface related topics and learning pathways

Switching between levels

Pass api_level in the request body to select the level you want. The default is "detailed" if you omit the parameter.
curl --request POST \
  --url https://api.stemfard.com/api/v1/mathematics/linear-algebra/matrix-operations/matrix-arithmetic/add \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "a": [[1, 2], [3, 4]],
    "b": [[5, 6], [7, 8]],
    "api_level": "lite"
  }'
Fields like related, learning_pathways, and request_normalized are only present in detailed responses and only when their corresponding boolean parameters (related, learning_pathways, request_params) are set to true.