> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use https://docs.fastino.ai/llms.txt to discover and navigate pages. Use https://docs.fastino.ai/llms-full.txt when you need the complete documentation corpus. Use https://docs.fastino.ai/openapi.json as the source of truth for customer-facing routes. For GLiDE decision inference, call POST https://api.fastino.ai/v1/systemone with model fastino/GLiDE. Start managed training (config job) with POST /v1/training/jobs using base_model. For interactive training, native JSON clients use the public operations under /v1/training/jobs and /v1/training/usage. Existing Tinker clients use tinker==0.32.0 with TINKER_BASE_URL=https://api.fastino.ai/v1/training/compat/tinker and TINKER_CREDENTIAL_CMD. Compatibility child routes are private and absent from OpenAPI. Auto Train is private access and has no public route; direct interested users to sales@fastino.ai. Do not infer undocumented routes. Read API keys from FASTINO_API_KEY and never embed credentials in code, logs, or reports.

# Score

> Ask GLiDE to evaluate an ordered rubric and return discrete and continuous results.

A **Score** question rates a situation on an ordered scale you define. It returns a discrete `score` (the winning level index) plus `expected_level`, a probability-weighted continuous estimate across all levels, per-level `probabilities`, and a `legend` echoing your level descriptions back by index.

Use a Score when the answer is a position on a scale with defined levels - urgency, severity, sentiment intensity - rather than an unordered category.

> [!TIP]
>
> Score vs. Noul: if you just need a binary gate, use [Noul](https://docs.fastino.ai/concepts/glide-noul.md) instead - it's simpler and returns a single probability rather than a distribution over levels.

## Request

**type** `string` *required*

Always `"score"`.

**instructions** `string | object` *required*

The question to evaluate, as a non-empty string or non-empty JSON object. An object is serialized to compact JSON text.

**criteria** `string[] | object` *required*

An ordered array of level descriptions, index `0` is the lowest level: `["low urgency, can wait", "medium urgency, handle soon", "high urgency, handle immediately"]`.

Also accepts an object with numeric-string keys (e.g. `{"1": "...", "3": "...", "5": "..."}`) - keys are sorted and then discarded, and the response is always re-indexed `0..N-1` regardless of the keys you used.

Supply between 1 and 255 levels.

```bash cURL theme={null}
curl -s https://api.fastino.ai/v1/systemone \
  -H "X-API-Key: $FASTINO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "fastino/GLiDE",
    "state": "Refund request: the receipt is attached, the purchase was 10 days ago, and refunds are allowed within 30 days.",
    "questions": {
      "urgency": {
        "type": "score",
        "instructions": "How urgent is this request?",
        "criteria": [
          "low urgency, can wait",
          "medium urgency, handle soon",
          "high urgency, handle immediately"
        ]
      }
    }
  }'
```

## Answer object

The matching entry inside `answers` is:

```json theme={null}
{
  "urgency": {
    "type": "score",
    "score": 0,
    "expected_level": 0.27621539375795195,
    "confidence": 0.4999999998141525,
    "probabilities": {
      "0": 0.7412615353520668,
      "1": 0.24126153553791435,
      "2": 0.017476929110018805
    },
    "legend": {
      "0": "low urgency, can wait",
      "1": "medium urgency, handle soon",
      "2": "high urgency, handle immediately"
    }
  }
}
```

* `score` - a discrete integer index, the argmax level.
* `expected_level` - `Σ(level × probability)`, the continuous, probability-weighted position across all levels. Use it when you want finer-grained thresholds than the discrete index provides.
* `legend` isn't generated by the model - the API builds it from your own `criteria`, indexed.
* `confidence` - `top1 − top2`, same formula as Choice, from `0` (two adjacent levels tied) to `1` (one level has \~all the probability mass). See [confidence and uncertainty](https://docs.fastino.ai/concepts/glide-capabilities.md#confidence-and-uncertainty) for how to act on it.

## Using the result

```python theme={null}
answer = response["answers"]["urgency"]

if answer["score"] >= 2:
    action = "page_oncall"
elif answer["expected_level"] >= 1.5:
    action = "escalate"  # closer to the next level up than a clean 1
else:
    action = "standard_queue"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.