Skip to main content
Configure the value learner
Configure Adapt-1’s value learner before observing or fitting values. The request requires session_id and config; within the configuration, relation and policy are required. Use the configuration example, then follow the value-learning 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 for the session placeholder. 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: ValueConfigureRequest. Fields outside this object’s declared properties are rejected by the schema.

ValueConfig

Schema: ValueConfig. Fields outside this object’s declared properties are rejected by the schema.

ValuePromotionConfig

Schema: ValuePromotionConfig. Fields outside this object’s declared properties are rejected by the schema.

Responses

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.