Actions14
- Session Actions
- Message Actions
- Config Actions
Session → Abort
AI-generatedSummary
Aborts a running OpenCode session.
Inputs
- sessionId (required) — Select a session to abort.
Output shape
object
Returns the API response indicating the session was aborted, or a default object with success, message, and sessionId.