End session
stride.end_sessionCloses the current agent execution row at the end of a piece of work, recording how it ended (SUCCEEDED / FAILED) on the audit dashboard. Idempotent — a retry after the session has closed returns the SAME closed session (same executionId, alreadyEnded: true) and changes nothing; it never opens a new one. A session still open 30 minutes after it started is marked TIMED_OUT instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Required when outcome="failure". Free-form error message. | |
| outcome | No | "success" → status=SUCCEEDED. "failure" → status=FAILED (requires `error`). | success |
| summary | No | Optional one-line summary of what the agent accomplished. |