> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.morphiaone.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.morphiaone.ai/_mcp/server.

# Read a colour Assessment

GET https://api.morphiaone.ai/v1/digitisation/assessments/{assessment_id}

One of your assessments. `status` runs `queued`, `running`, then `succeeded`,
`failed` or `cancelled`. A succeeded assessment carries its `output`: one colour
report per region, in the order requested, each under its `report_sha256`, and
the whole under `output_sha256`. A failed one names its `failure_code`:
`evidence_erased`, `evidence_integrity`, `colour_contract_changed` or
`attempts_exhausted`. Another account's assessment, and one that does not exist,
both answer `404 ASSESSMENT_NOT_FOUND`.
Requires the `digitisation.read` scope, which your account operator provisions;
served only where digitisation is enabled for your environment.

Reference: https://docs.morphiaone.ai/api-reference/endpoints/digitisation/assessments-get

## Authentication

- `X-API-Key` header (required) — API key for one environment of your account. Keep server-side; never expose in browser clients.

## Request

### Path parameters

- `assessment_id` (string, required)

## Response

### 200

The assessment

- `attempts` (integer, required)
- `colour_contract_version` (integer, required)
- `created_at` (datetime, required)
- `failure_code` (enum, required, nullable)
  - Allowed values: `evidence_erased`, `evidence_integrity`, `colour_contract_changed`, `attempts_exhausted`, `detection_unavailable`
- `finished_at` (datetime, required, nullable)
- `id` (string, required)
- `output` (AssessmentResultDocument, required, nullable) — The canonical result; ``result_sha256`` is its digest.
- `output_sha256` (string, required, nullable)
- `request` (AssessmentRequestDocument, required) — The canonical request; ``request_sha256`` is its digest.
- `request_sha256` (string, required)
- `started_at` (datetime, required, nullable)
- `status` (enum, required)
  - Allowed values: `queued`, `running`, `succeeded`, `failed`, `cancelled`

## Errors

### 400 Bad Request Error

Invalid request

- `error` (ErrorDetail, required)

### 401 Unauthorized Error

Missing or invalid API key

- `error` (ErrorDetail, required)

### 403 Forbidden Error

API key lacks the digitisation.read scope

- `error` (ErrorDetail, required)

### 404 Not Found Error

No such assessment

- `error` (ErrorDetail, required)

### 503 Service Unavailable Error

Digitisation unavailable

- `error` (ErrorDetail, required)

## Types

### AssessmentResultDocument

The canonical result; ``result_sha256`` is its digest.

- `colour_contract_version` (integer, required)
- `images` (list of AssessmentImageResult, required)
- `kind` ("digitisation.assessment_result", required)
- `request_sha256` (string, required)

### AssessmentRequestDocument

The canonical request; ``request_sha256`` is its digest.

- `colour_contract_version` (integer, required)
- `images` (list of AssessmentRequestImage, required)
- `kind` ("digitisation.assessment_request", required)
- `subject` (SubjectDocument, optional) — A subject as recorded: only the fields that were sent.

### ErrorDetail

- `code` (string, required)
- `message` (string, required)
- `request_id` (string, required)
- `details` (ErrorDetailDetails, optional)
- `doc_url` (string, optional, nullable)
- `retryable` (boolean, optional, nullable)

### AssessmentImageResult

