GET /api/agent-profiles/{id}/drift-status — the profile's CURRENT drift status (the live freeze evidence that accompanies a remediation proposal, or not-frozen). Owner-gated like the proposal queue it sits beside.
const url = 'https://example.com/api/agent-profiles/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/drift-status';const options = {method: 'GET', headers: {cookie: 'supacloud_session=<supacloud_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/agent-profiles/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/drift-status \ --cookie supacloud_session=<supacloud_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Agent-profile ID whose drift status to read
Responses
Section titled “Responses”Current drift status (live freeze evidence, or not-frozen)
The CURRENT drift status of one profile for the read API (the agent-profile
editor): the live freeze episode, if any, that the routed selector is honoring.
frozen = false (and the rest None) means selection is running on the learned
model normally. When frozen the fields carry the concrete regression evidence —
surfaced next to the remediation proposal so the owner sees WHY a change was
proposed before deciding.
object
Whether the profile is currently frozen (a live governor_profile_freeze).
When the freeze was raised.
The two-sample Kolmogorov-Smirnov statistic D that crossed significance.
A short human-readable reason citing the drift evidence.
The recent-vs-baseline mean-reward regression that triggered the freeze (negative = worse).
Examplegenerated
{ "frozen": true, "frozen_at": "2026-04-15T12:00:00Z", "ks_statistic": 1, "reason": "example", "reward_delta": 1}Authentication required
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}Permission denied
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}Structured server error
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}