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

# Freeze a value model

> Freeze the expected value model for retained evaluation, verify its identity and frozen state, and distinguish this operation from other Domain controls.

Freeze the Adapt-1 value model identified by `expected_model_sha256`. The request requires `session_id` and a 64-character model identity; it has no Boolean freeze or unfreeze field. Inspect returned state and freeze every other participating learner through its own supported controls when evaluating a complete frozen workflow.

The request tables below describe schema version 5. A default marked "Not declared" is absent from that schema; it does not mean `null`. Check `/version` at the API host root and confirm compatibility with your deployment.

## Path, headers, and query

Send the hosted API key as `Authorization: Bearer <ADAPT1_API_KEY>`. The authenticated identity determines ownership; follow [HTTP and contracts](https://docs.reilabs.org/docs/neuroadapt/request-contracts.md) for the session placeholder.

| Parameter | Location | Required | Type | Constraints |
| - | - | - | - | - |
| `domain_id` | path | Yes | `string` | No further constraint declared |
| `X-Neuroadapt-Session-Id` | header | No | `string` or `null` | No further constraint declared |

`X-Neuroadapt-Session-Id` is a compatibility header in schema version 5. It does not replace the hosted bearer identity.

## JSON body contract

Content type: `application/json`. The HTTP request body is required. The following table describes its fields; linked schema names lead to the complete nested definitions on this page. When an array type also permits `null`, that alternative applies to the entire field, not to individual array items.

## Request body

Schema: `ValueFreezeRequest`.

Fields outside this object's declared properties are rejected by the schema.

| Field | Required | Type | Declared default | Constraints |
| - | - | - | - | - |
| `expected_model_sha256` | Yes | `string` | Not declared | 64 characters exactly |
| `session_id` | Yes | `string` | Not declared | At least 1 character |

## Responses

| HTTP status | Schema-defined contract |
| - | - |
| 200 | Successful JSON response. The schema does not type its properties. |
| 422 | Request validation error; the schema references `HTTPValidationError`. |

The validation error shape has an optional `detail` array. Each validation entry requires `loc` (an array of strings or integers), `msg` (string), and `type` (string); it can also include `ctx` (object) and `input` (any JSON value). Operational refusals can have their own error details.


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