<!-- https://developers.silktide.com/v1/concepts/scores | Concepts -->

# Scores

Silktide 4 and Silktide 5 each give a website scores out of 100, but they work them out differently, so the same website gets different numbers from each. The API keeps them apart: each edition has its own scores operations, and each one names its edition.

| | Silktide 4 | Silktide 5 |
| --- | --- | --- |
| Latest scores | [`/v1/results/scores`](https://developers.silktide.com/v1/governance/scores/get-scores.md) | [`/v1/results/module-scores`](https://developers.silktide.com/v1/governance/scores/get-module-scores.md) |
| A score over time | [`/v1/results/score-trend`](https://developers.silktide.com/v1/governance/scores/get-score-trend.md) | [`/v1/results/module-score-trend`](https://developers.silktide.com/v1/governance/scores/get-module-score-trend.md) |
| Score ids | Silktide 4's categories, such as `overall`, `content` and `wcag-22-aa`. Websites do not all have the same ones. | The four modules and WCAG at each version and level. Always the same 13. |

## Which to call

Call the operations for the edition of Silktide your account uses. An account that has only one edition is refused the other's operations with an `EditionNotAvailable` error, which names the operation to call instead:

```json
{
  "error": {
    "type": "EditionNotAvailable",
    "message": "This account does not have Silktide 4, so it cannot use /v1/results/scores. Use /v1/results/module-scores instead.",
    "properties": { "edition": 4, "instead": "/v1/results/module-scores" },
    "status": 403
  }
}
```

Like other results errors, it comes back with status `200` and the error's own status inside it. See [Results](https://developers.silktide.com/v1/concepts/results.md).

An account that has both editions can call both. If you are moving from Silktide 4 to Silktide 5, keep reading Silktide 4's scores until you have switched, and expect the numbers in your own reports to change on the day you do.

## How the ids match

Where a Silktide 4 score has a Silktide 5 counterpart, it measures the same thing. The numbers still differ, because the two editions test and weigh pages differently. Do not join the two series into one line.

| Silktide 4 id | Silktide 5 id |
| --- | --- |
| `content` | `content` |
| `ux` | `user-experience` |
| `wcag-20`, `wcag-21`, `wcag-22` | `accessibility` |
| `wcag-20-a`, `wcag-20-aa`, `wcag-20-aaa` | the same ids |
| `wcag-21-a`, `wcag-21-aa`, `wcag-21-aaa` | the same ids |
| `wcag-22-a`, `wcag-22-aa`, `wcag-22-aaa` | the same ids |
| None | `compliance` |
| `overall`, `marketing` and the rest | None |

Silktide 5 has no overall score. Each module stands on its own.

Reports, report schedules and report templates are Silktide 4's too. An account with only Silktide 5 gets a `403` with an `EditionNotAvailable` error from them.

Most other operations, such as websites, checks and content, work for both editions. Each operation's page says which editions it works for.
