Skip to main content
This event fires when someone requests that an agent stop its current turn in a discussion. Use it to stop generating a response while keeping the discussion available for the next message. 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: