requestedBy identifies who requested the stop, and requestedAt records when they requested it. The discussion object identifies the agent session to stop.
Read discussion.agent to see which machine user the stop is for. It is null on a discussion Plain’s own Sidekick Agent runs. Interacting in discussions covers what to do next.
This event requires a webhook target on version
2026-09-14 or later.Schema
View JSON Schema → Example:Using the Webhooks SDK
You can use the@team-plain/webhooks package to parse and verify this event with full type safety:

