> ## 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.

# Read the current adaptive prediction

> Return a domain's current structured adaptive prediction without adding another observation.

```text theme={null}
POST /api/v1/domains/{domain_id}/adapt/predict
```

Call this after one or more `POST /api/v1/domains/{domain_id}/adapt/events` writes when the application needs the current `prediction.<output_key>` without mutating policy state.

## Request body

```json theme={null}
{
  "session_id": "ignored"
}
```

## Response shape

```json theme={null}
{
  "status": "success",
  "domain_id": "adaptive-demo-domain",
  "session_id": "agent-id",
  "relation": "persistent_structure",
  "policy": "stable_interval_retention",
  "prediction": {
    "active_intervals": [
      {
        "center": 104.0,
        "span": 4.0,
        "estimated_strength": -30.0,
        "active": true,
        "source": "observed",
        "seen_count": 3,
        "inferred": false
      }
    ],
    "model": {}
  }
}
```

The output key and row field names are declared by the domain's adaptive template.

## Contract

* `POST /api/v1/domains/{domain_id}/adapt/predict` reads; `POST /api/v1/domains/{domain_id}/adapt/events` updates.
* The output is structured JSON. Generated language is not required.
* The response can contain an empty output array when the policy has not reached its configured reporting conditions.