- `analyzed_bytes_sha256` (string, required)
- `evidence_id` (string, required)
- `regions` (list of map from string to any, required)
- `detection` (RegionDetection, optional) — How an ``"auto"`` image's region was found. ``detected`` is the model's box and ``region`` the even window measured inside it, both in stored-image pixels; null when nothing measurable was found, and ``reasons`` says why. The model never names a colour: the region's report is the colour contract's. ``model``, ``photo_type`` and ``confidence`` are null only when no model was asked (``reasons`` then holds the colour contract's code for an image it refuses).

### AssessmentRequestImage

An image as the request recorded it: its id bound to the measured bytes.

- `analyzed_bytes_sha256` (string, required)
- `evidence_id` (string, required)
- `regions` (AssessmentRequestImageRegions, required)

### SubjectDocument

A subject as recorded: only the fields that were sent.

- `brand` (string, optional)
- `external_ref` (string, optional)
- `gtin` (string, optional)
- `product_name` (string, optional)
- `shade_name` (string, optional)

### ErrorDetailDetails

- map from string to any
- list of map from string to any

### RegionDetection

How an ``"auto"`` image's region was found. ``detected`` is the model's box and ``region`` the even window measured inside it, both in stored-image pixels; null when nothing measurable was found, and ``reasons`` says why. The model never names a colour: the region's report is the colour contract's. ``model``, ``photo_type`` and ``confidence`` are null only when no model was asked (``reasons`` then holds the colour contract's code for an image it refuses).

- `confidence` (double, required, nullable)
- `detected` (list of integer, required, nullable)
- `model` (string, required, nullable)
- `photo_type` (enum, required, nullable)
  - Allowed values: `swatch`, `packshot`, `model`, `box_art`, `other`
- `reasons` (list of string, required)
- `region` (list of integer, required, nullable)

### AssessmentRequestImageRegions

- list of list of integer
- "auto"

## Examples

**Response**

```json
{
  "attempts": 1,
  "colour_contract_version": 1,
  "created_at": "2026-10-22T03:19:40.254296Z",
  "failure_code": null,
  "finished_at": "2026-10-22T03:19:40.258579Z",
  "id": "assessment_3t38gf4mbt0y96z8pzmp4w5mpq",
  "output": {
    "colour_contract_version": 1,
    "images": [
      {
        "analyzed_bytes_sha256": "9229dacfcfb7a93b54efccf2119c2e417546d10ed3fce2a18a067294b646c5a2",
        "evidence_id": "evidence_6952rp5rnjq4bpn9sk93vbq6pv",
        "regions": [
          {
            "region": [
              0,
              0,
              32,
              32
            ],
            "report": {
              "analyzed_bytes_sha256": "9229dacfcfb7a93b54efccf2119c2e417546d10ed3fce2a18a067294b646c5a2",
              "clipped_fraction": 0,
              "colour_contract_version": 1,
              "icc_profile_sha256": null,
              "image": {
                "height": 64,
                "width": 64
              },
              "kind": "digitisation.colour_report",
              "lab_d65": [
                33.3028,
                42.2729,
                -74.7134
              ],
              "mean_linear_rgb": [
                0.012983,
                0.045186,
                0.57758
              ],
              "region": [
                0,
                0,
                32,
                32
              ],
              "source_colour": "untagged",
              "srgb_hex": "#1E3CC8"
            },
            "report_sha256": "13b9231215003368dc58598699f5aaf93c8b49b13561c1667aebbb065681110f"
          },
          {
            "region": [
              16,
              16,
              64,
              64
            ],
            "report": {
              "analyzed_bytes_sha256": "9229dacfcfb7a93b54efccf2119c2e417546d10ed3fce2a18a067294b646c5a2",
              "clipped_fraction": 0,
              "colour_contract_version": 1,
              "icc_profile_sha256": null,
              "image": {
                "height": 64,
                "width": 64
              },
              "kind": "digitisation.colour_report",
              "lab_d65": [
                33.3028,
                42.2729,
                -74.7134
              ],
              "mean_linear_rgb": [
                0.012983,
                0.045186,
                0.57758
              ],
              "region": [
                16,
                16,
                64,
                64
              ],
              "source_colour": "untagged",
              "srgb_hex": "#1E3CC8"
            },
            "report_sha256": "351e8ab9bde584af5103f72745f681b74f771a2faa4c937b0f5acde9b4a49df4"
          }
        ]
      },
      {
        "analyzed_bytes_sha256": "802a63709b9b3660da4dd729a944279d93b7589b3e441ed02e76f8bef05f7038",
        "evidence_id": "evidence_4jvaws4n7vkx8t6tz6awjwdsv8",
        "regions": [
          {
            "region": [
              0,
              0,
              32,
              32
            ],
            "report": {
              "analyzed_bytes_sha256": "802a63709b9b3660da4dd729a944279d93b7589b3e441ed02e76f8bef05f7038",
              "clipped_fraction": 0,
              "colour_contract_version": 1,
              "icc_profile_sha256": null,
              "image": {
                "height": 64,
                "width": 64
              },
              "kind": "digitisation.colour_report",
              "lab_d65": [
                58.4622,
                28.2503,
                29.7255
              ],
              "mean_linear_rgb": [
                0.57758,
                0.187821,
                0.102242
              ],
              "region": [
                0,
                0,
                32,
                32
              ],
              "source_colour": "untagged",
              "srgb_hex": "#C8785A"
            },
            "report_sha256": "71e13b555f32c8b65ba58ab27a381c200568aa12d72d769152602adc8b2070f5"
          }
        ]
      }
    ],
    "kind": "digitisation.assessment_result",
    "request_sha256": "f69b572a86480a0d96286c0440e63567fdfdc276aa7f39b58357e565c170ce97"
  },
  "output_sha256": "67b810e77d19f628534a2128d402605b8cc81aa1d43828793f2701f19ce8b97a",
  "request": {
    "colour_contract_version": 1,
    "images": [
      {
        "analyzed_bytes_sha256": "9229dacfcfb7a93b54efccf2119c2e417546d10ed3fce2a18a067294b646c5a2",
        "evidence_id": "evidence_6952rp5rnjq4bpn9sk93vbq6pv",
        "regions": [
          [
            0,
            0,
            32,
            32
          ],
          [
            16,
            16,
            64,
            64
          ]
        ]
      },
      {
        "analyzed_bytes_sha256": "802a63709b9b3660da4dd729a944279d93b7589b3e441ed02e76f8bef05f7038",
        "evidence_id": "evidence_4jvaws4n7vkx8t6tz6awjwdsv8",
        "regions": [
          [
            0,
            0,
            32,
            32
          ]
        ]
      }
    ],
    "kind": "digitisation.assessment_request"
  },
  "request_sha256": "f69b572a86480a0d96286c0440e63567fdfdc276aa7f39b58357e565c170ce97",
  "started_at": "2026-10-22T03:19:40.255422Z",
  "status": "succeeded"
}
```

**SDK Code**

```python Digitisation_assessmentsGet_example
import requests

url = "https://api.morphiaone.ai/v1/digitisation/assessments/assessment_id"

headers = {"X-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Digitisation_assessmentsGet_example
const url = 'https://api.morphiaone.ai/v1/digitisation/assessments/assessment_id';
const options = {method: 'GET', headers: {'X-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Digitisation_assessmentsGet_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.morphiaone.ai/v1/digitisation/assessments/assessment_id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Digitisation_assessmentsGet_example
require 'uri'
require 'net/http'

url = URI("https://api.morphiaone.ai/v1/digitisation/assessments/assessment_id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Digitisation_assessmentsGet_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.morphiaone.ai/v1/digitisation/assessments/assessment_id")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

```php Digitisation_assessmentsGet_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.morphiaone.ai/v1/digitisation/assessments/assessment_id', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Digitisation_assessmentsGet_example
using RestSharp;

var client = new RestClient("https://api.morphiaone.ai/v1/digitisation/assessments/assessment_id");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Digitisation_assessmentsGet_example
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.morphiaone.ai/v1/digitisation/assessments/assessment_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```