---
title: "Record a Runtime Recovery Session event"
method: POST
path: "/events/runtime-recovery-session"
tags: ["Event"]
---

# Record a Runtime Recovery Session event

`POST /events/runtime-recovery-session`

Publishes a SYSTEM_EVENT observation for a completed runtime recovery session whose verdict was "pass". Internal use only; called by server-agents after the Runtime Recovery Summary agent finalizes its verdict. The observation flows through the state-detection and insights pipelines and ultimately becomes an Insight.

## Request body

- RuntimeRecoverySessionEventRequest — Request body for publishing a Runtime Recovery Session SYSTEM_EVENT observation. Sent by server-agents when an RRS agent verdict is "pass".
  - `workspace_id` string, required — The ID of the workspace where the runtime recovery session ran.
  - `agent_session_id` string, required — The Agent Session ID for the RRS run. The UI uses this to fetch and render the Runtime Recovery Summary panel on the resulting insight detail page.
  - `journey_run_id` string — The ID of the test run that the RRS evaluated.
  - `journey_id` string — Test variant ID (changes per edit).
  - `journey_invariant_id` string — Test invariant ID (constant across versions).
  - `plan_run_id` string — The plan run ID (if the test ran as part of a plan).
  - `environment_id` string — The environment in which the test ran.
  - `application_id` string — The application under test.
  - `verdict_summary` string — One-sentence user-facing summary from the RRS agent verdict. Used as the list-view subtitle on the resulting insight.
  - `insight_text` string — Optional learning text emitted by the RRS agent.

## Response `202`

The runtime recovery session event was accepted for publishing

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
